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.java242 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
251 if (longSizeDp < 470) { in reduceScreenLayout()
259 if (longSizeDp >= 960 && shortSizeDp >= 720) { in reduceScreenLayout()
263 } else if (longSizeDp >= 640 && shortSizeDp >= 480) { in reduceScreenLayout()
274 if (shortSizeDp > 321 || longSizeDp > 570) { in reduceScreenLayout()
281 if (((longSizeDp*3)/5) >= (shortSizeDp-1)) { in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1843 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() local
1880 mForceDefaultOrientation = longSizeDp >= 960 && shortSizeDp >= 720 && in setInitialDisplaySize()