/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | FillContentLayoutTest.java | 44 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in testMeasureMinSize() 45 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)); in testMeasureMinSize() 63 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanMaxSize() 64 MeasureSpec.makeMeasureSpec(300, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanMaxSize() 82 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY), in testMeasureChildIsSmallerThanParent() 83 MeasureSpec.makeMeasureSpec(88, MeasureSpec.EXACTLY)); in testMeasureChildIsSmallerThanParent()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewPrecomputedTextPerfTest.java | 247 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText() 248 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in testOnMeasure_RandomText() 267 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText_Selectable() 268 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in testOnMeasure_RandomText_Selectable() 288 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText() 289 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in testOnMeasure_PrecomputedText() 311 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText_Selectable() 312 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in testOnMeasure_PrecomputedText_Selectable() 335 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_RandomText() 336 int height = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in testOnDraw_RandomText() [all …]
|
D | EditTextCursorMovementPerfTest.java | 98 editText.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in testCursorMovement() 99 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)); in testCursorMovement()
|
D | EditTextLongTextPerfTest.java | 93 editText.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in setupEditText() 94 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in setupEditText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 76 MeasureSpec.makeMeasureSpec( in onMeasure() 91 MeasureSpec.makeMeasureSpec( in onMeasure() 97 MeasureSpec.makeMeasureSpec( in onMeasure() 104 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure() 108 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure()
|
D | QSContainerImpl.java | 108 mQSPanel.measure(widthMeasureSpec, MeasureSpec.makeMeasureSpec(maxQs, MeasureSpec.EXACTLY)); in onMeasure() 112 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 113 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 117 MeasureSpec.makeMeasureSpec(getDisplayHeight(), MeasureSpec.EXACTLY)); in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure() 77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure() 80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure()
|
D | PreferenceImageView.java | 55 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure() 65 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
|
D | AlertDialogLayout.java | 142 childHeightSpec = MeasureSpec.makeMeasureSpec( in tryOnMeasure() 167 final int childHeightSpec = MeasureSpec.makeMeasureSpec( in tryOnMeasure() 187 final int childHeightSpec = MeasureSpec.makeMeasureSpec( in tryOnMeasure() 227 final int uniformMeasureSpec = MeasureSpec.makeMeasureSpec( in forceUniformWidth()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | FillContentLayout.java | 111 return MeasureSpec.makeMeasureSpec(childDimension, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec() 114 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in getMaxSizeMeasureSpec() 118 return MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); in getMaxSizeMeasureSpec()
|
D | IntrinsicSizeFrameLayout.java | 83 return MeasureSpec.makeMeasureSpec(intrinsicHeight, MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec() 87 return MeasureSpec.makeMeasureSpec(Math.min(size, intrinsicHeight), MeasureSpec.EXACTLY); in getIntrinsicMeasureSpec()
|
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ThemePreviewLayout.java | 105 int childWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() 106 int childHeightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() 140 childWidthSpec = MeasureSpec.makeMeasureSpec(itemWidth, MeasureSpec.EXACTLY); in onMeasure() 141 childHeightSpec = MeasureSpec.makeMeasureSpec(itemHeight, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FlowLayout.java | 49 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 51 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() 57 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in onMeasure()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | IllustrationTest.java | 58 View.MeasureSpec.makeMeasureSpec(300, View.MeasureSpec.EXACTLY), in testAspectRatio() 59 View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED)); in testAspectRatio()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AbsSeekBarTest.java | 20 import static android.view.View.MeasureSpec.makeMeasureSpec; 129 mBar.measure(makeMeasureSpec(wPx, EXACTLY), makeMeasureSpec(hPx, EXACTLY)); in measureAndLayout()
|
D | TextViewFallbackLineSpacingTest.java | 109 View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in testFallbackLineSpacing() 110 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in testFallbackLineSpacing()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ImageFloatingTextViewTest.java | 119 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.AT_MOST); in parametrizedTest() 120 int widthMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY); in parametrizedTest()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | FixedSizeFrameLayout.java | 82 super.onMeasure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in measureContents() 83 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in measureContents()
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 298 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), in onMeasure() 299 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in onMeasure() 302 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in onMeasure() 303 MeasureSpec.makeMeasureSpec(heightSpecSize, MeasureSpec.EXACTLY)); in onMeasure() 670 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), in prepareContent() 671 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); in prepareContent() 677 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), in prepareContent() 678 MeasureSpec.makeMeasureSpec(mBottom - mTop, MeasureSpec.EXACTLY)); in prepareContent()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | DrawingTestHelper.java | 77 MeasureSpec.makeMeasureSpec(mWidth, MeasureSpec.EXACTLY), in drawView() 78 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in drawView()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 86 private static final int WIDTH_SPEC = MeasureSpec.makeMeasureSpec(500, MeasureSpec.EXACTLY); 87 private static final int HEIGHT_SPEC = MeasureSpec.makeMeasureSpec(400, MeasureSpec.AT_MOST); 398 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_squeezeLongest() 420 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testLayout_squeezeLongest() 444 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_dropLongest() 809 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_squeezeLongestSmartAction() 831 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testLayout_squeezeLongestSmartAction() 854 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_dropLongestSmartAction() 913 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsSqueezeLongestAction() 935 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsPrioritizeActionsOnlyActions() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ViewPreviewer.java | 65 view.measure(View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY), in createPreview() 66 View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY)); in createPreview()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 55 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 57 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in onMeasure() 64 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in onMeasure()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | TaskViewFocusFrame.java | 68 MeasureSpec.makeMeasureSpec(rect.width() + thickness * 2, MeasureSpec.EXACTLY), in measure() 69 MeasureSpec.makeMeasureSpec(rect.height() + thickness * 2, MeasureSpec.EXACTLY)); in measure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 77 int newHeightSpec = MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.AT_MOST); in onMeasure() 91 ? MeasureSpec.makeMeasureSpec(ownMaxHeight, MeasureSpec.EXACTLY) in onMeasure() 92 : MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY); in onMeasure() 105 newHeightSpec = MeasureSpec.makeMeasureSpec(ownHeight, MeasureSpec.EXACTLY); in onMeasure()
|