/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | VirtualDisplayHelper.java | 77 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), true /* wantOn */); in createAndWaitForDisplay() 80 return mVirtualDisplay.getDisplay().getDisplayId(); in createAndWaitForDisplay() 85 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), false /* wantOn */); in turnDisplayOff() 90 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), true /* wantOn */); in turnDisplayOn() 97 waitForDisplayState(mVirtualDisplay.getDisplay().getDisplayId(), false /* wantOn */); in releaseDisplay()
|
D | PresentationTest.java | 45 launchPresentationActivity(display.getDisplayId()); in testPresentationFollowsDisplayFlag() 49 assertPresentationOnDisplayAndMatchesDisplayMetrics(display.getDisplayId()); in testPresentationFollowsDisplayFlag() 108 if (ws.getDisplayId() == displayId) return true; in isPresentationOnDisplay() 126 assertThat(presentationWindowState.getDisplayId()).isEqualTo(displayId); in assertPresentationOnDisplayAndMatchesDisplayMetrics()
|
D | MultiDisplayClientTests.java | 129 assertEquals("Activity#getDisplayId()" + suffix, displayId, activity.getDisplayId()); in testDisplayIdUpdateOnMove() 131 displayId, activity.getDisplay().getDisplayId()); in testDisplayIdUpdateOnMove() 135 displayId, wm.getDefaultDisplay().getDisplayId()); in testDisplayIdUpdateOnMove() 139 displayId, view.getDisplay().getDisplayId()); in testDisplayIdUpdateOnMove() 206 assertEquals("IMM#getDisplayId() must match.", newDisplay.mId, imm.getDisplayId()); in testInputMethodManagerDisplayId() 238 assertEquals("View#getDisplay() must match.", displayId, view.getDisplay().getDisplayId()); in testViewGetDisplay() 253 resultDisplayId[0] = view.getDisplay().getDisplayId(); in testViewGetDisplay()
|
D | WindowFocusTests.java | 106 final int displayId = activity.getDisplayId(); in tapOn() 147 final int secondaryDisplayId = session.getDisplayId(); in testKeyReceiving() 196 final int secondaryDisplayId = session.getDisplayId(); in testMovingDisplayToTopByKeyEvent() 293 final int secondaryDisplayId = session.getDisplayId(); in testDisplayChanged() 371 mDisplayId = getWindow().getDecorView().getDisplay().getDisplayId(); in onAttachedToWindow() 541 int getDisplayId() { in getDisplayId() method in WindowFocusTests.InvisibleVirtualDisplaySession 542 return mDisplay.getDisplayId(); in getDisplayId() 546 return WindowFocusTests.startActivityAndFocus(getDisplayId(), false /* hasFocus */); in startActivityAndFocus() 573 int getDisplayId() { in getDisplayId() method in WindowFocusTests.SimulatedDisplaySession 578 return WindowFocusTests.startActivityAndFocus(getDisplayId(), true /* hasFocus */); in startActivityAndFocus()
|
D | MinimalPostProcessingTests.java | 63 private int getDisplayId(ComponentName name) { in getDisplayId() method in MinimalPostProcessingTests 68 final int displayId = getDisplayId(name); in assertDisplayRequestedMinimalPostProcessing()
|
D | AspectRatioTestsBase.java | 51 getDisplay(activity).getDisplayId(), in runAspectRatioTest()
|
D | DisplaySizeTest.java | 114 final int targetDisplayId = targetDisplay.getDisplayId(); in testSizeRangesAfterSettingDisplaySize()
|
D | ToastWindowTest.java | 137 tapOnCenter(toastWindow.getContainingFrame(), toastWindow.getDisplayId()); in testToastWindowIsNotClickable()
|
D | ManifestLayoutTests.java | 191 mDisplay = mWmState.getDisplay(mWindowState.getDisplayId()); in getDisplayAndWindowState()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityGestureEventTest.java | 84 actualGesture.getDisplayId()); in testGetterMethods() 104 assertEquals("getDisplayId has incorrectValue", sentGestureEvent.getDisplayId(), in assertEqualsGestureEvent() 105 receivedGestureEvent.getDisplayId()); in assertEqualsGestureEvent()
|
D | AccessibilityWindowInfoTest.java | 87 assertEquals(Display.INVALID_DISPLAY, w.getDisplayId()); in testDefaultValues() 132 equality &= w1.getDisplayId() == w2.getDisplayId(); in areWindowsEqual()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 123 () -> displayManager.getDisplay(display.getDisplayId()) != null, in createDisplayWithDefaultDisplayMetricsAndWait() 125 … String.format("wait for virtual display %d adding", display.getDisplayId())); in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SystemPropertiesTest.java | 37 assertFalse(properties.getRo().getBuild().getDisplayId().isEmpty()); in verifySystemPropertiesProto()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | LiveWallpaper.java | 38 final int displayId = displayContext.getDisplayId(); in onCreateEngine()
|
D | HostActivity.java | 93 b.putInt(EXTRAS_DISPLAY_ID, getDisplay().getDisplayId()); in surfaceCreated()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 276 if (display.getDisplayId() == DEFAULT_DISPLAY) { in testGetDisplays() 293 assertEquals(DEFAULT_DISPLAY, mWindowManager.getDefaultDisplay().getDisplayId()); in testDefaultDisplay() 448 final int id = display.getDisplayId(); 492 assertTrue(DEFAULT_DISPLAY != display.getDisplayId()); 647 if (displayId != mDefaultDisplay.getDisplayId()) { 842 if (displayId == display.getDisplayId()) {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTakeScreenshotTest.java | 167 false).getDisplayId(); in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult() 191 true).getDisplayId(); in testTakeScreenshotOnPrivateDisplay_GetErrorCode()
|
D | AccessibilityOverlayTest.java | 105 final int displayId = newDisplay.getDisplayId(); in testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear()
|
D | AccessibilityGestureDetectorTest.java | 173 sInstrumentation.getTargetContext(), false).getDisplayId(); in testRecognizeGesturePathOnVirtualDisplay() 424 false).getDisplayId(); in testVerifyGestureTouchEventOnVirtualDisplay() 496 true).getDisplayId(); in testDispatchGesture_privateDisplay_gestureCancelled()
|
D | GestureDescriptionTest.java | 246 assertEquals(2, gesture.getDisplayId()); in testSetDisplayId_getCorrectDisplayId()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarOccupantZoneManagerTest.java | 111 assertThat(getDriverDisplay().getDisplayId()).isEqualTo(DEFAULT_DISPLAY); in testDriverDisplayIdIsDefaultDisplay()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 747 && w.getDisplayId() == displayId)); 752 imeWinState.getDisplayId()); 770 if (ws.getDisplayId() == displayId) return true;
|
D | TouchHelper.java | 118 tapOnDisplay(x, y, view.getDisplay().getDisplayId(), true /* sync */, waitAnimations); in tapOnViewCenter()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 305 assertEquals(DEFAULT_DISPLAY, verified.getDisplayId()); in compareKeys() 325 assertEquals(DEFAULT_DISPLAY, verified.getDisplayId()); in compareMotions()
|
D | ChoreographerNativeTest.java | 107 .filter(display -> display.getDisplayId() == Display.DEFAULT_DISPLAY) in setup()
|