Searched refs:intrinsicAspect (Results 1 – 1 of 1) sorted by relevance
1643 final float intrinsicAspect = (float) intrinsicWidth / intrinsicHeight; in updateDrawableBounds() local1645 if (intrinsicAspect != boundAspect) { in updateDrawableBounds()1646 if (boundAspect > intrinsicAspect) { in updateDrawableBounds()1648 final int width = (int) (h * intrinsicAspect); in updateDrawableBounds()1653 final int height = (int) (w * (1 / intrinsicAspect)); in updateDrawableBounds()