Home
last modified time | relevance | path

Searched refs:focusedWindowId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyAccessibilityServiceConnection.java284 final int focusedWindowId = mA11yWindowManager.getFocusedWindowId(focusType, in resolveAccessibilityWindowIdForFindFocusLocked() local
291 if (!mA11yWindowManager.windowIdBelongsToDisplayType(focusedWindowId, mDisplayTypes)) { in resolveAccessibilityWindowIdForFindFocusLocked()
294 return focusedWindowId; in resolveAccessibilityWindowIdForFindFocusLocked()
DAccessibilityWindowManager.java178 public boolean windowIdBelongsToDisplayType(int focusedWindowId, int displayTypes) { in windowIdBelongsToDisplayType() argument
192 && observer.findA11yWindowInfoByIdLocked(focusedWindowId) != null) { in windowIdBelongsToDisplayType()
2347 private boolean setProxyFocusLocked(int focusedWindowId) { in setProxyFocusLocked() argument
2351 && observer.setAccessibilityFocusedWindowLocked(focusedWindowId)) { in setProxyFocusLocked()
2355 if (previouslyFocusedWindowId == focusedWindowId) { in setProxyFocusLocked()
2369 observer.mProxyDisplayAccessibilityFocusedWindow = focusedWindowId; in setProxyFocusLocked()
DAbstractAccessibilityServiceConnection.java2174 final int focusedWindowId = in resolveAccessibilityWindowIdLocked() local
2176 if (!mA11yWindowManager.windowIdBelongsToDisplayType(focusedWindowId, mDisplayTypes)) { in resolveAccessibilityWindowIdLocked()
2179 return focusedWindowId; in resolveAccessibilityWindowIdLocked()
2186 final int focusedWindowId = mA11yWindowManager.getFocusedWindowId(focusType); in resolveAccessibilityWindowIdForFindFocusLocked() local
2192 if (!mA11yWindowManager.windowIdBelongsToDisplayType(focusedWindowId, mDisplayTypes)) { in resolveAccessibilityWindowIdForFindFocusLocked()
2195 return focusedWindowId; in resolveAccessibilityWindowIdForFindFocusLocked()
DAccessibilityManagerService.java5279 final int focusedWindowId; in getAccessibilityFocusNotLocked() local
5281 focusedWindowId = mA11yWindowManager.getFocusedWindowId( in getAccessibilityFocusNotLocked()
5283 if (focusedWindowId == AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) { in getAccessibilityFocusNotLocked()
5287 return getAccessibilityFocusNotLocked(focusedWindowId); in getAccessibilityFocusNotLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerWithAccessibilityWindowTest.java425 final int focusedWindowId = mA11yWindowManager.findWindowIdLocked( in onWindowsChanged_shouldReportFocusedWindowEvenIfOccluded() local
434 assertThat(a11yWindows.get(1), windowId(focusedWindowId)); in onWindowsChanged_shouldReportFocusedWindowEvenIfOccluded()