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()
139 int originalWidth = lp.width; in onMeasure() local143 lp.width = originalWidth; in onMeasure()
227 final int originalWidth; in ScreenRotationAnimation() local233 originalWidth = displayContent.mBaseDisplayWidth; in ScreenRotationAnimation()237 originalWidth = displayInfo.logicalWidth; in ScreenRotationAnimation()243 mHeight = originalWidth; in ScreenRotationAnimation()245 mWidth = originalWidth; in ScreenRotationAnimation()250 mOriginalWidth = originalWidth; 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()