Searched defs:outWidth (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
H A DRenderState.cpp91 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument
92 *outWidth = mViewportWidth;
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h320 // outWidth - filled with default width applied to the buffer
325 inline void deflate(uint32_t* outWidth, argument
329 *outWidth = width;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DTestBenchMultipleInstance.c461 u32 outWidth, outHeight; local
482 outWidth = pCropParams->cropOutWidth;
492 for (j = outWidth; j; j--)
496 pIn += picWidth - outWidth;
499 outWidth >>= 1;
508 for (j = outWidth; j; j--)
512 pIn += picWidth/2 - outWidth;
521 for (j = outWidth; j; j--)
525 pIn += picWidth/2 - outWidth;
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;
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java325 * <p>outWidth will be set to -1 if there is an error trying to decode.</p>
327 public int outWidth; field in class:BitmapFactory.Options
366 * null, or if inJustDecodeBounds is true, will set outWidth/outHeight
384 * size be returned (in opts.outWidth and opts.outHeight)
457 * size be returned (in opts.outWidth and opts.outHeight)
511 * size be returned (in opts.outWidth and opts.outHeight)
589 * size be returned (in opts.outWidth and opts.outHeight)
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp246 uint32_t outWidth, outHeight; local
256 outWidth = videoWidth;
261 outWidth = (uint32_t)(videoHeight / displayAspect);
264 offX = (videoWidth - outWidth) / 2;
266 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
271 outHeight, outWidth, offY, offX);
274 outWidth, outHeight, offX, offY);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp443 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) {
479 if (outWidth != NULL) {
480 *outWidth = bestWidth;
441 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java429 final int outWidth = (int) Math.round(cropRect.width() * cropScale);
441 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
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, outHeigh
470 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
479 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
487 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
496 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
506 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
814 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java392 * @param outWidth The width of the returned drawable
393 * @param outWidth The height of the returned drawable
401 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
417 if (outWidth <= 0 || outHeight <= 0) {
427 if (options.outWidth != 0 && options.outHeight != 0) {
428 inWidth = options.outWidth;
440 outWidth = Math.min(inWidth, outWidth);
443 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
446 float left = (inWidth - outWidth) * horizontalAlignmen
529 getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, float horizontalAlignment, float verticalAlignment) argument
[all...]

Completed in 5027 milliseconds