Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/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()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java579 float hullByRect = area / rectArea; in getScale() local
582 if (hullByRect < CIRCLE_AREA_BY_RECT) { in getScale()
585 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()