Home
last modified time | relevance | path

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

1234

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java36 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
89 private final AccessibilityAction mLegacyHomeAction;
90 private final AccessibilityAction mLegacyBackAction;
91 private final AccessibilityAction mLegacyRecentsAction;
92 private final AccessibilityAction mLegacyNotificationsAction;
93 private final AccessibilityAction mLegacyQuickSettingsAction;
94 private final AccessibilityAction mLegacyPowerDialogAction;
95 private final AccessibilityAction mLegacyLockScreenAction;
96 private final AccessibilityAction mLegacyTakeScreenshotAction;
129 mLegacyHomeAction = new AccessibilityAction( in SystemActionPerformer()
[all …]
DActionReplacingCallback.java25 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
274 List<AccessibilityAction> actions = mNodeWithReplacementActions.getActionList(); in replaceActionsOnInfoLocked()
280 info.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in replaceActionsOnInfoLocked()
281 info.addAction(AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS); in replaceActionsOnInfoLocked()
/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/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1014 private ArrayList<AccessibilityAction> mActions;
1511 public List<AccessibilityAction> getActionList() { in getActionList()
1579 public void addAction(AccessibilityAction action) { in addAction()
1585 private void addActionUnchecked(AccessibilityAction action) { in addActionUnchecked()
1660 public boolean removeAction(AccessibilityAction action) { in removeAction()
4435 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
4446 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
4576 final ArrayList<AccessibilityAction> otherActions = other.mActions; in init()
4706 final AccessibilityAction action = in initFromParcel()
4707 AccessibilityAction.CREATOR.createFromParcel(parcel); in initFromParcel()
[all …]
DAccessibilityNodeInfo.aidl20 parcelable AccessibilityNodeInfo.AccessibilityAction;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java46 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
96 private static final AccessibilityAction NEW_ACCESSIBILITY_ACTION =
97 new AccessibilityAction(NEW_ACTION_ID, LABEL_1);
98 private static final AccessibilityAction LEGACY_NOTIFICATIONS_ACCESSIBILITY_ACTION =
99 new AccessibilityAction(AccessibilityService.GLOBAL_ACTION_NOTIFICATIONS, LABEL_1);
100 private static final AccessibilityAction LEGACY_HOME_ACCESSIBILITY_ACTION =
101 new AccessibilityAction(AccessibilityService.GLOBAL_ACTION_HOME, LABEL_2);
143 List<AccessibilityAction> actions, AccessibilityAction action) { in assertHasLegacyAccessibilityAction()
145 for (AccessibilityAction a : actions) { in assertHasLegacyAccessibilityAction()
155 List<AccessibilityAction> actions, AccessibilityAction action) { in assertHasNoLegacyAccessibilityAction()
[all …]
DActionReplacingCallbackTest.java19 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_ACCESSIBI…
20 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLEAR_ACC…
21 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK;
22 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_COLLAPSE;
23 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CONTEXT_C…
24 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND;
44 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
72 private static final AccessibilityAction[] REQUIRED_ACTIONS_ON_ROOT_TO_SERVICE =
97 List<AccessibilityAction> actions = node.getActionList();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DFaceAuthAccessibilityDelegateTest.kt67 val argumentCaptor = argumentCaptor<AccessibilityNodeInfo.AccessibilityAction>() in shouldListenForFaceTrue_onInitializeAccessibilityNodeInfo_clickActionAdded()
72 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in shouldListenForFaceTrue_onInitializeAccessibilityNodeInfo_clickActionAdded()
87 .addAction(any(AccessibilityNodeInfo.AccessibilityAction::class.java)) in shouldListenForFaceFalse_onInitializeAccessibilityNodeInfo_clickActionNotAdded()
97 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in performAccessibilityAction_actionClick_retriesFaceAuth()
DUdfpsKeyguardAccessibilityDelegateTest.kt63 val argumentCaptor = argumentCaptor<AccessibilityNodeInfo.AccessibilityAction>() in onInitializeAccessibilityNodeInfo_clickActionAdded()
68 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in onInitializeAccessibilityNodeInfo_clickActionAdded()
79 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in performAccessibilityAction_actionClick_showsPrimaryBouncer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardAccessibilityDelegate.kt39 AccessibilityNodeInfo.AccessibilityAction( in onInitializeAccessibilityNodeInfo()
40 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in onInitializeAccessibilityNodeInfo()
49 return if (action == AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id) { in performAccessibilityAction()
DFaceAuthAccessibilityDelegate.kt44 AccessibilityNodeInfo.AccessibilityAction( in onInitializeAccessibilityNodeInfo()
45 AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id, in onInitializeAccessibilityNodeInfo()
53 return if (action == AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK.id) { in performAccessibilityAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java43 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
163 info.addAction(new AccessibilityAction(R.id.action_snooze_undo, in onInitializeAccessibilityNodeInfo()
167 AccessibilityAction action = mSnoozeOptions.get(i).getAccessibilityAction(); in onInitializeAccessibilityNodeInfo()
178 AccessibilityAction customClick = new AccessibilityAction( in onInitializeAccessibilityNodeInfo()
245 AccessibilityAction action = new AccessibilityAction( in setSnoozeOptions()
302 AccessibilityAction action = new AccessibilityAction(accessibilityActionId, description); in createOption()
505 private AccessibilityAction mAction;
509 CharSequence confirmation, AccessibilityAction action) { in NotificationSnoozeOption()
538 public AccessibilityAction getAccessibilityAction() { in getAccessibilityAction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java50 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
133 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
136 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
141 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
145 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
148 info.addAction(new AccessibilityAction(R.id.action_move_rb_full,
151 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
154 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
159 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
163 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
[all …]
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamAccessibilityTest.java109 AccessibilityNodeInfo.AccessibilityAction existingAction = in testConfigureAccessibilityActions_RemovesExistingClickAction()
110 new AccessibilityNodeInfo.AccessibilityAction(AccessibilityNodeInfo.ACTION_CLICK, in testConfigureAccessibilityActions_RemovesExistingClickAction()
136 AccessibilityNodeInfo.AccessibilityAction existingAction = in testRemoveCustomAccessibilityAction()
137 new AccessibilityNodeInfo.AccessibilityAction(AccessibilityNodeInfo.ACTION_CLICK, in testRemoveCustomAccessibilityAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java46 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
125 final AccessibilityAction clickAction = new AccessibilityAction( in MagnificationModeSwitch()
126 AccessibilityAction.ACTION_CLICK.getId(), mContext.getResources().getString( in MagnificationModeSwitch()
130 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_up, in MagnificationModeSwitch()
132 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_down, in MagnificationModeSwitch()
134 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_left, in MagnificationModeSwitch()
136 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_right, in MagnificationModeSwitch()
150 if (action == AccessibilityAction.ACTION_CLICK.getId()) { in MagnificationModeSwitch()
DWindowMagnificationController.java75 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
1778 final AccessibilityAction clickAction = new AccessibilityAction( in onInitializeAccessibilityNodeInfo()
1779 AccessibilityAction.ACTION_CLICK.getId(), getClickAccessibilityActionLabel()); in onInitializeAccessibilityNodeInfo()
1784 new AccessibilityAction(R.id.accessibility_action_zoom_in, in onInitializeAccessibilityNodeInfo()
1786 info.addAction(new AccessibilityAction(R.id.accessibility_action_zoom_out, in onInitializeAccessibilityNodeInfo()
1790 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_up, in onInitializeAccessibilityNodeInfo()
1792 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_down, in onInitializeAccessibilityNodeInfo()
1794 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_left, in onInitializeAccessibilityNodeInfo()
1796 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_right, in onInitializeAccessibilityNodeInfo()
1801 info.addAction(new AccessibilityAction( in onInitializeAccessibilityNodeInfo()
[all …]
DWindowMagnificationSettings.java52 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
211 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_up,
213 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_down,
215 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_left,
217 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_right,
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java21 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
68 public AccessibilityAction getAccessibilityAction(); in getAccessibilityAction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipAccessibilityInteractionConnection.java256 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK); in obtainRootAccessibilityNodeInfo()
257 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_DISMISS); in obtainRootAccessibilityNodeInfo()
258 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW); in obtainRootAccessibilityNodeInfo()
259 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND); in obtainRootAccessibilityNodeInfo()
260 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_resize, in obtainRootAccessibilityNodeInfo()
262 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_stash, in obtainRootAccessibilityNodeInfo()
264 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_unstash, in obtainRootAccessibilityNodeInfo()
/frameworks/base/core/java/android/service/dreams/utils/
DDreamAccessibility.java75 for (AccessibilityNodeInfo.AccessibilityAction action : info.getActionList()) { in createNewAccessibilityDelegate()
81 info.addAction(new AccessibilityNodeInfo.AccessibilityAction( in createNewAccessibilityDelegate()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java44 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
923 info.addAction(AccessibilityAction.ACTION_SCROLL_FORWARD);
924 info.addAction(AccessibilityAction.ACTION_EXPAND);
925 info.addAction(AccessibilityAction.ACTION_SCROLL_DOWN);
930 info.addAction(AccessibilityAction.ACTION_SCROLL_UP);
934 info.addAction(AccessibilityAction.ACTION_COLLAPSE);
937 info.addAction(AccessibilityAction.ACTION_DISMISS);
943 info.removeAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS);
948 if (action == AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS.getId()) {
DExploreByTouchHelper.java29 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
476 node.addAction(AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS); in createNodeForChild()
479 node.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in createNodeForChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanel.java167 info.removeAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_COLLAPSE); in onInitializeAccessibilityNodeInfo()
168 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl33 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
94 List<AccessibilityNodeInfo.AccessibilityAction> getSystemActions(); in getSystemActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java26 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK;
485 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
489 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
493 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
497 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
501 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()

1234