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/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserIconProvider.java73 int desiredSize = res.getDimensionPixelSize(R.dimen.car_primary_icon_size); in scaleUserIcon() local
75 Bitmap.createScaledBitmap(icon, desiredSize, desiredSize, /*filter=*/ true); in scaleUserIcon()
/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/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/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/widget/
DRoundedThumbnailView.java291 int desiredSize = (int) mRippleRingDiameterEnd; in onMeasure() local
292 setMeasuredDimension(desiredSize, desiredSize); in onMeasure()