Home
last modified time | relevance | path

Searched refs:longSizeDp (Results 1 – 2 of 2) 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
209 if (longSizeDp < 470) { in reduceScreenLayout()
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/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1431 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() local
1467 mForceDefaultOrientation = longSizeDp >= 960 && shortSizeDp >= 720 && in setInitialDisplaySize()