Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java504 float scaleRequired; in getScale() local
506 scaleRequired = MAX_CIRCLE_AREA_FACTOR; in getScale()
508 scaleRequired = MAX_SQUARE_AREA_FACTOR + LINEAR_SCALE_SLOPE * (1 - hullByRect); in getScale()
523 float scale = areaScale > scaleRequired ? (float) Math.sqrt(scaleRequired / areaScale) : 1; in getScale()