Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java617 final DisplayContent landscapeDisplay = createNewDisplay(); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() local
618 landscapeDisplay.mInitialDisplayHeight = 1000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
619 landscapeDisplay.mInitialDisplayWidth = 2000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
621 landscapeDisplay.setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
622 assertTrue(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
623 landscapeDisplay.setRotation(Surface.ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
624 assertFalse(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()