Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java608 final DisplayContent portraitDisplay = createNewDisplay(); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() local
609 portraitDisplay.mInitialDisplayHeight = 2000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
610 portraitDisplay.mInitialDisplayWidth = 1000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
612 portraitDisplay.setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
613 assertFalse(isOptionsPanelAtRight(portraitDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
614 portraitDisplay.setRotation(Surface.ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
615 assertTrue(isOptionsPanelAtRight(portraitDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()