Home
last modified time | relevance | path

Searched refs:desiredSize (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileUtils.java68 int desiredSize = res.getDimensionPixelSize(R.dimen.icon_size); in scaleProfileIcon() local
70 Bitmap.createScaledBitmap(icon, desiredSize, desiredSize, /*filter=*/true); in scaleProfileIcon()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DA11yUtils.kt42 fun getTouchTargetMargin(desiredSize: Float, actualSize: Int): Int { in getTouchTargetMargin()
43 return max(((desiredSize - actualSize) / 2) * 1.0f, 0f).toInt() in getTouchTargetMargin()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java133 final int desiredSize = getResources() in bind() local
135 mData.bind(cursor, desiredSize, desiredSize); in bind()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAsyncImageView.java359 private static int resolveSize(int desiredSize, int maxSize, int measureSpec) { in resolveSize() argument
364 return Math.min(desiredSize, maxSize); in resolveSize()
367 return Math.min(Math.min(desiredSize, specSize), maxSize); in resolveSize()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java82 Size desiredSize = sizeFromSettingString(sizeSetting); in getFromSetting() local
83 if (supportedSizes.contains(desiredSize)) { in getFromSetting()
84 return desiredSize; in getFromSetting()
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java291 int desiredSize = (int) mRippleRingDiameterEnd; in onMeasure() local
292 setMeasuredDimension(desiredSize, desiredSize); in onMeasure()