Searched refs:maxDimension (Results 1 – 5 of 5) sorted by relevance
671 public Builder resizeBitmapSize(final int maxDimension) { in resizeBitmapSize() argument672 mResizeMaxDimension = maxDimension; in resizeBitmapSize()913 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());914 if (maxDimension > mResizeMaxDimension) {915 scaleRatio = mResizeMaxDimension / (double) maxDimension;
677 public Palette.Builder resizeBitmapSize(final int maxDimension) { in resizeBitmapSize() argument678 mResizeMaxDimension = maxDimension; in resizeBitmapSize()920 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());921 if (maxDimension > mResizeMaxDimension) {922 scaleRatio = mResizeMaxDimension / (double) maxDimension;
156 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked() argument169 final Bitmap shrunk = mService.shrinkBitmap(original, maxDimension); in saveBitmapLocked()
63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); in requireSimilar() local64 double scale = THUMBNAIL_SIZE / (double)maxDimension; in requireSimilar()
4188 int maxDimension = max(width, height); in getAVCLevelFor() local4213 if (rate <= limit[0] && mbs <= limit[1] && maxDimension <= limit[2] in getAVCLevelFor()