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.java571 int shortSize, longSize; in computeCompatibleScaling() local
573 shortSize = width; in computeCompatibleScaling()
576 shortSize = height; in computeCompatibleScaling()
580 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java526 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local
527 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1931 final int shortSize; in configureDisplayPolicy() local
1934 shortSize = height; in configureDisplayPolicy()
1937 shortSize = width; in configureDisplayPolicy()
1941 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy()
2319 int shortSize = h; in reduceConfigLayout() local
2320 if (longSize < shortSize) { in reduceConfigLayout()
2322 longSize = shortSize; in reduceConfigLayout()
2323 shortSize = tmp; in reduceConfigLayout()
2326 shortSize = (int)(shortSize/density); in reduceConfigLayout()
2327 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
DTask.java2826 final int shortSize = Math.min(screenWidthDp, screenHeightDp); in computeScreenLayoutOverride() local
2827 return Configuration.reduceScreenLayout(sourceScreenLayout, longSize, shortSize); in computeScreenLayoutOverride()