Home
last modified time | relevance | path

Searched refs:outHeight (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
DMediaItemThumbnailTest.java72 int outHeight) throws Exception { in validateThumbnail() argument
74 assertEquals("Thumbnail Height", outHeight, thumbNailBmp.getHeight()); in validateThumbnail()
96 final int outHeight = mediaVideoItem.getHeight(); in testThumbnailForH263QCIF() local
99 outHeight, atTime); in testThumbnailForH263QCIF()
100 validateThumbnail(thumbNailBmp, outWidth, outHeight); in testThumbnailForH263QCIF()
116 final int outHeight = mediaVideoItem.getHeight(); in testThumbnailForMPEG4VGA() local
118 outHeight, atTime); in testThumbnailForMPEG4VGA()
119 validateThumbnail(thumbNailBmp, outWidth, outHeight); in testThumbnailForMPEG4VGA()
135 final int outHeight = mediaVideoItem.getHeight() / 2; in testThumbnailForMPEG4NTSC() local
137 outHeight, atTime); in testThumbnailForMPEG4NTSC()
[all …]
/frameworks/base/core/java/android/app/
DWallpaperManager.java410 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
427 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
437 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
439 inHeight = options.outHeight; in getBuiltInDrawable()
452 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable()
454 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
459 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable()
460 float bottom = top + outHeight; in getBuiltInDrawable()
473 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()
519 if (outWidth > 0 && outHeight > 0 && in getBuiltInDrawable()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java405 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper()
409 updateWallpaperDimensions(outWidth, outHeight); in cropImageAndSetWallpaper()
417 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
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 …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DDecTestBench.c593 u32 outWidth, outHeight; in CropPicture() local
617 outHeight = pCropParams->cropOutHeight; in CropPicture()
625 for (i = outHeight; i; i--) in CropPicture()
635 outHeight >>= 1; in CropPicture()
642 for (i = outHeight; i; i--) in CropPicture()
656 for (i = outHeight; i; i--) in CropPicture()
DTestBenchMultipleInstance.c461 u32 outWidth, outHeight; in CropPicture() local
483 outHeight = pCropParams->cropOutHeight; in CropPicture()
490 for (i = outHeight; i; i--) in CropPicture()
500 outHeight >>= 1; in CropPicture()
506 for (i = outHeight; i; i--) in CropPicture()
519 for (i = outHeight; i; i--) in CropPicture()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp237 uint32_t outWidth, outHeight; in prepareVirtualDisplay() local
248 outHeight = (uint32_t)(videoWidth * displayAspect); in prepareVirtualDisplay()
251 outHeight = videoHeight; in prepareVirtualDisplay()
256 offY = (videoHeight - outHeight) / 2; in prepareVirtualDisplay()
257 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in prepareVirtualDisplay()
262 outHeight, outWidth, offY, offX); in prepareVirtualDisplay()
265 outWidth, outHeight, offX, offY); in prepareVirtualDisplay()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java131 + " h=" + options.outHeight); in restoreEntity()
140 double heightRatio = mDesiredMinHeight / options.outHeight; in restoreEntity()
/frameworks/native/include/gui/
DIGraphicBufferProducer.h149 uint32_t* outHeight, in deflate()
153 *outHeight = height; in deflate()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java116 || options.outHeight == -1) { in createImageThumbnail()
277 double h = options.outHeight; in computeInitialSampleSize()
322 || options.outHeight == -1) { in makeBitmap()
513 int height = exifOptions.outHeight; in createThumbnailFromEXIF()
DMediaScanner.java736 mBitmapOptions.outHeight = 0;
739 mHeight = mBitmapOptions.outHeight;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DVideoEditorPerformance.java363 final int outHeight = MediaProperties.HEIGHT_480; in testPerformanceExport() local
515 mVideoEditor.export(outFilename, outHeight, outBitrate, in testPerformanceExport()
928 final int outHeight = 720; in testThumbnailH264NonIFrame() local
939 mediaVideoItem.getThumbnail(outWidth, outHeight, atTime + i); in testThumbnailH264NonIFrame()
958 final int outHeight = 720; in testThumbnailH264AnIFrame() local
970 mediaVideoItem.getThumbnail(outWidth, outHeight, atTime + i); in testThumbnailH264AnIFrame()
/frameworks/base/media/java/android/media/videoeditor/
DTransitionAlpha.java105 mHeight = dbo.outHeight; in TransitionAlpha()
DMediaImageItem.java129 mHeight = dbo.outHeight; in MediaImageItem()
940 final int nativeHeight = dbo.outHeight; in scaleImage()
DMediaArtistNativeHelper.java3823 final int outHeight = needToSwapWH ? width : height; in getPixelsList() local
3831 outWidth, outHeight, Bitmap.Config.ARGB_8888); in getPixelsList()
3855 m.postScale(outWidth, outHeight); in getPixelsList()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd58 android.graphics.BitmapFactory.Options#outHeight} and {@link
67 int imageHeight = options.outHeight;
107 final int height = options.outHeight;
Dmanage-memory.jd283 int height = targetOptions.outHeight / targetOptions.inSampleSize;
290 && candidate.getHeight() == targetOptions.outHeight
/frameworks/volley/src/com/android/volley/toolbox/
DImageRequest.java149 int actualHeight = decodeOptions.outHeight; in doParse()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java203 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java322 public int outHeight; field in BitmapFactory.Options
/frameworks/support/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java466 int h = opt.outHeight; in loadConstrainedBitmap()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DVideoEditorHelper.java137 dbo.outHeight = height; in getBitmap()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java719 final int heightSample = opts.outHeight / size.y; in getDocumentThumbnail()
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd245 int photoH = bmOptions.outHeight;
/frameworks/base/docs/html/training/tv/
Doptimizing-layouts-tv.jd207 int srcHeight = options.outHeight;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1944 height = opt.outHeight; in SetHtml()
2639 height = opt.outHeight; in getDrawable()

12