Searched refs:SECONDARY_DISPLAY_ID (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityWindowManagerTest.java | 84 private static final int SECONDARY_DISPLAY_ID = Display.DEFAULT_DISPLAY + 1; field in AccessibilityWindowManagerTest 115 Display.DEFAULT_DISPLAY, SECONDARY_DISPLAY_ID)); 201 startTrackingPerDisplay(SECONDARY_DISPLAY_ID); in stopTrackingWindows_onNonTopFocusedDisplay_shouldNotResetTopFocusWindow() 202 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(SECONDARY_DISPLAY_ID)); in stopTrackingWindows_onNonTopFocusedDisplay_shouldNotResetTopFocusWindow() 204 mA11yWindowManager.stopTrackingWindows(SECONDARY_DISPLAY_ID); in stopTrackingWindows_onNonTopFocusedDisplay_shouldNotResetTopFocusWindow() 238 startTrackingPerDisplay(SECONDARY_DISPLAY_ID); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow() 245 changeFocusedWindowOnDisplayPerDisplayFocusConfig(SECONDARY_DISPLAY_ID, in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow() 248 onWindowsForAccessibilityChanged(SECONDARY_DISPLAY_ID, SEND_ON_WINDOW_CHANGES); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow() 266 startTrackingPerDisplay(SECONDARY_DISPLAY_ID); in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow() 273 changeFocusedWindowOnDisplayPerDisplayFocusConfig(SECONDARY_DISPLAY_ID, in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow() [all …]
|
D | AbstractAccessibilityServiceConnectionTest.java | 122 private static final int SECONDARY_DISPLAY_ID = Display.DEFAULT_DISPLAY + 1; field in AbstractAccessibilityServiceConnectionTest 151 Display.DEFAULT_DISPLAY, SECONDARY_DISPLAY_ID)); 193 SECONDARY_DISPLAY_ID); in setup() 202 WINDOWID_ONSECONDDISPLAY)).thenReturn(SECONDARY_DISPLAY_ID); in setup() 203 when(mMockA11yWindowManager.getWindowListLocked(SECONDARY_DISPLAY_ID)) in setup() 302 assertThat(allWindows.get(SECONDARY_DISPLAY_ID), is(mA11yWindowInfosOnSecondDisplay)); in getWindows() 303 assertEquals(1, allWindows.get(SECONDARY_DISPLAY_ID).size()); in getWindows()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 64 private static final int SECONDARY_DISPLAY_ID = Display.DEFAULT_DISPLAY + 1; field in AccessibilityCacheTest 248 putWindowWithWindowIdAndDisplayIdInCache(WINDOW_ID_3, SECONDARY_DISPLAY_ID, in setWindowsAtFirstDisplay_thenAddWindowAtSecondDisplay_returnWindowLayerOrderUnchange() 295 allWindows.put(SECONDARY_DISPLAY_ID, windowsIn2); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder() 308 windowsOut2 = getWindowsByDisplay(SECONDARY_DISPLAY_ID); in setWindowsAtTwoDisplays_thenGetWindows_returnsInDecreasingLayerOrder()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 48 static const int32_t SECONDARY_DISPLAY_ID = DISPLAY_ID + 1; variable 1712 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 1728 ASSERT_TRUE(mReader->canDispatchToDisplay(deviceId, SECONDARY_DISPLAY_ID)); in TEST_F() 1733 ASSERT_FALSE(mReader->canDispatchToDisplay(deviceId, SECONDARY_DISPLAY_ID)); in TEST_F() 2222 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F() 3916 setDisplayInfoAndReconfigure(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in prepareSecondaryDisplay() 6815 mFakePolicy->setDefaultPointerDisplayId(SECONDARY_DISPLAY_ID); in TEST_F() 6831 ASSERT_EQ(SECONDARY_DISPLAY_ID, motionArgs.displayId); in TEST_F() 6910 iter = fakePointerController->getSpots().find(SECONDARY_DISPLAY_ID); in TEST_F() 7013 ASSERT_EQ(SECONDARY_DISPLAY_ID, args.displayId); in TEST_F() [all …]
|