Home
last modified time | relevance | path

Searched refs:DisplayContent (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java25 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 …]
DDisplayWindowListenerController.java57 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()
DRootWindowContainer.java170 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 …]
DDisplayRotationImmersiveAppCompatPolicy.java45 @NonNull final DisplayContent displayContent) { in createIfNeeded()
57 private final DisplayContent mDisplayContent;
62 @NonNull final DisplayContent displayContent) { in DisplayRotationImmersiveAppCompatPolicy()
DImmediateDisplayUpdater.java28 private final DisplayContent mDisplayContent;
31 public ImmediateDisplayUpdater(@NonNull DisplayContent displayContent) { in ImmediateDisplayUpdater()
DTaskPositioningController.java41 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()
DWindowManagerService.java121 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 …]
DPhysicalDisplaySwitchTransitionLauncher.java44 private final DisplayContent mDisplayContent;
60 public PhysicalDisplaySwitchTransitionLauncher(DisplayContent displayContent, in PhysicalDisplaySwitchTransitionLauncher()
67 public PhysicalDisplaySwitchTransitionLauncher(DisplayContent displayContent, in PhysicalDisplaySwitchTransitionLauncher()
DContentRecordingController.java42 private DisplayContent mDisplayContent = null;
102 DisplayContent incomingDisplayContent = null; in setContentRecordingSessionLocked()
DDisplayRotationReversionController.java57 private final DisplayContent mDisplayContent;
59 DisplayRotationReversionController(DisplayContent content) { in DisplayRotationReversionController()
DDisplayAreaPolicy.java107 DisplayContent content, RootDisplayArea root, in instantiate()
130 WindowManagerService wmService, DisplayContent content) { in configureTrustedHierarchyBuilder()
185 DisplayAreaPolicy instantiate(WindowManagerService wmService, DisplayContent content, in instantiate()
DKeyguardController.java175 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()
DWindowContainerListener.java26 default void onDisplayChanged(DisplayContent dc) {} in onDisplayChanged()
DInputManagerCallback.java121 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()
DNonAppWindowAnimationAdapter.java68 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/
DWallpaperControllerTests.java94 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 …]
DDisplayContentTests.java81 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 …]
DAppTransitionTests.java93 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 …]
DWindowTestsBase.java169 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 …]
DTaskPositioningControllerTests.java115 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideTask()
139 final DisplayContent content = mock(DisplayContent.class); in testHandleTapOutsideNonResizableTask()
DDisplayAreaPolicyTests.java110 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()
DDisplayWindowSettingsTests.java80 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()
DDisplayRotationReversionControllerTests.java44 private DisplayContent mDisplayContent;
50 mDisplayContent = mock(DisplayContent.class); in setUp()
DRunningTasksTest.java69 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()
DWindowManagerSettingsTests.java153 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()

1234567