Searched refs:mPolicy (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DKeyguardDisableHandler.java45 final WindowManagerPolicy mPolicy; field in class:KeyguardDisableHandler
50 mPolicy = policy;
71 mPolicy.enableKeyguard(true);
103 mPolicy.enableKeyguard(false);
111 mPolicy.enableKeyguard(true);
H A DInputMonitor.java115 int systemAlertLayer = mService.mPolicy.windowTypeToLayerLw(
352 mService.mPolicy.notifyLidSwitchChanged(whenNanos, lidOpen);
358 mService.mPolicy.notifyCameraLensCoverSwitchChanged(whenNanos, lensCovered);
365 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags);
373 return mService.mPolicy.interceptMotionBeforeQueueingNonInteractive(
383 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags);
392 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags);
398 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_POINTER)
H A DWindowAnimator.java60 final WindowManagerPolicy mPolicy; field in class:WindowAnimator
114 mPolicy = service.mPolicy;
230 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) {
255 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw();
283 if (mPolicy.isForceHiding(win.mAttrs)) {
299 mPolicy.startKeyguardExitAnimation(0, 0);
322 } else if (mPolicy.canBeForceHidden(win, win.mAttrs)) {
405 a = mPolicy.createForceHideEnterAnimation(wallpaperInUnForceHiding,
414 mPolicy
[all...]
H A DFakeWindowImpl.java106 return mService.mPolicy.windowTypeToLayerLw(windowType)
H A DWindowManagerService.java342 final WindowManagerPolicy mPolicy = PolicyManager.makeNewWindowManager(); field in class:WindowManagerService
793 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this);
794 mAnimator.mAboveUniverseLayer = mPolicy.getAboveUniverseLayer()
816 LocalServices.addService(WindowManagerPolicy.class, mPolicy);
827 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy);
1867 final int maxLayer = mPolicy.getMaxWallpaperLayer()
2253 int res = mPolicy.checkAddPermission(attrs, appOp);
2401 mPolicy.adjustWindowParamsLw(win.mAttrs);
2402 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs));
2404 res = mPolicy
[all...]
H A DWindowState.java78 final WindowManagerPolicy mPolicy; field in class:WindowState
353 mPolicy = mService.mPolicy;
382 mBaseLayer = mPolicy.windowTypeToLayerLw(
385 mSubLayer = mPolicy.subWindowTypeToLayerLw(a.type);
423 mBaseLayer = mPolicy.windowTypeToLayerLw(a.type)
H A DAccessibilityController.java373 WindowManagerPolicy policy = mWindowManagerService.mPolicy;
479 if (mWindowManagerService.mPolicy.canMagnifyWindow(windowState.mAttrs.type)) {
644 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.windowTypeToLayerLw(
H A DDragState.java175 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_DRAG)
H A DWindowStateAnimator.java80 final WindowManagerPolicy mPolicy; field in class:WindowStateAnimator
186 mPolicy = service.mPolicy;
1789 int anim = mPolicy.selectAnimationLw(mWin, transit);
H A DSession.java250 return mService.mPolicy.performHapticFeedbackLw(
/frameworks/base/graphics/java/android/graphics/
H A DAtlas.java75 private final Policy mPolicy; field in class:Atlas
106 mPolicy = findPolicy(type, width, height, flags);
139 return mPolicy.pack(width, height, entry);
/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java87 private final WindowManagerPolicy mPolicy; field in class:Notifier
119 mPolicy = policy;
257 mPolicy.wakingUp();
313 mPolicy.goingToSleep(why);
393 mPolicy.userActivity();
H A DPowerManagerService.java165 private WindowManagerPolicy mPolicy; field in class:PowerManagerService
488 mPolicy = getLocalService(WindowManagerPolicy.class);
503 mPolicy);
/frameworks/base/libs/input/
H A DPointerController.h130 sp<PointerControllerPolicyInterface> mPolicy; member in class:android::PointerController
H A DPointerController.cpp56 mPolicy(policy), mLooper(looper), mSpriteController(spriteController) {
578 mPolicy->loadPointerResources(&mResources);
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp200 mPolicy(policy),
2421 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags);
2431 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2489 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags);
2506 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2544 mPolicy->notifySwitch(args->eventTime,
2599 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags);
2623 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags);
2745 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid);
3468 mPolicy
[all...]
H A DInputDispatcher.h838 sp<InputDispatcherPolicyInterface> mPolicy; member in class:android::InputDispatcher
H A DInputReader.cpp237 mContext(this), mEventHub(eventHub), mPolicy(policy),
308 mPolicy->notifyInputDevicesChanged(inputDevices);
506 mPolicy->getReaderConfiguration(&mConfig);
828 return mReader->mPolicy.get();
H A DInputReader.h474 sp<InputReaderPolicyInterface> mPolicy; member in class:android::InputReader
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp719 sp<InputReaderPolicyInterface> mPolicy; member in class:android::FakeInputReaderContext
729 mEventHub(eventHub), mPolicy(policy), mListener(listener),
759 return mPolicy.get();

Completed in 273 milliseconds