Searched refs:longSizeDp (Results 1 – 2 of 2) sorted by relevance
200 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument209 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()
1431 int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density; in setInitialDisplaySize() local1467 mForceDefaultOrientation = longSizeDp >= 960 && shortSizeDp >= 720 && in setInitialDisplaySize()