Searched refs:shortSizeDp (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 84 final int shortSizeDp = in setUpDisplayPolicy() local 89 DISPLAY_WIDTH, DISPLAY_HEIGHT, shortSizeDp, longSizeDp); in setUpDisplayPolicy()
|
D | DisplayRotationTests.java | 636 final int shortSizeDp = (isCar || isTv) ? 540 : 720; in configureDisplayRotation() local 638 mTarget.configure(width, height, shortSizeDp, longSizeDp); in configureDisplayRotation()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 525 int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / in findNavBar() local 530 barOnBottom = shortSizeDp >= 600; in findNavBar()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 352 static public int reduceScreenLayout(int curLayout, int longSizeDp, int shortSizeDp) { in reduceScreenLayout() argument 369 if (longSizeDp >= 960 && shortSizeDp >= 720) { in reduceScreenLayout() 373 } else if (longSizeDp >= 640 && shortSizeDp >= 480) { in reduceScreenLayout() 384 if (shortSizeDp > 321 || longSizeDp > 570) { in reduceScreenLayout() 391 if (((longSizeDp*3)/5) >= (shortSizeDp-1)) { in reduceScreenLayout()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 191 void configure(int width, int height, int shortSizeDp, int longSizeDp) { in configure() argument
|
D | DisplayContent.java | 1567 final int shortSizeDp = shortSize * DENSITY_DEFAULT / mBaseDisplayDensity; in configureDisplayPolicy() local 1571 mDisplayRotation.configure(width, height, shortSizeDp, longSizeDp); in configureDisplayPolicy()
|