Home
last modified time | relevance | path

Searched refs:measuredWidth (Results 1 – 11 of 11) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheelContainer.java130 int measuredWidth, measuredHeight; in onMeasure() local
132 measuredWidth = desiredWidth; in onMeasure()
134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure()
136 measuredWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
145 setMeasuredDimension(measuredWidth, measuredHeight); in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAsyncImageView.java308 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
310 if (measuredWidth >= getMinimumWidth() || measuredHeight >= getMinimumHeight()) { in onMeasure()
331 int width = measuredWidth; in onMeasure()
338 final float aspectRatio = measuredWidth / (float) measuredHeight; in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java297 int measuredWidth = mImageViewWidth; in doInBackground() local
304 (float) bitmapWidth / measuredWidth, in doInBackground()
311 int horizontalGutterPx = Math.max(0, (scaledBitmap.getWidth() - measuredWidth) / 2); in doInBackground()
/packages/apps/Settings/src/com/android/settings/widget/
DRingProgressBar.java53 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
54 final int shortSide = Math.min(measuredHeight, measuredWidth); in onMeasure()
DBottomLabelLayout.java67 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
68 final int measuredWidthState = measuredWidth & View.MEASURED_STATE_MASK; in onMeasure()
DMatchParentShrinkingLinearLayout.java755 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
756 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
766 matchWidthLocally ? margin : measuredWidth); in measureVertical()
769 matchWidthLocally ? margin : measuredWidth); in measureVertical()
892 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
893 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
899 matchWidthLocally ? margin : measuredWidth); in measureVertical()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRingProgressBar.java53 final int measuredWidth = getMeasuredWidth(); in onMeasure() local
54 final int shortSide = Math.min(measuredHeight, measuredWidth); in onMeasure()
DBottomLabelLayout.java67 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
68 final int measuredWidthState = measuredWidth & View.MEASURED_STATE_MASK; in onMeasure()
DMatchParentShrinkingLinearLayout.java755 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
756 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
766 matchWidthLocally ? margin : measuredWidth); in measureVertical()
769 matchWidthLocally ? margin : measuredWidth); in measureVertical()
892 final int measuredWidth = child.getMeasuredWidth() + margin; in measureVertical() local
893 maxWidth = Math.max(maxWidth, measuredWidth); in measureVertical()
899 matchWidthLocally ? margin : measuredWidth); in measureVertical()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DButtonBarLayout.java83 final int measuredWidth = getMeasuredWidthAndState(); in onMeasure() local
84 final int measuredWidthState = measuredWidth & MEASURED_STATE_MASK; in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.kt111 totalLength += (child.measuredWidth + in onMeasure()
123 var maxWidth = ellipsizeView!!.measuredWidth - (totalLength - parentWidth) in onMeasure()