/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | MediaItemThumbnailTest.java | 71 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 D | DecTestBench.c | 593 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 D | TestBenchMultipleInstance.c | 461 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 D | WallpaperCropActivity.java | 380 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 D | WallpaperBackupHelper.java | 130 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 D | WallpaperManager.java | 405 * @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 D | ThumbnailUtils.java | 115 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 D | MediaScanner.java | 735 mBitmapOptions.outWidth = 0; 738 mWidth = mBitmapOptions.outWidth;
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 104 // 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 D | screenrecord.cpp | 237 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 D | TransitionAlpha.java | 104 mWidth = dbo.outWidth;
|
H A D | MediaImageItem.java | 128 mWidth = dbo.outWidth; 939 final int nativeWidth = dbo.outWidth;
|
H A D | MediaArtistNativeHelper.java | 3822 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 D | ImageRequest.java | 148 int actualWidth = decodeOptions.outWidth;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 305 * 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 D | VideoEditorPerformance.java | 927 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 D | ImageUtils.java | 143 * 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 D | EditStyledText.java | 1943 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 D | DocumentsContract.java | 718 final int widthSample = opts.outWidth / size.x;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | VideoEditorHelper.java | 136 dbo.outWidth = width;
|
/frameworks/support/v4/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 465 int w = opt.outWidth;
|