Searched refs:inHeight (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBitmapHelper.java40 final int inHeight = input.getHeight();
46 final RectF srcRect = new RectF(0, 0, inWidth, inHeight);
51 canvas.drawCircle(inWidth / 2, inHeight / 2, inWidth / 2, paint);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DScaleFilter.java57 protected int getOutputWidth(int inWidth, int inHeight) { argument
62 protected int getOutputHeight(int inWidth, int inHeight) { argument
63 return (int)(inHeight * mScale);
H A DCropFilter.java158 protected int getOutputWidth(int inWidth, int inHeight) { argument
162 protected int getOutputHeight(int inWidth, int inHeight) { argument
163 return mOutputHeight <= 0 ? inHeight : mOutputHeight;
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java422 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...]
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h334 inline void inflate(uint32_t inWidth, uint32_t inHeight, argument
337 height = inHeight;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java815 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

Completed in 292 milliseconds