Searched refs:maxDimension (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Palette.java | 255 public Builder resizeBitmapSize(int maxDimension) { in resizeBitmapSize() argument 256 mResizeMaxDimension = maxDimension; in resizeBitmapSize() 439 int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight()); 440 if (maxDimension > mResizeMaxDimension) { 441 scaleRatio = mResizeMaxDimension / (double) maxDimension;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 238 int maxDimension, Bitmap.CompressFormat format, int quality) { in saveBitmap() argument 240 mShortcutBitmapSaver.saveBitmapLocked(shortcut, maxDimension, format, quality); in saveBitmap()
|
D | ShortcutBitmapSaver.java | 159 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked() argument 178 final Bitmap shrunk = mService.shrinkBitmap(original, maxDimension); in saveBitmapLocked()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadata.java | 978 private Bitmap scaleBitmap(Bitmap bmp, int maxDimension) { in scaleBitmap() argument 979 float maxDimensionF = maxDimension; in scaleBitmap()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 4567 int maxDimension = max(width, height); in getAVCLevelFor() local 4595 if (rate <= limit[0] && mbs <= limit[1] && maxDimension <= limit[2] in getAVCLevelFor()
|