Searched refs:longSide (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 362 final int longSide = 1200; 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() 404 assertEquals(longSide * DENSITY_DEFAULT / parentConfig.densityDpi, in testComputeConfigResourceOverrides()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 3902 final int longSide = Math.max(mDisplayWidth, mDisplayHeight); in getDisplayBoundsByOrientation() local 3905 outBounds.set(0, 0, isLandscape ? longSide : shortSide, in getDisplayBoundsByOrientation() 3906 isLandscape ? shortSide : longSide); in getDisplayBoundsByOrientation()
|