Home
last modified time | relevance | path

Searched refs:shortSizeDp (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/res/
DConfiguration.java200 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
217 if (longSizeDp >= 960 && shortSizeDp >= 720) { in reduceScreenLayout()
221 } else if (longSizeDp >= 640 && shortSizeDp >= 480) { in reduceScreenLayout()
232 if (shortSizeDp > 321 || longSizeDp > 570) { in reduceScreenLayout()
239 if (((longSizeDp*3)/5) >= (shortSizeDp-1)) { in reduceScreenLayout()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1151 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavigationBar() local
1156 barOnBottom = shortSizeDp >= 600; in findNavigationBar()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1190 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() local
1194 mNavigationBarCanMove = shortSizeDp < 600; in setInitialDisplaySize()
1217 mForceDefaultOrientation = longSizeDp >= 960 && shortSizeDp >= 720 && in setInitialDisplaySize()