Home
last modified time | relevance | path

Searched refs:originalHeight (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java133 int originalHeight = drawable.getIntrinsicHeight(); in buildScaledBitmap() local
135 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()
139 if (originalHeight <= 0 || originalWidth <= 0) { in buildScaledBitmap()
146 (float) maxHeight / (float) originalHeight); in buildScaledBitmap()
149 int scaledHeight = (int) (ratio * originalHeight); in buildScaledBitmap()
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java212 final int originalHeight; in ScreenRotationAnimation() local
218 originalHeight = displayContent.mBaseDisplayHeight; in ScreenRotationAnimation()
222 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()
226 mWidth = originalHeight; in ScreenRotationAnimation()
230 mHeight = originalHeight; in ScreenRotationAnimation()
235 mOriginalHeight = originalHeight; in ScreenRotationAnimation()