Searched refs:originalWidth (Results 1 – 4 of 4) 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()
148 int originalWidth = lp.width; in onMeasure() local152 lp.width = originalWidth; in onMeasure()
230 final int originalWidth; in ScreenRotationAnimation() local236 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()240 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()246 mHeight = originalWidth; in ScreenRotationAnimation()248 mWidth = originalWidth; in ScreenRotationAnimation()253 mOriginalWidth = originalWidth; in ScreenRotationAnimation()
1083 int getDesiredArtHeight(int originalWidth, int originalHeight) { in getDesiredArtHeight() argument1084 if (originalWidth >= originalHeight) { in getDesiredArtHeight()1086 return (int) ((float) mDialogContentWidth * originalHeight / originalWidth + 0.5f); in getDesiredArtHeight()