Home
last modified time | relevance | path

Searched refs:getDisplayId (Results 1 – 25 of 166) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java40 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/
DWindowProcessControllerTests.java62 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()
DDisplayContentTests.java238 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 …]
DDisplayWindowSettingsTests.java106 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/
DActivityView.java292 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 …]
DPresentation.java348 if (displayId == mDisplay.getDisplayId()) {
355 if (displayId == mDisplay.getDisplayId()) {
/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java59 assertEquals(INVALID_DISPLAY, keyEvent.getDisplayId()); in testObtain()
78 assertEquals(keyEvent.getDisplayId(), keyEvent2.getDisplayId()); in testObtainFromKeyEvent()
97 assertEquals(displayId, keyEvent.getDisplayId()); in testObtainWithDisplayId()
DMotionEventTest.java64 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/
DWindowManagerShellCommand.java91 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()
DInputManagerCallback.java222 return displayContent.getDisplayId(); in getPointerDisplayId()
226 && displayContent.getDisplayId() != DEFAULT_DISPLAY) { in getPointerDisplayId()
227 firstExternalDisplayId = displayContent.getDisplayId(); in getPointerDisplayId()
DRootWindowContainer.java181 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()
DDisplayWindowSettings.java296 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()
DTaskPositioningController.java71 if (mPositioningDisplay != null && mPositioningDisplay.getDisplayId() == displayId in hideInputSurface()
78 if (mPositioningDisplay == null || mPositioningDisplay.getDisplayId() != displayId) { in showInputSurface()
DSplashScreenStartingData.java58 mMergedOverrideConfiguration, atoken.getDisplayContent().getDisplayId()); in createStartingSurface()
DWallpaperVisibilityListeners.java57 final int displayId = displayContent.getDisplayId(); in notifyWallpaperVisibilityChanged()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityCompat.java62 public int getDisplayId() { in getDisplayId() method in ActivityCompat
63 return mWrapped.getDisplayId(); in getDisplayId()
DRotationWatcher.java51 mContext.getDisplayId()); in enable()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java153 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/
DNavigationBarController.java101 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/
DKeyguardDisplayManager.java105 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/
DCarFacetButtonController.java134 if (carFacetButton.getDisplayId() == validStackInfo.displayId) { in taskChanged()
157 if (carFacetButton.getDisplayId() == validStackInfo.displayId) { in taskChanged()
DCarFacetButton.java226 public int getDisplayId() {
231 return display.getDisplayId();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java75 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/
DContentCaptureContextTest.java45 assertThat(newCtx.getDisplayId()).isEqualTo(42); in testConstructorAdditionalFlags()
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h104 virtual int32_t getDisplayId() const = 0;

1234567