Home
last modified time | relevance | path

Searched refs:longSizeDp (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java86 final int longSizeDp = in setUpDisplayPolicy() local
89 DISPLAY_WIDTH, DISPLAY_HEIGHT, shortSizeDp, longSizeDp); in setUpDisplayPolicy()
DDisplayRotationTests.java637 final int longSizeDp = 960; in configureDisplayRotation() local
638 mTarget.configure(width, height, shortSizeDp, longSizeDp); in configureDisplayRotation()
/frameworks/base/core/java/android/content/res/
DConfiguration.java351 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument
360 if (longSizeDp < 470) { in reduceScreenLayout()
368 if (longSizeDp >= 960 && shortSizeDp >= 720) { in reduceScreenLayout()
372 } else if (longSizeDp >= 640 && shortSizeDp >= 480) { in reduceScreenLayout()
383 if (shortSizeDp > 321 || longSizeDp > 570) { in reduceScreenLayout()
390 if (((longSizeDp*3)/5) >= (shortSizeDp-1)) { in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java191 void configure(int width, int height, int shortSizeDp, int longSizeDp) { in configure() argument
DDisplayContent.java1562 final int longSizeDp = longSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy() local
1565 mDisplayRotation.configure(width, height, shortSizeDp, longSizeDp); in configureDisplayPolicy()