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.java983 final DisplayContent landscapeDisplay = createNewDisplay(); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() local
984 landscapeDisplay.mInitialDisplayHeight = 1000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
985 landscapeDisplay.mInitialDisplayWidth = 2000; in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
987 landscapeDisplay.getDisplayRotation().setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
988 assertTrue(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
989 landscapeDisplay.getDisplayRotation().setRotation(ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()
990 assertFalse(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays()