/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 1673 if (win.getDisplayContent() == null) { in addWindow() 1934 return wToken.getDisplayContent(); in getDisplayContentOrCreate() 1985 final DisplayContent dc = activity.getDisplayContent(); in prepareWindowReplacementTransition() 1999 final DisplayContent dc = activity.getDisplayContent(); in prepareNoneTransitionForRelaunching() 2048 final DisplayContent dc = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 2063 final DisplayContent displayContent = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 2168 uid, w.getDisplayContent().getDisplayId()); in setInsetsWindow() 2226 final DisplayContent displayContent = win.getDisplayContent(); in relayoutWindow() 2272 uid, win.getDisplayContent().getDisplayId()); in relayoutWindow() 2539 win.getDisplayContent().getInsetsStateController().getControlsForDispatch(win); in getInsetsSourceControls() [all …]
|
D | WindowState.java | 952 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in seamlesslyRotateIfAllowed() 971 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in finishSeamlessRotation() 1220 getDisplayContent().reapplyMagnificationSpec(); in onParentChanged() 1287 final DisplayContent dc = getDisplayContent(); in computeFrame() 1515 if (!mHasSurface || getDisplayContent().mLayoutSeq != mLayoutSeq || isGoneForLayout()) { in updateResizingWindowIfNeeded() 1632 DisplayContent getDisplayContent() { in getDisplayContent() method in WindowState 1633 return mToken.getDisplayContent(); in getDisplayContent() 1665 return getDisplayContent().getDisplayInfo(); in getDisplayInfo() 1673 return getDisplayContent().getInsetsPolicy().getInsetsForWindow(this); in getInsetsState() 1707 final DisplayContent displayContent = getDisplayContent(); in getDisplayId() [all …]
|
D | WindowAnimator.java | 155 final DisplayContent dc = root.getDisplayContent(displayId); in animate() 164 final DisplayContent dc = root.getDisplayContent(displayId); in animate() 254 mService.mRoot.getDisplayContent(mDisplayContentsAnimators.keyAt(i)); in dumpLocked() 282 if (displayAnimator == null && mService.mRoot.getDisplayContent(displayId) != null) { in getDisplayContentsAnimatorLocked()
|
D | TaskSnapshotController.java | 309 builder.setRotation(activity.getTask().getDisplayContent().getRotation()); 384 final WindowState imeWindow = task.getDisplayContent().mInputMethodWindow; 425 final WindowState imeWindow = task.getDisplayContent().mInputMethodWindow; 428 && !task.getDisplayContent().shouldImeAttachedToApp(); 430 task.getDisplayContent().getDisplayPolicy().getNavigationBar(); 650 final DisplayContent displayContent = mService.mRoot.getDisplayContent(displayId);
|
D | WindowContainer.java | 364 final DisplayContent prevDc = oldParent.getDisplayContent(); in reparent() 365 final DisplayContent dc = newParent.getDisplayContent(); in reparent() 378 getDisplayContent().layoutAndAssignWindowLayersIfNeeded(); in reparent() 616 final DisplayContent dc = getDisplayContent(); in removeImmediately() 835 DisplayContent getDisplayContent() { in getDisplayContent() method in WindowContainer 2479 final DisplayContent displayContent = getDisplayContent(); in getPendingTransaction() 2627 final int appRootTaskClipMode = getDisplayContent().mAppTransition.getAppRootTaskClipMode(); in getAnimationAdapter() 2636 getDisplayContent().mAppTransition.getRemoteAnimationController(); in getAnimationAdapter() 2650 final DisplayInfo displayInfo = getDisplayContent().getDisplayInfo(); in getAnimationAdapter() 2666 mTransitFlags = getDisplayContent().mAppTransition.getTransitFlags(); in getAnimationAdapter() [all …]
|
D | WindowStateAnimator.java | 189 mWallpaperControllerLocked = win.getDisplayContent().mWallpaperController; in WindowStateAnimator() 200 final DisplayContent displayContent = mWin.getDisplayContent(); in onAnimationFinished() 559 final DisplayContent displayContent = w.getDisplayContent(); in prepareSurfaceLocked() 710 mWin.getDisplayContent().adjustForImeIfNeeded(); in applyAnimationLocked() 720 int anim = mWin.getDisplayContent().getDisplayPolicy().selectAnimation(mWin, transit); in applyAnimationLocked() 745 a = mWin.getDisplayContent().mAppTransition.loadAnimationAttr( in applyAnimationLocked() 768 mWin.getDisplayContent().adjustForImeIfNeeded(); in applyAnimationLocked()
|
D | RootWindowContainer.java | 495 final DisplayContent dc = getDisplayContent(mTopFocusedDisplayId); in getTopFocusedDisplayContent() 496 return dc != null ? dc : getDisplayContent(DEFAULT_DISPLAY); in getTopFocusedDisplayContent() 919 final DisplayContent displayContent = win.getDisplayContent(); in performSurfacePlacementNoTrace() 986 final DisplayContent displayContent = w.getDisplayContent(); in performSurfacePlacementNoTrace() 1083 if (win.mAppFreezing || win.getDisplayContent().mWaitingForConfig) { in handleResizingWindows() 1137 final DisplayContent displayContent = w.getDisplayContent(); in handleNotObscuredLocked() 1348 return getDisplayContent(displayId) != null in getDisplayUiContext() 1349 ? getDisplayContent(displayId).getDisplayUiContext() : null; in getDisplayUiContext() 1397 DisplayContent getDisplayContent(String uniqueId) { in getDisplayContent() method in RootWindowContainer 1410 DisplayContent getDisplayContent(int displayId) { in getDisplayContent() method in RootWindowContainer [all …]
|
D | InputConsumerImpl.java | 85 …mInputSurface = mService.makeSurfaceBuilder(mService.mRoot.getDisplayContent(displayId).getSession… in InputConsumerImpl() 162 final DisplayContent dc = mService.mRoot.getDisplayContent(mWindowHandle.displayId); in binderDied()
|
D | TaskPositioningController.java | 85 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in showInputSurface() 171 final DisplayContent displayContent = win.getDisplayContent(); in startPositioningLocked()
|
D | WindowContainerThumbnail.java | 119 mWindowContainer.getDisplayContent().mAppTransition.canSkipFirstFrame(), in startAnimation() 120 mWindowContainer.getDisplayContent().getWindowCornerRadius()), in startAnimation()
|
D | SplashScreenStartingData.java | 59 activity.getDisplayContent().getDisplayId()); in createStartingSurface()
|
D | ActivityRecord.java | 1338 if (getDisplayContent() != null) { in onParentChanged() 1339 getDisplayContent().mClosingApps.remove(this); in onParentChanged() 1880 && getDisplayContent().mWallpaperController.getWallpaperTarget() != null) { in validateStartingWindowTheme() 1903 if (windowShowWallpaper && getDisplayContent().mWallpaperController in applyStartingWindowTheme() 2317 final DisplayContent dc = mWmService.mRoot.getDisplayContent(getDisplayId()); in removeAppTokenFromDisplay() 2792 && getDisplayContent().mFocusedApp == this) { in moveFocusableActivityToTop() 3580 getDisplayContent().mOpeningApps.remove(this); in onRemovedFromDisplay() 3581 getDisplayContent().mUnknownAppVisibilityController.appRemovedOrHidden(this); in onRemovedFromDisplay() 3595 if (getDisplayContent().mClosingApps.contains(this)) { in onRemovedFromDisplay() 3597 } else if (getDisplayContent().mAppTransition.isTransitionSet()) { in onRemovedFromDisplay() [all …]
|
D | WindowContextListenerController.java | 254 final int displayId = mContainer.getDisplayContent().getDisplayId(); in reportConfigToWindowTokenClient() 282 .getDisplayContent(mLastReportedDisplay); in onRemoved()
|
D | UnknownAppVisibilityController.java | 139 activity.getDisplayContent().getDisplayId()); in notifyRelayouted()
|
D | Transition.java | 185 wc.getDisplayContent().mWallpaperController.getTopVisibleWallpaper(); in collect() 253 displays.add(target.getDisplayContent()); in buildFinishTransaction() 327 mController.mAtm.mRootWindowContainer.getDisplayContent(displayId) in onTransactionReady() 400 mController.mAtm.mRootWindowContainer.getDisplayContent(displayId); in handleNonAppWindowsInTransition()
|
D | EnsureActivitiesVisibleHelper.java | 103 mTask.getDisplayContent().mWallpaperController.adjustWallpaperWindows(); in process()
|
D | RecentsAnimation.java | 144 if (targetActivity.getDisplayContent() != null) { in preloadRecentsActivity() 145 targetActivity.getDisplayContent().mUnknownAppVisibilityController in preloadRecentsActivity()
|
D | WallpaperAnimationAdapter.java | 73 if (!wallpaperWindow.getDisplayContent().mWallpaperController.isWallpaperVisible()) { in startWallpaperAnimations()
|
D | Session.java | 489 action.accept(windowState.getDisplayContent().mWallpaperController, windowState); in actionOnWallpaper() 558 return windowState.getDisplayContent().mWallpaperController in sendWallpaperCommand() 633 windowState.getDisplayContent().getInsetsPolicy().onInsetsModified(windowState); in insetsModified() 789 if (surfaceController.mAnimator.mWin.getDisplayContent() == displayContent) { in hasAlertWindowSurfaces()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | FrameRateSelectionPriorityTests.java | 110 assertEquals(appWindow.getDisplayContent().getDisplayPolicy().getRefreshRatePolicy() in testApplicationInFocusWithoutModeId() 113 assertEquals(appWindow.getDisplayContent().getDisplayPolicy().getRefreshRatePolicy() in testApplicationInFocusWithoutModeId() 234 when(appWindow.getDisplayContent().getDisplayPolicy()).thenReturn(mDisplayPolicy); in testDenyListPreferredRefreshRate() 289 when(appWindow.getDisplayContent().getDisplayPolicy()).thenReturn(mDisplayPolicy); in testAppPreferredRefreshRate()
|
D | TaskTests.java | 193 assertEquals(mDisplayContent, rootTask1.getDisplayContent()); in testReparent_BetweenDisplays() 493 assertNotNull(mRootWindowContainer.getDisplayContent(display.mDisplayId)); in testFullscreenBoundsForcedOrientation() 563 assertNotNull(mRootWindowContainer.getDisplayContent(display.mDisplayId)); in testReportsOrientationRequestInLetterboxForOrientation() 1190 task.getDisplayContent().setDisplayWindowingMode(WINDOWING_MODE_FREEFORM); in testSaveLaunchingStateWhenConfigurationChanged() 1196 verify(persister).saveTask(task, task.getDisplayContent()); in testSaveLaunchingStateWhenConfigurationChanged() 1206 task.getDisplayContent().setWindowingMode(WindowConfiguration.WINDOWING_MODE_FREEFORM); in testSaveLaunchingStateWhenClearingParent() 1208 final DisplayContent oldDisplay = task.getDisplayContent(); in testSaveLaunchingStateWhenClearingParent() 1246 task.getDisplayContent().setDisplayWindowingMode(WINDOWING_MODE_FREEFORM); in testNotSaveLaunchingStateWhenNotFullscreenOrFreeformWindow() 1262 task.getDisplayContent().setDisplayWindowingMode(WINDOWING_MODE_FREEFORM); in testNotSaveLaunchingStateForNonLeafTask() 1336 final DisplayContent display = task.getDisplayContent(); in testTaskOrientationOnDisplayWindowingModeChange()
|
D | TaskSnapshotControllerTest.java | 196 when(task.getDisplayContent().shouldImeAttachedToApp()).thenReturn(false); in testCreateTaskSnapshotWithExcludingIme() 216 when(task.getDisplayContent().shouldImeAttachedToApp()).thenReturn(true); in testCreateTaskSnapshotWithIncludingIme()
|
D | InputMethodMenuControllerTest.java | 81 DisplayContent dc = mWm.mRoot.getDisplayContent(displayId); in setUp()
|
D | DisplayContentTests.java | 389 assertEquals(dc.getDisplayId(), rootTask.getDisplayContent().getDisplayId()); in testMoveRootTaskBetweenDisplays() 390 assertEquals(dc, rootTask.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 395 assertEquals(dc, task.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 396 assertEquals(dc, activity.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 400 assertEquals(mDisplayContent.getDisplayId(), rootTask.getDisplayContent().getDisplayId()); in testMoveRootTaskBetweenDisplays() 401 assertEquals(mDisplayContent, rootTask.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 402 assertEquals(mDisplayContent, task.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 403 assertEquals(mDisplayContent, activity.getDisplayContent()); in testMoveRootTaskBetweenDisplays() 430 DisplayContent defaultDisplay = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate() 539 window1.getDisplayContent().setFocusedApp(window1.mActivityRecord); in doTestFocusedWindowMultipleDisplays() [all …]
|
/frameworks/opt/car/services/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierTest.java | 185 when(mActivityRecordSource.getDisplayContent()).thenReturn(defaultDc); in setUp() 528 when(mActivityRecordSource.getDisplayContent()).thenReturn(dc); in testEmbeddedActivityCanLaunchOnVirtualDisplay() 540 when(mActivityRecordSource.getDisplayContent()).thenReturn(dc); in testNonEmbeddedActivityWithExistingTaskDoesNotChangeDisplay() 551 when(mActivityRecordSource.getDisplayContent()).thenReturn(dc); in testNonEmbeddedActivityWithNewTaskMoviesToDefaultDisplay()
|