Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DDecTestBench.c593 u32 outWidth, outHeight; in CropPicture() local
616 outWidth = pCropParams->cropOutWidth; in CropPicture()
627 for (j = outWidth; j; j--) in CropPicture()
631 pIn += picWidth - outWidth; in CropPicture()
634 outWidth >>= 1; in CropPicture()
644 for (j = outWidth; j; j--) in CropPicture()
648 pIn += picWidth/2 - outWidth; in CropPicture()
658 for (j = outWidth; j; j--) in CropPicture()
662 pIn += picWidth/2 - outWidth; in CropPicture()
DTestBenchMultipleInstance.c464 u32 outWidth, outHeight; in CropPicture() local
485 outWidth = pCropParams->cropOutWidth; in CropPicture()
495 for (j = outWidth; j; j--) in CropPicture()
499 pIn += picWidth - outWidth; in CropPicture()
502 outWidth >>= 1; in CropPicture()
511 for (j = outWidth; j; j--) in CropPicture()
515 pIn += picWidth/2 - outWidth; in CropPicture()
524 for (j = outWidth; j; j--) in CropPicture()
528 pIn += picWidth/2 - outWidth; in CropPicture()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java428 final int outWidth = (int) Math.round(cropRect.width() * cropScale); in cropImageAndSetWallpaper()
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
470 RectF cropBounds, int rotation, int outWidth, int outHeight,
475 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
479 RectF cropBounds, int rotation, int outWidth, int outHeight,
483 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
492 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
496 RectF cropBounds, int rotation, int outWidth, int outHeight,
502 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
[all …]
/frameworks/base/core/java/android/app/
DWallpaperManager.java478 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
480 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable()
500 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
523 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
534 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
535 inWidth = options.outWidth; in getBuiltInDrawable()
549 outWidth = Math.min(inWidth, outWidth); in getBuiltInDrawable()
552 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
555 float left = (inWidth - outWidth) * horizontalAlignment; in getBuiltInDrawable()
556 float right = left + outWidth; in getBuiltInDrawable()
[all …]
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java151 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth in restoreEntity()
163 if (options.outWidth < mDesiredMinWidth in restoreEntity()
172 + options.outWidth + ", h=" + options.outHeight in restoreEntity()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java110 if (options.mCancel || options.outWidth == -1 in createImageThumbnail()
271 double w = options.outWidth; in computeInitialSampleSize()
316 if (options.mCancel || options.outWidth == -1 in makeBitmap()
496 exifThumbWidth = exifOptions.outWidth / exifOptions.inSampleSize; in createThumbnailFromEXIF()
503 fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize; in createThumbnailFromEXIF()
507 int width = exifOptions.outWidth; in createThumbnailFromEXIF()
DMediaScanner.java822 mBitmapOptions.outWidth = 0;
825 mWidth = mBitmapOptions.outWidth;
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp250 uint32_t outWidth, outHeight; in setDisplayProjection() local
260 outWidth = videoWidth; in setDisplayProjection()
265 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()
268 offX = (videoWidth - outWidth) / 2; in setDisplayProjection()
270 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection()
275 outHeight, outWidth, offY, offX); in setDisplayProjection()
278 outWidth, outHeight, offX, offY); in setDisplayProjection()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java226 srcW = mOpts.outWidth; in decode()
230 srcH = mOpts.outWidth; in decode()
412 result.setLogicalWidth(mOpts.outWidth); in decode()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DBitmapHelper.java58 int actualW = bmOptions.outWidth; in findScaleFactor()
/frameworks/base/libs/hwui/renderstate/
DRenderState.h69 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
DRenderState.cpp139 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { in getViewport() argument
140 *outWidth = mViewportWidth; in getViewport()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h260 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DCameraDeviceClient.cpp888 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) { in roundBufferDimensionNearest() argument
926 if (outWidth != NULL) { in roundBufferDimensionNearest()
927 *outWidth = bestWidth; in roundBufferDimensionNearest()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java367 public int outWidth; field in BitmapFactory.Options
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java343 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCrop()
353 cropHint.right = options.outWidth; in generateCrop()
358 (cropHint.right > options.outWidth ? options.outWidth - cropHint.right : 0), in generateCrop()
371 || options.outWidth > cropHint.width()); in generateCrop()
380 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCrop()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1943 width = opt.outWidth; in SetHtml()
1945 if (opt.outWidth > getMaxImageWidthPx()) { in SetHtml()
1947 height = height * getMaxImageWidthPx() / opt.outWidth; in SetHtml()
2638 width = opt.outWidth; in getDrawable()
2642 if (opt.outWidth > MAXWIDTH) { in getDrawable()
2644 height = height * MAXWIDTH / opt.outWidth; in getDrawable()
/frameworks/support/core-utils/kitkat/android/support/v4/print/
DPrintHelperKitkat.java623 int w = opt.outWidth; in loadConstrainedBitmap()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java1393 if (options.outWidth == 0 || options.outHeight == 0) { in doInBackground()
1409 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight); in doInBackground()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java1086 final int widthSample = opts.outWidth / size.x; in getDocumentThumbnail()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1380 assertEquals(width, bmpOptions.outWidth); in validateJpegData()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10535 field public int outWidth;
/frameworks/base/api/
Dcurrent.txt12568 field public int outWidth;
Dsystem-current.txt13348 field public int outWidth;