Home
last modified time | relevance | path

Searched refs:mA11yWindowManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerTest.java96 private AccessibilityWindowManager mA11yWindowManager; field in AccessibilityWindowManagerTest
139 mA11yWindowManager = new AccessibilityWindowManager(new Object(), mHandler, in setUp()
163 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in startTrackingWindows_shouldEnableWindowManagerCallback()
172 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback()
175 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldDisableWindowManagerCallback()
176 assertFalse(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback()
184 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows()
185 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in stopTrackingWindows_shouldClearWindows()
187 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldClearWindows()
188 assertNull(mA11yWindowManager.getWindowListLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java111 private final AccessibilityWindowManager mA11yWindowManager; field in AbstractAccessibilityServiceConnection
258 mA11yWindowManager = a11yWindowManager; in AbstractAccessibilityServiceConnection()
406 final ArrayList<Integer> displayList = mA11yWindowManager.getDisplayListLocked(); in getWindows()
429 displayId = mA11yWindowManager.getDisplayIdByUserIdAndWindowIdLocked( in getWindow()
446 mA11yWindowManager.findA11yWindowInfoByIdLocked(windowId); in getWindow()
477 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfosByViewId()
483 if (!mA11yWindowManager.computePartialInteractiveRegionForWindowLocked( in findAccessibilityNodeInfosByViewId()
538 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfosByText()
544 if (!mA11yWindowManager.computePartialInteractiveRegionForWindowLocked( in findAccessibilityNodeInfosByText()
599 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfoByAccessibilityId()
[all …]
DAccessibilityManagerService.java206 private final AccessibilityWindowManager mA11yWindowManager; field in AccessibilityManagerService
296 mA11yWindowManager = a11yWindowManager; in AccessibilityManagerService()
314 mA11yWindowManager = new AccessibilityWindowManager(mLock, mMainHandler, in AccessibilityManagerService()
321 mSecurityPolicy.setAccessibilityWindowManager(mA11yWindowManager); in init()
648 AccessibilityWindowInfo pip = mA11yWindowManager.getPictureInPictureWindowLocked(); in sendAccessibilityEvent()
669 mA11yWindowManager.updateActiveAndAccessibilityFocusedWindowLocked( in sendAccessibilityEvent()
693 displayId = mA11yWindowManager.getDisplayIdByUserIdAndWindowIdLocked( in sendAccessibilityEvent()
697 && mA11yWindowManager.isTrackingWindowsLocked(displayId)) { in sendAccessibilityEvent()
842 return mA11yWindowManager.addAccessibilityInteractionConnection( in addAccessibilityInteractionConnection()
848 mA11yWindowManager.removeAccessibilityInteractionConnection(window); in removeAccessibilityInteractionConnection()
[all …]