/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 40 assertEquals(systemContext.getDisplay().getDisplayId(), systemContext.getDisplayId()); in testDisplayIdForSystemContext() 48 assertEquals(testContext.getDisplay().getDisplayId(), testContext.getDisplayId()); in testDisplayIdForTestContext() 59 assertEquals(defaultDisplayContext.getDisplay().getDisplayId(), in testDisplayIdForDefaultDisplayContext() 60 defaultDisplayContext.getDisplayId()); in testDisplayIdForDefaultDisplayContext()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowProcessControllerTests.java | 62 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener() 68 assertEquals(testActivityDisplay1.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 75 assertEquals(testActivityDisplay2.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 80 assertEquals(testActivityDisplay2.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 86 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener() 90 assertEquals(testActivityDisplay1.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 93 assertEquals(INVALID_DISPLAY, mWpc.getDisplayId()); in testDisplayConfigurationListener()
|
D | DisplayContentTests.java | 238 assertEquals(dc.getDisplayId(), stack.getDisplayContent().getDisplayId()); in testMoveStackBetweenDisplays() 251 assertEquals(mDisplayContent.getDisplayId(), stack.getDisplayContent().getDisplayId()); in testMoveStackBetweenDisplays() 396 assertEquals(window1.getDisplayId(), in doTestFocusedWindowMultipleDisplays() 397 mWm.mRoot.getTopFocusedDisplayContent().getDisplayId()); in doTestFocusedWindowMultipleDisplays() 587 mWm.dontOverrideDisplayInfo(dc.getDisplayId()); in testDisableDisplayInfoOverrideFromWindowManager() 591 .setDisplayInfoOverrideFromWindowManager(dc.getDisplayId(), null); in testDisableDisplayInfoOverrideFromWindowManager() 613 assertFalse(isOptionsPanelAtRight(portraitDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 615 assertTrue(isOptionsPanelAtRight(portraitDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 622 assertTrue(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 624 assertFalse(isOptionsPanelAtRight(landscapeDisplay.getDisplayId())); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() [all …]
|
D | DisplayWindowSettingsTests.java | 106 assertNotEquals(Display.DEFAULT_DISPLAY, mSecondaryDisplay.getDisplayId()); in setUp() 111 assertNotEquals(Display.DEFAULT_DISPLAY, mPrivateDisplay.getDisplayId()); in setUp() 112 assertNotEquals(mSecondaryDisplay.getDisplayId(), mPrivateDisplay.getDisplayId()); in setUp() 249 mWm.clearForcedDisplaySize(mSecondaryDisplay.getDisplayId()); in testSetForcedSize() 261 mWm.clearForcedDisplayDensityForUser(mSecondaryDisplay.getDisplayId(), 0 /* userId */); in testSetForcedDensity() 273 mWm.setForcedDisplayScalingMode(mSecondaryDisplay.getDisplayId(), in testSetForcedScalingMode() 603 assertTrue(wmInternal.shouldShowIme(dc.getDisplayId())); in testShouldShowImeWithinForceDesktopMode()
|
/frameworks/base/core/java/android/app/ |
D | ActivityView.java | 292 options.setLaunchDisplayId(mVirtualDisplay.getDisplay().getDisplayId()); in startActivity() 312 options.setLaunchDisplayId(mVirtualDisplay.getDisplay().getDisplayId()); in prepareActivityOptions() 344 final int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in clearActivityViewGeometryForIme() 396 final int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in updateLocationAndTapExcludeRegion() 482 return mVirtualDisplay.getDisplay().getDisplayId(); in getVirtualDisplayId() 495 final int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in performBackPress() 532 final int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in initVirtualDisplay() 645 wm.setForwardedInsets(mVirtualDisplay.getDisplay().getDisplayId(), mForwardedInsets); in setForwardedInsets() 665 || taskInfo.displayId != mVirtualDisplay.getDisplay().getDisplayId()) { in onTaskDescriptionChanged() 685 || taskInfo.displayId != mVirtualDisplay.getDisplay().getDisplayId()) { in onTaskMovedToFront() [all …]
|
D | Presentation.java | 348 if (displayId == mDisplay.getDisplayId()) { 355 if (displayId == mDisplay.getDisplayId()) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 59 assertEquals(INVALID_DISPLAY, keyEvent.getDisplayId()); in testObtain() 78 assertEquals(keyEvent.getDisplayId(), keyEvent2.getDisplayId()); in testObtainFromKeyEvent() 97 assertEquals(displayId, keyEvent.getDisplayId()); in testObtainWithDisplayId()
|
D | MotionEventTest.java | 64 assertEquals(displayId, motionEvent_Single.getDisplayId()); in testObtainWithDisplayId() 65 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId() 69 assertEquals(displayId, motionEvent.getDisplayId()); in testObtainWithDisplayId()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerShellCommand.java | 91 private int getDisplayId(String opt) { in getDisplayId() method in WindowManagerShellCommand 127 final int displayId = getDisplayId(size); in runDisplaySize() 179 final int displayId = getDisplayId(densityStr); in runDisplayDensity() 249 final int displayId = getDisplayId(overscanStr); in runDisplayOverscan() 273 mInterface.setForcedDisplayScalingMode(getDisplayId(scalingStr), in runDisplayScaling() 276 mInterface.setForcedDisplayScalingMode(getDisplayId(scalingStr), in runDisplayScaling()
|
D | InputManagerCallback.java | 222 return displayContent.getDisplayId(); in getPointerDisplayId() 226 && displayContent.getDisplayId() != DEFAULT_DISPLAY) { in getPointerDisplayId() 227 firstExternalDisplayId = displayContent.getDisplayId(); in getPointerDisplayId()
|
D | RootWindowContainer.java | 181 topFocusedDisplayId = dc.getDisplayId(); in updateFocusedWindowLocked() 187 topFocusedDisplayId = dc.getDisplayId(); in updateFocusedWindowLocked() 217 if (current.getDisplayId() == displayId) { in getDisplayContent() 225 final int displayId = display.getDisplayId(); in createDisplayContent() 277 displayContent.getDisplayId()); in onSettingsRetrieved() 390 if (displayContent.getDisplayId() == DEFAULT_DISPLAY) { in setDisplayOverrideConfigurationIfNeeded() 477 final int pendingChanges = animator.getPendingLayoutChanges(dc.getDisplayId()); in hasPendingLayoutChanges() 1016 pw.print(displayContent.getDisplayId()); in dumpLayoutNeededDisplayIds() 1091 if (mTopFocusedDisplayId == dc.getDisplayId()) { in removeChild()
|
D | DisplayWindowSettings.java | 296 return getWindowingModeLocked(entry, dc.getDisplayId()); in getWindowingModeLocked() 350 if (dc.getDisplayId() == Display.DEFAULT_DISPLAY) { in shouldShowSystemDecorsLocked() 364 if (dc.getDisplayId() == Display.DEFAULT_DISPLAY && !shouldShow) { in setShouldShowSystemDecorsLocked() 376 if (dc.getDisplayId() == Display.DEFAULT_DISPLAY) { in shouldShowImeLocked() 390 if (dc.getDisplayId() == Display.DEFAULT_DISPLAY && !shouldShow) { in setShouldShowImeLocked() 406 dc.setWindowingMode(getWindowingModeLocked(entry, dc.getDisplayId())); in applySettingsToDisplayLocked()
|
D | TaskPositioningController.java | 71 if (mPositioningDisplay != null && mPositioningDisplay.getDisplayId() == displayId in hideInputSurface() 78 if (mPositioningDisplay == null || mPositioningDisplay.getDisplayId() != displayId) { in showInputSurface()
|
D | SplashScreenStartingData.java | 58 mMergedOverrideConfiguration, atoken.getDisplayContent().getDisplayId()); in createStartingSurface()
|
D | WallpaperVisibilityListeners.java | 57 final int displayId = displayContent.getDisplayId(); in notifyWallpaperVisibilityChanged()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityCompat.java | 62 public int getDisplayId() { in getDisplayId() method in ActivityCompat 63 return mWrapped.getDisplayId(); in getDisplayId()
|
D | RotationWatcher.java | 51 mContext.getDisplayId()); in enable()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 153 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in updateBurnInProtection() 254 if (displayId == mDisplay.getDisplayId()) { in onDisplayChanged() 275 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), 0, 0); in onAnimationEnd() 291 mDisplayManagerInternal.setDisplayOffsets(mDisplay.getDisplayId(), in onAnimationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NavigationBarController.java | 101 if (includeDefaultDisplay || display.getDisplayId() != DEFAULT_DISPLAY) { in createNavigationBars() 119 final int displayId = display.getDisplayId(); in createNavigationBar() 160 navBar.setImeWindowStatus(display.getDisplayId(), result.mImeToken, in createNavigationBar()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 105 if (display.getDisplayId() == DEFAULT_DISPLAY) { in isKeyguardShowable() 125 final int displayId = display.getDisplayId(); in showPresentation() 204 int displayId = display.getDisplayId(); in updateDisplays()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarFacetButtonController.java | 134 if (carFacetButton.getDisplayId() == validStackInfo.displayId) { in taskChanged() 157 if (carFacetButton.getDisplayId() == validStackInfo.displayId) { in taskChanged()
|
D | CarFacetButton.java | 226 public int getDisplayId() { 231 return display.getDisplayId();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragment.java | 75 mCommandQueue.recomputeDisableFlags(getContext().getDisplayId(), true /* animate */); 170 if (displayId != getContext().getDisplayId()) { in disable() 384 disable(getContext().getDisplayId(), mDisabled1, mDisabled1, false /* animate */); in onDozingChanged()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureContextTest.java | 45 assertThat(newCtx.getDisplayId()).isEqualTo(42); in testConstructorAdditionalFlags()
|
/frameworks/native/services/inputflinger/include/ |
D | PointerControllerInterface.h | 104 virtual int32_t getDisplayId() const = 0;
|