/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
MediaItemThumbnailTest.java | 72 int outHeight) throws Exception { 74 assertEquals("Thumbnail Height", outHeight, thumbNailBmp.getHeight()); 96 final int outHeight = mediaVideoItem.getHeight(); 99 outHeight, atTime); 100 validateThumbnail(thumbNailBmp, outWidth, outHeight); 116 final int outHeight = mediaVideoItem.getHeight(); 118 outHeight, atTime); 119 validateThumbnail(thumbNailBmp, outWidth, outHeight); 135 final int outHeight = mediaVideoItem.getHeight() / 2; 137 outHeight, atTime) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpBitmapFetch.java | 47 if (o.outWidth == 0 || o.outHeight == 0) { 50 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); 80 int h = o.outHeight;
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 410 public Drawable getBuiltInDrawable(int outWidth, int outHeight, 427 if (outWidth <= 0 || outHeight <= 0) { 437 if (options.outWidth != 0 && options.outHeight != 0) { 439 inHeight = options.outHeight; 452 outHeight = Math.min(inHeight, outHeight); 454 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, 459 float top = (inHeight - outHeight) * verticalAlignment; 460 float bottom = top + outHeight; 473 roundedTrueCrop.height() / outHeight); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
BitmapUtil.java | 40 return Math.min(options.outWidth, options.outHeight);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSource.java | 171 int rawLongSide = Math.max(options.outWidth, options.outHeight); 172 int rawShortSide = Math.min(options.outWidth, options.outHeight); 200 rawLongSide = Math.max(options.outWidth, options.outHeight); 201 rawShortSide = Math.max(options.outWidth, options.outHeight); 209 options.outHeight = (int) (ratio * options.outHeight); 212 options.outWidth, options.outHeight, 223 options.outWidth, options.outHeight, 227 options.outWidth = options.outHeight; 228 options.outHeight = tmp [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 405 final int outHeight = (int) Math.round(cropRect.height() * 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, int outHeight, [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 403 final int outHeight = (int) Math.round(cropRect.height() * cropScale); 407 updateWallpaperDimensions(outWidth, outHeight); 415 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); 445 RectF cropBounds, int rotation, int outWidth, int outHeight, 450 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 454 RectF cropBounds, int rotation, int outWidth, int outHeight, 458 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 462 RectF cropBounds, int rotation, int outWidth, int outHeight, 467 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 471 RectF cropBounds, int rotation, int outWidth, int outHeight, [all...] |
/frameworks/base/core/java/android/app/backup/ |
WallpaperBackupHelper.java | 131 + " h=" + options.outHeight); 140 double heightRatio = mDesiredMinHeight / options.outHeight;
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
BitmapUtil.java | 49 if (opts.mCancel || opts.outWidth == -1 || opts.outHeight == -1) { 52 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
BitmapHelper.java | 55 final int height = options.outHeight;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
DecTestBench.c | 593 u32 outWidth, outHeight; 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--)
|
TestBenchMultipleInstance.c | 461 u32 outWidth, outHeight; 483 outHeight = pCropParams->cropOutHeight; 490 for (i = outHeight; i; i--) 500 outHeight >>= 1; 506 for (i = outHeight; i; i--) 519 for (i = outHeight; i; i--)
|
/frameworks/native/include/gui/ |
IGraphicBufferProducer.h | 104 // outWidth, outHeight and outTransform are filled with the default width 149 uint32_t* outHeight, 153 *outHeight = height; 190 // outWidth, outHeight and outTransform are filled with the default width
|
/development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/ |
BitmapAllocation.java | 64 mBitmapOptions.outHeight, Bitmap.Config.ARGB_8888);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoDecodeRunnable.java | 177 int hScale = bitmapOptions.outHeight / targetHeight;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapFactoryTest.java | 36 assertEquals(100, opts.outHeight); 76 assertEquals(456, opts.outHeight); 104 assertEquals(456, options.outHeight);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ThumbnailLoadTask.java | 122 if (isCancelled() || opts.outWidth == -1 || opts.outHeight == -1) { 131 final int hDivider = Math.max(opts.outHeight / mHeight, 1); 135 opts.outWidth, opts.outHeight, mWidth, mHeight, opts.inSampleSize);
|
/development/tools/etc1tool/ |
etc1tool.cpp | 365 etc1_uint32 outHeight; 366 if (readPKMFile(pOutput, &pDiffImage, &outWidth, &outHeight)) { 369 if (outWidth != width || outHeight != height) { 371 outWidth, outHeight, width, height); 388 writePNGFile(pDiffFile, outWidth, outHeight, pDiffImage, 3 * outWidth);
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libgif.cpp | 391 const int outHeight = workingBitmap->height(); 393 for (int y = 0; y < outHeight; y++) { 397 for (; y < outHeight; y++) { 404 if (y < outHeight - 1) { 409 int read = (outHeight - 1) * sampler.srcDY() + sampler.srcY0() + 1;
|
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 391 const int outHeight = workingBitmap->height(); 393 for (int y = 0; y < outHeight; y++) { 397 for (; y < outHeight; y++) { 404 if (y < outHeight - 1) { 409 int read = (outHeight - 1) * sampler.srcDY() + sampler.srcY0() + 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DecodeUtils.java | 125 int h = options.outHeight; 177 if (options.outWidth < targetSize || options.outHeight < targetSize) { 181 options.outWidth, options.outHeight, targetSize); 304 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight); 310 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight);
|
/packages/apps/UnifiedEmail/src/com/android/bitmap/ |
DecodeTask.java | 189 srcH = mOpts.outHeight; 191 srcW = mOpts.outHeight; 290 result.setLogicalHeight(mOpts.outHeight); 352 srcH = mOpts.outHeight; 354 srcW = mOpts.outHeight;
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 237 uint32_t outWidth, outHeight; 248 outHeight = (uint32_t)(videoWidth * displayAspect); 251 outHeight = videoHeight; 256 offY = (videoHeight - outHeight) / 2; 257 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); 262 outHeight, outWidth, offY, offX); 265 outWidth, outHeight, offX, offY);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 197 mHeight = opt.outHeight; 275 int outHeight = height; 278 while ((outWidth * scaleFactor > widthLimit) || (outHeight * scaleFactor > heightLimit)) { 345 if (options.outWidth > widthLimit || options.outHeight > heightLimit || 350 int scaledHeight = (int)(outHeight * scaleFactor); 409 + " height=" + outHeight * scaleFactor
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 116 || options.outHeight == -1) { 277 double h = options.outHeight; 322 || options.outHeight == -1) { 513 int height = exifOptions.outHeight;
|