Home
last modified time | relevance | path

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

123

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java37 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
82 private final AccessibilityAction mLegacyHomeAction;
83 private final AccessibilityAction mLegacyBackAction;
84 private final AccessibilityAction mLegacyRecentsAction;
85 private final AccessibilityAction mLegacyNotificationsAction;
86 private final AccessibilityAction mLegacyQuickSettingsAction;
87 private final AccessibilityAction mLegacyPowerDialogAction;
88 private final AccessibilityAction mLegacyLockScreenAction;
89 private final AccessibilityAction mLegacyTakeScreenshotAction;
120 mLegacyHomeAction = new AccessibilityAction( in SystemActionPerformer()
[all …]
DActionReplacingCallback.java23 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
261 List<AccessibilityAction> actions = mNodeWithReplacementActions.getActionList(); in replaceActionsOnInfoLocked()
267 info.addAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS); in replaceActionsOnInfoLocked()
268 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()
DAccessibilityServiceConnectionImpl.java90 public List<AccessibilityNodeInfo.AccessibilityAction> getSystemActions() { in getSystemActions()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java812 private ArrayList<AccessibilityAction> mActions;
1308 public List<AccessibilityAction> getActionList() { in getActionList()
1373 public void addAction(AccessibilityAction action) { in addAction()
1379 private void addActionUnchecked(AccessibilityAction action) { in addActionUnchecked()
1454 public boolean removeAction(AccessibilityAction action) { in removeAction()
3866 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
3877 AccessibilityAction action = mActions.get(i); in writeToParcelNoRecycle()
3999 final ArrayList<AccessibilityAction> otherActions = other.mActions; in init()
4134 final AccessibilityAction action = in initFromParcel()
4135 AccessibilityAction.CREATOR.createFromParcel(parcel); in initFromParcel()
[all …]
DAccessibilityNodeInfo.aidl20 parcelable AccessibilityNodeInfo.AccessibilityAction;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java47 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
93 private static final AccessibilityAction NEW_ACCESSIBILITY_ACTION =
94 new AccessibilityAction(NEW_ACTION_ID, LABEL_1);
95 private static final AccessibilityAction LEGACY_NOTIFICATIONS_ACCESSIBILITY_ACTION =
96 new AccessibilityAction(AccessibilityService.GLOBAL_ACTION_NOTIFICATIONS, LABEL_1);
97 private static final AccessibilityAction LEGACY_HOME_ACCESSIBILITY_ACTION =
98 new AccessibilityAction(AccessibilityService.GLOBAL_ACTION_HOME, LABEL_2);
139 List<AccessibilityAction> actions, AccessibilityAction action) { in assertHasLegacyAccessibilityAction()
141 for (AccessibilityAction a : actions) { in assertHasLegacyAccessibilityAction()
151 List<AccessibilityAction> actions, AccessibilityAction action) { in assertHasNoLegacyAccessibilityAction()
[all …]
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();
DAccessibilityManagerServiceTest.java45 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
76 private static final AccessibilityAction NEW_ACCESSIBILITY_ACTION =
77 new AccessibilityAction(ACTION_ID, LABEL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationModeSwitch.java43 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
106 final AccessibilityAction clickAction = new AccessibilityAction( in MagnificationModeSwitch()
107 AccessibilityAction.ACTION_CLICK.getId(), mContext.getResources().getString( in MagnificationModeSwitch()
111 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_up, in MagnificationModeSwitch()
113 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_down, in MagnificationModeSwitch()
115 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_left, in MagnificationModeSwitch()
117 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_right, in MagnificationModeSwitch()
131 if (action == AccessibilityAction.ACTION_CLICK.getId()) { in MagnificationModeSwitch()
DWindowMagnificationController.java59 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
776 new AccessibilityAction(R.id.accessibility_action_zoom_in, in onInitializeAccessibilityNodeInfo()
778 info.addAction(new AccessibilityAction(R.id.accessibility_action_zoom_out, in onInitializeAccessibilityNodeInfo()
780 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_up, in onInitializeAccessibilityNodeInfo()
782 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_down, in onInitializeAccessibilityNodeInfo()
784 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_left, in onInitializeAccessibilityNodeInfo()
786 info.addAction(new AccessibilityAction(R.id.accessibility_action_move_right, in onInitializeAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java41 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
154 info.addAction(new AccessibilityAction(R.id.action_snooze_undo, in onInitializeAccessibilityNodeInfo()
158 AccessibilityAction action = mSnoozeOptions.get(i).getAccessibilityAction(); in onInitializeAccessibilityNodeInfo()
194 AccessibilityAction action = new AccessibilityAction( in setSnoozeOptions()
251 AccessibilityAction action = new AccessibilityAction(accessibilityActionId, description); in createOption()
447 private AccessibilityAction mAction;
451 CharSequence confirmation, AccessibilityAction action) { in NotificationSnoozeOption()
480 public AccessibilityAction getAccessibilityAction() { in getAccessibilityAction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipAccessibilityInteractionConnection.java254 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK); in obtainRootAccessibilityNodeInfo()
255 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_DISMISS); in obtainRootAccessibilityNodeInfo()
256 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW); in obtainRootAccessibilityNodeInfo()
257 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_EXPAND); in obtainRootAccessibilityNodeInfo()
258 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_resize, in obtainRootAccessibilityNodeInfo()
260 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_stash, in obtainRootAccessibilityNodeInfo()
262 info.addAction(new AccessibilityNodeInfo.AccessibilityAction(R.id.action_pip_unstash, in obtainRootAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationSwipeActionHelper.java21 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
72 public AccessibilityAction getAccessibilityAction(); in getAccessibilityAction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerTest.java20 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
321 hasItems(new AccessibilityAction(R.id.accessibility_action_zoom_in, null), in initializeA11yNode_enabled_expectedValues()
322 new AccessibilityAction(R.id.accessibility_action_zoom_out, null), in initializeA11yNode_enabled_expectedValues()
323 new AccessibilityAction(R.id.accessibility_action_move_right, null), in initializeA11yNode_enabled_expectedValues()
324 new AccessibilityAction(R.id.accessibility_action_move_left, null), in initializeA11yNode_enabled_expectedValues()
325 new AccessibilityAction(R.id.accessibility_action_move_down, null), in initializeA11yNode_enabled_expectedValues()
326 new AccessibilityAction(R.id.accessibility_action_move_up, null))); in initializeA11yNode_enabled_expectedValues()
DMagnificationModeSwitchTest.java27 import static android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction.ACTION_CLICK;
406 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
410 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
414 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
418 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
422 hasItems(new AccessibilityNodeInfo.AccessibilityAction( in initializeA11yNode_showWindowModeButton_expectedValues()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl28 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
72 List<AccessibilityNodeInfo.AccessibilityAction> getSystemActions(); in getSystemActions()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java40 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
877 info.addAction(AccessibilityAction.ACTION_SCROLL_FORWARD);
878 info.addAction(AccessibilityAction.ACTION_EXPAND);
879 info.addAction(AccessibilityAction.ACTION_SCROLL_DOWN);
884 info.addAction(AccessibilityAction.ACTION_SCROLL_UP);
888 info.addAction(AccessibilityAction.ACTION_COLLAPSE);
891 info.addAction(AccessibilityAction.ACTION_DISMISS);
897 info.removeAction(AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS);
902 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/accessibility/floatingmenu/
DBaseTooltipView.java43 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
106 info.addAction(AccessibilityAction.ACTION_DISMISS); in onInitializeAccessibilityNodeInfo()
111 if (action == AccessibilityAction.ACTION_DISMISS.getId()) { in performAccessibilityAction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DDividerView.java56 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
178 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
181 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
186 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
190 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
193 info.addAction(new AccessibilityAction(R.id.action_move_rb_full,
196 info.addAction(new AccessibilityAction(R.id.action_move_tl_full,
199 info.addAction(new AccessibilityAction(R.id.action_move_tl_70,
204 info.addAction(new AccessibilityAction(R.id.action_move_tl_50,
208 info.addAction(new AccessibilityAction(R.id.action_move_tl_30,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLockIconViewController.java275 private final AccessibilityNodeInfo.AccessibilityAction mAccessibilityAuthenticateHint =
276 new AccessibilityNodeInfo.AccessibilityAction(
279 private final AccessibilityNodeInfo.AccessibilityAction mAccessibilityEnterHint =
280 new AccessibilityNodeInfo.AccessibilityAction(
/frameworks/base/core/java/android/widget/
DSeekBar.java142 info.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS); in onInitializeAccessibilityNodeInfoInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationPanelViewTest.java531 List<AccessibilityNodeInfo.AccessibilityAction> actionList = nodeInfo.getActionList(); in testA11y_initializeNode()
533 new AccessibilityNodeInfo.AccessibilityAction[] { in testA11y_initializeNode()
534 AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD, in testA11y_initializeNode()
535 AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_UP} in testA11y_initializeNode()
543 AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_FORWARD.getId(), in testA11y_scrollForward()
553 AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_UP.getId(), in testA11y_scrollUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java55 import android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction;
1349 AccessibilityAction moveTopLeft = new AccessibilityAction(R.id.action_move_top_left, in setupLocalMenu()
1353 AccessibilityAction moveTopRight = new AccessibilityAction(R.id.action_move_top_right, in setupLocalMenu()
1357 AccessibilityAction moveBottomLeft = new AccessibilityAction(R.id.action_move_bottom_left, in setupLocalMenu()
1361 AccessibilityAction moveBottomRight = new AccessibilityAction(R.id.action_move_bottom_right, in setupLocalMenu()
1366 info.addAction(AccessibilityAction.ACTION_DISMISS); in setupLocalMenu()
1368 info.addAction(AccessibilityAction.ACTION_COLLAPSE); in setupLocalMenu()
1370 info.addAction(AccessibilityAction.ACTION_EXPAND); in setupLocalMenu()

123