/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimation.java | 59 private final WindowManagerService mWindowManager; field in RecentsAnimation 86 mWindowManager = wm; in RecentsAnimation() 164 if (!mWindowManager.canStartRecentsAnimation()) { in startRecentsActivity() 199 mWindowManager.deferSurfaceLayout(); in startRecentsActivity() 228 mWindowManager.prepareAppTransition(TRANSIT_NONE, false); in startRecentsActivity() 229 mWindowManager.executeAppTransition(); in startRecentsActivity() 244 mWindowManager.cancelRecentsAnimationSynchronously(REORDER_MOVE_TO_ORIGINAL_POSITION, in startRecentsActivity() 246 mWindowManager.initializeRecentsAnimation(mTargetActivityType, recentsAnimationRunner, in startRecentsActivity() 263 mWindowManager.continueSurfaceLayout(); in startRecentsActivity() 272 + mWindowManager.getRecentsAnimationController() in finishAnimation() [all …]
|
D | KeyguardController.java | 67 private WindowManagerService mWindowManager; field in KeyguardController 86 mWindowManager = windowManager; in setWindowManager() 147 mWindowManager.setAodShowing(aodShowing); in setKeyguardShown() 158 mWindowManager.setKeyguardOrAodShowingOnDefaultDisplay( in setKeyguardShown() 178 mWindowManager.deferSurfaceLayout(); in keyguardGoingAway() 192 mWindowManager.executeAppTransition(); in keyguardGoingAway() 195 mWindowManager.continueSurfaceLayout(); in keyguardGoingAway() 216 mWindowManager.dismissKeyguard(callback, message); in dismissKeyguard() 221 mWindowManager.setKeyguardGoingAway(keyguardGoingAway); in setKeyguardGoingAway() 287 && !mWindowManager.isKeyguardSecure(mService.getCurrentUserId()); in canShowWhileOccluded() [all …]
|
D | ViewServer.java | 73 private final WindowManagerService mWindowManager; field in ViewServer 88 mWindowManager = windowManager; in ViewServer() 246 result = mWindowManager.viewServerListWindows(mClient); in run() 248 result = mWindowManager.viewServerGetFocusedWindow(mClient); in run() 252 result = mWindowManager.viewServerWindowCommand(mClient, in run() 295 mWindowManager.addWindowChangeListener(this); in windowManagerAutolistLoop() 334 mWindowManager.removeWindowChangeListener(this); in windowManagerAutolistLoop()
|
D | LockTaskController.java | 141 WindowManagerService mWindowManager; field in LockTaskController 207 mWindowManager = windowManager; in setWindowManager() 496 mWindowManager.onLockTaskStateChanged(LOCK_TASK_MODE_NONE); in performStopLockTask() 612 mWindowManager.onLockTaskStateChanged(lockTaskModeState); in performStartLockTask() 757 mWindowManager.reenableKeyguard(mToken, userId); in setKeyguardState() 761 mWindowManager.reenableKeyguard(mToken, userId); in setKeyguardState() 765 if (mWindowManager.isKeyguardLocked() && !mWindowManager.isKeyguardSecure(userId)) { in setKeyguardState() 767 mWindowManager.dismissKeyguard(new IKeyguardDismissCallback.Stub() { in setKeyguardState() 778 mWindowManager.disableKeyguard(mToken, LOCK_TASK_TAG, in setKeyguardState() 791 mWindowManager.disableKeyguard(mToken, LOCK_TASK_TAG, userId); in setKeyguardState() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowControllerTest.java | 52 private WindowManager mWindowManager; field in StatusBarWindowControllerTest 73 mStatusBarWindowController = new StatusBarWindowController(mContext, mWindowManager, in setUp() 84 verify(mWindowManager).updateViewLayout(any(), captor.capture()); in testSetDozing_hidesSystemOverlays() 89 reset(mWindowManager); in testSetDozing_hidesSystemOverlays() 91 verify(mWindowManager).updateViewLayout(any(), captor.capture()); in testSetDozing_hidesSystemOverlays() 99 mStatusBarWindowController = new StatusBarWindowController(mContext, mWindowManager, in testOnThemeChanged_doesntCrash() 112 mStatusBarWindowController = new StatusBarWindowController(mContext, mWindowManager, in testSetForcePluginOpen_beforeStatusBarInitialization()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerWindowManager.java | 42 private final WindowManager mWindowManager; field in DividerWindowManager 47 mWindowManager = ctx.getSystemService(WindowManager.class); in DividerWindowManager() 63 mWindowManager.addView(view, mLp); in add() 69 mWindowManager.removeView(mView); in remove() 84 mWindowManager.updateViewLayout(mView, mLp); in setSlippery() 98 mWindowManager.updateViewLayout(mView, mLp); in setTouchable()
|
D | Divider.java | 43 private DividerWindowManager mWindowManager; field in Divider 55 mWindowManager = new DividerWindowManager(mContext); in start() 89 mView.injectDependencies(mWindowManager, mDividerState, this); in addDivider() 97 mWindowManager.add(mView, width, height); in addDivider() 104 mWindowManager.remove(); in removeDivider() 160 mWindowManager.setTouchable((mHomeStackResizable || !mMinimized) && !mAdjustedForIme); in updateTouchable()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 43 private WindowManager mWindowManager; field in DecorContext 58 mWindowManager = null; in setPhoneWindow() 64 if (mWindowManager == null) { in getSystemService() 67 mWindowManager = wm.createLocalWindowManager(mPhoneWindow); in getSystemService() 69 return mWindowManager; in getSystemService()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 67 private final IWindowManager mWindowManager = IWindowManager.Stub.asInterface( field in UiAutomationConnection 136 return mWindowManager.injectInputAfterTransactionsApplied(event, mode); in injectInputEvent() 153 mWindowManager.syncInputTransactions(); in syncInputTransactions() 169 mWindowManager.thawRotation(); in setRotation() 171 mWindowManager.freezeRotation(rotation); in setRotation() 213 return mWindowManager.clearWindowContentFrameStats(token); in clearWindowContentFrameStats() 233 return mWindowManager.getWindowContentFrameStats(token); in getWindowContentFrameStats() 479 if (mWindowManager.isRotationFrozen()) { in storeRotationStateLocked() 482 mInitialFrozenRotation = mWindowManager.getDefaultDisplayRotation(); in storeRotationStateLocked() 494 mWindowManager.freezeRotation(mInitialFrozenRotation); in restoreRotationStateLocked() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputConsumerController.java | 83 private final IWindowManager mWindowManager; field in InputConsumerController 95 mWindowManager = windowManager; in InputConsumerController() 150 mWindowManager.destroyInputConsumer(mName, DEFAULT_DISPLAY); in registerInputConsumer() 151 mWindowManager.createInputConsumer(mToken, mName, DEFAULT_DISPLAY, inputChannel); in registerInputConsumer() 169 mWindowManager.destroyInputConsumer(mName, DEFAULT_DISPLAY); in unregisterInputConsumer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 80 private WindowManager mWindowManager; field in ScreenDecorationsTest 100 mWindowManager = mock(WindowManager.class); in setup() 106 when(mWindowManager.getDefaultDisplay()).thenReturn(display); in setup() 107 mContext.addMockSystemService(WindowManager.class, mWindowManager); in setup() 159 verify(mWindowManager, never()).addView(any(), any()); in testNoRounding_NoCutout() 179 verify(mWindowManager, times(2)).addView(any(), any()); in testRounding() 226 verify(mWindowManager, times(2)).addView(any(), any()); in testRoundingMultipleRadius() 251 verify(mWindowManager, times(2)).addView(any(), any()); in testCutout() 270 verify(mWindowManager, times(2)).addView(any(), any()); in testDelayedCutout() 294 verify(mWindowManager, times(2)).addView(any(), any()); in testAssistHandles() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | FloatingRotationButton.java | 42 private final WindowManager mWindowManager; field in FloatingRotationButton 54 mWindowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE); in FloatingRotationButton() 87 switch (mWindowManager.getDefaultDisplay().getRotation()) { in show() 104 mWindowManager.addView(mKeyButtonView, lp); in show() 117 mWindowManager.removeViewImmediate(mKeyButtonView); in hide()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipDismissViewController.java | 49 private WindowManager mWindowManager; field in PipDismissViewController 62 mWindowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in PipDismissViewController() 75 mWindowManager.getDefaultDisplay().getRealSize(mWindowSize); in createDismissTarget() 112 mWindowManager.addView(mDismissView, lp); in createDismissTarget() 173 mWindowManager.removeViewImmediate(mDismissView); in destroyDismissTarget()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DefaultUiController.java | 56 private final WindowManager mWindowManager; field in DefaultUiController 68 mWindowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in DefaultUiController() 154 mWindowManager.addView(mRoot, mLayoutParams); in attach() 161 mWindowManager.removeViewImmediate(mRoot); in detach()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 66 private final IWindowManager mWindowManager; field in CustomTile 80 mWindowManager = WindowManagerGlobal.getWindowManagerService(); in CustomTile() 199 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in onDialogHidden() 221 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in handleSetListening() 240 mWindowManager.removeWindowToken(mToken, DEFAULT_DISPLAY); in handleDestroy() 281 mWindowManager.addWindowToken(mToken, TYPE_QS_DIALOG, DEFAULT_DISPLAY); in handleClick()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 73 private final WindowManager mWindowManager; field in OverlayDisplayWindow 109 mWindowManager = (WindowManager)context.getSystemService( in OverlayDisplayWindow() 112 mDefaultDisplay = mWindowManager.getDefaultDisplay(); in OverlayDisplayWindow() 130 mWindowManager.addView(mWindowContent, mWindowParams); in show() 138 mWindowManager.removeView(mWindowContent); in dismiss() 166 mWindowManager.updateViewLayout(mWindowContent, mWindowParams); in relayout()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 111 @Mock private WindowManagerService mWindowManager; field in LockTaskControllerTest 140 mLockTaskController.setWindowManager(mWindowManager); in setUp() 440 verify(mWindowManager, never()).lockNow(any()); in testClearLockedTasks_noLockSetting_noPassword_deviceIsUnlocked() 460 verify(mWindowManager, times(1)).lockNow(any()); in testClearLockedTasks_noLockSetting_password_deviceIsLocked() 477 verify(mWindowManager, times(1)).lockNow(any()); in testClearLockedTasks_lockSettingTrue_deviceIsLocked() 494 verify(mWindowManager, never()).lockNow(any()); in testClearLockedTasks_lockSettingFalse_doesNotRequirePassword() 641 verify(mWindowManager).disableKeyguard(any(IBinder.class), anyString(), eq(TEST_USER_ID)); in testUpdateLockTaskFeatures_keyguard() 647 verify(mWindowManager).reenableKeyguard(any(IBinder.class), eq(TEST_USER_ID)); in testUpdateLockTaskFeatures_keyguard() 653 verify(mWindowManager, times(2)).disableKeyguard(any(IBinder.class), anyString(), in testUpdateLockTaskFeatures_keyguard() 735 verify(mWindowManager).disableKeyguard(any(IBinder.class), anyString(), eq(TEST_USER_ID)); in verifyLockTaskStarted() [all …]
|
D | RecentsAnimationTest.java | 78 mService.mWindowManager).getRecentsAnimationController(); in setUp() 79 doReturn(true).when(mService.mWindowManager).canStartRecentsAnimation(); in setUp() 229 verify(mService.mWindowManager, times(1)).cancelRecentsAnimationSynchronously( in testSetLaunchTaskBehindOfTargetActivity() 272 verify(mService.mWindowManager, times(1)).cancelRecentsAnimationSynchronously( in testCancelAnimationOnVisibleStackOrderChange() 317 verify(mService.mWindowManager, times(0)).cancelRecentsAnimationSynchronously( in testKeepAnimationOnHiddenStackOrderChange() 369 }).when(mService.mWindowManager).initializeRecentsAnimation( in startRecentsActivity()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarTrustAgentUnlockDialogHelper.java | 48 private final WindowManager mWindowManager; field in CarTrustAgentUnlockDialogHelper 66 mWindowManager = mContext.getSystemService(WindowManager.class); in CarTrustAgentUnlockDialogHelper() 147 mWindowManager.addView(mUnlockDialogLayout, mParams); in showUnlockDialogAfterDelay() 167 mWindowManager.removeView(mUnlockDialogLayout); in hideUnlockDialog()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 87 private final WindowManager mWindowManager; field in ZoomButtonsController 207 mWindowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE); in ZoomButtonsController() 309 mWindowManager.updateViewLayout(mContainer, mContainerLayoutParams); in setFocusable() 373 mWindowManager.addView(mContainer, mContainerLayoutParams); in setVisible() 409 mWindowManager.removeViewImmediate(mContainer); in setVisible() 471 mWindowManager.updateViewLayout(mContainer, mContainerLayoutParams); in refreshPositioningVariables()
|
D | MediaController.java | 82 private WindowManager mWindowManager; field in MediaController 148 mWindowManager = (WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE); in initFloatingWindow() 150 mWindow.setWindowManager(mWindowManager, null, null); in initFloatingWindow() 211 mWindowManager.updateViewLayout(mDecor, mDecorLayoutParams); 384 mWindowManager.addView(mDecor, mDecorLayoutParams); in show() 414 mWindowManager.removeView(mDecor); in hide()
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
D | MainActivity.java | 37 WindowManager mWindowManager; field in MainActivity 59 mWindowManager = (WindowManager)getSystemService(Context.WINDOW_SERVICE); in onCreate() 131 mWindowManager.getDefaultDisplay().getCurrentSizeRange(minDims, maxDims); in updateDimens()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 65 private final WindowManager mWindowManager; field in ScreenPinningRequest 78 mWindowManager = (WindowManager) in ScreenPinningRequest() 86 mWindowManager.removeView(mRequestWindow); in clearPrompt() 107 mWindowManager.addView(mRequestWindow, lp); in showPrompt() 174 mWindowManager.getDefaultDisplay().getMetrics(metrics); in onAttachedToWindow()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AttentionDetector.java | 106 protected WindowManagerInternal mWindowManager; field in AttentionDetector 149 mWindowManager = LocalServices.getService(WindowManagerInternal.class); in systemReady() 176 || mWindowManager.isKeyguardShowingAndNotOccluded()) { in updateUserActivity()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AssistDataRequester.java | 54 private IWindowManager mWindowManager; field in AssistDataRequester 134 mWindowManager = windowManager; in AssistDataRequester() 267 mWindowManager.requestAssistScreenshot(this); in requestData()
|