Searched defs:outWidth (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h104 // outWidth, outHeight and outTransform are filled with the default width
148 inline void deflate(uint32_t* outWidth, argument
152 *outWidth = width;
190 // outWidth, outHeight and outTransform are filled with the default width
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DTestBenchMultipleInstance.c461 u32 outWidth, outHeight; local
482 outWidth = pCropParams->cropOutWidth;
492 for (j = outWidth; j; j--)
496 pIn += picWidth - outWidth;
499 outWidth >>= 1;
508 for (j = outWidth; j; j--)
512 pIn += picWidth/2 - outWidth;
521 for (j = outWidth; j; j--)
525 pIn += picWidth/2 - outWidth;
H A DDecTestBench.c593 u32 outWidth, outHeight; local
616 outWidth = pCropParams->cropOutWidth;
627 for (j = outWidth; j; j--)
631 pIn += picWidth - outWidth;
634 outWidth >>= 1;
644 for (j = outWidth; j; j--)
648 pIn += picWidth/2 - outWidth;
658 for (j = outWidth; j; j--)
662 pIn += picWidth/2 - outWidth;
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java312 * outWidth will be set to -1.
315 public int outWidth; field in class:BitmapFactory.Options
351 * null, or if inJustDecodeBounds is true, will set outWidth/outHeight
369 * size be returned (in opts.outWidth and opts.outHeight)
442 * size be returned (in opts.outWidth and opts.outHeight)
496 * size be returned (in opts.outWidth and opts.outHeight)
574 * size be returned (in opts.outWidth and opts.outHeight)
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaItemThumbnailTest.java71 protected void validateThumbnail(Bitmap thumbNailBmp, int outWidth, argument
75 assertEquals("Thumbnail Width", outWidth, thumbNailBmp.getWidth());
95 final int outWidth = (mediaVideoItem.getWidth() / 2);
98 final Bitmap thumbNailBmp = mediaVideoItem.getThumbnail(outWidth,
100 validateThumbnail(thumbNailBmp, outWidth, outHeight);
115 final int outWidth = (mediaVideoItem.getWidth() / 2);
117 final Bitmap thumbNailBmp = mediaVideoItem.getThumbnail(outWidth,
119 validateThumbnail(thumbNailBmp, outWidth, outHeight);
134 final int outWidth = mediaVideoItem.getWidth() / 2;
136 final Bitmap thumbNailBmp = mediaVideoItem.getThumbnail(outWidth,
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp237 uint32_t outWidth, outHeight; local
247 outWidth = videoWidth;
252 outWidth = (uint32_t)(videoHeight / displayAspect);
255 offX = (videoWidth - outWidth) / 2;
257 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
262 outHeight, outWidth, offY, offX);
265 outWidth, outHeight, offX, offY);
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java401 * @param outWidth The width of the returned drawable
402 * @param outWidth The height of the returned drawable
410 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
427 if (outWidth <= 0 || outHeight <= 0) {
437 if (options.outWidth != 0 && options.outHeight != 0) {
438 inWidth = options.outWidth;
451 outWidth = Math.min(inWidth, outWidth);
454 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
457 float left = (inWidth - outWidth) * horizontalAlignmen
541 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.java404 final int outWidth = (int) Math.round(cropRect.width() * cropScale);
409 updateWallpaperDimensions(outWidth, outHeight);
417 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
447 RectF cropBounds, int rotation, int outWidth, int outHeight,
452 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
456 RectF cropBounds, int rotation, int outWidth, int outHeight,
460 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
464 RectF cropBounds, int rotation, int outWidth, int outHeight,
469 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
473 RectF cropBounds, int rotation, int outWidth, in
446 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
455 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
463 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
472 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
482 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
824 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]

Completed in 271 milliseconds