Home
last modified time | relevance | path

Searched refs:outHeight (Results 1 – 25 of 37) sorted by relevance

12

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java171 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/
DInputStreamProvider.java59 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()
DCropAndSetWallpaperTask.java55 RectF cropBounds, int rotation, int outWidth, int outHeight, in CropAndSetWallpaperTask() argument
63 mOutHeight = outHeight; in CropAndSetWallpaperTask()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/
DUtils.java109 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/
DImageRequest.java163 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()
DFileImageRequest.java82 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/
DDecodeUtils.java124 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/
DMtpBitmapFetch.java52 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/
DLayoutUtils.java106 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/
DThumbnailLoadTask.java125 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/
DPhotoDataFactory.java98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions()
100 height = opts.outHeight; in decodeBitmapDimensions()
DFilmstripItemUtils.java69 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/
DDrawableLoader.java196 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/
DBitmapUtil.java53 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/
DWallpaperCropActivity.java417 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/
DAutoThumbnailDrawable.java249 mOptions.outWidth, mOptions.outHeight);
261 mOptions.outHeight / preferredSampleSize);
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java178 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/
DImageUtils.java195 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/
DUtil.java123 double h = options.outHeight; in computeInitialSampleSize()
315 || options.outHeight == -1) { in makeBitmap()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWallpaperPreviewBitmapTransformation.java54 int outWidth, int outHeight) { in transform() argument
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DBitmapUtil.java45 return Math.min(options.outWidth, options.outHeight); in getSmallerExtentFromBytes()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java106 return "[" + o.outWidth + " x " + o.outHeight + "]"; in getImageDimensions()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DLogoUtils.java85 int streamHeight = bounds.outHeight; in getBitmapPartiallyResized()
/packages/apps/Gallery/src/com/android/camera/gallery/
DUriImage.java147 return (options != null) ? options.outHeight : 0; in getHeight()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DImageRequestTest.java74 assertEquals(options.getValue().outHeight, bitmapHeight); in testLoadImageUnspecifiedSize()

12