Home
last modified time | relevance | path

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

1234567

/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.java19 import android.view.accessibility.AccessibilityNodeInfo;
26 return ((AccessibilityNodeInfo) info).getLiveRegion(); in getLiveRegion()
30 ((AccessibilityNodeInfo) info).setLiveRegion(mode); in setLiveRegion()
34 return ((AccessibilityNodeInfo) info).getCollectionInfo(); in getCollectionInfo()
38 return ((AccessibilityNodeInfo) info).getCollectionItemInfo(); in getCollectionItemInfo()
42 ((AccessibilityNodeInfo) info).setCollectionInfo( in setCollectionInfo()
43 (AccessibilityNodeInfo.CollectionInfo)collectionInfo); in setCollectionInfo()
47 ((AccessibilityNodeInfo) info).setCollectionItemInfo( in setCollectionItemInfo()
48 (AccessibilityNodeInfo.CollectionItemInfo) collectionItemInfo); in setCollectionItemInfo()
52 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/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.java31 import android.view.accessibility.AccessibilityNodeInfo;
57 private final ArrayList<AccessibilityNodeInfo> mTempAccessibilityNodeInfoList =
58 new ArrayList<AccessibilityNodeInfo>();
107 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
108 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
141 List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
149 if (accessibilityViewId == AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
180 message.arg2 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfosByViewIdClientThread()
217 final List<AccessibilityNodeInfo> infos = mTempAccessibilityNodeInfoList; in findAccessibilityNodeInfosByViewIdUiThread()
225 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.java96 private AccessibilityNodeInfo mFindAccessibilityNodeInfoResult;
98 private List<AccessibilityNodeInfo> mFindAccessibilityNodeInfosResult;
160 public AccessibilityNodeInfo getRootInActiveWindow(int connectionId) { in getRootInActiveWindow()
162 AccessibilityNodeInfo.ACTIVE_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in getRootInActiveWindow()
163 false, AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS); in getRootInActiveWindow()
261 public AccessibilityNodeInfo findAccessibilityNodeInfoByAccessibilityId(int connectionId, in findAccessibilityNodeInfoByAccessibilityId()
264 if ((prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS) != 0 in findAccessibilityNodeInfoByAccessibilityId()
265 && (prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_PREDECESSORS) == 0) { in findAccessibilityNodeInfoByAccessibilityId()
273 AccessibilityNodeInfo cachedInfo = sAccessibilityCache.getNode( in findAccessibilityNodeInfoByAccessibilityId()
291 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId()
[all …]
DAccessibilityNodeInfo.java64 public class AccessibilityNodeInfo implements Parcelable { class
539 private static final SynchronizedPool<AccessibilityNodeInfo> sPool =
540 new SynchronizedPool<AccessibilityNodeInfo>(MAX_POOL_SIZE);
586 private AccessibilityNodeInfo() { in AccessibilityNodeInfo() method in AccessibilityNodeInfo
642 public AccessibilityNodeInfo findFocus(int focus) { in findFocus()
666 public AccessibilityNodeInfo focusSearch(int direction) { in focusSearch()
704 AccessibilityNodeInfo refreshedInfo = client.findAccessibilityNodeInfoByAccessibilityId( in refresh()
773 public AccessibilityNodeInfo getChild(int index) { in getChild()
1059 public AccessibilityNodeInfo getTraversalBefore() { in getTraversalBefore()
1120 public AccessibilityNodeInfo getTraversalAfter() { in getTraversalAfter()
[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 long mSourceNodeId = AccessibilityNodeInfo.makeNodeId(UNDEFINED, UNDEFINED);
147 mSourceNodeId = AccessibilityNodeInfo.makeNodeId(rootViewId, virtualDescendantId); in setSource()
159 public AccessibilityNodeInfo getSource() { in getSource()
162 || AccessibilityNodeInfo.getAccessibilityViewId(mSourceNodeId) == UNDEFINED) { in getSource()
810 mSourceNodeId = AccessibilityNodeInfo.makeNodeId(UNDEFINED, UNDEFINED); in clear()
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java19 import android.view.accessibility.AccessibilityNodeInfo;
20 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
29 Object result = ((AccessibilityNodeInfo) info).getActionList(); in getActionList()
34 ((AccessibilityNodeInfo) info).addAction((AccessibilityAction) action); in addAction()
39 return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical, in obtainCollectionInfo()
45 return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex, in obtainCollectionItemInfo()
51 return ((AccessibilityNodeInfo.CollectionItemInfo) info).isSelected(); in isSelected()
60 return ((AccessibilityNodeInfo.AccessibilityAction) action).getId(); in getAccessibilityActionId()
64 return ((AccessibilityNodeInfo.AccessibilityAction) action).getLabel(); in getAccessibilityActionLabel()
/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/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()
369 private AccessibilityNodeInfo getScrollableParent(AccessibilityNodeInfo node) { in getScrollableParent()
370 AccessibilityNodeInfo parent = node; in getScrollableParent()
390 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in click()
430 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/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/support/v4/jellybean-mr2/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellybeanMr2.java19 import android.view.accessibility.AccessibilityNodeInfo;
24 ((AccessibilityNodeInfo) info).setViewIdResourceName(viewId); in setViewIdResourceName()
28 return ((AccessibilityNodeInfo) info).getViewIdResourceName(); in getViewIdResourceName()
/frameworks/base/core/java/android/widget/
DNumberPicker.java48 import android.view.accessibility.AccessibilityNodeInfo;
1043 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent()
1055 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent()
2258 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo()
2283 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String searched, in findAccessibilityNodeInfosByText()
2289 List<AccessibilityNodeInfo> result = new ArrayList<AccessibilityNodeInfo>(); in findAccessibilityNodeInfosByText()
2316 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS: { in performAction()
2323 case AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS: { in performAction()
2331 case AccessibilityNodeInfo.ACTION_SCROLL_FORWARD: { in performAction()
2338 case AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD: { in performAction()
[all …]
DEditText.java29 import android.view.accessibility.AccessibilityNodeInfo;
132 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
140 case AccessibilityNodeInfo.ACTION_SET_TEXT: { in performAccessibilityAction()
142 AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE) : null; in performAccessibilityAction()
DDayPickerView.java28 import android.view.accessibility.AccessibilityNodeInfo;
481 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
483 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD); in onInitializeAccessibilityNodeInfo()
484 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_BACKWARD); in onInitializeAccessibilityNodeInfo()
492 if (action != AccessibilityNodeInfo.ACTION_SCROLL_FORWARD && in performAccessibilityAction()
493 action != AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) { in performAccessibilityAction()
505 if (action == AccessibilityNodeInfo.ACTION_SCROLL_FORWARD) { in performAccessibilityAction()
511 } else if (action == AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD) { in performAccessibilityAction()
/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/policy/
DKeyButtonView.java39 import android.view.accessibility.AccessibilityNodeInfo;
44 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_CLICK;
45 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_LONG_CLICK;
104 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
107 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(ACTION_CLICK, null)); in onInitializeAccessibilityNodeInfo()
110 new AccessibilityNodeInfo.AccessibilityAction(ACTION_LONG_CLICK, null)); in onInitializeAccessibilityNodeInfo()

1234567