Home
last modified time | relevance | path

Searched refs:getActiveWindowId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerTest.java213 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in stopTrackingWindows_shouldClearWindows()
219 assertEquals(mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID), in stopTrackingWindows_shouldClearWindows()
239 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowsChanged_duringTouchInteractAndFocusChange_shouldChangeActiveWindow()
254 assertNotEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowsChanged_duringTouchInteractAndFocusChange_shouldChangeActiveWindow()
268 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow()
278 assertEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow()
296 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow()
307 assertNotEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow()
588 assertThat(mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID), is(eventWindowId)); in updateActiveAndA11yFocusedWindow_windowStateChangedEvent_noTracking_shouldUpdate()
597 final int currentActiveWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in updateActiveAndA11yFocusedWindow_hoverEvent_touchInteract_shouldSetActiveWindow()
[all …]
DAccessibilityWindowManagerWithAccessibilityWindowTest.java229 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in stopTrackingWindows_shouldClearWindows()
235 assertEquals(mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID), in stopTrackingWindows_shouldClearWindows()
255 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowsChanged_duringTouchInteractAndFocusChange_shouldChangeActiveWindow()
269 assertNotEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowsChanged_duringTouchInteractAndFocusChange_shouldChangeActiveWindow()
283 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow()
293 assertEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowsChanged_focusChangeOnNonTopFocusedDisplay_perDisplayFocusOn_notChangeWindow()
311 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow()
322 assertNotEquals(activeWindowId, mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID)); in onWindowChange_focusChangeToNonTopFocusedDisplay_perDisplayFocusOff_shouldChangeWindow()
749 assertThat(mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID), is(eventWindowId)); in updateActiveAndA11yFocusedWindow_windowStateChangedEvent_noTracking_shouldUpdate()
758 final int currentActiveWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in updateActiveAndA11yFocusedWindow_hoverEvent_touchInteract_shouldSetActiveWindow()
[all …]
DAccessibilitySecurityPolicyTest.java199 when(mMockA11yWindowManager.getActiveWindowId(TEST_USER_ID)) in canDispatchAccessibilityEvent_otherEvents_windowIdIsActive_returnTrue()
213 when(mMockA11yWindowManager.getActiveWindowId(TEST_USER_ID)) in canDispatchAccessibilityEvent_otherEvents_windowIdExist_returnTrue()
371 when(mMockA11yWindowManager.getActiveWindowId(TEST_USER_ID)) in canGetAccessibilityNodeInfo_hasCapAndWindowIsActive_returnTrue()
382 when(mMockA11yWindowManager.getActiveWindowId(TEST_USER_ID)) in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java175 event.setWindowId(mAms.getActiveWindowId()); in sendAccessibilityEvent()
477 || mState.getLastTouchedWindowId() == mAms.getActiveWindowId()) { in computeClickLocation()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java542 == mAccessibilityWindowManager.getActiveWindowId(userId)) { in isRetrievalAllowingWindowLocked()
DAccessibilityWindowManager.java1821 public int getActiveWindowId(int userId) { in getActiveWindowId() method in AccessibilityWindowManager
DAbstractAccessibilityServiceConnection.java2175 mA11yWindowManager.getActiveWindowId(mSystemSupport.getCurrentUserIdLocked()); in resolveAccessibilityWindowIdLocked()
DAccessibilityManagerService.java1937 public int getActiveWindowId() { in getActiveWindowId() method in AccessibilityManagerService
1938 return mA11yWindowManager.getActiveWindowId(mCurrentUserId); in getActiveWindowId()
/frameworks/base/services/
Dart-wear-profile3579 PLcom/android/server/accessibility/AccessibilityWindowManager;->getActiveWindowId(I)I