/frameworks/base/core/java/com/android/internal/widget/ |
D | PreferenceImageView.java | 50 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 55 widthMeasureSpec = MeasureSpec.makeMeasureSpec(maxWidth, MeasureSpec.AT_MOST); in onMeasure() 60 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 65 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 …]
|
D | ActionBarContainer.java | 287 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST && mHeight >= 0) { in onMeasure() 289 Math.min(mHeight, MeasureSpec.getSize(heightMeasureSpec)), MeasureSpec.AT_MOST); in onMeasure() 307 final int maxHeight = mode == MeasureSpec.AT_MOST ? in onMeasure()
|
D | WeightedLinearLayout.java | 73 if (widthMode == AT_MOST) { in onMeasure()
|
D | ActionBarContextView.java | 323 final int childSpecHeight = MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST); in onMeasure() 355 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; in onMeasure() 359 MeasureSpec.EXACTLY : MeasureSpec.AT_MOST; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 77 MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.AT_MOST), in onMeasure() 93 MeasureSpec.AT_MOST), in onMeasure() 99 MeasureSpec.AT_MOST), in onMeasure() 104 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure() 108 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure()
|
D | SignalTileView.java | 86 int ws = MeasureSpec.makeMeasureSpec(mIconFrame.getMeasuredHeight(), MeasureSpec.AT_MOST); in onMeasure() 100 return MeasureSpec.AT_MOST; in getIconMeasureMode()
|
/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()
|
/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/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/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 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() 959 MeasureSpec.makeMeasureSpec(expectedView.getMeasuredWidth(), MeasureSpec.AT_MOST), in testMeasure_choicesAndActionsPrioritizeActions() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | TextViewSetTextMeasurePerfTest.java | 18 import static android.view.View.MeasureSpec.AT_MOST; 109 textView.measure(AT_MOST | mLineWidth, UNSPECIFIED); in timeCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 202 if (DEBUG && widthMode != MeasureSpec.AT_MOST) { in onMeasure() 206 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure() 255 mode = MeasureSpec.AT_MOST; in makeChildMeasureSpec()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | InternalSelectionView.java | 116 } else if (specMode == MeasureSpec.AT_MOST) { in measureWidth() 133 } else if (specMode == MeasureSpec.AT_MOST) { in measureHeight()
|
/frameworks/base/core/java/android/widget/ |
D | Space.java | 84 case MeasureSpec.AT_MOST: in getDefaultSize2()
|
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IntrinsicSizeFrameLayout.java | 84 } else if (mode == MeasureSpec.AT_MOST) { in getIntrinsicMeasureSpec()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ResizingSpace.java | 87 case MeasureSpec.AT_MOST: in getDefaultSize2()
|