Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java95 float minSide = Math.min(Math.min(bounds.left, bounds.right), bounds.top); in getScaleForBounds() local
96 if (minSide < BLUR_FACTOR) { in getScaleForBounds()
97 scale = (HALF_DISTANCE - BLUR_FACTOR) / (HALF_DISTANCE - minSide); in getScaleForBounds()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt177 val minSide = resources.configuration.smallestScreenWidthDp - 25 // ish in loadPuzzle() constant
178 val size = (minSide / (q.height + 0.5) * dp).toInt() in loadPuzzle()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java89 final int minSide = Math.min(dm.widthPixels, dm.heightPixels); in onCreate() local
90 final int widgetSize = (int) (minSide * 0.75); in onCreate()