Home
last modified time | relevance | path

Searched refs:WindowManagerPolicy (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/policy/
DPowerAction.java24 import com.android.server.policy.WindowManagerPolicy;
28 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs;
31 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in PowerAction()
DRestartAction.java24 import com.android.server.policy.WindowManagerPolicy;
28 private final WindowManagerPolicy.WindowManagerFuncs mWindowManagerFuncs;
31 WindowManagerPolicy.WindowManagerFuncs windowManagerFuncs) { in RestartAction()
DGlobalActions.java22 import com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java28 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()
DKeyEventDispatcher.java30 import com.android.server.policy.WindowManagerPolicy;
270 int policyFlags = pendingEvent.policyFlags | WindowManagerPolicy.FLAG_PASS_TO_USER; in removeReferenceToPendingEventLocked()
DAccessibilityInputFilter.java52 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/
DDisplayRotation.java32 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 …]
DWindowStateAnimator.java32 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()
DRootDisplayArea.java30 import com.android.server.policy.WindowManagerPolicy;
161 final WindowManagerPolicy policy = mWmService.mPolicy; in updateImeContainerForLayers()
DKeyguardDisableHandler.java33 import com.android.server.policy.WindowManagerPolicy;
123 static KeyguardDisableHandler create(Context context, WindowManagerPolicy policy, in create()
DNonAppWindowAnimationAdapter.java39 import com.android.server.policy.WindowManagerPolicy;
108 final WindowManagerPolicy policy = service.mPolicy; in startNonAppWindowAnimationsForKeyguardExit()
DDisplayAreaPolicyBuilder.java46 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()
DDisplayRotationReversionController.java23 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_LOCKED;
DWindowAnimator.java38 import com.android.server.policy.WindowManagerPolicy;
52 final WindowManagerPolicy mPolicy;
DDisplayWindowSettings.java39 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
DWindowToken.java51 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/
DDisplayRotationReversionControllerTests.java20 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_FREE;
21 import static com.android.server.policy.WindowManagerPolicy.USER_ROTATION_LOCKED;
DDisplayRotationTests.java83 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 …]
DDisplayWindowSettingsTests.java54 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()
DTestWindowManagerPolicy.java35 import com.android.server.policy.WindowManagerPolicy;
39 class TestWindowManagerPolicy implements WindowManagerPolicy {
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java50 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()
DKeyboardInterceptorTest.java37 import com.android.server.policy.WindowManagerPolicy;
60 @Mock WindowManagerPolicy mMockPolicy;
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DNotifierTest.java55 import com.android.server.policy.WindowManagerPolicy;
283 SuspendBlocker suspendBlocker, WindowManagerPolicy policy,
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java34 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/
DTestPhoneWindowManager.java153 @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()

123