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