Searched refs:originalWidth (Results 1 – 4 of 4) sorted by relevance
143 int originalWidth = drawable.getIntrinsicWidth(); in buildScaledBitmap() local146 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()150 if (originalHeight <= 0 || originalWidth <= 0) { in buildScaledBitmap()156 float ratio = Math.min((float) maxWidth / (float) originalWidth, in buildScaledBitmap()159 int scaledWidth = (int) (ratio * originalWidth); in buildScaledBitmap()
152 final int originalWidth; in ScreenRotationAnimation() local157 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()161 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()167 mHeight = originalWidth; in ScreenRotationAnimation()169 mWidth = originalWidth; in ScreenRotationAnimation()180 mOriginalWidth = flipped ? originalHeight : originalWidth; in ScreenRotationAnimation()181 mOriginalHeight = flipped ? originalWidth : originalHeight; in ScreenRotationAnimation()
52 final float originalWidth = tl.metrics(null); in stretchesToFullWidth() local53 final float expandedWidth = 2 * originalWidth; in stretchesToFullWidth()
225 final int originalWidth = mSecondaryDisplay.mBaseDisplayWidth; in testDefaultToOriginalMetrics() local232 assertEquals(originalWidth, mSecondaryDisplay.mBaseDisplayWidth); in testDefaultToOriginalMetrics()