Searched refs:mA11yWindowManager (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityWindowManagerTest.java | 114 private AccessibilityWindowManager mA11yWindowManager; field in AccessibilityWindowManagerTest 166 mA11yWindowManager = new AccessibilityWindowManager(new Object(), mHandler, in setUp() 191 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in startTrackingWindows_shouldEnableWindowManagerCallback() 200 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback() 203 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldDisableWindowManagerCallback() 204 assertFalse(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback() 212 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows() 213 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in stopTrackingWindows_shouldClearWindows() 215 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldClearWindows() 216 assertNull(mA11yWindowManager.getWindowListLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows() [all …]
|
D | AccessibilityWindowManagerWithAccessibilityWindowTest.java | 116 private AccessibilityWindowManager mA11yWindowManager; field in AccessibilityWindowManagerWithAccessibilityWindowTest 182 mA11yWindowManager = new AccessibilityWindowManager(new Object(), mHandler, in setUp() 207 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in startTrackingWindows_shouldEnableWindowManagerCallback() 216 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback() 219 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldDisableWindowManagerCallback() 220 assertFalse(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldDisableWindowManagerCallback() 228 assertTrue(mA11yWindowManager.isTrackingWindowsLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows() 229 final int activeWindowId = mA11yWindowManager.getActiveWindowId(USER_SYSTEM_ID); in stopTrackingWindows_shouldClearWindows() 231 mA11yWindowManager.stopTrackingWindows(Display.DEFAULT_DISPLAY); in stopTrackingWindows_shouldClearWindows() 232 assertNull(mA11yWindowManager.getWindowListLocked(Display.DEFAULT_DISPLAY)); in stopTrackingWindows_shouldClearWindows() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnection.java | 147 final AccessibilityWindowManager mA11yWindowManager; field in AbstractAccessibilityServiceConnection 357 mA11yWindowManager = a11yWindowManager; in AbstractAccessibilityServiceConnection() 593 final ArrayList<Integer> displayList = mA11yWindowManager.getDisplayListLocked( in getWindows() 627 displayId = mA11yWindowManager.getDisplayIdByUserIdAndWindowId( in getWindow() 647 mA11yWindowManager.findA11yWindowInfoByIdLocked(windowId); in getWindow() 688 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfosByViewId() 694 if (!mA11yWindowManager.computePartialInteractiveRegionForWindowLocked( in findAccessibilityNodeInfosByViewId() 764 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfosByText() 770 if (!mA11yWindowManager.computePartialInteractiveRegionForWindowLocked( in findAccessibilityNodeInfosByText() 841 connection = mA11yWindowManager.getConnectionLocked( in findAccessibilityNodeInfoByAccessibilityId() [all …]
|
D | AccessibilityManagerService.java | 303 private final AccessibilityWindowManager mA11yWindowManager; field in AccessibilityManagerService 505 mA11yWindowManager = a11yWindowManager; in AccessibilityManagerService() 543 mA11yWindowManager = new AccessibilityWindowManager(mLock, mMainHandler, in AccessibilityManagerService() 555 mProxyManager = new ProxyManager(mLock, mA11yWindowManager, mContext, mMainHandler, in AccessibilityManagerService() 571 mSecurityPolicy.setAccessibilityWindowManager(mA11yWindowManager); in init() 621 windowInfo = mA11yWindowManager.findWindowInfoByIdLocked(windowId); in getWindowTransformationMatrixAndMagnificationSpec() 633 token = mA11yWindowManager.getWindowTokenForUserAndWindowIdLocked(mCurrentUserId, in getWindowTransformationMatrixAndMagnificationSpec() 1154 AccessibilityWindowInfo pip = mA11yWindowManager.getPictureInPictureWindowLocked(); in sendAccessibilityEvent() 1174 mA11yWindowManager.updateActiveAndAccessibilityFocusedWindowLocked( in sendAccessibilityEvent() 1197 displayId = mA11yWindowManager.getDisplayIdByUserIdAndWindowId( in sendAccessibilityEvent() [all …]
|
D | ProxyManager.java | 95 private final AccessibilityWindowManager mA11yWindowManager; field in ProxyManager 144 mA11yWindowManager = awm; in ProxyManager() 182 mA11yWindowManager, displayId, deviceId); in registerProxy() 315 mA11yWindowManager.stopTrackingDisplayProxy(displayId); in updateStateForRemovedDisplay()
|
D | ProxyAccessibilityServiceConnection.java | 284 final int focusedWindowId = mA11yWindowManager.getFocusedWindowId(focusType, in resolveAccessibilityWindowIdForFindFocusLocked() 291 if (!mA11yWindowManager.windowIdBelongsToDisplayType(focusedWindowId, mDisplayTypes)) { in resolveAccessibilityWindowIdForFindFocusLocked()
|