Lines Matching defs:mPolicy

403     final WindowManagerPolicy mPolicy;
549 return mPolicy.getWindowLayerFromTypeLw(TYPE_DRAG) * TYPE_LAYER_MULTIPLIER + TYPE_LAYER_OFFSET;
992 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this);
1024 mPolicy = policy;
1027 LocalServices.addService(WindowManagerPolicy.class, mPolicy);
1044 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy);
1175 int res = mPolicy.checkAddPermission(attrs, appOp);
1370 mPolicy.adjustWindowParamsLw(win.mAttrs);
1371 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs));
1373 res = mPolicy.prepareAddWindowLw(win, attrs);
1500 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, displayInfo.rotation,
1913 mPolicy.adjustWindowParamsLw(attrs);
2146 if (mPolicy.isNavBarForcedShownLw(win)) {
2387 return !mDisplayFrozen && mDisplayEnabled && mPolicy.isScreenOn();
2500 mPolicy.selectRotationAnimationLw(anim);
2533 mPolicy.setCurrentOrientationLw(req);
2558 final int rotation = mPolicy.rotationForOrientationLw(lastOrientation,
2560 boolean altOrientation = !mPolicy.rotationHasCompatibleMetricsLw(
2938 return mPolicy.isKeyguardTrustedLw();
3052 mPolicy.exitKeyguardSecurely(new WindowManagerPolicy.OnKeyguardExitResult() {
3066 return mPolicy.inKeyguardRestrictedKeyInputMode();
3071 return mPolicy.isKeyguardLocked();
3079 return mPolicy.isKeyguardSecure(userId);
3087 return mPolicy.isShowingDreamLw();
3095 mPolicy.dismissKeyguardLw(callback);
3101 mPolicy.onKeyguardOccludedChangedLw(occluded);
3111 mPolicy.setSwitchingUser(switching);
3118 mPolicy.showGlobalActions();
3316 mPolicy.setCurrentUserLw(newUserId);
3321 mPolicy.enableKeyguard(true);
3373 mPolicy.systemBooted();
3418 mPolicy.onSystemUiStarted();
3436 if (!mShowingBootMessages && !mPolicy.canDismissBootAnimation()) {
3485 mPolicy.enableScreenAfterBoot();
3527 mPolicy.showBootMessage(msg, always);
3545 mPolicy.hideBootMessages();
3604 mPolicy.getWindowLayerFromTypeLw(
3633 mPolicy.getWindowLayerFromTypeLw(
3811 mPolicy.setUserRotationMode(WindowManagerPolicy.USER_ROTATION_LOCKED,
3836 mPolicy.setUserRotationMode(WindowManagerPolicy.USER_ROTATION_FREE,
3938 return mPolicy.getUserRotationMode() == WindowManagerPolicy.USER_ROTATION_LOCKED;
4693 mPolicy.setSafeMode(mSafeMode);
4741 mPolicy.systemReady();
5637 mPolicy.setInitialDisplaySize(displayContent.getDisplay(),
5643 mPolicy.setDisplayOverscan(displayContent.getDisplay(),
5824 mPolicy.keepScreenOnStartedLw();
5832 mPolicy.keepScreenOnStoppedLw();
5894 int focusChanged = mPolicy.focusChangedLw(oldFocus, newFocus);
5946 if (!displayContent.isReady() || !mPolicy.isScreenOn()) {
5971 mPolicy.setLastInputMethodWindowLw(null, null);
5997 mFxSession, inTransaction, mPolicy.isDefaultOrientationForced(), isSecure,
6058 if (!mPolicy.validateRotationAnimationLw(mExitAnimId, mEnterAnimId, isDimming)) {
6175 mPolicy.setRecentsVisibilityLw(visible);
6188 mPolicy.setPipVisibilityLw(visible);
6202 visibility = mPolicy.adjustSystemUiVisibilityLw(visibility);
6228 int visibility = mPolicy.adjustSystemUiVisibilityLw(mLastStatusBarVisibility);
6259 return mPolicy.hasNavigationBar();
6264 mPolicy.lockNow(options);
6268 mPolicy.showRecentApps(fromHome);
6376 mPolicy.dump(" ", pw, args);
7056 mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, outInsets);
7159 mPolicy.registerShortcutKey(shortcutCode, shortcutKeyReceiver);
7376 return mPolicy.getInputMethodWindowVisibleHeightLw();
7384 mPolicy.setLastInputMethodWindowLw(mInputMethodWindow, mInputMethodTarget);
7392 mPolicy.setLastInputMethodWindowLw(null, null);
7407 mPolicy.setDismissImeOnBackKeyPressed(dismissImeOnBackKeyPressed);