Searched refs:originalWidth (Results 1 – 2 of 2) sorted by relevance
132 int originalWidth = drawable.getIntrinsicWidth(); in buildScaledBitmap() local135 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()139 if (originalHeight <= 0 || originalWidth <= 0) { in buildScaledBitmap()145 float ratio = Math.min((float) maxWidth / (float) originalWidth, in buildScaledBitmap()148 int scaledWidth = (int) (ratio * originalWidth); in buildScaledBitmap()
211 final int originalWidth; in ScreenRotationAnimation() local217 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()221 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()227 mHeight = originalWidth; in ScreenRotationAnimation()229 mWidth = originalWidth; in ScreenRotationAnimation()234 mOriginalWidth = originalWidth; in ScreenRotationAnimation()