/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | ActionReplacingCallbackTest.java | 22 import android.view.accessibility.AccessibilityNodeInfo; 23 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; 41 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_ACCESSIBI… 42 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLEAR_ACC… 43 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK; 44 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_COLLAPSE; 45 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND; 46 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CONTEXT_C… 75 private static final Matcher<AccessibilityNodeInfo> HAS_NO_ACTIONS = 76 new BaseMatcher<AccessibilityNodeInfo>() { [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAccessibilityInteractionConnection.java | 24 import android.view.accessibility.AccessibilityNodeInfo; 44 private List<AccessibilityNodeInfo> mAccessibilityNodeInfoList; 66 (accessibilityNodeId == AccessibilityNodeInfo.ROOT_NODE_ID) in findAccessibilityNodeInfoByAccessibilityId() 80 if (accessibilityNodeId == AccessibilityNodeInfo.ROOT_NODE_ID) { in performAccessibilityAction() 82 case AccessibilityNodeInfo.ACTION_CLICK: in performAccessibilityAction() 88 case AccessibilityNodeInfo.ACTION_DISMISS: in performAccessibilityAction() 94 AccessibilityNodeInfo.ACTION_ARGUMENT_MOVE_WINDOW_X); in performAccessibilityAction() 96 AccessibilityNodeInfo.ACTION_ARGUMENT_MOVE_WINDOW_Y); in performAccessibilityAction() 103 case AccessibilityNodeInfo.ACTION_EXPAND: in performAccessibilityAction() 178 public static AccessibilityNodeInfo obtainRootAccessibilityNodeInfo() { in obtainRootAccessibilityNodeInfo() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityCache.java | 66 private long mAccessibilityFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; 67 private long mInputFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; 74 private final SparseArray<LongSparseArray<AccessibilityNodeInfo>> mNodeCache = 126 if (mAccessibilityFocus != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in onAccessibilityEvent() 136 mAccessibilityFocus = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; in onAccessibilityEvent() 141 if (mInputFocus != AccessibilityNodeInfo.UNDEFINED_ITEM_ID) { in onAccessibilityEvent() 189 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked() 193 AccessibilityNodeInfo cachedInfo = nodes.get(sourceId); in refreshCachedNodeLocked() 214 public AccessibilityNodeInfo getNode(int windowId, long accessibilityNodeId) { in getNode() 216 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode() [all …]
|
D | AccessibilityInteractionClient.java | 105 private AccessibilityNodeInfo mFindAccessibilityNodeInfoResult; 107 private List<AccessibilityNodeInfo> mFindAccessibilityNodeInfosResult; 209 public AccessibilityNodeInfo getRootInActiveWindow(int connectionId) { in getRootInActiveWindow() 211 AccessibilityWindowInfo.ACTIVE_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, in getRootInActiveWindow() 212 false, AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS, null); in getRootInActiveWindow() 316 public AccessibilityNodeInfo findAccessibilityNodeInfoByAccessibilityId(int connectionId, in findAccessibilityNodeInfoByAccessibilityId() 319 if ((prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS) != 0 in findAccessibilityNodeInfoByAccessibilityId() 320 && (prefetchFlags & AccessibilityNodeInfo.FLAG_PREFETCH_PREDECESSORS) == 0) { in findAccessibilityNodeInfoByAccessibilityId() 328 AccessibilityNodeInfo cachedInfo = sAccessibilityCache.getNode( in findAccessibilityNodeInfoByAccessibilityId() 353 List<AccessibilityNodeInfo> infos = getFindAccessibilityNodeInfosResultAndClear( in findAccessibilityNodeInfoByAccessibilityId() [all …]
|
D | AccessibilityNodeProvider.java | 100 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() 122 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() 157 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text, in findAccessibilityNodeInfosByText() 173 public AccessibilityNodeInfo findFocus(int focus) { in findFocus()
|
D | AccessibilityNodeInfo.java | 91 public class AccessibilityNodeInfo implements Parcelable { class 715 private static final SynchronizedPool<AccessibilityNodeInfo> sPool = 718 private static final AccessibilityNodeInfo DEFAULT = new AccessibilityNodeInfo(); 776 private AccessibilityNodeInfo() { in AccessibilityNodeInfo() method in AccessibilityNodeInfo 781 AccessibilityNodeInfo(AccessibilityNodeInfo info) { in AccessibilityNodeInfo() method in AccessibilityNodeInfo 837 public AccessibilityNodeInfo findFocus(int focus) { in findFocus() 861 public AccessibilityNodeInfo focusSearch(int direction) { in focusSearch() 900 AccessibilityNodeInfo refreshedInfo = client.findAccessibilityNodeInfoByAccessibilityId( in refresh() 992 public AccessibilityNodeInfo getChild(int index) { in getChild() 1296 public AccessibilityNodeInfo getTraversalBefore() { in getTraversalBefore() [all …]
|
D | IAccessibilityInteractionConnectionCallback.aidl | 19 import android.view.accessibility.AccessibilityNodeInfo; 37 void setFindAccessibilityNodeInfoResult(in AccessibilityNodeInfo info, int interactionId); in setFindAccessibilityNodeInfoResult() 46 void setFindAccessibilityNodeInfosResult(in List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult()
|
D | AccessibilityRecord.java | 74 AccessibilityNodeInfo.FLAG_PREFETCH_PREDECESSORS 75 | AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS 76 | AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS; 104 long mSourceNodeId = AccessibilityNodeInfo.UNDEFINED_NODE_ID; 150 int rootViewId = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; in setSource() 158 mSourceNodeId = AccessibilityNodeInfo.makeNodeId(rootViewId, virtualDescendantId); in setSource() 180 public AccessibilityNodeInfo getSource() { in getSource() 184 || (AccessibilityNodeInfo.getAccessibilityViewId(mSourceNodeId) in getSource() 185 == AccessibilityNodeInfo.UNDEFINED_ITEM_ID)) { in getSource() 892 mSourceNodeId = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; in clear()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 20 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_ARGUMENT_ACCESSIBLE_CLICKABLE… 21 import static android.view.accessibility.AccessibilityNodeInfo.EXTRA_DATA_REQUESTED_KEY; 22 import static android.view.accessibility.AccessibilityNodeInfo.EXTRA_DATA_TEXT_CHARACTER_LOCATION_K… 45 import android.view.accessibility.AccessibilityNodeInfo; 46 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; 90 private final ArrayList<AccessibilityNodeInfo> mTempAccessibilityNodeInfoList = 91 new ArrayList<AccessibilityNodeInfo>(); 171 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 172 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 236 (originalMessageArgs.argi2 == AccessibilityNodeInfo.UNDEFINED_ITEM_ID) in holdOffMessageIfNeeded() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 202 AccessibilityNodeInfo nodeInfo, nodeCopy = null, nodeFromCache = null; in addThenGetNode_returnsEquivalentNode() 206 nodeCopy = AccessibilityNodeInfo.obtain(nodeInfo); in addThenGetNode_returnsEquivalentNode() 221 AccessibilityNodeInfo nodeInfo1 = null, nodeInfo2 = null, nodeFromCache = null; in overwriteThenGetNode_returnsNewNode() 226 nodeInfo2 = AccessibilityNodeInfo.obtain(nodeInfo1); in overwriteThenGetNode_returnsNewNode() 244 AccessibilityNodeInfo nodeInfo1 = null, nodeInfo2 = null, in nodesInDifferentWindowWithSameId_areKeptSeparate() 271 AccessibilityNodeInfo nodeInfo = getNodeWithA11yAndWindowId(SINGLE_VIEW_ID, WINDOW_ID_1); in addNodeThenClear_nodeIsRemoved() 301 AccessibilityNodeInfo nodeInfo = getNodeWithA11yAndWindowId(CHILD_VIEW_ID, WINDOW_ID_1); in subTreeChangeEventFromUncachedNode_clearsNodeInCache() 312 AccessibilityNodeInfo shouldBeNull = mAccessibilityCache.getNode(WINDOW_ID_1, id); in subTreeChangeEventFromUncachedNode_clearsNodeInCache() 333 AccessibilityNodeInfo parentNodeInfo = getParentNode(); in reparentNode_clearsOldParent() 334 AccessibilityNodeInfo childNodeInfo = getChildNode(); in reparentNode_clearsOldParent() [all …]
|
D | AccessibilityNodeInfoTest.java | 29 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; 81 && action.getId() <= AccessibilityNodeInfo.LAST_LEGACY_STANDARD_ACTION in testStandardActions_serializationFlagIsValid() 109 final AccessibilityNodeInfo nodeWithAction = AccessibilityNodeInfo.obtain(); in testStandardActions_allComeThroughParceling() 115 final AccessibilityNodeInfo unparceledNode = in testStandardActions_allComeThroughParceling() 116 AccessibilityNodeInfo.CREATOR.createFromParcel(parcel); in testStandardActions_allComeThroughParceling() 126 final AccessibilityNodeInfo nodeWithEmptyActionList = AccessibilityNodeInfo.obtain(); in testEmptyListOfActions_parcelsCorrectly() 133 final AccessibilityNodeInfo unparceledNode = in testEmptyListOfActions_parcelsCorrectly() 134 AccessibilityNodeInfo.CREATOR.createFromParcel(parcel); in testEmptyListOfActions_parcelsCorrectly() 141 AccessibilityEventTest.assertNoNewNonStaticFieldsAdded(AccessibilityNodeInfo.class, in dontForgetToUpdateCtsParcelingTestWhenYouAddNewFields() 149 for (Field field : AccessibilityNodeInfo.class.getDeclaredFields()) { in updateCtsToTestNewBooleanProperties()
|
D | AccessibilityInteractionClientTest.java | 66 AccessibilityNodeInfo nodeFromConnection = AccessibilityNodeInfo.obtain(); in findA11yNodeInfoByA11yId_whenBypassingCache_doesntTouchCache() 70 AccessibilityNodeInfo node = client.findAccessibilityNodeInfoByAccessibilityId( in findA11yNodeInfoByA11yId_whenBypassingCache_doesntTouchCache() 78 List<AccessibilityNodeInfo> mInfosToReturn;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | ActionReplacingCallback.java | 23 import android.view.accessibility.AccessibilityNodeInfo; 24 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; 47 List<AccessibilityNodeInfo> mNodesWithReplacementActions; 50 List<AccessibilityNodeInfo> mNodesFromOriginalWindow; 53 AccessibilityNodeInfo mNodeFromOriginalWindow; 79 AccessibilityNodeInfo.ROOT_NODE_ID, null, interactionId + 1, this, 0, in ActionReplacingCallback() 93 public void setFindAccessibilityNodeInfoResult(AccessibilityNodeInfo info, int interactionId) { in setFindAccessibilityNodeInfoResult() 112 public void setFindAccessibilityNodeInfosResult(List<AccessibilityNodeInfo> infos, in setFindAccessibilityNodeInfosResult() 145 final AccessibilityNodeInfo nodeToReturn; in replaceInfoActionsAndCallService() 170 final List<AccessibilityNodeInfo> nodesToReturn; in replaceInfosActionsAndCallService() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | QueryController.java | 22 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 …]
|
D | UiObject.java | 25 import android.view.accessibility.AccessibilityNodeInfo; 151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount() 166 protected AccessibilityNodeInfo findAccessibilityNodeInfo(long timeout) { in findAccessibilityNodeInfo() 167 AccessibilityNodeInfo node = null; in findAccessibilityNodeInfo() 338 private Rect getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds() 349 AccessibilityNodeInfo scrollableParentNode = getScrollableParent(node); in getVisibleBounds() 376 private AccessibilityNodeInfo getScrollableParent(AccessibilityNodeInfo node) { in getScrollableParent() 377 AccessibilityNodeInfo parent = node; in getScrollableParent() 397 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in click() 437 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in clickAndWaitForNewWindow() [all …]
|
D | AccessibilityNodeInfoDumper.java | 23 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()
|
D | AccessibilityNodeInfoHelper.java | 19 import android.view.accessibility.AccessibilityNodeInfo; 35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { in getVisibleBoundsInScreen()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 28 import android.view.accessibility.AccessibilityNodeInfo; 29 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction; 358 private AccessibilityNodeInfo createNode(int virtualViewId) { in createNode() 373 private AccessibilityNodeInfo createNodeForHost() { in createNodeForHost() 374 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() 429 private AccessibilityNodeInfo createNodeForChild(int virtualViewId) { in createNodeForChild() 435 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild() 458 if ((actions & AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS) != 0) { in createNodeForChild() 462 if ((actions & AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS) != 0) { in createNodeForChild() 519 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS: in performActionForChild() [all …]
|
D | RecyclerViewAccessibilityDelegate.java | 23 import android.view.accessibility.AccessibilityNodeInfo; 55 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() 86 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) {
|
/frameworks/base/core/java/android/text/style/ |
D | AccessibilityClickableSpan.java | 18 import static android.view.accessibility.AccessibilityNodeInfo.ACTION_ARGUMENT_ACCESSIBLE_CLICKABLE… 19 import static android.view.accessibility.AccessibilityNodeInfo.UNDEFINED_CONNECTION_ID; 20 import static android.view.accessibility.AccessibilityNodeInfo.UNDEFINED_NODE_ID; 31 import android.view.accessibility.AccessibilityNodeInfo; 118 public void copyConnectionDataFrom(AccessibilityNodeInfo accessibilityNodeInfo) { in copyConnectionDataFrom()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 56 import android.view.accessibility.AccessibilityNodeInfo; 1102 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent() 1114 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS, null); in dispatchHoverEvent() 2487 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) { in createAccessibilityNodeInfo() 2512 public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String searched, in findAccessibilityNodeInfosByText() 2518 List<AccessibilityNodeInfo> result = new ArrayList<AccessibilityNodeInfo>(); in findAccessibilityNodeInfosByText() 2545 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS: { in performAction() 2552 case AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS: { in performAction() 2560 case AccessibilityNodeInfo.ACTION_SCROLL_FORWARD: { in performAction() 2567 case AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD: { in performAction() [all …]
|
D | SeekBar.java | 22 import android.view.accessibility.AccessibilityNodeInfo; 137 public void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfoInternal() 141 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS); in onInitializeAccessibilityNodeInfoInternal()
|
D | EditText.java | 27 import android.view.accessibility.AccessibilityNodeInfo; 185 public void onInitializeAccessibilityNodeInfoInternal(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfoInternal() 188 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_TEXT); in onInitializeAccessibilityNodeInfoInternal()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DayPickerView.java | 29 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/opt/datetimepicker/src/com/android/datetimepicker/ |
D | AccessibleLinearLayout.java | 22 import android.view.accessibility.AccessibilityNodeInfo; 45 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
|