Home
last modified time | relevance | path

Searched refs:AccessibilityNodeInfo (Results 1 – 25 of 120) sorted by relevance

12345

/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatIcs.java21 import android.view.accessibility.AccessibilityNodeInfo;
31 return AccessibilityNodeInfo.obtain(); in obtain()
35 return AccessibilityNodeInfo.obtain(source); in obtain()
39 return AccessibilityNodeInfo.obtain((AccessibilityNodeInfo) info); in obtain()
43 ((AccessibilityNodeInfo) info).addAction(action); in addAction()
47 ((AccessibilityNodeInfo) info).addChild(child); in addChild()
52 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByText(text); in findAccessibilityNodeInfosByText()
57 return ((AccessibilityNodeInfo) info).getActions(); in getActions()
61 ((AccessibilityNodeInfo) info).getBoundsInParent(outBounds); in getBoundsInParent()
65 ((AccessibilityNodeInfo) info).getBoundsInScreen(outBounds); in getBoundsInScreen()
[all …]
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatKitKat.java20 import android.view.accessibility.AccessibilityNodeInfo;
27 return ((AccessibilityNodeInfo) info).getLiveRegion(); in getLiveRegion()
31 ((AccessibilityNodeInfo) info).setLiveRegion(mode); in setLiveRegion()
35 return ((AccessibilityNodeInfo) info).getCollectionInfo(); in getCollectionInfo()
39 return ((AccessibilityNodeInfo) info).getCollectionItemInfo(); in getCollectionItemInfo()
43 ((AccessibilityNodeInfo) info).setCollectionInfo( in setCollectionInfo()
44 (AccessibilityNodeInfo.CollectionInfo)collectionInfo); in setCollectionInfo()
48 ((AccessibilityNodeInfo) info).setCollectionItemInfo( in setCollectionItemInfo()
49 (AccessibilityNodeInfo.CollectionItemInfo) collectionItemInfo); in setCollectionItemInfo()
53 return ((AccessibilityNodeInfo) info).getRangeInfo(); in getRangeInfo()
[all …]
DAccessibilityNodeProviderCompatKitKat.java20 import android.view.accessibility.AccessibilityNodeInfo;
41 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in newAccessibilityNodeProviderBridge()
42 return (AccessibilityNodeInfo) bridge.createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge()
47 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText( in newAccessibilityNodeProviderBridge()
50 return (List<AccessibilityNodeInfo>) (List<?>) in newAccessibilityNodeProviderBridge()
60 public AccessibilityNodeInfo findFocus(int focus) { in newAccessibilityNodeProviderBridge()
61 return (AccessibilityNodeInfo) bridge.findFocus(focus); in newAccessibilityNodeProviderBridge()
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java20 import android.view.accessibility.AccessibilityNodeInfo;
21 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
30 Object result = ((AccessibilityNodeInfo) info).getActionList(); in getActionList()
35 ((AccessibilityNodeInfo) info).addAction((AccessibilityAction) action); in addAction()
39 return ((AccessibilityNodeInfo) info).removeAction((AccessibilityAction) action); in removeAction()
44 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical, in obtainCollectionInfo()
50 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
55 return ((AccessibilityNodeInfo) info).getError(); in getError()
59 ((AccessibilityNodeInfo) info).setError(error); in setError()
63 ((AccessibilityNodeInfo) info).setMaxTextLength(max); in setMaxTextLength()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellyBean.java21 import android.view.accessibility.AccessibilityNodeInfo;
29 ((AccessibilityNodeInfo) info).addChild(child, virtualDescendantId); in addChild()
33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId); in setSource()
37 return ((AccessibilityNodeInfo) info).isVisibleToUser(); in isVisibleToUser()
41 ((AccessibilityNodeInfo) info).setVisibleToUser(visibleToUser); in setVisibleToUser()
45 return ((AccessibilityNodeInfo) info).performAction(action, arguments); in performAction()
49 ((AccessibilityNodeInfo) info).setMovementGranularities(granularities); in setMovementGranularities()
53 return ((AccessibilityNodeInfo) info).getMovementGranularities(); in getMovementGranularities()
57 return AccessibilityNodeInfo.obtain(root, virtualDescendantId); in obtain()
61 return ((AccessibilityNodeInfo) info).findFocus(focus); in findFocus()
[all …]
DAccessibilityNodeProviderCompatJellyBean.java20 import android.view.accessibility.AccessibilityNodeInfo;
40 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in newAccessibilityNodeProviderBridge()
41 return (AccessibilityNodeInfo) bridge.createAccessibilityNodeInfo(virtualViewId); in newAccessibilityNodeProviderBridge()
46 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText( in newAccessibilityNodeProviderBridge()
49 return (List<AccessibilityNodeInfo>) (List<?>) in newAccessibilityNodeProviderBridge()
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java32 import android.view.accessibility.AccessibilityNodeInfo;
58 private final ArrayList<AccessibilityNodeInfo> mTempAccessibilityNodeInfoList =
59 new ArrayList<AccessibilityNodeInfo>();
108 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
109 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
142 List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
150 if (accessibilityViewId == AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
189 message.arg2 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfosByViewIdClientThread()
226 final List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfosByViewIdUiThread()
234 if (accessibilityViewId != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in findAccessibilityNodeInfosByViewIdUiThread()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java43 private long mAccessibilityFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID;
44 private long mInputFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID;
49 private final SparseArray<LongSparseArray<AccessibilityNodeInfo>> mNodeCache =
80 if (mAccessibilityFocus != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in onAccessibilityEvent()
90 mAccessibilityFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; in onAccessibilityEvent()
95 if (mInputFocus != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in onAccessibilityEvent()
143 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked()
147 AccessibilityNodeInfo cachedInfo = nodes.get(sourceId); in refreshCachedNodeLocked()
168 public AccessibilityNodeInfo getNode(int windowId, long accessibilityNodeId) { in getNode()
170 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode()
[all …]
DAccessibilityInteractionClient.java95 private AccessibilityNodeInfo mFindAccessibilityNodeInfoResult;
97 private List<AccessibilityNodeInfo> mFindAccessibilityNodeInfosResult;
159 public AccessibilityNodeInfo getRootInActiveWindow(int connectionId) { in getRootInActiveWindow()
161 AccessibilityNodeInfo.ACTIVE_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in getRootInActiveWindow()
162 false, AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS); in getRootInActiveWindow()
264 public AccessibilityNodeInfo findAccessibilityNodeInfoByAccessibilityId(int connectionId, in findAccessibilityNodeInfoByAccessibilityId()
267 if ((prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS) != 0 in findAccessibilityNodeInfoByAccessibilityId()
268 && (prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_PREDECESSORS) == 0) { in findAccessibilityNodeInfoByAccessibilityId()
276 AccessibilityNodeInfo cachedInfo = sAccessibilityCache.getNode( in findAccessibilityNodeInfoByAccessibilityId()
296 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId()
[all …]
DAccessibilityNodeInfo.java66 public class AccessibilityNodeInfo implements Parcelable { class
587 private static final SynchronizedPool<AccessibilityNodeInfo> sPool =
634 private AccessibilityNodeInfo() { in AccessibilityNodeInfo() method in AccessibilityNodeInfo
690 public AccessibilityNodeInfo findFocus(int focus) { in findFocus()
714 public AccessibilityNodeInfo focusSearch(int direction) { in focusSearch()
752 AccessibilityNodeInfo refreshedInfo = client.findAccessibilityNodeInfoByAccessibilityId( in refresh()
821 public AccessibilityNodeInfo getChild(int index) { in getChild()
1111 public AccessibilityNodeInfo getTraversalBefore() { in getTraversalBefore()
1172 public AccessibilityNodeInfo getTraversalAfter() { in getTraversalAfter()
1337 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text) { in findAccessibilityNodeInfosByText()
[all …]
DIAccessibilityInteractionCallback.aidl19 import android.view.accessibility.AccessibilityNodeInfo;
36 void setFindAccessibilityNodeInfoResult(in AccessibilityNodeInfo info, int interactionId); in setFindAccessibilityNodeInfoResult()
44 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult()
DIAccessibilityInteractionConnectionCallback.aidl20 import android.view.accessibility.AccessibilityNodeInfo;
37 void setFindAccessibilityNodeInfoResult(in AccessibilityNodeInfo info, int interactionId); in setFindAccessibilityNodeInfoResult()
45 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult()
DAccessibilityNodeProvider.java100 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo()
136 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text, in findAccessibilityNodeInfosByText()
152 public AccessibilityNodeInfo findFocus(int focus) { in findFocus()
DAccessibilityRecord.java68 AccessibilityNodeInfo.FLAG_PREFETCH_PREDECESSORS
69 | AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS
70 | AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS;
93 AccessibilityNodeInfo mSourceNode;
143 virtualDescendantId == AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in setSource()
167 public AccessibilityNodeInfo getSource() { in getSource()
170 return AccessibilityNodeInfo.obtain(mSourceNode); in getSource()
798 mSourceNode = AccessibilityNodeInfo.obtain(record.mSourceNode); in init()
/frameworks/support/v4/jellybean-mr2/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellybeanMr2.java19 import android.view.accessibility.AccessibilityNodeInfo;
26 ((AccessibilityNodeInfo) info).setViewIdResourceName(viewId); in setViewIdResourceName()
30 return ((AccessibilityNodeInfo) info).getViewIdResourceName(); in getViewIdResourceName()
35 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByViewId(viewId); in findAccessibilityNodeInfosByViewId()
40 ((AccessibilityNodeInfo) info).setTextSelection(start, end); in setTextSelection()
44 return ((AccessibilityNodeInfo) info).getTextSelectionStart(); in getTextSelectionStart()
48 return ((AccessibilityNodeInfo) info).getTextSelectionEnd(); in getTextSelectionEnd()
52 return ((AccessibilityNodeInfo) info).isEditable(); in isEditable()
56 ((AccessibilityNodeInfo) info).setEditable(editable); in setEditable()
60 return ((AccessibilityNodeInfo) info).refresh(); in refresh()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DQueryController.java22 import android.view.accessibility.AccessibilityNodeInfo;
137 public AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector) { in findAccessibilityNodeInfo()
141 protected AccessibilityNodeInfo findAccessibilityNodeInfo(UiSelector selector, in findAccessibilityNodeInfo()
150 AccessibilityNodeInfo rootNode = getRootNode(); in findAccessibilityNodeInfo()
167 protected AccessibilityNodeInfo getRootNode() { in getRootNode()
170 AccessibilityNodeInfo rootNode = null; in getRootNode()
215 private AccessibilityNodeInfo translateCompoundSelector(UiSelector selector, in translateCompoundSelector()
216 AccessibilityNodeInfo fromNode, boolean isCounting) { in translateCompoundSelector()
285 private AccessibilityNodeInfo translateReqularSelector(UiSelector selector, in translateReqularSelector()
286 AccessibilityNodeInfo fromNode) { in translateReqularSelector()
[all …]
DUiObject.java25 import android.view.accessibility.AccessibilityNodeInfo;
148 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount()
163 protected AccessibilityNodeInfo findAccessibilityNodeInfo(long timeout) { in findAccessibilityNodeInfo()
164 AccessibilityNodeInfo node = null; in findAccessibilityNodeInfo()
335 private Rect getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds()
346 AccessibilityNodeInfo scrollableParentNode = getScrollableParent(node); in getVisibleBounds()
373 private AccessibilityNodeInfo getScrollableParent(AccessibilityNodeInfo node) { in getScrollableParent()
374 AccessibilityNodeInfo parent = node; in getScrollableParent()
394 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in click()
434 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickAndWaitForNewWindow()
[all …]
DAccessibilityNodeInfoDumper.java23 import android.view.accessibility.AccessibilityNodeInfo;
52 public static void dumpWindowToFile(AccessibilityNodeInfo root, int rotation, in dumpWindowToFile()
75 public static void dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, in dumpWindowToFile()
101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, in dumpNodeRec()
126 AccessibilityNodeInfo child = node.getChild(i); in dumpNodeRec()
150 private static boolean nafExcludedClass(AccessibilityNodeInfo node) { in nafExcludedClass()
169 private static boolean nafCheck(AccessibilityNodeInfo node) { in nafCheck()
195 private static boolean childNafCheck(AccessibilityNodeInfo node) { in childNafCheck()
198 AccessibilityNodeInfo childNode = node.getChild(x); in childNafCheck()
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellybeanMr1.java20 import android.view.accessibility.AccessibilityNodeInfo;
25 ((AccessibilityNodeInfo) info).setLabelFor(labeled); in setLabelFor()
29 ((AccessibilityNodeInfo) info).setLabelFor(root, virtualDescendantId); in setLabelFor()
33 return ((AccessibilityNodeInfo) info).getLabelFor(); in getLabelFor()
37 ((AccessibilityNodeInfo) info).setLabeledBy(labeled); in setLabeledBy()
41 ((AccessibilityNodeInfo) info).setLabeledBy(root, virtualDescendantId); in setLabeledBy()
45 return ((AccessibilityNodeInfo) info).getLabeledBy(); in getLabeledBy()
/frameworks/support/v4/api22/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi22.java19 import android.view.accessibility.AccessibilityNodeInfo;
28 return ((AccessibilityNodeInfo) info).getTraversalBefore(); in getTraversalBefore()
32 ((AccessibilityNodeInfo) info).setTraversalBefore(view); in setTraversalBefore()
36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId); in setTraversalBefore()
40 return ((AccessibilityNodeInfo) info).getTraversalAfter(); in getTraversalAfter()
44 ((AccessibilityNodeInfo) info).setTraversalAfter(view); in setTraversalAfter()
48 ((AccessibilityNodeInfo) info).setTraversalAfter(root, virtualDescendantId); in setTraversalAfter()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java29 import android.view.accessibility.AccessibilityNodeInfo;
30 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
319 private AccessibilityNodeInfo createNode(int virtualViewId) { in createNode()
334 private AccessibilityNodeInfo createNodeForHost() { in createNodeForHost()
335 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost()
383 private AccessibilityNodeInfo createNodeForChild(int virtualViewId) { in createNodeForChild()
389 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild()
412 if ((actions & AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS) != 0) { in createNodeForChild()
416 if ((actions & AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS) != 0) { in createNodeForChild()
473 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS: in performActionForChild()
[all …]
/frameworks/base/core/java/android/widget/
DNumberPicker.java49 import android.view.accessibility.AccessibilityNodeInfo;
1058 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent()
1070 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent()
2315 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo()
2340 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String searched, in findAccessibilityNodeInfosByText()
2346 List<AccessibilityNodeInfo> result = new ArrayList<AccessibilityNodeInfo>(); in findAccessibilityNodeInfosByText()
2373 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS: { in performAction()
2380 case AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS: { in performAction()
2388 case AccessibilityNodeInfo.ACTION_SCROLL_FORWARD: { in performAction()
2395 case AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD: { in performAction()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java36 import android.view.accessibility.AccessibilityNodeInfo;
41 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_CLICK;
42 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_LONG_CLICK;
91 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
94 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(ACTION_CLICK, null)); in onInitializeAccessibilityNodeInfo()
97 new AccessibilityNodeInfo.AccessibilityAction(ACTION_LONG_CLICK, null)); in onInitializeAccessibilityNodeInfo()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DDayPickerView.java29 import android.view.accessibility.AccessibilityNodeInfo;
456 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
458 info.addAction(AccessibilityNodeInfo.ACTION_SCROLL_FORWARD); in onInitializeAccessibilityNodeInfo()
459 info.addAction(AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD); in onInitializeAccessibilityNodeInfo()
468 if (action != AccessibilityNodeInfo.ACTION_SCROLL_FORWARD && in performAccessibilityAction()
469 action != AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) { in performAccessibilityAction()
480 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD) { in performAccessibilityAction()
486 } else if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) { in performAccessibilityAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java25 import android.view.accessibility.AccessibilityNodeInfo;
178 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
183 AccessibilityNodeInfo.AccessibilityAction unlock in onInitializeAccessibilityNodeInfo()
184 = new AccessibilityNodeInfo.AccessibilityAction( in onInitializeAccessibilityNodeInfo()
185 AccessibilityNodeInfo.ACTION_CLICK, in onInitializeAccessibilityNodeInfo()

12345