Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DWallpaperManager.java401 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
417 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
427 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
428 inWidth = options.outWidth; in getBuiltInDrawable()
440 outWidth = Math.min(inWidth, outWidth); in getBuiltInDrawable()
443 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
446 float left = (inWidth - outWidth) * horizontalAlignment; in getBuiltInDrawable()
447 float right = left + outWidth; in getBuiltInDrawable()
461 int scaleDownSampleSize = Math.min(roundedTrueCrop.width() / outWidth, in getBuiltInDrawable()
507 if (outWidth > 0 && outHeight > 0 && in getBuiltInDrawable()
[all …]
/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.c461 u32 outWidth, outHeight; in CropPicture() local
482 outWidth = pCropParams->cropOutWidth; in CropPicture()
492 for (j = outWidth; j; j--) in CropPicture()
496 pIn += picWidth - outWidth; in CropPicture()
499 outWidth >>= 1; in CropPicture()
508 for (j = outWidth; j; j--) in CropPicture()
512 pIn += picWidth/2 - outWidth; in CropPicture()
521 for (j = outWidth; j; j--) in CropPicture()
525 pIn += picWidth/2 - outWidth; in CropPicture()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java429 final int outWidth = (int) Math.round(cropRect.width() * cropScale); in cropImageAndSetWallpaper()
441 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
471 RectF cropBounds, int rotation, int outWidth, int outHeight,
476 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
480 RectF cropBounds, int rotation, int outWidth, int outHeight,
484 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
488 RectF cropBounds, int rotation, int outWidth, int outHeight,
493 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
497 RectF cropBounds, int rotation, int outWidth, int outHeight,
503 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
[all …]
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java144 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth in restoreEntity()
156 if (options.outWidth < mDesiredMinWidth in restoreEntity()
165 + options.outWidth + ", h=" + options.outHeight in restoreEntity()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java109 if (options.mCancel || options.outWidth == -1 in createImageThumbnail()
270 double w = options.outWidth; in computeInitialSampleSize()
315 if (options.mCancel || options.outWidth == -1 in makeBitmap()
495 exifThumbWidth = exifOptions.outWidth / exifOptions.inSampleSize; in createThumbnailFromEXIF()
502 fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize; in createThumbnailFromEXIF()
506 int width = exifOptions.outWidth; in createThumbnailFromEXIF()
DMediaScanner.java735 mBitmapOptions.outWidth = 0;
738 mWidth = mBitmapOptions.outWidth;
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp246 uint32_t outWidth, outHeight; in setDisplayProjection() local
256 outWidth = videoWidth; in setDisplayProjection()
261 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()
264 offX = (videoWidth - outWidth) / 2; in setDisplayProjection()
266 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection()
271 outHeight, outWidth, offY, offX); in setDisplayProjection()
274 outWidth, outHeight, offX, offY); in setDisplayProjection()
/frameworks/base/libs/hwui/
DRenderState.cpp91 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { in getViewport() argument
92 *outWidth = mViewportWidth; in getViewport()
DRenderState.h47 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
/frameworks/native/include/gui/
DIGraphicBufferProducer.h325 inline void deflate(uint32_t* outWidth, in deflate()
329 *outWidth = width; in deflate()
/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/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h164 const CameraMetadata& info, /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DCameraDeviceClient.cpp443 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) { in roundBufferDimensionNearest() argument
479 if (outWidth != NULL) { in roundBufferDimensionNearest()
480 *outWidth = bestWidth; in roundBufferDimensionNearest()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dload-bitmap.jd57 android.graphics.BitmapFactory.Options#outWidth}, {@link
68 int imageWidth = options.outWidth;
108 final int width = options.outWidth;
Dmanage-memory.jd285 int width = targetOptions.outWidth / targetOptions.inSampleSize;
292 return candidate.getWidth() == targetOptions.outWidth
/frameworks/volley/src/com/android/volley/toolbox/
DImageRequest.java148 int actualWidth = decodeOptions.outWidth; in doParse()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java327 public int outWidth; field in BitmapFactory.Options
/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/v4/kitkat/android/support/v4/print/
DPrintHelperKitkat.java485 int w = opt.outWidth; in loadConstrainedBitmap()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java850 final int widthSample = opts.outWidth / size.x; in getDocumentThumbnail()
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd281 int photoW = bmOptions.outWidth;
/frameworks/base/api/
Dsystem-current.txt10843 field public int outWidth;
Dcurrent.txt10537 field public int outWidth;