/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() 208 options.outWidth = (int) (ratio * options.outWidth); in load() 212 options.outWidth, options.outHeight, in load() 223 options.outWidth, options.outHeight, in load() 226 int tmp = options.outWidth; in load() 227 options.outWidth = options.outHeight; 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 102 int scaleDownSampleSize = Math.max(1, Math.min(roundedTrueCrop.width() / outWidth, in readCroppedBitmap() 176 if (outWidth > 0 && outHeight > 0 || rotation > 0) { in readCroppedBitmap() 182 if (!(outWidth > 0 && outHeight > 0)) { in readCroppedBitmap() 183 outWidth = Math.round(dimsAfter[0]); 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 62 mOutWidth = outWidth; 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() 174 options.outWidth = mDescriptor.sourceWidth; in loadBitmapInternal() 203 final int sampledWidth = (options.outWidth + 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() 91 final int sampledWidth = options.outWidth / options.inSampleSize; in loadBitmapInternal()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 123 int w = options.outWidth; 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() 85 int w = o.outWidth; in getFullsize()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 105 float outWidth = scale * taskWidth; in calculateTaskSize() local 109 float x = insets.left + (launcherVisibleWidth - outWidth) / 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() 133 final int wDivider = Math.max(opts.outWidth / mWidth, 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() 99 width = opts.outWidth; 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 | 195 mOriginalWidth = bitmapOptions.outWidth; in decodeBitmap() 206 widthScale = bitmapOptions.outWidth / width; in decodeBitmap() 222 Log.d("BitmapWorkerTask", "Source bitmap: (" + bitmapOptions.outWidth + "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 | 416 final int outWidth = (int) Math.round(cropRect.width() * 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); 260 mOptions.outWidth / 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 | 196 final int width = options.outWidth; in calculateInSampleSize() 576 mWidth = mOptions.outWidth; in ensureImageSizeSet() 894 return new Rect(0, 0, options.outWidth, options.outHeight); in decodeImageBounds()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 122 double w = options.outWidth; in computeInitialSampleSize() 314 if (options.mCancel || options.outWidth == -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 | 84 int streamWidth = bounds.outWidth; in getBitmapPartiallyResized()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 152 return (options != null) ? options.outWidth : 0; in getWidth()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 73 assertEquals(options.getValue().outWidth, bitmapWidth); in testLoadImageUnspecifiedSize()
|