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.java480 int shortSize, longSize; in computeCompatibleScaling() local
482 shortSize = width; in computeCompatibleScaling()
485 shortSize = height; in computeCompatibleScaling()
489 float aspect = ((float)longSize) / shortSize; in computeCompatibleScaling()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java387 int shortSize = hwConfig.getScreenHeight(); in findNavBar() local
388 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7217 int shortSize = h; in reduceConfigLayout() local
7218 if (longSize < shortSize) { in reduceConfigLayout()
7220 longSize = shortSize; in reduceConfigLayout()
7221 shortSize = tmp; in reduceConfigLayout()
7224 shortSize = (int)(shortSize/density); in reduceConfigLayout()
7225 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1577 int shortSize, longSize; in setInitialDisplaySize() local
1579 shortSize = height; in setInitialDisplaySize()
1591 shortSize = width; in setInitialDisplaySize()
1623 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()