Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java39 public final class AccessibilityWindowInfo implements Parcelable { class
97 private static final SynchronizedPool<AccessibilityWindowInfo> sPool =
98 new SynchronizedPool<AccessibilityWindowInfo>(MAX_POOL_SIZE);
115 private AccessibilityWindowInfo() { in AccessibilityWindowInfo() method in AccessibilityWindowInfo
120 AccessibilityWindowInfo(AccessibilityWindowInfo info) { in AccessibilityWindowInfo() method in AccessibilityWindowInfo
254 public AccessibilityWindowInfo getParent() { in getParent()
404 public AccessibilityWindowInfo getChild(int index) { in getChild()
436 public static AccessibilityWindowInfo obtain() { in obtain()
437 AccessibilityWindowInfo info = sPool.acquire(); in obtain()
439 info = new AccessibilityWindowInfo(); in obtain()
[all …]
DAccessibilityCache.java71 private final SparseArray<AccessibilityWindowInfo> mWindowCache =
77 private final SparseArray<AccessibilityWindowInfo> mTempWindowArray =
84 public void setWindows(List<AccessibilityWindowInfo> windows) { in setWindows()
95 final AccessibilityWindowInfo window = windows.get(i); in setWindows()
102 public void addWindow(AccessibilityWindowInfo window) { in addWindow()
108 mWindowCache.put(windowId, new AccessibilityWindowInfo(window)); in addWindow()
233 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
242 SparseArray<AccessibilityWindowInfo> sortedWindows = mTempWindowArray; in getWindows()
246 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in getWindows()
253 List<AccessibilityWindowInfo> windows = new ArrayList<>(sortedWindowCount); in getWindows()
[all …]
DAccessibilityWindowInfo.aidl19 parcelable AccessibilityWindowInfo;
DAccessibilityRecord.java105 int mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
151 mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in setSource()
183 || (mSourceWindowId == AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in getSource()
893 mSourceWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in clear()
DAccessibilityInteractionClient.java211 AccessibilityWindowInfo.ACTIVE_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in getRootInActiveWindow()
224 public AccessibilityWindowInfo getWindow(int connectionId, int accessibilityWindowId) { in getWindow()
228 AccessibilityWindowInfo window = sAccessibilityCache.getWindow( in getWindow()
266 public List<AccessibilityWindowInfo> getWindows(int connectionId) { in getWindows()
270 List<AccessibilityWindowInfo> windows = sAccessibilityCache.getWindows(); in getWindows()
DAccessibilityManager.java1020 return AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in getAccessibilityWindowId()
1027 return AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in getAccessibilityWindowId()
1033 return AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in getAccessibilityWindowId()
DAccessibilityNodeInfo.java724 private int mWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
1609 public AccessibilityWindowInfo getWindow() { in getWindow()
3904 return ((windowId != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in canPerformRequestOverConnection()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java34 import android.view.accessibility.AccessibilityWindowInfo;
148 final AccessibilityWindowInfo window = findWindowByTitle(activityTitle); in launchActivity()
208 private AccessibilityWindowInfo findWindowByTitle(CharSequence title) { in findWindowByTitle()
209 final List<AccessibilityWindowInfo> windows = sUiAutomation.getWindows(); in findWindowByTitle()
210 AccessibilityWindowInfo returnValue = null; in findWindowByTitle()
212 final AccessibilityWindowInfo window = windows.get(i); in findWindowByTitle()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl27 import android.view.accessibility.AccessibilityWindowInfo;
61 AccessibilityWindowInfo getWindow(int windowId); in getWindow()
63 List<AccessibilityWindowInfo> getWindows(); in getWindows()
DIAccessibilityServiceClient.aidl22 import android.view.accessibility.AccessibilityWindowInfo;
DAccessibilityService.java47 import android.view.accessibility.AccessibilityWindowInfo;
601 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
1539 AccessibilityWindowInfo.ANY_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, focus); in findFocus()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java113 AccessibilityWindowInfo windowInfo = null, copyOfInfo = null, windowFromCache = null; in addThenGetWindow_returnsEquivalentButNotSameWindow()
115 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
119 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow()
151 AccessibilityWindowInfo windowInfo1 = null, windowInfo2 = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
152 AccessibilityWindowInfo window1Out = null, window2Out = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
153 List<AccessibilityWindowInfo> windowsOut = null; in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
155 windowInfo1 = AccessibilityWindowInfo.obtain(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
158 windowInfo2 = AccessibilityWindowInfo.obtain(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
161 List<AccessibilityWindowInfo> windowsIn = Arrays.asList(windowInfo1, windowInfo2); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
178 for (AccessibilityWindowInfo windowInfo : windowsOut) { in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
[all …]
DAccessibilityServiceConnectionImpl.java71 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow()
75 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java52 import android.view.accessibility.AccessibilityWindowInfo;
380 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
397 List<AccessibilityWindowInfo> windows = new ArrayList<>(); in getWindows()
400 AccessibilityWindowInfo window = mSecurityPolicy.mWindows.get(i); in getWindows()
401 AccessibilityWindowInfo windowClone = in getWindows()
402 AccessibilityWindowInfo.obtain(window); in getWindows()
411 public AccessibilityWindowInfo getWindow(int windowId) { in getWindow()
425 AccessibilityWindowInfo window = mSecurityPolicy.findA11yWindowInfoById(windowId); in getWindow()
427 AccessibilityWindowInfo windowClone = AccessibilityWindowInfo.obtain(window); in getWindow()
1046 if ((event.getWindowId() != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID) in wantsEventLocked()
[all …]
DAccessibilityManagerService.java103 import android.view.accessibility.AccessibilityWindowInfo;
575 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID) { in sendAccessibilityEvent()
577 AccessibilityWindowInfo pip = mSecurityPolicy.getPictureInPictureWindow(); in sendAccessibilityEvent()
836 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID, in setPictureInPictureActionReplacingConnection()
2611 AccessibilityWindowInfo window = mSecurityPolicy.mWindows.get(j); in dump()
2813 final AccessibilityWindowInfo a11yWindowInfo = in performAccessibilityAction()
2876 AccessibilityWindowInfo windowInfo = in replaceCallbackIfNeeded()
2922 private AccessibilityWindowInfo populateReportedWindowLocked(WindowInfo window) { in populateReportedWindowLocked()
2928 AccessibilityWindowInfo reportedWindow = AccessibilityWindowInfo.obtain(); in populateReportedWindowLocked()
2972 return AccessibilityWindowInfo.TYPE_APPLICATION; in getTypeForWindowManagerWindowType()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java25 import android.view.accessibility.AccessibilityWindowInfo;
181 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in obtainRootAccessibilityNodeInfo()
DPipTouchHandler.java46 import android.view.accessibility.AccessibilityWindowInfo;
413 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID);
426 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID);
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java24 import android.view.accessibility.AccessibilityWindowInfo;
281 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in getReplacerNodes()
289 AccessibilityWindowInfo.PICTURE_IN_PICTURE_ACTION_REPLACER_WINDOW_ID); in getReplacerNodes()
/frameworks/base/core/java/android/text/style/
DAccessibilityClickableSpan.java21 import static android.view.accessibility.AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
/frameworks/base/core/java/android/app/
DUiAutomation.java53 import android.view.accessibility.AccessibilityWindowInfo;
480 AccessibilityWindowInfo.ANY_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, focus); in findFocus()
552 public List<AccessibilityWindowInfo> getWindows() { in getWindows()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java63 import android.view.accessibility.AccessibilityWindowInfo;
2618 private int mFocusedWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
2703 if (mFocusedWindowId != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID in onAccessibilityEvent()
2706 mFocusedWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in onAccessibilityEvent()
/frameworks/base/core/java/android/view/
DViewRootImpl.java103 import android.view.accessibility.AccessibilityWindowInfo;
8840 != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in ensureConnection()
8851 != AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in ensureNoConnection()
8853 mAttachInfo.mAccessibilityWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID; in ensureNoConnection()
DView.java119 import android.view.accessibility.AccessibilityWindowInfo;
10308 : AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
28705 int mAccessibilityWindowId = AccessibilityWindowInfo.UNDEFINED_WINDOW_ID;
/frameworks/base/api/
Dtest-lint-baseline.txt2102 MissingNullability: android.view.accessibility.AccessibilityWindowInfo#setNumInstancesInUseCounter(…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt241 …lityServiceConnection$Stub$Proxy;->getWindow(I)Landroid/view/accessibility/AccessibilityWindowInfo;
293 …/IAccessibilityServiceConnection;->getWindow(I)Landroid/view/accessibility/AccessibilityWindowInfo;
72853 …accessibility/AccessibilityCache;->addWindow(Landroid/view/accessibility/AccessibilityWindowInfo;)V
72864 …accessibility/AccessibilityCache;->getWindow(I)Landroid/view/accessibility/AccessibilityWindowInfo;
72922 …/AccessibilityInteractionClient;->getWindow(II)Landroid/view/accessibility/AccessibilityWindowInfo;
73202 Landroid/view/accessibility/AccessibilityWindowInfo;-><init>()V
73203 Landroid/view/accessibility/AccessibilityWindowInfo;->ACTIVE_WINDOW_ID:I
73204 Landroid/view/accessibility/AccessibilityWindowInfo;->addChild(I)V
73205 Landroid/view/accessibility/AccessibilityWindowInfo;->ANY_WINDOW_ID:I
73206 Landroid/view/accessibility/AccessibilityWindowInfo;->BOOLEAN_PROPERTY_ACCESSIBILITY_FOCUSED:I
[all …]

12