Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotationReversionController.java119 displayRotation.setUserRotation(USER_ROTATION_LOCKED, mUserRotationOverridden, in revertOverride()
DDisplayRotation.java947 void setUserRotation(int userRotationMode, int userRotation, String caller) { in setUserRotation() method in DisplayRotation
971 mDisplayWindowSettings.setUserRotation(mDisplayContent, userRotationMode, in setUserRotation()
992 setUserRotation(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation, caller); in freezeRotation()
996 setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, mUserRotation, caller); in thawRotation()
DDisplayWindowSettings.java60 void setUserRotation(@NonNull DisplayContent displayContent, in setUserRotation() method in DisplayWindowSettings
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java356 mDisplayWindowSettings.setUserRotation(mSecondaryDisplay, in testSetUserRotationMode()
368 mDisplayWindowSettings.setUserRotation(mSecondaryDisplay, in testSetUserRotation()
378 mDisplayWindowSettings.setUserRotation(mPrimaryDisplay, in testFixedToUserRotationDefault()
DDisplayContentTests.java1082 dc.getDisplayRotation().setUserRotation(WindowManagerPolicy.USER_ROTATION_LOCKED, in testNoSensorRevert()
1101 dc.getDisplayRotation().setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, in testNoSensorRevert()
1128 dc.getDisplayRotation().setUserRotation( in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
1169 dc.getDisplayRotation().setUserRotation( in testFixedToUserRotationChanged()
DTaskTests.java681 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_0, /* caller= */ "TaskTests"); in testFullscreenBoundsForcedOrientation()
713 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_90, /* caller= */ "TaskTests"); in testFullscreenBoundsForcedOrientation()
752 dr.setUserRotation(USER_ROTATION_FREE, ROTATION_0, /* caller= */ "TaskTests"); in testReportsOrientationRequestInLetterboxForOrientation()
DDisplayRotationTests.java217 verify(mMockDisplayWindowSettings).setUserRotation(mMockDisplayContent, in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
314 verify(mMockDisplayWindowSettings).setUserRotation(same(mMockDisplayContent), in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
/frameworks/base/services/
Dart-wear-profile27146 PLcom/android/server/wm/DisplayRotation;->setUserRotation(IILjava/lang/String;)V