Home
last modified time | relevance | path

Searched refs:makeMeasureSpec (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java44 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/
DTextViewPrecomputedTextPerfTest.java247 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 …]
DEditTextCursorMovementPerfTest.java98 editText.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), in testCursorMovement()
99 MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED)); in testCursorMovement()
DEditTextLongTextPerfTest.java93 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/
DQSHeaderInfoLayout.kt76 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()
DQSContainerImpl.java108 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/
DWeightedLinearLayout.java69 widthMeasureSpec = MeasureSpec.makeMeasureSpec(width, EXACTLY); in onMeasure()
77 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMin, EXACTLY); in onMeasure()
80 widthMeasureSpec = MeasureSpec.makeMeasureSpec(weightedMax, EXACTLY); in onMeasure()
DPreferenceImageView.java55 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure()
65 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
DAlertDialogLayout.java142 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/
DFillContentLayout.java111 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()
DIntrinsicSizeFrameLayout.java83 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/
DThemePreviewLayout.java105 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/
DFlowLayout.java49 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/
DIllustrationTest.java58 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/
DAbsSeekBarTest.java20 import static android.view.View.MeasureSpec.makeMeasureSpec;
129 mBar.measure(makeMeasureSpec(wPx, EXACTLY), makeMeasureSpec(hPx, EXACTLY)); in measureAndLayout()
DTextViewFallbackLineSpacingTest.java109 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/
DImageFloatingTextViewTest.java119 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/
DFixedSizeFrameLayout.java82 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/
DSlidingDrawer.java298 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/
DDrawingTestHelper.java77 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/
DSmartReplyViewTest.java86 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/
DViewPreviewer.java65 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/
DKeyboardShortcutKeysLayout.java55 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/
DTaskViewFocusFrame.java68 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/
DExpandableView.java77 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()

12345