Searched refs:originalHeight (Results 1 – 4 of 4) sorted by relevance
133 int originalHeight = drawable.getIntrinsicHeight(); in buildScaledBitmap() local135 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()
238 final int originalHeight; in ScreenRotationAnimation() local244 originalHeight = displayContent.mBaseDisplayHeight; in ScreenRotationAnimation()248 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()252 mWidth = originalHeight; in ScreenRotationAnimation()256 mHeight = originalHeight; in ScreenRotationAnimation()261 mOriginalHeight = originalHeight; in ScreenRotationAnimation()
1084 int getDesiredArtHeight(int originalWidth, int originalHeight) { in getDesiredArtHeight() argument1085 if (originalWidth >= originalHeight) { in getDesiredArtHeight()1087 return (int) ((float) mDialogContentWidth * originalHeight / originalWidth + 0.5f); in getDesiredArtHeight()
1090 int getDesiredArtHeight(int originalWidth, int originalHeight) { in getDesiredArtHeight() argument1091 if (originalWidth >= originalHeight) { in getDesiredArtHeight()1093 return (int) ((float) mDialogContentWidth * originalHeight / originalWidth + 0.5f); in getDesiredArtHeight()