/frameworks/base/services/core/java/com/android/server/policy/ |
D | PowerAction.java | 24 import com.android.server.policy.WindowManagerPolicy; 28 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs; 31 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in PowerAction()
|
D | RestartAction.java | 24 import com.android.server.policy.WindowManagerPolicy; 28 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs; 31 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in RestartAction()
|
D | GlobalActions.java | 22 import com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 28 import com.android.server.policy.WindowManagerPolicy; 38 private final WindowManagerPolicy mPolicy; 48 public KeyboardInterceptor(AccessibilityManagerService service, WindowManagerPolicy policy) { in KeyboardInterceptor() 59 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 | 52 import com.android.server.policy.WindowManagerPolicy; 349 if ((policyFlags & WindowManagerPolicy.FLAG_PASS_TO_USER) == 0) { in onInputEventInternal() 730 LocalServices.getService(WindowManagerPolicy.class)); in enableDisplayIndependentFeatures()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 32 import static com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs.LID_OPEN; 86 import com.android.server.policy.WindowManagerPolicy; 227 @WindowManagerPolicy.UserRotationMode 228 private int mUserRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; 910 if (userRotationMode != WindowManagerPolicy.USER_ROTATION_FREE in restoreSettings() 911 && userRotationMode != WindowManagerPolicy.USER_ROTATION_LOCKED) { in restoreSettings() 914 userRotationMode = WindowManagerPolicy.USER_ROTATION_FREE; in restoreSettings() 923 userRotationMode = WindowManagerPolicy.USER_ROTATION_LOCKED; in restoreSettings() 954 userRotationMode == WindowManagerPolicy.USER_ROTATION_LOCKED ? 0 : 1; in setUserRotation() 992 setUserRotation(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation, caller); in freezeRotation() [all …]
|
D | WindowStateAnimator.java | 32 import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_ANIM; 33 import static com.android.server.policy.WindowManagerPolicy.FINISH_LAYOUT_REDO_WALLPAPER; 67 import com.android.server.policy.WindowManagerPolicy; 96 final WindowManagerPolicy mPolicy; 515 transit = WindowManagerPolicy.TRANSIT_ENTER; in applyEnterAnimationLocked() 517 transit = WindowManagerPolicy.TRANSIT_SHOW; in applyEnterAnimationLocked() 579 case WindowManagerPolicy.TRANSIT_ENTER: in applyAnimationLocked() 582 case WindowManagerPolicy.TRANSIT_EXIT: in applyAnimationLocked() 585 case WindowManagerPolicy.TRANSIT_SHOW: in applyAnimationLocked() 588 case WindowManagerPolicy.TRANSIT_HIDE: in applyAnimationLocked()
|
D | RootDisplayArea.java | 30 import com.android.server.policy.WindowManagerPolicy; 161 final WindowManagerPolicy policy = mWmService.mPolicy; in updateImeContainerForLayers()
|
D | KeyguardDisableHandler.java | 33 import com.android.server.policy.WindowManagerPolicy; 123 static KeyguardDisableHandler create(Context context, WindowManagerPolicy policy, in create()
|
D | NonAppWindowAnimationAdapter.java | 39 import com.android.server.policy.WindowManagerPolicy; 108 final WindowManagerPolicy policy = service.mPolicy; in startNonAppWindowAnimationsForKeyguardExit()
|
D | DisplayAreaPolicyBuilder.java | 46 import com.android.server.policy.WindowManagerPolicy; 506 final WindowManagerPolicy policy = mRoot.mWmService.mPolicy; in build() 649 private static int typeOfLayer(WindowManagerPolicy policy, int layer) { in typeOfLayer() 702 private final WindowManagerPolicy mPolicy; 722 Builder(WindowManagerPolicy policy, String name, int id) { in Builder()
|
D | DisplayRotationReversionController.java | 23 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_LOCKED;
|
D | WindowAnimator.java | 38 import com.android.server.policy.WindowManagerPolicy; 52 final WindowManagerPolicy mPolicy;
|
D | DisplayWindowSettings.java | 39 import com.android.server.policy.WindowManagerPolicy; 61 @WindowManagerPolicy.UserRotationMode int rotationMode, in setUserRotation() 307 ? settings.mUserRotationMode : WindowManagerPolicy.USER_ROTATION_FREE; in applySettingsToDisplayLocked() 434 @WindowManagerPolicy.UserRotationMode
|
D | WindowToken.java | 51 import com.android.server.policy.WindowManagerPolicy; 376 super.assignLayer(t, WindowManagerPolicy.COLOR_FADE_LAYER + 1); in assignLayer()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationReversionControllerTests.java | 20 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_FREE; 21 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_LOCKED;
|
D | DisplayRotationTests.java | 83 import com.android.server.policy.WindowManagerPolicy; 156 sMockWm.mPolicy = mock(WindowManagerPolicy.class); in setUpOnce() 199 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testLocksUserRotation_LockRotation_DefaultDisplay() 214 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 218 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 228 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_InternalDisplay() 232 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testUserRotationSystemProperty_NonDefault_InternalDisplay() 243 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_ExternalDisplay() 246 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testUserRotationSystemProperty_NonDefault_ExternalDisplay() 258 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_OverlayDisplay() [all …]
|
D | DisplayWindowSettingsTests.java | 54 import com.android.server.policy.WindowManagerPolicy; 280 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, rotation.getUserRotationMode()); in testDefaultToFreeUserRotation() 357 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_90); in testSetUserRotationMode() 362 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, rotation.getUserRotationMode()); in testSetUserRotationMode() 369 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_90); in testSetUserRotation() 379 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_0); in testFixedToUserRotationDefault()
|
D | TestWindowManagerPolicy.java | 35 import com.android.server.policy.WindowManagerPolicy; 39 class TestWindowManagerPolicy implements WindowManagerPolicy {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 50 import com.android.server.policy.WindowManagerPolicy; 556 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m.arg1); in assertOneKeyEventSentToFramework() 565 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m0.arg1); in assertTwoKeyEventsSentToFrameworkInOrder() 570 assertEquals(WindowManagerPolicy.FLAG_PASS_TO_USER, m1.arg1); in assertTwoKeyEventsSentToFrameworkInOrder()
|
D | KeyboardInterceptorTest.java | 37 import com.android.server.policy.WindowManagerPolicy; 60 @Mock WindowManagerPolicy mMockPolicy;
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | NotifierTest.java | 55 import com.android.server.policy.WindowManagerPolicy; 283 SuspendBlocker suspendBlocker, WindowManagerPolicy policy,
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 34 import com.android.server.policy.WindowManagerPolicy; 153 policyFlags |= WindowManagerPolicy.FLAG_PASS_TO_USER; in sendMotionEvent()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | TestPhoneWindowManager.java | 153 @Mock private WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncsImpl; 164 @Mock private WindowManagerPolicy.ScreenOnListener mScreenOnListener; 212 TestInjector(Context context, WindowManagerPolicy.WindowManagerFuncs funcs) { in TestInjector() 340 mPhoneWindowManager.setDefaultDisplay(new WindowManagerPolicy.DisplayContentInfo() { in setUp()
|