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.java305 * outWidth will be set to -1.
308 public int outWidth; field in class:BitmapFactory.Options
344 * null, or if inJustDecodeBounds is true, will set outWidth/outHeight
362 * size be returned (in opts.outWidth and opts.outHeight)
435 * size be returned (in opts.outWidth and opts.outHeight)
489 * size be returned (in opts.outWidth and opts.outHeight)
567 * 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.java405 * @param outWidth The width of the returned drawable
406 * @param outWidth The height of the returned drawable
414 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
431 if (outWidth <= 0 || outHeight <= 0) {
441 if (options.outWidth != 0 && options.outHeight != 0) {
442 inWidth = options.outWidth;
455 outWidth = Math.min(inWidth, outWidth);
458 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
461 float left = (inWidth - outWidth) * horizontalAlignmen
545 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.java380 final int outWidth = (int) Math.round(cropRect.width() * cropScale);
385 updateWallpaperDimensions(outWidth, outHeight);
393 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
423 RectF cropBounds, int rotation, int outWidth, int outHeight,
428 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
432 RectF cropBounds, int rotation, int outWidth, int outHeight,
436 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
440 RectF cropBounds, int rotation, int outWidth, int outHeight,
445 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
449 RectF cropBounds, int rotation, int outWidth, in
422 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
431 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
439 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
448 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
458 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
772 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]

Completed in 342 milliseconds