Searched refs:originalHeight (Results 1 – 3 of 3) sorted by relevance
144 int originalHeight = drawable.getIntrinsicHeight(); in buildScaledBitmap() local146 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()150 if (originalHeight <= 0 || originalWidth <= 0) { in buildScaledBitmap()157 (float) maxHeight / (float) originalHeight); in buildScaledBitmap()160 int scaledHeight = (int) (ratio * originalHeight); in buildScaledBitmap()
235 final int originalHeight; in ScreenRotationAnimation() local241 originalHeight = displayContent.mBaseDisplayHeight; in ScreenRotationAnimation()245 originalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation()249 mWidth = originalHeight; in ScreenRotationAnimation()253 mHeight = originalHeight; in ScreenRotationAnimation()258 mOriginalHeight = originalHeight; in ScreenRotationAnimation()
222 final int originalHeight = mSecondaryDisplay.mBaseDisplayHeight; in testDefaultToOriginalMetrics() local229 assertEquals(originalHeight, mSecondaryDisplay.mBaseDisplayHeight); in testDefaultToOriginalMetrics()