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.java569 int shortSize, longSize; in computeCompatibleScaling() local
571 shortSize = width; in computeCompatibleScaling()
574 shortSize = height; in computeCompatibleScaling()
578 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java525 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local
526 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2510 int shortSize = size.height(); in reduceConfigLayout() local
2511 if (longSize < shortSize) { in reduceConfigLayout()
2513 longSize = shortSize; in reduceConfigLayout()
2514 shortSize = tmp; in reduceConfigLayout()
2517 shortSize = (int) (shortSize / density + 0.5f); in reduceConfigLayout()
2518 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
DTaskFragment.java2345 final int shortSize = Math.min(screenWidthDp, screenHeightDp); in computeScreenLayoutOverride() local
2346 return Configuration.reduceScreenLayout(sourceScreenLayout, longSize, shortSize); in computeScreenLayoutOverride()