/frameworks/base/core/java/com/android/internal/widget/ |
D | PreferenceImageView.java | 51 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 56 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure() 61 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 66 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
|
D | ActionBarView.java | 909 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure() 923 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 938 homeWidthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); in onMeasure() 983 MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in onMeasure() 996 MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), in onMeasure() 1030 customNavHeightMode = MeasureSpec.AT_MOST; in onMeasure() 1033 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; in onMeasure() 1039 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; in onMeasure() 1089 MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.AT_MOST)); in onMeasure() 1521 case MeasureSpec.AT_MOST: in onMeasure() [all …]
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | FixedAspectSurfaceView.java | 110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure() 122 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure() 125 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | FixedAspectSurfaceView.java | 110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure() 122 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure() 125 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FlowLayout.java | 48 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 49 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 57 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in onMeasure() 74 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewPerformanceTest.java | 56 mLabelView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp() 67 mTextView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); in setUp()
|
D | LabelView.java | 142 if (specMode == MeasureSpec.AT_MOST) { in measureWidth() 169 if (specMode == MeasureSpec.AT_MOST) { in measureHeight()
|
D | InternalSelectionView.java | 117 } else if (specMode == MeasureSpec.AT_MOST) { in measureWidth() 134 } else if (specMode == MeasureSpec.AT_MOST) { in measureHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 54 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 55 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 64 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in onMeasure() 81 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverViewPager.java | 56 if (MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.AT_MOST) { in onMeasure() 65 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in onMeasure()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewOnMeasurePerfTest.java | 19 import static android.view.View.MeasureSpec.AT_MOST; 115 textView.measure(AT_MOST | VIEW_WIDTH, AT_MOST | VIEW_HEIGHT); in testMeasure_AtMost()
|
D | TextViewPrecomputedTextPerfTest.java | 247 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText() 267 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_RandomText_Selectable() 288 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText() 311 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnMeasure_PrecomputedText_Selectable() 335 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_RandomText() 361 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_RandomText_Selectable() 388 int width = MeasureSpec.makeMeasureSpec(TEXT_WIDTH, MeasureSpec.AT_MOST); in testOnDraw_PrecomputedText() 417 int width = MeasureSpec.makeMeasureSpec(MeasureSpec.AT_MOST, TEXT_WIDTH); in testOnDraw_PrecomputedText_Selectable()
|
D | LayoutPerfTest.java | 21 import static android.view.View.MeasureSpec.AT_MOST; 63 private int[] mMeasureSpecs = {EXACTLY, AT_MOST, UNSPECIFIED};
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextViewSetTextMeasurePerfTest.java | 18 import static android.view.View.MeasureSpec.AT_MOST; 112 View.MeasureSpec.makeMeasureSpec(mLineWidth, AT_MOST), in timeCreate() 139 View.MeasureSpec.makeMeasureSpec(mLineWidth, AT_MOST), in timeDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsDialogMeasureAdapter.java | 132 MeasureSpec.makeMeasureSpec(sensorDiameter, MeasureSpec.AT_MOST), in onMeasureInternalPortrait() 133 MeasureSpec.makeMeasureSpec(sensorDiameter, MeasureSpec.AT_MOST)); in onMeasureInternalPortrait() 160 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in onMeasureInternalPortrait() 234 MeasureSpec.makeMeasureSpec(sensorDiameter, MeasureSpec.AT_MOST), in onMeasureInternalLandscape() 235 MeasureSpec.makeMeasureSpec(sensorDiameter, MeasureSpec.AT_MOST)); in onMeasureInternalLandscape() 259 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in onMeasureInternalLandscape()
|
/frameworks/base/core/java/android/view/ |
D | NotificationTopLineView.java | 113 final boolean wrapHeight = MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST; in onMeasure() 114 int wrapContentWidthSpec = MeasureSpec.makeMeasureSpec(givenWidth, MeasureSpec.AT_MOST); in onMeasure() 115 int heightSpec = MeasureSpec.makeMeasureSpec(givenHeight, MeasureSpec.AT_MOST); in onMeasure() 439 int childWidthSpec = MeasureSpec.makeMeasureSpec(newSize, MeasureSpec.AT_MOST); in adjust() 449 int dividerWidthSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.AT_MOST); in adjust() 458 int regrowWidthSpec = MeasureSpec.makeMeasureSpec(maxSize, MeasureSpec.AT_MOST); in adjust()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/ |
D | BiometricPromptLayout.java | 126 MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST), in onMeasureInternal() 127 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in onMeasureInternal() 131 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST)); in onMeasureInternal()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 97 private static final int HEIGHT_SPEC = MeasureSpec.makeMeasureSpec(400, MeasureSpec.AT_MOST); 453 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_squeezeLongest() 475 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testLayout_squeezeLongest() 499 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_dropLongest() 889 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_squeezeLongestSmartAction() 911 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testLayout_squeezeLongestSmartAction() 934 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_dropLongestSmartAction() 1001 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsSqueezeLongestAction() 1023 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsPrioritizeActionsOnlyActions() 1047 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsPrioritizeActions() [all …]
|
D | VariableDateViewControllerTest.kt | 196 onMeasureListenerCaptor.value.onMeasureAction(10000, View.MeasureSpec.AT_MOST) in testQsExpansionTrue_ignoreAtMostMeasureRequests() 211 onMeasureListenerCaptor.value.onMeasureAction(10000, View.MeasureSpec.AT_MOST) in testQsExpansionFalse_acceptAtMostMeasureRequests()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 115 if (DEBUG && widthMode != MeasureSpec.AT_MOST) { in onMeasure() 119 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure() 170 mode = MeasureSpec.AT_MOST; in makeChildMeasureSpec()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NeverExactlyLinearLayout.kt | 56 newSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST) in getNonExactlyMeasureSpec()
|
/frameworks/base/core/java/android/widget/ |
D | Space.java | 84 case MeasureSpec.AT_MOST: in getDefaultSize2()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 25 import android.view.View.MeasureSpec.AT_MOST 97 (animationWindowView.parent as View).width, AT_MOST), in prepareChipAnimation() 99 (animationWindowView.parent as View).height, AT_MOST)) in prepareChipAnimation()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ImageFloatingTextViewTest.java | 119 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.AT_MOST); in parametrizedTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuEduTooltipView.java | 20 import static android.view.View.MeasureSpec.AT_MOST; 161 getAvailableTextViewWidth(isTooltipOnRightOfAnchor), AT_MOST); in updateLocationWith()
|