/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 171 int rawLongSide = Math.max(options.outWidth, options.outHeight); in load() 172 int rawShortSide = Math.min(options.outWidth, options.outHeight); in load() 200 rawLongSide = Math.max(options.outWidth, options.outHeight); in load() 201 rawShortSide = Math.max(options.outWidth, options.outHeight); in load() 209 options.outHeight = (int) (ratio * options.outHeight); in load() 212 options.outWidth, options.outHeight, in load() 223 options.outWidth, options.outHeight, in load() 227 options.outWidth = options.outHeight; in load() 228 options.outHeight = tmp; in load()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | InputStreamProvider.java | 59 if (options.outWidth != 0 && options.outHeight != 0) { in getImageBounds() 60 return new Point(options.outWidth, options.outHeight); in getImageBounds() 66 public Bitmap readCroppedBitmap(RectF cropBounds, int outWidth, int outHeight, int rotation) { in readCroppedBitmap() argument 103 roundedTrueCrop.height() / outHeight)); in readCroppedBitmap() 176 if (outWidth > 0 && outHeight > 0 || rotation > 0) { in readCroppedBitmap() 182 if (!(outWidth > 0 && outHeight > 0)) { in readCroppedBitmap() 184 outHeight = Math.round(dimsAfter[1]); in readCroppedBitmap() 188 RectF returnRect = new RectF(0, 0, outWidth, outHeight); in readCroppedBitmap()
|
D | CropAndSetWallpaperTask.java | 55 RectF cropBounds, int rotation, int outWidth, int outHeight, in CropAndSetWallpaperTask() argument 63 mOutHeight = outHeight; in CropAndSetWallpaperTask()
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
D | Utils.java | 109 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { in getMaxCropRect() argument 112 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { in getMaxCropRect() 115 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; in getMaxCropRect() 124 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; in getMaxCropRect()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 163 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 165 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal() 175 options.outHeight = mDescriptor.sourceHeight; in loadBitmapInternal() 205 final int sampledHeight = (options.outHeight + options.inSampleSize - 1) / in loadBitmapInternal()
|
D | FileImageRequest.java | 82 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 84 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal() 92 final int sampledHeight = options.outHeight / options.inSampleSize; in loadBitmapInternal()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 124 int h = options.outHeight; in decodeThumbnail() 176 if (options.outWidth < targetSize || options.outHeight < targetSize) { in decodeIfBigEnough() 180 options.outWidth, options.outHeight, targetSize); in decodeIfBigEnough() 303 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight); in findCachedBitmap() 309 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight); in findCachedBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 52 if (o.outWidth == 0 || o.outHeight == 0) { in getThumbnail() 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); in getThumbnail() 86 int h = o.outHeight; in getFullsize()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 106 float outHeight = scale * taskHeight; in calculateTaskSize() local 111 (launcherVisibleHeight - extraVerticalSpace - outHeight) / 2); in calculateTaskSize() 113 Math.round(x) + Math.round(outWidth), Math.round(y) + Math.round(outHeight)); in calculateTaskSize()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ThumbnailLoadTask.java | 125 if (isCancelled() || opts.outWidth == -1 || opts.outHeight == -1) { in loadBitmap() 134 final int hDivider = Math.max(opts.outHeight / mHeight, 1); in loadBitmap() 138 opts.outWidth, opts.outHeight, mWidth, mHeight, opts.inSampleSize); in loadBitmap()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoDataFactory.java | 98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions() 100 height = opts.outHeight; in decodeBitmapDimensions()
|
D | FilmstripItemUtils.java | 69 if (justBoundsOpts.outWidth > 0 && justBoundsOpts.outHeight > 0) { in decodeBitmapDimension() 70 size = new Point(justBoundsOpts.outWidth, justBoundsOpts.outHeight); in decodeBitmapDimension()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | DrawableLoader.java | 196 mOriginalHeight = bitmapOptions.outHeight; in decodeBitmap() 200 heightScale = bitmapOptions.outHeight / height; in decodeBitmap() 223 + bitmapOptions.outHeight + "). Max size: (" + options.getWidth() + "x" in decodeBitmap()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | BitmapUtil.java | 53 if (opts.mCancel || opts.outWidth == -1 || opts.outHeight == -1) { in decodeByteArray() 56 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h); in decodeByteArray()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperCropActivity.java | 417 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper() 418 CropAndFinishHandler onEndCrop = new CropAndFinishHandler(new Point(outWidth, outHeight), in cropImageAndSetWallpaper() 423 cropRect, cropRotation, outWidth, outHeight, onEndCrop) { in cropImageAndSetWallpaper()
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | AutoThumbnailDrawable.java | 249 mOptions.outWidth, mOptions.outHeight); 261 mOptions.outHeight / preferredSampleSize);
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 178 mDimensions = new Point(options.outHeight, options.outWidth); in calculateRawDimensions() 180 mDimensions = new Point(options.outWidth, options.outHeight); in calculateRawDimensions()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 195 final int height = options.outHeight; in calculateInSampleSize() 577 mHeight = mOptions.outHeight; in ensureImageSizeSet() 894 return new Rect(0, 0, options.outWidth, options.outHeight); in decodeImageBounds()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 123 double h = options.outHeight; in computeInitialSampleSize() 315 || options.outHeight == -1) { in makeBitmap()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPreviewBitmapTransformation.java | 54 int outWidth, int outHeight) { in transform() argument
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | BitmapUtil.java | 45 return Math.min(options.outWidth, options.outHeight); in getSmallerExtentFromBytes()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 106 return "[" + o.outWidth + " x " + o.outHeight + "]"; in getImageDimensions()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | LogoUtils.java | 85 int streamHeight = bounds.outHeight; in getBitmapPartiallyResized()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 147 return (options != null) ? options.outHeight : 0; in getHeight()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 74 assertEquals(options.getValue().outHeight, bitmapHeight); in testLoadImageUnspecifiedSize()
|