/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 19 import static com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs.LID_OPEN; 47 import com.android.server.policy.WindowManagerPolicy; 95 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; 272 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings() 273 && userRotationMode != WindowManagerPolicy.USER_ROTATION_LOCKED) { in restoreSettings() 276 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings() 303 userRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED ? 0 : 1; in setUserRotation() 330 setUserRotation(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation); in freezeRotation() 334 setUserRotation(WindowManagerPolicy.USER_ROTATION_FREE, mUserRotation); in thawRotation() 339 return mUserRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED; in isRotationFrozen() [all …]
|
D | StartingData.java | 19 import com.android.server.policy.WindowManagerPolicy.StartingSurface;
|
D | WindowStateAnimator.java | 28 import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM; 29 import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER; 68 import com.android.server.policy.WindowManagerPolicy; 104 final WindowManagerPolicy mPolicy; 1302 transit = WindowManagerPolicy.TRANSIT_ENTER; in applyEnterAnimationLocked() 1304 transit = WindowManagerPolicy.TRANSIT_SHOW; in applyEnterAnimationLocked() 1353 case WindowManagerPolicy.TRANSIT_ENTER: in applyAnimationLocked() 1356 case WindowManagerPolicy.TRANSIT_EXIT: in applyAnimationLocked() 1359 case WindowManagerPolicy.TRANSIT_SHOW: in applyAnimationLocked() 1362 case WindowManagerPolicy.TRANSIT_HIDE: in applyAnimationLocked()
|
D | KeyguardDisableHandler.java | 33 import com.android.server.policy.WindowManagerPolicy; 123 static KeyguardDisableHandler create(Context context, WindowManagerPolicy policy, in create()
|
D | SnapshotStartingData.java | 21 import com.android.server.policy.WindowManagerPolicy.StartingSurface;
|
D | SplashScreenStartingData.java | 22 import com.android.server.policy.WindowManagerPolicy.StartingSurface;
|
D | DisplayWindowSettings.java | 45 import com.android.server.policy.WindowManagerPolicy; 102 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; 144 && mUserRotationMode == WindowManagerPolicy.USER_ROTATION_FREE in isEmpty() 540 WindowManagerPolicy.USER_ROTATION_FREE); in readDisplay() 614 if (entry.mUserRotationMode != WindowManagerPolicy.USER_ROTATION_FREE) { in writeSettings()
|
D | InputMonitor.java | 51 import com.android.server.policy.WindowManagerPolicy; 89 implements WindowManagerPolicy.InputConsumer { 214 WindowManagerPolicy.InputConsumer createInputConsumer(Looper looper, String name, in createInputConsumer()
|
D | WindowAnimator.java | 35 import com.android.server.policy.WindowManagerPolicy; 49 final WindowManagerPolicy mPolicy;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PowerAction.java | 23 import com.android.server.policy.WindowManagerPolicy; 27 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs; 30 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in PowerAction()
|
D | RestartAction.java | 23 import com.android.server.policy.WindowManagerPolicy; 27 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs; 30 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in RestartAction()
|
D | SplashScreenSurface.java | 29 import com.android.server.policy.WindowManagerPolicy.StartingSurface;
|
D | GlobalActions.java | 22 import com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 26 import com.android.server.policy.WindowManagerPolicy; 36 private final WindowManagerPolicy mPolicy; 46 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy) { in KeyboardInterceptor() 57 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy, in KeyboardInterceptor()
|
D | KeyEventDispatcher.java | 30 import com.android.server.policy.WindowManagerPolicy; 270 int policyFlags = pendingEvent.policyFlags | WindowManagerPolicy.FLAG_PASS_TO_USER; in removeReferenceToPendingEventLocked()
|
D | AccessibilityInputFilter.java | 33 import com.android.server.policy.WindowManagerPolicy; 196 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { in onInputEvent() 422 LocalServices.getService(WindowManagerPolicy.class)); in enableFeatures()
|
D | MotionEventInjector.java | 36 import com.android.server.policy.WindowManagerPolicy; 158 sendMotionEventToNext(motionEvent, motionEvent, WindowManagerPolicy.FLAG_PASS_TO_USER); in handleMessage() 309 WindowManagerPolicy.FLAG_PASS_TO_USER); in cancelAnyGestureInProgress()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowSettingsTests.java | 55 import com.android.server.policy.WindowManagerPolicy; 324 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, rotation.getUserRotationMode()); in testDefaultToFreeUserRotation() 398 mTarget.setUserRotation(mSecondaryDisplay, WindowManagerPolicy.USER_ROTATION_LOCKED, in testPersistUserRotationModeInSameInstance() 404 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation.getUserRotationMode()); in testPersistUserRotationModeInSameInstance() 410 mTarget.setUserRotation(mSecondaryDisplay, WindowManagerPolicy.USER_ROTATION_LOCKED, in testPersistUserRotationInSameInstance() 420 mTarget.setUserRotation(mSecondaryDisplay, WindowManagerPolicy.USER_ROTATION_LOCKED, in testPersistUserRotationModeAcrossInstances() 426 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation.getUserRotationMode()); in testPersistUserRotationModeAcrossInstances() 432 mTarget.setUserRotation(mSecondaryDisplay, WindowManagerPolicy.USER_ROTATION_LOCKED, in testPersistUserRotationAcrossInstances() 443 mTarget.setUserRotation(mPrimaryDisplay, WindowManagerPolicy.USER_ROTATION_LOCKED, in testFixedToUserRotationDefault()
|
D | DisplayRotationTests.java | 64 import com.android.server.policy.WindowManagerPolicy; 120 sMockWm.mPolicy = mock(WindowManagerPolicy.class); in setUpOnce() 155 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testLocksUserRotation_LockRotation_DefaultDisplay() 170 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 174 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 183 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistUserRotation_UnlockRotation_DefaultDisplay() 195 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay() 198 eq(WindowManagerPolicy.USER_ROTATION_FREE), anyInt()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay() 527 WindowManagerPolicy.WindowManagerFuncs.LID_OPEN); in testReturnsLidOpenRotation_LidOpen() 663 private int mLidOpenRotation = WindowManagerPolicy.WindowManagerFuncs.LID_ABSENT;
|
D | TestWindowManagerPolicy.java | 42 import com.android.server.policy.WindowManagerPolicy; 47 class TestWindowManagerPolicy implements WindowManagerPolicy {
|
D | SystemServicesTestRule.java | 59 import com.android.server.policy.WindowManagerPolicy; 203 LocalServices.removeServiceForTest(WindowManagerPolicy.class);
|
D | DisplayPolicyTests.java | 40 import static com.android.server.policy.WindowManagerPolicy.NAV_BAR_BOTTOM; 41 import static com.android.server.policy.WindowManagerPolicy.NAV_BAR_RIGHT;
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 61 import com.android.server.policy.WindowManagerPolicy; 119 private final WindowManagerPolicy mPolicy; 162 SuspendBlocker suspendBlocker, WindowManagerPolicy policy) { in Notifier() 537 return WindowManagerPolicy.OFF_BECAUSE_OF_ADMIN; in translateOffReason() 539 return WindowManagerPolicy.OFF_BECAUSE_OF_TIMEOUT; in translateOffReason() 541 return WindowManagerPolicy.OFF_BECAUSE_OF_USER; in translateOffReason() 554 return WindowManagerPolicy.ON_BECAUSE_OF_USER; in translateOnReason() 556 return WindowManagerPolicy.ON_BECAUSE_OF_APPLICATION; in translateOnReason() 558 return WindowManagerPolicy.ON_BECAUSE_OF_UNKNOWN; in translateOnReason()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 35 import com.android.server.policy.WindowManagerPolicy; 36 import com.android.server.policy.WindowManagerPolicy.WindowState; 58 @Mock WindowManagerPolicy mMockPolicy;
|
D | KeyEventDispatcherTest.java | 47 import com.android.server.policy.WindowManagerPolicy; 550 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m.arg1); in assertOneKeyEventSentToFramework() 559 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m0.arg1); in assertTwoKeyEventsSentToFrameworkInOrder() 564 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m1.arg1); in assertTwoKeyEventsSentToFrameworkInOrder()
|