Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java205 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_ENABLED); in testPersistsFixedToUserRotation()
207 verify(mMockDisplayWindowSettings).setFixedToUserRotation(mMockDisplayContent, in testPersistsFixedToUserRotation()
211 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_DISABLED); in testPersistsFixedToUserRotation()
213 verify(mMockDisplayWindowSettings).setFixedToUserRotation(mMockDisplayContent, in testPersistsFixedToUserRotation()
217 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_DEFAULT); in testPersistsFixedToUserRotation()
219 verify(mMockDisplayWindowSettings).setFixedToUserRotation(mMockDisplayContent, in testPersistsFixedToUserRotation()
365 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_ENABLED); in testNotEnablesSensor_FixedUserRotation()
567 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_ENABLED); in testReturnsUserRotation_FixedToUserRotation_IgnoreIncompatibleAppRequest()
601 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_ENABLED); in testNotRespectAppRequestedOrientation_FixedToUserRotation()
DAppWindowTokenTests.java346 mDisplayContent.getDisplayRotation().setFixedToUserRotation( in testReportOrientationChangeOnVisibilityChange()
365 mDisplayContent.getDisplayRotation().setFixedToUserRotation( in testReportOrientationChangeOnOpeningClosingAppChange()
DDisplayWindowSettingsTests.java461 mTarget.setFixedToUserRotation(mPrimaryDisplay, FIXED_TO_USER_ROTATION_DISABLED); in testSetFixedToUserRotationDisabled()
478 mTarget.setFixedToUserRotation(mPrimaryDisplay, FIXED_TO_USER_ROTATION_ENABLED); in testSetFixedToUserRotationEnabled()
DDisplayContentTests.java680 dc.getDisplayRotation().setFixedToUserRotation( in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java287 void setFixedToUserRotation(@FixedToUserRotation int fixedToUserRotation) { in setFixedToUserRotation() method in DisplayRotation
293 mDisplayWindowSettings.setFixedToUserRotation(mDisplayContent, fixedToUserRotation); in setFixedToUserRotation()
DDisplayWindowSettings.java258 void setFixedToUserRotation(DisplayContent displayContent, in setFixedToUserRotation() method in DisplayWindowSettings
DWindowManagerService.java3614 display.getDisplayRotation().setFixedToUserRotation(fixedToUserRotation); in setRotateForApp()