Searched refs:originalHeight (Results 1 – 3 of 3) 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()
228 final int originalHeight; in ScreenRotationAnimation() local234 originalHeight = displayContent.mBaseDisplayHeight; in ScreenRotationAnimation()238 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()242 mWidth = originalHeight; in ScreenRotationAnimation()246 mHeight = originalHeight; in ScreenRotationAnimation()251 mOriginalHeight = originalHeight; in ScreenRotationAnimation()
1035 private int getDesiredArtHeight(int originalWidth, int originalHeight) { in getDesiredArtHeight() argument1036 if (originalWidth >= originalHeight) { in getDesiredArtHeight()1038 return (int) ((float) mDialogContentWidth * originalHeight / originalWidth + 0.5f); in getDesiredArtHeight()