Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java513 int shortSize, longSize; in computeCompatibleScaling() local
515 shortSize = width; in computeCompatibleScaling()
518 shortSize = height; in computeCompatibleScaling()
522 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java524 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local
525 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1551 final int shortSize; in configureDisplayPolicy() local
1554 shortSize = height; in configureDisplayPolicy()
1557 shortSize = width; in configureDisplayPolicy()
1561 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
1882 int shortSize = h; in reduceConfigLayout() local
1883 if (longSize < shortSize) { in reduceConfigLayout()
1885 longSize = shortSize; in reduceConfigLayout()
1886 shortSize = tmp; in reduceConfigLayout()
1889 shortSize = (int)(shortSize/density); in reduceConfigLayout()
1890 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
DTaskRecord.java2193 final int shortSize = Math.min(compatScreenHeightDp, compatScreenWidthDp); in computeConfigResourceOverrides() local
2194 inOutConfig.screenLayout = Configuration.reduceScreenLayout(sl, longSize, shortSize); in computeConfigResourceOverrides()