Searched refs:minSide (Results 1 – 3 of 3) sorted by relevance
89 float minSide = Math.min(Math.min(bounds.left, bounds.right), bounds.top); in getScaleForBounds() local90 if (minSide < BLUR_FACTOR) { in getScaleForBounds()91 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()
115 public void setMinInnerSideSize(float minSide) { in setMinInnerSideSize() argument116 if (minSide <= 0) { in setMinInnerSideSize()119 mMinSideSize = minSide; in setMinInnerSideSize()
162 int minSide = Math.min(destination.getWidth(), destination.getHeight()); in drawCenteredImage() local164 float scaleFactor = minSide / (float) Math.min(source.getWidth(), source.getHeight()); in drawCenteredImage()