Searched refs:outWidth (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DDecTestBench.c593 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 DTestBenchMultipleInstance.c464 u32 outWidth, outHeight; local
485 outWidth = pCropParams->cropOutWidth;
495 for (j = outWidth; j; j--)
499 pIn += picWidth - outWidth;
502 outWidth >>= 1;
511 for (j = outWidth; j; j--)
515 pIn += picWidth/2 - outWidth;
524 for (j = outWidth; j; j--)
528 pIn += picWidth/2 - outWidth;
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java468 * @param outWidth The width of the returned drawable
469 * @param outWidth The height of the returned drawable
478 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
480 return getBuiltInDrawable(outWidth, outHeight, scaleToFit,
488 * @param outWidth The width of the returned drawable
489 * @param outWidth The height of the returned drawable
500 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, argument
523 if (outWidth <= 0 || outHeight <= 0) {
534 if (options.outWidth != 0 && options.outHeight != 0) {
535 inWidth = options.outWidth;
637 getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, float horizontalAlignment, float verticalAlignment) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DWallpaperBackupHelper.java151 if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth
163 if (options.outWidth < mDesiredMinWidth
172 + options.outWidth + ", h=" + options.outHeight
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java428 final int outWidth = (int) Math.round(cropRect.width() * cropScale);
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
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, outHeigh
469 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
478 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
495 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
505 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
813 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java110 if (options.mCancel || options.outWidth == -1
271 double w = options.outWidth;
316 if (options.mCancel || options.outWidth == -1
496 exifThumbWidth = exifOptions.outWidth / exifOptions.inSampleSize;
503 fullThumbWidth = fullOptions.outWidth / fullOptions.inSampleSize;
507 int width = exifOptions.outWidth;
H A DMediaScanner.java822 mBitmapOptions.outWidth = 0;
825 mWidth = mBitmapOptions.outWidth;
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java58 int actualW = bmOptions.outWidth;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java58 int actualW = bmOptions.outWidth;
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp250 uint32_t outWidth, outHeight; local
260 outWidth = videoWidth;
265 outWidth = (uint32_t)(videoHeight / displayAspect);
268 offX = (videoWidth - outWidth) / 2;
270 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
275 outHeight, outWidth, offY, offX);
278 outWidth, outHeight, offX, offY);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h69 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
H A DRenderState.cpp139 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument
140 *outWidth = mViewportWidth;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java226 srcW = mOpts.outWidth;
230 srcH = mOpts.outWidth;
412 result.setLogicalWidth(mOpts.outWidth);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h260 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
H A DCameraDeviceClient.cpp888 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) {
926 if (outWidth != NULL) {
927 *outWidth = bestWidth;
886 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java140 * size be returned (in opts.outWidth and opts.outHeight)
202 return new Point(opts.outWidth, opts.outHeight);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java365 * <p>outWidth will be set to -1 if there is an error trying to decode.</p>
367 public int outWidth; field in class:BitmapFactory.Options
426 * or if inJustDecodeBounds is true, will set outWidth/outHeight
462 * size be returned (in opts.outWidth and opts.outHeight)
546 * size be returned (in opts.outWidth and opts.outHeight)
606 * size be returned (in opts.outWidth and opts.outHeight)
690 * size be returned (in opts.outWidth and opts.outHeight)
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java343 if (options.outWidth <= 0 || options.outHeight <= 0) {
353 cropHint.right = options.outWidth;
358 (cropHint.right > options.outWidth ? options.outWidth - cropHint.right : 0),
371 || options.outWidth > cropHint.width());
380 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight);
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1943 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/support/core-utils/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java623 int w = opt.outWidth;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialog.java1393 if (options.outWidth == 0 || options.outHeight == 0) {
1409 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight);
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java1086 final int widthSample = opts.outWidth / size.x;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1380 assertEquals(width, bmpOptions.outWidth);

Completed in 777 milliseconds