Searched refs:outWidth (Results 1 - 21 of 21) sorted by relevance

/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/media/libstagefright/codecs/on2/h264dec/source/
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;
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;
/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...]
/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java130 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth
139 double widthRatio = mDesiredMinWidth / options.outWidth;
/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/media/java/android/media/
H A DThumbnailUtils.java115 if (options.mCancel || options.outWidth == -1
276 double w = options.outWidth;
321 if (options.mCancel || options.outWidth == -1
501 exifThumbWidth = exifOptions.outWidth / exifOptions.inSampleSize;
508 fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize;
512 int width = exifOptions.outWidth;
H A DMediaScanner.java735 mBitmapOptions.outWidth = 0;
738 mWidth = mBitmapOptions.outWidth;
/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/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/media/java/android/media/videoeditor/
H A DTransitionAlpha.java104 mWidth = dbo.outWidth;
H A DMediaImageItem.java128 mWidth = dbo.outWidth;
939 final int nativeWidth = dbo.outWidth;
H A DMediaArtistNativeHelper.java3822 final int outWidth = needToSwapWH ? height : width;
3831 outWidth, outHeight, Bitmap.Config.ARGB_8888);
3848 // (outWidth, outHeight).
3855 m.postScale(outWidth, outHeight);
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageRequest.java148 int actualWidth = decodeOptions.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/performance/
H A DVideoEditorPerformance.java927 final int outWidth = 1080;
939 mediaVideoItem.getThumbnail(outWidth, outHeight, atTime + i);
957 final int outWidth = 1080;
970 mediaVideoItem.getThumbnail(outWidth, outHeight, atTime + i);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java143 * size be returned (in opts.outWidth and opts.outHeight)
203 return new Point(opts.outWidth, opts.outHeight);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1943 width = opt.outWidth;
1945 if (opt.outWidth > getMaxImageWidthPx()) {
1947 height = height * getMaxImageWidthPx() / opt.outWidth;
2638 width = opt.outWidth;
2642 if (opt.outWidth > MAXWIDTH) {
2644 height = height * MAXWIDTH / opt.outWidth;
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java718 final int widthSample = opts.outWidth / size.x;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java136 dbo.outWidth = width;
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java465 int w = opt.outWidth;

Completed in 670 milliseconds