Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPhoneSizeSpecSource.kt87 private var mOptimizedAspectRatio = 0f variable
115 mOptimizedAspectRatio = if (requestedOptAspRatio > 1) { in reloadResources()
150 if (aspectRatio >= mOptimizedAspectRatio && aspectRatio <= 1 / mOptimizedAspectRatio) { in getMaxSize()
152 maxWidth = Math.round(mOptimizedAspectRatio * shorterLength + in getMaxSize()
153 shorterLength * (aspectRatio - mOptimizedAspectRatio) / (1 + aspectRatio)) in getMaxSize()
299 pw.println(innerPrefix + "mOptimizedAspectRatio=" + mOptimizedAspectRatio) in dump()