Searched refs:shortSide (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 363 final int shortSide = 600; in testComputeConfigResourceOverrides() local 370 inOutConfig.windowConfiguration.getBounds().set(0, 0, shortSide, longSide); in testComputeConfigResourceOverrides() 380 inOutConfig.windowConfiguration.getBounds().set(0, 0, longSide, shortSide); in testComputeConfigResourceOverrides() 402 assertEquals((shortSide - statusBarHeight) * DENSITY_DEFAULT / parentConfig.densityDpi, in testComputeConfigResourceOverrides()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 3903 final int shortSide = Math.min(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation() local 3905 outBounds.set(0, 0, isLandscape ? longSide : shortSide, in getDisplayBoundsByOrientation() 3906 isLandscape ? shortSide : longSide); in getDisplayBoundsByOrientation()
|