Home
last modified time | relevance | path

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

12

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java429 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper()
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
470 RectF cropBounds, int rotation, int outWidth, int outHeight,
475 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
479 RectF cropBounds, int rotation, int outWidth, int outHeight,
483 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
492 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
496 RectF cropBounds, int rotation, int outWidth, int outHeight,
502 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
[all …]
/frameworks/base/core/java/android/app/
DWallpaperManager.java473 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
475 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable()
495 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
518 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
529 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
531 inHeight = options.outHeight; in getBuiltInDrawable()
545 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable()
547 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
552 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable()
553 float bottom = top + outHeight; in getBuiltInDrawable()
[all …]
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java152 + " h=" + options.outHeight); in restoreEntity()
162 final double heightRatio = mDesiredMinHeight / options.outHeight; in restoreEntity()
164 || options.outHeight < mDesiredMinWidth in restoreEntity()
172 + options.outWidth + ", h=" + options.outHeight in restoreEntity()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DDecTestBench.c593 u32 outWidth, outHeight; in CropPicture() local
617 outHeight = pCropParams->cropOutHeight; in CropPicture()
625 for (i = outHeight; i; i--) in CropPicture()
635 outHeight >>= 1; in CropPicture()
642 for (i = outHeight; i; i--) in CropPicture()
656 for (i = outHeight; i; i--) in CropPicture()
DTestBenchMultipleInstance.c464 u32 outWidth, outHeight; in CropPicture() local
486 outHeight = pCropParams->cropOutHeight; in CropPicture()
493 for (i = outHeight; i; i--) in CropPicture()
503 outHeight >>= 1; in CropPicture()
509 for (i = outHeight; i; i--) in CropPicture()
522 for (i = outHeight; i; i--) in CropPicture()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp249 uint32_t outWidth, outHeight; in setDisplayProjection() local
260 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
263 outHeight = videoHeight; in setDisplayProjection()
268 offY = (videoHeight - outHeight) / 2; in setDisplayProjection()
269 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection()
274 outHeight, outWidth, offY, offX); in setDisplayProjection()
277 outWidth, outHeight, offX, offY); in setDisplayProjection()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java111 || options.outHeight == -1) { in createImageThumbnail()
272 double h = options.outHeight; in computeInitialSampleSize()
317 || options.outHeight == -1) { in makeBitmap()
508 int height = exifOptions.outHeight; in createThumbnailFromEXIF()
DMediaScanner.java823 mBitmapOptions.outHeight = 0;
826 mHeight = mBitmapOptions.outHeight;
/frameworks/native/include/gui/
DIGraphicBufferProducer.h362 uint32_t* outHeight, in deflate()
367 *outHeight = height; in deflate()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java227 srcH = mOpts.outHeight; in decode()
229 srcW = mOpts.outHeight; in decode()
413 result.setLogicalHeight(mOpts.outHeight); in decode()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DBitmapHelper.java59 int actualH = bmOptions.outHeight; in findScaleFactor()
/frameworks/base/libs/hwui/renderstate/
DRenderState.h63 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
DRenderState.cpp135 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { in getViewport() argument
137 *outHeight = mViewportHeight; in getViewport()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd58 android.graphics.BitmapFactory.Options#outHeight} and {@link
67 int imageHeight = options.outHeight;
107 final int height = options.outHeight;
Dmanage-memory.jd286 int height = targetOptions.outHeight / targetOptions.inSampleSize;
293 && candidate.getHeight() == targetOptions.outHeight
/frameworks/native/include/ui/
DGralloc1On0Adapter.h238 uint32_t* outHeight) const { in getDimensions() argument
240 *outHeight = mDescriptor.height; in getDimensions()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java182 int actualHeight = decodeOptions.outHeight; in doParse()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h209 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DCameraDeviceClient.cpp719 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) { in roundBufferDimensionNearest() argument
760 if (outHeight != NULL) { in roundBufferDimensionNearest()
761 *outHeight = bestHeight; in roundBufferDimensionNearest()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java344 public int outHeight; field in BitmapFactory.Options
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java338 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCrop()
349 cropHint.bottom = options.outHeight; in generateCrop()
354 … (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0)); in generateCrop()
365 needCrop = (options.outHeight > cropHint.height() in generateCrop()
375 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCrop()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java1350 if (options.outWidth == 0 || options.outHeight == 0) { in doInBackground()
1366 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight); in doInBackground()
1367 int ratio = options.outHeight / reqHeight; in doInBackground()
/frameworks/support/core-utils/kitkat/android/support/v4/print/
DPrintHelperKitkat.java622 int h = opt.outHeight; in loadConstrainedBitmap()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java1015 final int heightSample = opts.outHeight / size.y; in getDocumentThumbnail()

12