/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationMaxHeightFrameLayout.java | 61 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 62 if (MeasureSpec.getSize(heightMeasureSpec) > mNotificationMaxHeight) { in onMeasure() 63 final int mode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 64 heightMeasureSpec = MeasureSpec.makeMeasureSpec(mNotificationMaxHeight, mode); in onMeasure() 66 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | PreferenceImageView.java | 49 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 60 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 62 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 66 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure() 70 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | WatchListDecorLayout.java | 112 private void applyMeasureToChild(View child, int widthMeasureSpec, int heightMeasureSpec) { in applyMeasureToChild() argument 137 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in applyMeasureToChild() 146 private int measureAndGetHeight(View child, int widthMeasureSpec, int heightMeasureSpec) { in measureAndGetHeight() argument 149 applyMeasureToChild(mBottomPanel, widthMeasureSpec, heightMeasureSpec); in measureAndGetHeight() 152 applyMeasureToChild(mBottomPanel, widthMeasureSpec, heightMeasureSpec); in measureAndGetHeight() 159 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 164 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 174 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure() 206 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure() 216 measureAndGetHeight(mTopPanel, widthMeasureSpec, heightMeasureSpec)); in onMeasure() [all …]
|
D | AlertDialogLayout.java | 70 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 71 if (!tryOnMeasure(widthMeasureSpec, heightMeasureSpec)) { in onMeasure() 73 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 77 private boolean tryOnMeasure(int widthMeasureSpec, int heightMeasureSpec) { in tryOnMeasure() argument 111 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in tryOnMeasure() 112 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in tryOnMeasure() 207 final int heightSizeAndState = resolveSizeAndState(usedHeight, heightMeasureSpec, 0); in tryOnMeasure() 213 forceUniformWidth(count, heightMeasureSpec); in tryOnMeasure() 225 private void forceUniformWidth(int count, int heightMeasureSpec) { in forceUniformWidth() argument 241 measureChildWithMargins(child, uniformMeasureSpec, 0, heightMeasureSpec, 0); in forceUniformWidth()
|
D | DialogViewAnimator.java | 42 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 64 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure() 103 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure() 131 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in onMeasure()
|
D | DialogTitle.java | 51 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 52 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 74 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | WeightedLinearLayout.java | 57 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 88 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverViewPager.java | 54 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 55 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 56 if (MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.AT_MOST) { in onMeasure() 73 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in onMeasure() 74 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NoRemeasureMotionLayout.kt | 41 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 44 lastHeightSpec == heightMeasureSpec && in onMeasure() 51 super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure() 53 lastHeightSpec = heightMeasureSpec in onMeasure()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FlowLayout.java | 36 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); in onMeasure() 48 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 72 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { in onMeasure() 74 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
D | BlingyNotification.kt | 48 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 49 val image = image ?: return super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure() 52 val heightMode = MeasureSpec.getMode(heightMeasureSpec) in onMeasure() 60 height = minOf(MeasureSpec.getSize(heightMeasureSpec), height) in onMeasure() 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | UniqueObjectHostView.kt | 42 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 47 val height = MeasureSpec.getSize(heightMeasureSpec) - paddingVertical in onMeasure() 48 val heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.getMode(heightMeasureSpec)) in onMeasure() 57 super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure()
|
D | MeasurementInput.kt | 34 var heightMeasureSpec: Int variable in com.android.systemui.util.animation.MeasurementInput 42 return View.MeasureSpec.getSize(heightMeasureSpec)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallChronometer.kt | 71 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 80 heightMeasureSpec) in onMeasure() 96 setMeasuredDimension(minimumTextWidth, MeasureSpec.getSize(heightMeasureSpec)) in onMeasure()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GradientsActivity.java | 105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 106 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 130 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 131 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 155 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 156 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 179 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 180 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | FixedAspectSurfaceView.java | 86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 91 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 144 height = View.resolveSizeAndState(height, heightMeasureSpec, 0); in onMeasure()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | FixedAspectSurfaceView.java | 86 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 91 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 144 height = View.resolveSizeAndState(height, heightMeasureSpec, 0); in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | IgnorableChildLinearLayout.kt | 49 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 55 MeasureSpec.makeMeasureSpec(heightMeasureSpec, MeasureSpec.UNSPECIFIED) in onMeasure() 56 } else heightMeasureSpec in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerViewPager.java | 53 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure() 70 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 100 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure() 127 childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in onMeasure()
|
D | TableLayout.java | 435 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 437 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 455 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument 463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 470 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 471 findLargestCells(widthMeasureSpec, heightMeasureSpec); in measureVertical() 474 super.measureVertical(widthMeasureSpec, heightMeasureSpec); in measureVertical() 483 private void findLargestCells(int widthMeasureSpec, int heightMeasureSpec) { in findLargestCells() argument 506 final int[] widths = row.getColumnsWidths(widthMeasureSpec, heightMeasureSpec); in findLargestCells()
|
D | TableRow.java | 112 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 114 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 193 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument 219 int childHeightMeasureSpec = getChildMeasureSpec(heightMeasureSpec, in measureChildBeforeLayout() 248 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout() 288 int[] getColumnsWidths(int widthMeasureSpec, int heightMeasureSpec) { in getColumnsWidths() argument 308 MeasureSpec.getSize(heightMeasureSpec), in getColumnsWidths()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | ImageFloatingTextViewTest.java | 119 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(500, MeasureSpec.AT_MOST); in parametrizedTest() local 125 mTextView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest() 126 mView.measure(widthMeasureSpec, heightMeasureSpec); in parametrizedTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 48 int height = MeasureSpec.getSize(heightMeasureSpec) - getPaddingTop() - getPaddingBottom(); in onMeasure() 54 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 79 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { in onMeasure() 81 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | ButtonBarLayout.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 63 super.onMeasure(initialWidthMeasureSpec, heightMeasureSpec); in onMeasure() 73 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenRadioLayout.java | 39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 66 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|