Home
last modified time | relevance | path

Searched refs:maxDimension (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DPalette.java671 public Builder resizeBitmapSize(final int maxDimension) { in resizeBitmapSize() argument
672 mResizeMaxDimension = maxDimension; in resizeBitmapSize()
913 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());
914 if (maxDimension > mResizeMaxDimension) {
915 scaleRatio = mResizeMaxDimension / (double) maxDimension;
/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java677 public Palette.Builder resizeBitmapSize(final int maxDimension) { in resizeBitmapSize() argument
678 mResizeMaxDimension = maxDimension; in resizeBitmapSize()
920 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());
921 if (maxDimension > mResizeMaxDimension) {
922 scaleRatio = mResizeMaxDimension / (double) maxDimension;
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java156 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked() argument
169 final Bitmap shrunk = mService.shrinkBitmap(original, maxDimension); in saveBitmapLocked()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); in requireSimilar() local
64 double scale = THUMBNAIL_SIZE / (double)maxDimension; in requireSimilar()
/frameworks/av/media/libstagefright/
DACodec.cpp4188 int maxDimension = max(width, height); in getAVCLevelFor() local
4213 if (rate <= limit[0] && mbs <= limit[1] && maxDimension <= limit[2] in getAVCLevelFor()