/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 25 import static com.android.server.wm.DisplayContent.FORCE_SCALING_MODE_AUTO; 26 import static com.android.server.wm.DisplayContent.FORCE_SCALING_MODE_DISABLED; 40 import com.android.server.wm.DisplayContent.ForceScalingMode; 60 void setUserRotation(@NonNull DisplayContent displayContent, in setUserRotation() 71 void setForcedSize(@NonNull DisplayContent displayContent, int width, int height) { in setForcedSize() 99 void setForcedScalingMode(@NonNull DisplayContent displayContent, @ForceScalingMode int mode) { in setForcedScalingMode() 112 void setFixedToUserRotation(@NonNull DisplayContent displayContent, int fixedToUserRotation) { in setFixedToUserRotation() 120 void setIgnoreOrientationRequest(@NonNull DisplayContent displayContent, in setIgnoreOrientationRequest() 131 @NonNull DisplayContent dc) { in getWindowingModeLocked() 150 int getWindowingModeLocked(@NonNull DisplayContent dc) { in getWindowingModeLocked() [all …]
|
D | DisplayWindowListenerController.java | 57 void dispatchDisplayAdded(DisplayContent display) { in dispatchDisplayAdded() 68 void dispatchDisplayChanged(DisplayContent display, Configuration newConfig) { in dispatchDisplayChanged() 90 void dispatchDisplayRemoved(DisplayContent display) { in dispatchDisplayRemoved() 101 void dispatchFixedRotationStarted(DisplayContent display, int newRotation) { in dispatchFixedRotationStarted() 113 void dispatchFixedRotationFinished(DisplayContent display) { in dispatchFixedRotationFinished() 124 void dispatchKeepClearAreasChanged(DisplayContent display, Set<Rect> restricted, in dispatchKeepClearAreasChanged()
|
D | RootWindowContainer.java | 170 class RootWindowContainer extends WindowContainer<DisplayContent> 251 private DisplayContent mDefaultDisplay; 467 final DisplayContent dc = mChildren.get(i); in updateFocusedWindowLocked() 498 DisplayContent getTopFocusedDisplayContent() { in getTopFocusedDisplayContent() 499 final DisplayContent dc = getDisplayContent(mTopFocusedDisplayId); in getTopFocusedDisplayContent() 527 final DisplayContent displayContent = mChildren.get(displayNdx); in onSettingsRetrieved() 551 final DisplayContent displayContent = mChildren.get(displayNdx); in isLayoutNeeded() 586 final DisplayContent dc = mChildren.get(i); in getWindowToken() 596 DisplayContent getWindowTokenDisplay(WindowToken token) { in getWindowTokenDisplay() 602 final DisplayContent dc = mChildren.get(i); in getWindowTokenDisplay() [all …]
|
D | DisplayRotationImmersiveAppCompatPolicy.java | 45 @NonNull final DisplayContent displayContent) { in createIfNeeded() 57 private final DisplayContent mDisplayContent; 62 @NonNull final DisplayContent displayContent) { in DisplayRotationImmersiveAppCompatPolicy()
|
D | ImmediateDisplayUpdater.java | 28 private final DisplayContent mDisplayContent; 31 public ImmediateDisplayUpdater(@NonNull DisplayContent displayContent) { in ImmediateDisplayUpdater()
|
D | TaskPositioningController.java | 41 private DisplayContent mPositioningDisplay; 76 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in showInputSurface() 135 void handleTapOutsideTask(DisplayContent displayContent, int x, int y) { in handleTapOutsideTask() 184 final DisplayContent displayContent = win.getDisplayContent(); in startPositioningLocked()
|
D | WindowManagerService.java | 121 import static com.android.server.wm.DisplayContent.IME_TARGET_CONTROL; 122 import static com.android.server.wm.DisplayContent.IME_TARGET_LAYERING; 1450 DisplayContent dc = mRoot.getDisplayContent(displayId); in WindowManagerService() 1554 final DisplayContent displayContent = getDisplayContentOrCreate(displayId, attrs.token); in addWindow() 2009 private DisplayContent getDisplayContentOrCreate(int displayId, IBinder token) { in getDisplayContentOrCreate() 2084 final DisplayContent dc = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 2098 final DisplayContent displayContent = win.getDisplayContent(); in postWindowRemoveCleanupLocked() 2344 final DisplayContent displayContent = win.getDisplayContent(); in relayoutWindowInner() 2899 final DisplayContent dc = getDisplayContentOrCreate(displayId, null /* token */); in addWindowToken() 2947 final DisplayContent dc = mRoot.getDisplayContentOrCreate(displayId); in attachWindowContextToDisplayArea() [all …]
|
D | PhysicalDisplaySwitchTransitionLauncher.java | 44 private final DisplayContent mDisplayContent; 60 public PhysicalDisplaySwitchTransitionLauncher(DisplayContent displayContent, in PhysicalDisplaySwitchTransitionLauncher() 67 public PhysicalDisplaySwitchTransitionLauncher(DisplayContent displayContent, in PhysicalDisplaySwitchTransitionLauncher()
|
D | ContentRecordingController.java | 42 private DisplayContent mDisplayContent = null; 102 DisplayContent incomingDisplayContent = null; in setContentRecordingSessionLocked()
|
D | DisplayRotationReversionController.java | 57 private final DisplayContent mDisplayContent; 59 DisplayRotationReversionController(DisplayContent content) { in DisplayRotationReversionController()
|
D | DisplayAreaPolicy.java | 107 DisplayContent content, RootDisplayArea root, in instantiate() 130 WindowManagerService wmService, DisplayContent content) { in configureTrustedHierarchyBuilder() 185 DisplayAreaPolicy instantiate(WindowManagerService wmService, DisplayContent content, in instantiate()
|
D | KeyguardController.java | 175 final DisplayContent dc = mRootWindowContainer.getDisplayContent(displayId); in setKeyguardShown() 239 final DisplayContent transitionDc = Flags.keyguardAppearTransition() in setKeyguardShown() 295 final DisplayContent dc = mRootWindowContainer.getDefaultDisplay(); in keyguardGoingAway() 412 final DisplayContent display = mRootWindowContainer.getChildAt(displayNdx); in updateVisibility() 484 private void handleKeyguardGoingAwayChanged(DisplayContent dc) { in handleKeyguardGoingAwayChanged() 517 final DisplayContent dc = mRootWindowContainer.getDefaultDisplay(); in handleDismissKeyguard() 543 final DisplayContent display = mRootWindowContainer.getChildAt(displayNdx); in updateKeyguardSleepToken() 654 void updateVisibility(KeyguardController controller, DisplayContent display) { in updateVisibility() 748 private Task getRootTaskForControllingOccluding(DisplayContent display) { in getRootTaskForControllingOccluding()
|
D | WindowContainerListener.java | 26 default void onDisplayChanged(DisplayContent dc) {} in onDisplayChanged()
|
D | InputManagerCallback.java | 121 mService.mRoot.forAllDisplays(DisplayContent::sendNewConfiguration); in notifyConfigurationChanged() 216 final DisplayContent displayContent = mService.mRoot.mChildren.get(i); in getPointerDisplayId() 258 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in getParentSurfaceForPointers() 272 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in createSurfaceForGestureMonitor()
|
D | NonAppWindowAnimationAdapter.java | 68 DisplayContent displayContent, @WindowManager.TransitionOldType int transit, in startNonAppWindowAnimations() 90 DisplayContent displayContent, @WindowManager.TransitionOldType int transit) { in shouldAttachNavBarToApp() 129 private static void startNavigationBarWindowAnimation(DisplayContent displayContent, in startNavigationBarWindowAnimation()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WallpaperControllerTests.java | 94 final DisplayContent dc = createNewDisplay(); in testWallpaperScreenshot() 118 final DisplayContent dc = mDisplayContent; in testWallpaperSizeWithFixedTransform() 172 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom() 203 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_shouldNotScaleWallpaper() 236 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperZoom_multipleCallers() 277 final DisplayContent dc = mDisplayContent; in testUpdateWallpaperTarget() 345 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperTokenWindowingMode() 421 final DisplayContent dc = mWm.mRoot.getDefaultDisplay(); in testWallpaperTokenVisibility() 458 private static void prepareSmallerSecondDisplay(DisplayContent dc, int width, int height) { in prepareSmallerSecondDisplay() 469 private static void resizeDisplayAndWallpaper(DisplayContent dc, WindowState wallpaperWindow, in resizeDisplayAndWallpaper() [all …]
|
D | DisplayContentTests.java | 81 import static com.android.server.wm.DisplayContent.IME_TARGET_LAYERING; 460 final DisplayContent dc = createNewDisplay(); in testMoveRootTaskBetweenDisplays() 486 DisplayContent defaultDisplay = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate() 538 final DisplayContent dc = createNewDisplay(); in doTestFocusedWindowMultipleDisplays() 573 final DisplayContent defaultDisplay = mWm.getDefaultDisplayContentLocked(); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() 594 final DisplayContent secondaryDisplay = createNewDisplay(); in testShouldWaitForSystemDecorWindowsOnBoot_OnSecondaryDisplay() 629 final DisplayContent dc = mDisplayContent; in testImeIsAttachedToDisplayForLetterboxedApp() 648 private WindowState[] createNotDrawnWindowsOn(DisplayContent displayContent, int... types) { in createNotDrawnWindowsOn() 672 final DisplayContent displayContent = createDisplayNoUpdateDisplayInfo(); in testMaxUiWidth() 718 final DisplayContent displayContent = createDisplayNoUpdateDisplayInfo(); in testSetForcedSize() [all …]
|
D | AppTransitionTests.java | 93 private DisplayContent mDc; 103 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testKeyguardOverride() 119 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testKeyguardUnoccludeOcclude() 135 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testKeyguardKeep() 150 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testCrashing() 165 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testKeepKeyguard_withCrashing() 180 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testSkipTransitionAnimation() 282 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testAppTransitionStateForMultiDisplay() 283 final DisplayContent dc2 = createNewDisplay(Display.STATE_ON); in testAppTransitionStateForMultiDisplay() 311 final DisplayContent dc1 = createNewDisplay(Display.STATE_ON); in testCleanAppTransitionWhenRootTaskReparent() [all …]
|
D | WindowTestsBase.java | 169 DisplayContent mDefaultDisplay; 178 DisplayContent mDisplayContent; 493 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() 504 private WindowToken createWallpaperToken(DisplayContent dc) { in createWallpaperToken() 509 WindowState createNavBarWithProvidedInsets(DisplayContent dc) { in createNavBarWithProvidedInsets() 520 WindowState createStatusBarWithProvidedInsets(DisplayContent dc) { in createStatusBarWithProvidedInsets() 593 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() 614 int type, DisplayContent dc, String name) { in createWindow() 619 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name) { in createWindow() 624 WindowState createWindow(WindowState parent, int type, DisplayContent dc, String name, in createWindow() [all …]
|
D | TaskPositioningControllerTests.java | 115 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideTask() 139 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideNonResizableTask()
|
D | DisplayAreaPolicyTests.java | 110 final DisplayContent displayContent = mock(DisplayContent.class); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition() 178 final DisplayContent displayContent = mock(DisplayContent.class); in testTaskDisplayAreasCanHostHomeTask() 232 final DisplayContent displayContent = mock(DisplayContent.class); in createPolicyWith2TaskDisplayAreas()
|
D | DisplayWindowSettingsTests.java | 80 private DisplayContent mPrimaryDisplay; 81 private DisplayContent mSecondaryDisplay; 82 private DisplayContent mPrivateDisplay; 254 DisplayContent.FORCE_SCALING_MODE_DISABLED); in testSetForcedScalingMode() 260 DisplayContent.FORCE_SCALING_MODE_AUTO); in testSetForcedScalingMode() 425 final DisplayContent dc = createMockSimulatedDisplay(); in testShouldShowImeOnDisplayWithinForceDesktopMode() 442 final DisplayContent dc = createMockSimulatedDisplay(); in testDisplayWindowSettingsAppliedOnDisplayReady() 477 final DisplayContent dcDontIgnoreOrientation = createMockSimulatedDisplay(settingsEntry1); in testDisplayRotationSettingsAppliedOnCreation() 480 final DisplayContent dcIgnoreOrientation = createMockSimulatedDisplay(settingsEntry2); in testDisplayRotationSettingsAppliedOnCreation()
|
D | DisplayRotationReversionControllerTests.java | 44 private DisplayContent mDisplayContent; 50 mDisplayContent = mock(DisplayContent.class); in setUp()
|
D | RunningTasksTest.java | 69 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testTaskInfo_expectNoExtrasByDefault() 94 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testTaskInfo_expectExtrasWithKeepExtraFlag() 121 final DisplayContent display = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testGetTasksSortByFocusAndVisibility() 188 final DisplayContent display0 = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testMultipleDisplays() 189 final DisplayContent display1 = new TestDisplayContent.Builder(mAtm, 1000, 2500).build(); in testMultipleDisplays()
|
D | WindowManagerSettingsTests.java | 153 ArgumentCaptor<DisplayContent> captor = in testChangeBaseDisplaySettingsPath() 154 ArgumentCaptor.forClass(DisplayContent.class); in testChangeBaseDisplaySettingsPath() 157 List<DisplayContent> configuredDisplays = captor.getAllValues(); in testChangeBaseDisplaySettingsPath() 158 for (DisplayContent dc : mWm.mRoot.mChildren) { in testChangeBaseDisplaySettingsPath()
|