Home
last modified time | relevance | path

Searched refs:scaleRequired (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java119 float scaleRequired; in getScale() local
121 scaleRequired = MAX_CIRCLE_AREA_FACTOR; in getScale()
123 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()
128 return areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java569 float scaleRequired; in getScale() local
571 scaleRequired = MAX_CIRCLE_AREA_FACTOR; in getScale()
573 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()
588 float scale = areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale()