/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | AspectRatioFrameLayoutTest.java | 47 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(50, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_squeezeWidth() local 49 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_squareAspectRatio_squeezeWidth() 60 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_stretchWidth() local 62 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_squareAspectRatio_stretchWidth() 73 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_squareAspectRatio_doNotStretch() local 75 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_squareAspectRatio_doNotStretch() 88 int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(100, View.MeasureSpec.EXACTLY); in measure_rectangleAspectRatio_stretch() local 90 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_rectangleAspectRatio_stretch()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FullHeightLinearLayout.java | 44 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 45 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure() 46 heightMeasureSpec = MeasureSpec.makeMeasureSpec( in onMeasure() 47 MeasureSpec.getSize(heightMeasureSpec), MeasureSpec.EXACTLY); in onMeasure() 49 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | PreferenceImageView.java | 46 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure() 67 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoftwareCameraPreview.java | 87 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 88 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 89 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 90 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | HardwareCameraPreview.java | 93 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 94 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 95 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 96 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | SoftwareCameraPreview.java | 95 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 96 widthMeasureSpec = preview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 97 heightMeasureSpec = preview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 98 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | HardwareCameraPreview.java | 100 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 101 widthMeasureSpec = preview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 102 heightMeasureSpec = preview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 103 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | SquareImageView.java | 39 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() 46 height = Math.min(height, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure() 50 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | MeasurableLinearLayout.java | 31 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 32 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 36 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 39 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ExpandedGridView.java | 29 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 33 heightMeasureSpec = MeasureSpec.makeMeasureSpec(65536, MeasureSpec.AT_MOST); in onMeasure() 34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
D | StackLayout.java | 33 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 38 measureChild(child, widthMeasureSpec, heightMeasureSpec); in onMeasure() 45 resolveSize(height, heightMeasureSpec)); in onMeasure()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFastScroller.java | 438 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(trackHeight, MeasureSpec.EXACTLY); in layoutTrack() local 439 mTrackImageView.measure(widthMeasureSpec, heightMeasureSpec); in layoutTrack() 450 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(mThumbHeight, MeasureSpec.EXACTLY); in layoutThumb() local 451 mThumbImageView.measure(widthMeasureSpec, heightMeasureSpec); in layoutThumb() 462 int heightMeasureSpec = MeasureSpec.makeMeasureSpec(mPreviewHeight, MeasureSpec.EXACTLY); in layoutPreview() local 463 mPreviewTextView.measure(widthMeasureSpec, heightMeasureSpec); in layoutPreview() 468 mPreviewTextView.measure(widthMeasureSpec, heightMeasureSpec); in layoutPreview()
|
D | MessageBubbleBackground.java | 35 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 36 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 45 heightMeasureSpec); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 597 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 599 measureVertical(widthMeasureSpec, heightMeasureSpec); in onMeasure() 601 measureHorizontal(widthMeasureSpec, heightMeasureSpec); in onMeasure() 641 void measureVertical(int widthMeasureSpec, int heightMeasureSpec) { in measureVertical() argument 653 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() 709 child, i, widthMeasureSpec, 0, heightMeasureSpec, in measureVertical() 814 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical() 953 forceUniformWidth(count, heightMeasureSpec); in measureVertical() 957 private void forceUniformWidth(int count, int heightMeasureSpec) { in forceUniformWidth() argument 974 measureChildWithMargins(child, uniformMeasureSpec, 0, heightMeasureSpec, 0); in forceUniformWidth() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ImeDetectFrameLayout.java | 32 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 34 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 43 ((ImeUtil.ImeStateHost) getContext()).onDisplayHeightChanged(heightMeasureSpec); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSquareTextureView.java | 41 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 42 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 44 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | AutoSizingTextView.kt | 33 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 34 mTextSizeHelper!!.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure() 35 super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure()
|
D | AutoSizingTextClock.kt | 35 override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { in onMeasure() 36 mTextSizeHelper!!.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure() 37 super.onMeasure(widthMeasureSpec, heightMeasureSpec) in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | MessageBubbleBackground.java | 35 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 36 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 45 heightMeasureSpec); in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | ConstraintViewPager.java | 45 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 58 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxChildHeight, MeasureSpec.EXACTLY); in onMeasure() 60 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadTextView.java | 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 63 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 68 int height = resolveSize(textBounds.height(), heightMeasureSpec); in onMeasure()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/ |
D | DialpadTextView.java | 63 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 64 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 69 int height = resolveSize(mTextBounds.height(), heightMeasureSpec); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 38 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 48 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | FixedRatioImageView.java | 62 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 63 super.onMeasure(widthMeasureSpec, heightMeasureSpec); in onMeasure() 66 int height = getDefaultSize(getSuggestedMinimumHeight(), heightMeasureSpec); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 105 protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { in onMeasure() argument 107 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() 132 measureChildWithMargins(mWorkspace, widthMeasureSpec, 0, heightMeasureSpec, in onMeasure() 136 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); in onMeasure()
|