/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 250 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/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 593 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 D | TestBenchMultipleInstance.c | 464 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/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 888 /*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/base/core/java/android/app/ |
H A D | WallpaperManager.java | 468 * @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/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 365 * <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/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 139 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument 140 *outWidth = mViewportWidth;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 428 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...] |