Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java494 int shortSize, longSize; in computeCompatibleScaling() local
496 shortSize = width; in computeCompatibleScaling()
499 shortSize = height; in computeCompatibleScaling()
503 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java495 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local
496 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1389 int shortSize = h; in reduceConfigLayout() local
1390 if (longSize < shortSize) { in reduceConfigLayout()
1392 longSize = shortSize; in reduceConfigLayout()
1393 shortSize = tmp; in reduceConfigLayout()
1396 shortSize = (int)(shortSize/density); in reduceConfigLayout()
1397 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java2166 final int shortSize = Math.min(compatScreenHeightDp, compatScreenWidthDp); in computeOverrideConfiguration() local
2167 config.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeOverrideConfiguration()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2203 int shortSize, longSize; in setInitialDisplaySize() local
2205 shortSize = height; in setInitialDisplaySize()
2217 shortSize = width; in setInitialDisplaySize()
2231 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()