Home
last modified time | relevance | path

Searched refs:AccessibilityAction (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java753 private ArrayList<AccessibilityAction> mActions;
1120 public List<AccessibilityAction> getActionList() { in getActionList()
1185 public void addAction(AccessibilityAction action) { in addAction()
1191 private void addActionUnchecked(AccessibilityAction action) { in addActionUnchecked()
1266 public boolean removeAction(AccessibilityAction action) { in removeAction()
3458 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
3469 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
3573 final ArrayList<AccessibilityAction> otherActions = other.mActions; in init()
3676 final AccessibilityAction action = new AccessibilityAction( in initFromParcel()
3756 private static boolean isDefaultStandardAction(AccessibilityAction action) { in isDefaultStandardAction()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityNodeInfoTest.java29 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
65 AccessibilityAction brokenStandardAction = CollectionUtils.find( in testStandardActions_serializationFlagIsValid()
66 new ArrayList<>(AccessibilityAction.sStandardActions), in testStandardActions_serializationFlagIsValid()
79 new ArrayList<>(AccessibilityAction.sStandardActions), in testStandardActions_serializationFlagIsValid()
94 ArraySet<AccessibilityAction> actions = AccessibilityAction.sStandardActions; in testStandardActions_idsAreUnique()
108 for (AccessibilityAction action : AccessibilityAction.sStandardActions) { in testStandardActions_allComeThroughParceling()
127 nodeWithEmptyActionList.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in testEmptyListOfActions_parcelsCorrectly()
128 nodeWithEmptyActionList.removeAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in testEmptyListOfActions_parcelsCorrectly()
135 assertThat(unparceledNode.getActionList(), emptyCollectionOf(AccessibilityAction.class)); in testEmptyListOfActions_parcelsCorrectly()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewAccessibilityDelegate.java26 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
42 protected final SparseArray<AccessibilityAction> mActions = new SparseArray<>();
47 mActions.put(SPLIT_TASK_TOP, new AccessibilityAction(SPLIT_TASK_TOP, in TaskViewAccessibilityDelegate()
49 mActions.put(SPLIT_TASK_LEFT, new AccessibilityAction(SPLIT_TASK_LEFT, in TaskViewAccessibilityDelegate()
51 mActions.put(SPLIT_TASK_RIGHT, new AccessibilityAction(SPLIT_TASK_RIGHT, in TaskViewAccessibilityDelegate()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DActionReplacingCallbackTest.java23 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…
71 private static final AccessibilityAction[] REQUIRED_ACTIONS_ON_ROOT_TO_SERVICE =
96 List<AccessibilityAction> actions = node.getActionList();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java41 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
162 info.addAction(new AccessibilityAction(R.id.action_snooze_undo, in onInitializeAccessibilityNodeInfo()
166 AccessibilityAction action = mSnoozeOptions.get(i).getAccessibilityAction(); in onInitializeAccessibilityNodeInfo()
202 AccessibilityAction action = new AccessibilityAction( in setSnoozeOptions()
259 AccessibilityAction action = new AccessibilityAction(accessibilityActionId, description); in createOption()
448 private AccessibilityAction mAction;
452 CharSequence confirmation, AccessibilityAction action) { in NotificationSnoozeOption()
481 public AccessibilityAction getAccessibilityAction() { in getAccessibilityAction()
DExpandableNotificationRow.java63 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
2956 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_LONG_CLICK);
2958 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_DISMISS);
2975 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_COLLAPSE);
2977 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND);
2984 AccessibilityAction action = new AccessibilityAction(R.id.action_snooze,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java182 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK); in obtainRootAccessibilityNodeInfo()
183 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_DISMISS); in obtainRootAccessibilityNodeInfo()
184 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW); in obtainRootAccessibilityNodeInfo()
185 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND); in obtainRootAccessibilityNodeInfo()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DActionReplacingCallback.java24 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
215 List<AccessibilityAction> actions = nodeWithReplacementActions.getActionList(); in replaceActionsOnInfoLocked()
221 info.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in replaceActionsOnInfoLocked()
222 info.addAction(AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS); in replaceActionsOnInfoLocked()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java25 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
71 public AccessibilityAction getAccessibilityAction(); in getAccessibilityAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleStackView.java57 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
557 AccessibilityAction moveTopLeft = new AccessibilityAction(R.id.action_move_top_left, in onInitializeAccessibilityNodeInfoInternal()
562 AccessibilityAction moveTopRight = new AccessibilityAction(R.id.action_move_top_right, in onInitializeAccessibilityNodeInfoInternal()
567 AccessibilityAction moveBottomLeft = new AccessibilityAction(R.id.action_move_bottom_left, in onInitializeAccessibilityNodeInfoInternal()
572 AccessibilityAction moveBottomRight = new AccessibilityAction(R.id.action_move_bottom_right, in onInitializeAccessibilityNodeInfoInternal()
578 info.addAction(AccessibilityAction.ACTION_DISMISS); in onInitializeAccessibilityNodeInfoInternal()
580 info.addAction(AccessibilityAction.ACTION_COLLAPSE); in onInitializeAccessibilityNodeInfoInternal()
582 info.addAction(AccessibilityAction.ACTION_EXPAND); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java54 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
186 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
189 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
194 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
198 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
201 info.addAction(new AccessibilityAction(R.id.action_move_rb_full,
204 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
207 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
212 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
216 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java29 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
475 node.addAction(AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS); in createNodeForChild()
478 node.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in createNodeForChild()
DResolverDrawerLayout.java40 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
812 info.removeAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS);
817 if (action == AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS.getId()) {
/frameworks/base/core/java/android/widget/
DSeekBar.java141 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS); in onInitializeAccessibilityNodeInfoInternal()
DEditText.java188 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_TEXT); in onInitializeAccessibilityNodeInfoInternal()
DRatingBar.java355 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS); in onInitializeAccessibilityNodeInfoInternal()
DRadialTimePickerView.java46 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
1093 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD); in onInitializeAccessibilityNodeInfo()
1094 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_BACKWARD); in onInitializeAccessibilityNodeInfo()
1233 node.addAction(AccessibilityAction.ACTION_CLICK); in onPopulateNodeForVirtualView()
DTimePickerClockDelegate.java44 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
397 private final AccessibilityAction mClickAction;
400 mClickAction = new AccessibilityAction( in ClickActionDelegate()
DHorizontalScrollView.java939 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_BACKWARD); in onInitializeAccessibilityNodeInfoInternal()
940 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_LEFT); in onInitializeAccessibilityNodeInfoInternal()
943 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD); in onInitializeAccessibilityNodeInfoInternal()
944 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_RIGHT); in onInitializeAccessibilityNodeInfoInternal()
DScrollView.java996 AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_BACKWARD); in onInitializeAccessibilityNodeInfoInternal()
997 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_UP); in onInitializeAccessibilityNodeInfoInternal()
1000 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD); in onInitializeAccessibilityNodeInfoInternal()
1001 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_DOWN); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java311 new AccessibilityNodeInfo.AccessibilityAction( in onInitializeAccessibilityNodeInfo()
312 AccessibilityNodeInfo.AccessibilityAction in onInitializeAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java181 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(ACTION_CLICK, null)); in onInitializeAccessibilityNodeInfo()
184 new AccessibilityNodeInfo.AccessibilityAction(ACTION_LONG_CLICK, null)); in onInitializeAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockIcon.java389 AccessibilityNodeInfo.AccessibilityAction unlock in onInitializeAccessibilityNodeInfo()
390 = new AccessibilityNodeInfo.AccessibilityAction( in onInitializeAccessibilityNodeInfo()
DNavigationBarView.java60 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
213 private AccessibilityAction mToggleOverviewAction;
219 mToggleOverviewAction = new AccessibilityAction(R.id.action_toggle_overview,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java934 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND);
935 AccessibilityNodeInfo.AccessibilityAction unlock
936 = new AccessibilityNodeInfo.AccessibilityAction(

12