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/
DRenderSessionImpl.java1148 int shortSize = hardwareConfig.getScreenHeight(); in findNavigationBar() local
1151 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavigationBar()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1144 int shortSize, longSize; in setInitialDisplaySize() local
1146 shortSize = height; in setInitialDisplaySize()
1158 shortSize = width; in setInitialDisplaySize()
1190 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7001 int shortSize = h; in reduceConfigLayout() local
7002 if (longSize < shortSize) { in reduceConfigLayout()
7004 longSize = shortSize; in reduceConfigLayout()
7005 shortSize = tmp; in reduceConfigLayout()
7008 shortSize = (int)(shortSize/density); in reduceConfigLayout()
7009 return Configuration.reduceScreenLayout(curLayout, longSize, shortSize); in reduceConfigLayout()