Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSimpleIconFactory.java582 float scaleRequired; in getScale() local
584 scaleRequired = MAX_CIRCLE_AREA_FACTOR; in getScale()
586 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()
601 float scale = areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale()