Home
last modified time | relevance | path

Searched refs:minSide (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java89 float minSide = Math.min(Math.min(bounds.left, bounds.right), bounds.top); in getScaleForBounds() local
90 if (minSide < BLUR_FACTOR) { in getScaleForBounds()
91 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java115 public void setMinInnerSideSize(float minSide) { in setMinInnerSideSize() argument
116 if (minSide <= 0) { in setMinInnerSideSize()
119 mMinSideSize = minSide; in setMinInnerSideSize()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java162 int minSide = Math.min(destination.getWidth(), destination.getHeight()); in drawCenteredImage() local
164 float scaleFactor = minSide / (float) Math.min(source.getWidth(), source.getHeight()); in drawCenteredImage()