/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationControllerTest.java | 108 mRootHomeTask = mDefaultDisplay.getDefaultTaskDisplayArea().getRootHomeTask(); in setUp() 114 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testRemovedBeforeStarted_expectCanceled() 133 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testCancelAfterRemove_expectIgnored() 154 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testIncludedApps_expectTargetAndVisible() 155 final ActivityRecord hiddenActivity = createActivityRecord(mDefaultDisplay); in testIncludedApps_expectTargetAndVisible() 157 mDefaultDisplay.getConfiguration().windowConfiguration.setRotation( in testIncludedApps_expectTargetAndVisible() 158 mDefaultDisplay.getRotation()); in testIncludedApps_expectTargetAndVisible() 171 final ActivityRecord activity = createActivityRecord(mDefaultDisplay); in testWallpaperIncluded_expectTarget() 175 mock(IBinder.class), true, mDefaultDisplay, true /* ownerCanManageAppTokens */); in testWallpaperIncluded_expectTarget() 176 spyOn(mDefaultDisplay.mWallpaperController); in testWallpaperIncluded_expectTarget() [all …]
|
D | WindowManagerServiceTests.java | 193 assertThat(windowToken.getDisplayContent()).isEqualTo(mDefaultDisplay); in testMoveWindowTokenToDisplay_DifferentDisplay_DoMoveDisplay() 209 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException() 220 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException() 231 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn() 247 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerValid_DoRegister() 265 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAddWindowWithSubWindowTypeByWindowContext()
|
D | WindowContextListenerControllerTests.java | 80 mDefaultDisplay); in testRegisterWindowContextListener() 111 mDefaultDisplay); in testRegisterWindowContextListenerClientConfigPropagation() 174 .setDisplayContent(mDefaultDisplay) in testWindowContextCreatedWindowTokenRemoved_SwitchToListenToDA()
|
D | InputMethodMenuControllerTest.java | 105 assertImeSwitchContextMetricsValidity(contextOnDefaultDisplay, mDefaultDisplay); in testGetSettingsContext()
|
D | WindowTestsBase.java | 133 DisplayContent mDefaultDisplay; field in WindowTestsBase 187 mDefaultDisplay = mWm.mRoot.getDefaultDisplay(); in setUpBase() 204 mDisplayContent = mDefaultDisplay; in setUpBase() 242 if (!sOverridesCheckedDefaultDisplay && mDisplayContent == mDefaultDisplay) { in checkDeviceSpecificOverridesNotApplied()
|
D | TaskLaunchParamsModifierTests.java | 405 final TaskDisplayArea secondaryDisplayArea = createTaskDisplayArea(mDefaultDisplay, in testOverridesDisplayAreaWithStandardTypeAndFullscreenMode() 421 final TaskDisplayArea secondaryDisplayArea = createTaskDisplayArea(mDefaultDisplay, in testOverridesDisplayAreaWithHomeTypeAndFullscreenMode() 457 final TaskDisplayArea secondaryDisplayArea = createTaskDisplayArea(mDefaultDisplay, in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayArea() 468 mDefaultDisplay.getDefaultTaskDisplayArea().mRemoteToken.toWindowContainerToken()); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayArea() 474 mDefaultDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayArea()
|
D | WindowContainerTests.java | 990 container.onDisplayChanged(mDefaultDisplay); in testRegisterWindowContainerListener() 991 assertEquals(listener.mDisplayContent, mDefaultDisplay); in testRegisterWindowContainerListener()
|
D | DisplayContentTests.java | 1278 final DisplayContent displayContent = mDefaultDisplay; in testHybridRotationAnimation() 1479 final DisplayContent displayContent = mDefaultDisplay; in testFixedRotationWithPip() 1836 assertFalse(mDefaultDisplay.forceDesktopMode()); in testForceDesktopMode()
|
D | ActivityRecordTests.java | 1443 clearInvocations(mDefaultDisplay); in testCompleteFinishing_ensureActivitiesVisible()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardDisplayManagerTest.java | 69 private Display mDefaultDisplay; field in KeyguardDisplayManagerTest 83 mDefaultDisplay = new Display(DisplayManagerGlobal.getInstance(), Display.DEFAULT_DISPLAY, in setUp() 99 when(mDisplayManager.getDisplays()).thenReturn(new Display[]{mDefaultDisplay}); in testShow_defaultDisplayOnly() 107 new Display[]{mDefaultDisplay, mSecondaryDisplay}); in testShow_includeSecondaryDisplay() 115 new Display[]{mDefaultDisplay, mDifferentGroupDisplay}); in testShow_includeNonDefaultGroupDisplay() 124 new Display[]{mDefaultDisplay, mSecondaryDisplay, mDifferentGroupDisplay}); in testShow_includeSecondaryAndNonDefaultGroupDisplays()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 76 private final Display mDefaultDisplay; field in OverlayDisplayWindow 113 mDefaultDisplay = mContext.getDisplay(); in OverlayDisplayWindow() 188 if (!mDefaultDisplay.getDisplayInfo(mDefaultDisplayInfo)) { in updateDefaultDisplayInfo() 298 if (displayId == mDefaultDisplay.getDisplayId()) { 310 if (displayId == mDefaultDisplay.getDisplayId()) {
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | DividerView.java | 124 private final Display mDefaultDisplay; field in DividerView 281 mDefaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in DividerView() 830 if (mSplitLayout.mDisplayLayout.rotation() != mDefaultDisplay.getRotation()) { in setMinimizedDockStack()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootWindowContainer.java | 257 private DisplayContent mDefaultDisplay; field in RootWindowContainer 1364 mDefaultDisplay = displayContent; in setWindowManager() 1377 return mDefaultDisplay; in getDefaultDisplay() 1387 return mDefaultDisplay.getDefaultTaskDisplayArea(); in getDefaultTaskDisplayArea()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 537 Display mDefaultDisplay; field in PhoneWindowManager 929 final boolean interactive = Display.isOnState(mDefaultDisplay.getState()); in powerPress() 1593 mDefaultDisplay = displayContentInfo.getDisplay(); in setDefaultDisplay() 3493 final boolean isDefaultDisplayOn = Display.isOnState(mDefaultDisplay.getState()); in interceptKeyBeforeQueueing() 3993 ? mDefaultDisplay in shouldDispatchInputWhenNonInteractive()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 3387 private final Display mDefaultDisplay; field in AccessibilityManagerService.InteractionBridge 3420 mDefaultDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in InteractionBridge() 3480 mDefaultDisplay.getRealSize(screenSize); in getAccessibilityFocusClickPointInScreenNotLocked()
|