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

/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java149 + " h=" + options.outHeight);
159 final double heightRatio = mDesiredMinHeight / options.outHeight;
161 || options.outHeight < mDesiredMinWidth
169 + options.outWidth + ", h=" + options.outHeight
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java461 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
463 return getBuiltInDrawable(outWidth, outHeight, scaleToFit,
483 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, argument
506 if (outWidth <= 0 || outHeight <= 0) {
517 if (options.outWidth != 0 && options.outHeight != 0) {
519 inHeight = options.outHeight;
533 outHeight = Math.min(inHeight, outHeight);
535 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
540 float top = (inHeight - outHeight) * verticalAlignmen
620 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/av/cmds/screenrecord/
H A Dscreenrecord.cpp249 uint32_t outWidth, outHeight; local
260 outHeight = (uint32_t)(videoWidth * displayAspect);
263 outHeight = videoHeight;
268 offY = (videoHeight - outHeight) / 2;
269 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
274 outHeight, outWidth, offY, offX);
277 outWidth, outHeight, offX, offY);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h63 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
H A DRenderState.cpp135 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument
137 *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.java779 mBitmapOptions.outHeight = 0;
782 mHeight = mBitmapOptions.outHeight;
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h355 // outHeight - filled with default height applied to the buffer
360 uint32_t* outHeight,
364 *outHeight = height;
359 deflate(uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransformHint, uint32_t* outNumPendingBuffers) const argument
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java227 srcH = mOpts.outHeight;
229 srcW = mOpts.outHeight;
413 result.setLogicalHeight(mOpts.outHeight);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DImageRequest.java182 int actualHeight = decodeOptions.outHeight;
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h196 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
H A DCameraDeviceClient.cpp634 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) {
675 if (outHeight != NULL) {
676 *outHeight = bestHeight;
632 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java342 * <p>outHeight will be set to -1 if there is an error trying to decode.</p>
344 public int outHeight; field in class:BitmapFactory.Options
378 * or if inJustDecodeBounds is true, will set outWidth/outHeight
395 * size be returned (in opts.outWidth and opts.outHeight)
468 * size be returned (in opts.outWidth and opts.outHeight)
522 * size be returned (in opts.outWidth and opts.outHeight)
600 * size be returned (in opts.outWidth and opts.outHeight)
/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/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java338 if (options.outWidth <= 0 || options.outHeight <= 0) {
349 cropHint.bottom = options.outHeight;
354 (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0));
357 needCrop = (options.outHeight >= cropHint.height()
367 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight);
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java588 int h = opt.outHeight;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialog.java1270 if (options.outWidth == 0 || options.outHeight == 0) {
1286 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight);
1287 int ratio = options.outHeight / reqHeight;
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java1016 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 490 milliseconds