Searched refs:desiredSize (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfileUtils.java | 68 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/ |
D | UserIconProvider.java | 73 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/ |
D | GalleryGridItemView.java | 133 final int desiredSize = getResources() in bind() local 135 mData.bind(cursor, desiredSize, desiredSize); in bind()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 82 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/ |
D | AsyncImageView.java | 359 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/ |
D | RoundedThumbnailView.java | 291 int desiredSize = (int) mRippleRingDiameterEnd; in onMeasure() local 292 setMeasuredDimension(desiredSize, desiredSize); in onMeasure()
|