Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java118 float hullByRect = hullArea / boundingArea; in getScale() local
120 if (hullByRect < CIRCLE_AREA_BY_RECT) { in getScale()
123 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java580 float hullByRect = area / rectArea; in getScale() local
583 if (hullByRect < CIRCLE_AREA_BY_RECT) { in getScale()
586 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()