Searched refs:outHeight (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java152 + " h=" + options.outHeight);
162 final double heightRatio = mDesiredMinHeight / options.outHeight;
164 || options.outHeight < mDesiredMinWidth
172 + options.outWidth + ", h=" + options.outHeight
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java478 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
480 return getBuiltInDrawable(outWidth, outHeight, scaleToFit,
500 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, argument
523 if (outWidth <= 0 || outHeight <= 0) {
534 if (options.outWidth != 0 && options.outHeight != 0) {
536 inHeight = options.outHeight;
550 outHeight = Math.min(inHeight, outHeight);
552 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
557 float top = (inHeight - outHeight) * verticalAlignmen
637 getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, float horizontalAlignment, float verticalAlignment) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java429 final int outHeight = (int) Math.round(cropRect.height() * cropScale);
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
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, setWallpape
469 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
478 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
495 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
505 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
813 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DDecTestBench.c593 u32 outWidth, outHeight; local
617 outHeight = pCropParams->cropOutHeight;
625 for (i = outHeight; i; i--)
635 outHeight >>= 1;
642 for (i = outHeight; i; i--)
656 for (i = outHeight; i; i--)
H A DTestBenchMultipleInstance.c464 u32 outWidth, outHeight; local
486 outHeight = pCropParams->cropOutHeight;
493 for (i = outHeight; i; i--)
503 outHeight >>= 1;
509 for (i = outHeight; i; i--)
522 for (i = outHeight; i; i--)
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java59 int actualH = bmOptions.outHeight;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java59 int actualH = bmOptions.outHeight;
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp250 uint32_t outWidth, outHeight; local
261 outHeight = (uint32_t)(videoWidth * displayAspect);
264 outHeight = videoHeight;
269 offY = (videoHeight - outHeight) / 2;
270 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
275 outHeight, outWidth, offY, offX);
278 outWidth, outHeight, offX, offY);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h69 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
H A DRenderState.cpp139 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument
141 *outHeight = mViewportHeight;
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java111 || options.outHeight == -1) {
272 double h = options.outHeight;
317 || options.outHeight == -1) {
508 int height = exifOptions.outHeight;
H A DMediaScanner.java823 mBitmapOptions.outHeight = 0;
826 mHeight = mBitmapOptions.outHeight;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java227 srcH = mOpts.outHeight;
229 srcW = mOpts.outHeight;
413 result.setLogicalHeight(mOpts.outHeight);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h260 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
H A DCameraDeviceClient.cpp888 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) {
929 if (outHeight != NULL) {
930 *outHeight = bestHeight;
886 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java140 * size be returned (in opts.outWidth and opts.outHeight)
202 return new Point(opts.outWidth, opts.outHeight);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java375 * <p>outHeight will be set to -1 if there is an error trying to decode.</p>
377 public int outHeight; field in class:BitmapFactory.Options
426 * or if inJustDecodeBounds is true, will set outWidth/outHeight
462 * size be returned (in opts.outWidth and opts.outHeight)
546 * size be returned (in opts.outWidth and opts.outHeight)
606 * size be returned (in opts.outWidth and opts.outHeight)
690 * size be returned (in opts.outWidth and opts.outHeight)
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java343 if (options.outWidth <= 0 || options.outHeight <= 0) {
354 cropHint.bottom = options.outHeight;
359 (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0));
370 needCrop = (options.outHeight > cropHint.height()
380 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight);
/frameworks/support/core-utils/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java624 int h = opt.outHeight;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialog.java1393 if (options.outWidth == 0 || options.outHeight == 0) {
1409 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight);
1410 int ratio = options.outHeight / reqHeight;
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java1087 final int heightSample = opts.outHeight / size.y;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1944 height = opt.outHeight;
2639 height = opt.outHeight;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1381 assertEquals(height, bmpOptions.outHeight);

Completed in 7075 milliseconds