Searched defs:inHeight (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ScaleFilter.java | 57 protected int getOutputWidth(int inWidth, int inHeight) { argument 62 protected int getOutputHeight(int inWidth, int inHeight) { argument 63 return (int)(inHeight * mScale);
|
H A D | CropFilter.java | 158 protected int getOutputWidth(int inWidth, int inHeight) { argument 162 protected int getOutputHeight(int inWidth, int inHeight) { argument 163 return mOutputHeight <= 0 ? inHeight : mOutputHeight;
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 334 inline void inflate(uint32_t inWidth, uint32_t inHeight, argument 337 height = inHeight;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 815 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { 818 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { 820 cropRect.bottom = inHeight; 821 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; 830 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; 831 cropRect.bottom = inHeight - cropRect.top; 814 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 422 int inHeight; 429 inHeight = options.outHeight; 441 outHeight = Math.min(inHeight, outHeight); 443 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, 448 float top = (inHeight - outHeight) * verticalAlignment; 529 private static RectF getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, argument 533 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { 535 cropRect.bottom = inHeight; 536 float cropWidth = outWidth * (inHeight / (float) outHeight); 543 cropRect.top = (inHeight [all...] |
Completed in 1147 milliseconds