Home
last modified time | relevance | path

Searched refs:AccessibilityWindowInfo (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java85 private int mAccessibilityFocusedWindow = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
86 private int mInputFocusWindow = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
92 private final SparseArray<SparseArray<AccessibilityWindowInfo>> mWindowCacheByDisplay =
98 private final SparseArray<AccessibilityWindowInfo> mTempWindowArray =
129 SparseArray<List<AccessibilityWindowInfo>> windowsOnAllDisplays, in setWindowsOnAllDisplays()
152 final List<AccessibilityWindowInfo> windowsOfDisplay = in setWindowsOnAllDisplays()
174 public void addWindow(AccessibilityWindowInfo window) { in addWindow()
190 private void addWindowByDisplayLocked(int displayId, AccessibilityWindowInfo window) { in addWindowByDisplayLocked()
191 SparseArray<AccessibilityWindowInfo> windows = mWindowCacheByDisplay.get(displayId); in addWindowByDisplayLocked()
197 windows.put(windowId, new AccessibilityWindowInfo(window)); in addWindowByDisplayLocked()
[all …]
DAccessibilityWindowInfo.java50 public final class AccessibilityWindowInfo implements Parcelable { class
122 private static final SynchronizedPool<AccessibilityWindowInfo> sPool =
123 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
148 public AccessibilityWindowInfo() { in AccessibilityWindowInfo() method in AccessibilityWindowInfo
157 public AccessibilityWindowInfo(@NonNull AccessibilityWindowInfo info) { in AccessibilityWindowInfo() method in AccessibilityWindowInfo
305 public AccessibilityWindowInfo getParent() { in getParent()
495 public AccessibilityWindowInfo getChild(int index) { in getChild()
596 public static AccessibilityWindowInfo obtain() { in obtain()
597 AccessibilityWindowInfo info = sPool.acquire(); in obtain()
599 info = new AccessibilityWindowInfo(); in obtain()
[all …]
DAccessibilityWindowInfo.aidl19 parcelable AccessibilityWindowInfo;
20 parcelable AccessibilityWindowInfo.WindowListSparseArray;
DAccessibilityRecord.java101 int mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
158 mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in setSource()
205 || (mSourceWindowId == AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in getSource()
939 mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in clear()
DAccessibilityInteractionClient.java375 AccessibilityWindowInfo.ACTIVE_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in getRootInActiveWindow()
388 public AccessibilityWindowInfo getWindow(int connectionId, int accessibilityWindowId) { in getWindow()
402 public AccessibilityWindowInfo getWindow(int connectionId, int accessibilityWindowId, in getWindow()
407 AccessibilityWindowInfo window; in getWindow()
468 public List<AccessibilityWindowInfo> getWindows(int connectionId) { in getWindows()
478 public List<AccessibilityWindowInfo> getWindowsOnDisplay(int connectionId, int displayId) { in getWindowsOnDisplay()
479 final SparseArray<List<AccessibilityWindowInfo>> windows = in getWindowsOnDisplay()
490 public SparseArray<List<AccessibilityWindowInfo>> getWindowsOnAllDisplays(int connectionId) { in getWindowsOnAllDisplays()
494 SparseArray<List<AccessibilityWindowInfo>> windows; in getWindowsOnAllDisplays()
543 final SparseArray<List<AccessibilityWindowInfo>> emptyWindows = new SparseArray<>(); in getWindowsOnAllDisplays()
DAccessibilityDisplayProxy.java170 AccessibilityWindowInfo.ANY_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in findFocus()
180 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java23 import static android.view.accessibility.AccessibilityWindowInfo.ANY_WINDOW_ID;
121 AccessibilityWindowInfo windowInfo = null, copyOfInfo = null, windowFromCache = null; in addThenGetWindow_returnsEquivalentButNotSameWindow()
123 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
128 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
163 AccessibilityWindowInfo windowInfo1 = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
164 AccessibilityWindowInfo windowInfo2 = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
165 AccessibilityWindowInfo window1Out = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
166 AccessibilityWindowInfo window2Out = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
167 List<AccessibilityWindowInfo> windowsOut = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
171 List<AccessibilityWindowInfo> windowsIn = Arrays.asList(windowInfo1, windowInfo2); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
[all …]
DAccessibilityServiceConnectionImpl.java86 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow()
90 public AccessibilityWindowInfo.WindowListSparseArray getWindows() { in getWindows()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java53 import android.view.accessibility.AccessibilityWindowInfo;
105 private int mActiveWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
108 private int mTopFocusedWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
109 private int mAccessibilityFocusedWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
211 private final SparseArray<AccessibilityWindowInfo> mA11yWindowInfoById =
215 private List<AccessibilityWindowInfo> mWindows;
219 AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
280 List<AccessibilityWindowInfo> getWindowListLocked() { in getWindowListLocked()
291 AccessibilityWindowInfo findA11yWindowInfoByIdLocked(int windowId) { in findA11yWindowInfoByIdLocked()
312 AccessibilityWindowInfo getPictureInPictureWindowLocked() { in getPictureInPictureWindowLocked()
[all …]
DProxyAccessibilityServiceConnection.java45 import android.view.accessibility.AccessibilityWindowInfo;
232 public AccessibilityWindowInfo.WindowListSparseArray getWindows() { in getWindows()
233 final AccessibilityWindowInfo.WindowListSparseArray allWindows = super.getWindows(); in getWindows()
234 AccessibilityWindowInfo.WindowListSparseArray displayWindows = new in getWindows()
235 AccessibilityWindowInfo.WindowListSparseArray(); in getWindows()
283 if (windowId == AccessibilityWindowInfo.ANY_WINDOW_ID) { in resolveAccessibilityWindowIdForFindFocusLocked()
292 return AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in resolveAccessibilityWindowIdForFindFocusLocked()
DAbstractAccessibilityServiceConnection.java93 import android.view.accessibility.AccessibilityWindowInfo;
572 public AccessibilityWindowInfo.WindowListSparseArray getWindows() { in getWindows()
591 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows()
592 new AccessibilityWindowInfo.WindowListSparseArray(); in getWindows()
601 final List<AccessibilityWindowInfo> windowList = getWindowsByDisplayLocked( in getWindows()
621 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow()
626 if (windowId != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) { in getWindow()
646 AccessibilityWindowInfo window = in getWindow()
649 AccessibilityWindowInfo windowClone = AccessibilityWindowInfo.obtain(window); in getWindow()
1813 if ((event.getWindowId() != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in wantsEventLocked()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java34 import android.view.accessibility.AccessibilityWindowInfo;
166 final AccessibilityWindowInfo window = findWindowByTitle(activityTitle); in launchActivity()
226 private AccessibilityWindowInfo findWindowByTitle(CharSequence title) { in findWindowByTitle()
227 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in findWindowByTitle()
228 AccessibilityWindowInfo returnValue = null; in findWindowByTitle()
230 final AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerWithAccessibilityWindowTest.java67 import android.view.accessibility.AccessibilityWindowInfo;
111 private static final int INVALID_ID = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
234 AccessibilityWindowInfo.UNDEFINED_WINDOW_ID); in stopTrackingWindows_shouldClearWindows()
250 AccessibilityWindowInfo.UNDEFINED_WINDOW_ID); in stopTrackingWindows_onNonTopFocusedDisplay_shouldNotResetTopFocusWindow()
331 List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldReportCorrectLayer()
334 final AccessibilityWindowInfo a11yWindow = a11yWindows.get(i); in onWindowsChanged_shouldReportCorrectLayer()
343 List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldReportCorrectOrder()
346 final AccessibilityWindowInfo a11yWindow = a11yWindows.get(i); in onWindowsChanged_shouldReportCorrectOrder()
364 final List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldNotReportNonTouchableWindow()
379 final List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldReportFocusedNonTouchableWindow()
[all …]
DAccessibilityWindowManagerTest.java61 import android.view.accessibility.AccessibilityWindowInfo;
109 private static final int INVALID_ID = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
218 AccessibilityWindowInfo.UNDEFINED_WINDOW_ID); in stopTrackingWindows_shouldClearWindows()
234 AccessibilityWindowInfo.UNDEFINED_WINDOW_ID); in stopTrackingWindows_onNonTopFocusedDisplay_shouldNotResetTopFocusWindow()
316 List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldReportCorrectLayer()
319 final AccessibilityWindowInfo a11yWindow = a11yWindows.get(i); in onWindowsChanged_shouldReportCorrectLayer()
329 List<AccessibilityWindowInfo> a11yWindows = in onWindowsChanged_shouldReportCorrectOrder()
332 final AccessibilityWindowInfo a11yWindow = a11yWindows.get(i); in onWindowsChanged_shouldReportCorrectOrder()
367 final AccessibilityWindowInfo oldWindow = in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows()
372 windowInfo.type = AccessibilityWindowInfo.TYPE_APPLICATION; in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows()
[all …]
DAbstractAccessibilityServiceConnectionTest.java98 import android.view.accessibility.AccessibilityWindowInfo;
159 private final List<AccessibilityWindowInfo> mA11yWindowInfos = new ArrayList<>();
160 private final List<AccessibilityWindowInfo> mA11yWindowInfosOnSecondDisplay = new ArrayList<>();
347 final AccessibilityWindowInfo.WindowListSparseArray allWindows = in getWindows()
777 private AccessibilityWindowInfo addA11yWindowInfo(List<AccessibilityWindowInfo> infos, in addA11yWindowInfo()
779 final AccessibilityWindowInfo info = AccessibilityWindowInfo.obtain(); in addA11yWindowInfo()
828 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in verifyReplaceActions()
DActionReplacingCallbackTest.java45 import android.view.accessibility.AccessibilityWindowInfo;
282 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in getReplacerNodes()
290 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in getReplacerNodes()
DAccessibilitySecurityPolicyTest.java59 import android.view.accessibility.AccessibilityWindowInfo;
216 .thenReturn(AccessibilityWindowInfo.obtain()); in canDispatchAccessibilityEvent_otherEvents_windowIdExist_returnTrue()
385 .thenReturn(AccessibilityWindowInfo.obtain()); in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/inputmethod/
DImeSmokeTest.java30 import android.view.accessibility.AccessibilityWindowInfo;
143 for (AccessibilityWindowInfo window : sInstrumentation.getUiAutomation().getWindows()) { in isKeyboardOpened()
144 if (window.getType() == AccessibilityWindowInfo.TYPE_INPUT_METHOD) { in isKeyboardOpened()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java29 import android.view.accessibility.AccessibilityWindowInfo;
115 public static void dumpWindowsToFile(SparseArray<List<AccessibilityWindowInfo>> allWindows, in dumpWindowsToFile()
134 final List<AccessibilityWindowInfo> windows = allWindows.valueAt(d); in dumpWindowsToFile()
159 private static void dumpWindowRec(AccessibilityWindowInfo winfo, XmlSerializer serializer, in dumpWindowRec()
174 serializer.attribute("", "type", AccessibilityWindowInfo.typeToString(winfo.getType())); in dumpWindowRec()
177 AccessibilityWindowInfo child = winfo.getChild(i); in dumpWindowRec()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl35 import android.view.accessibility.AccessibilityWindowInfo;
82 AccessibilityWindowInfo getWindow(int windowId); in getWindow()
85 AccessibilityWindowInfo.WindowListSparseArray getWindows(); in getWindows()
DIAccessibilityServiceClient.aidl22 import android.view.accessibility.AccessibilityWindowInfo;
/frameworks/base/core/java/android/text/style/
DAccessibilityClickableSpan.java21 import static android.view.accessibility.AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipAccessibilityInteractionConnection.java30 import android.view.accessibility.AccessibilityWindowInfo;
255 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in obtainRootAccessibilityNodeInfo()
/frameworks/base/core/java/android/app/
DUiAutomation.java73 import android.view.accessibility.AccessibilityWindowInfo;
788 AccessibilityWindowInfo.ANY_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, focus); in findFocus()
871 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
905 public SparseArray<List<AccessibilityWindowInfo>> getWindowsOnAllDisplays() { in getWindowsOnAllDisplays()
/frameworks/base/core/java/android/view/accessibility/flags/
Daccessibility_flags.aconfig128 …description: "adds new TYPE_WINDOW_CONTROL to AccessibilityWindowInfo for detecting Window Decorat…

12