Searched refs:maxDimension (Results 1 – 4 of 4) sorted by relevance
679 public Palette.Builder resizeBitmapSize(final int maxDimension) { in resizeBitmapSize() argument680 mResizeMaxDimension = maxDimension; in resizeBitmapSize()936 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight());937 if (maxDimension > mResizeMaxDimension) {938 scaleRatio = mResizeMaxDimension / (double) maxDimension;
158 int maxDimension, CompressFormat format, int quality) { in saveBitmapLocked() argument177 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()
4309 int maxDimension = max(width, height); in getAVCLevelFor() local4337 if (rate <= limit[0] && mbs <= limit[1] && maxDimension <= limit[2] in getAVCLevelFor()