/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTargetHelper.java | 70 @ShortcutType int shortcutType) { in getTargets() argument 73 shortcutType); in getTargets() 78 final List<String> assignedTargets = am.getAccessibilityShortcutTargets(shortcutType); in getTargets() 112 @ShortcutType int shortcutType) { in getInstalledTargets() argument 114 targets.addAll(getAccessibilityFilteredTargets(context, shortcutType)); in getInstalledTargets() 115 targets.addAll(getWhiteListingFeatureTargets(context, shortcutType)); in getInstalledTargets() 121 @ShortcutType int shortcutType) { in getAccessibilityFilteredTargets() argument 123 getAccessibilityServiceTargets(context, shortcutType); in getAccessibilityFilteredTargets() 125 getAccessibilityActivityTargets(context, shortcutType); in getAccessibilityFilteredTargets() 154 @ShortcutType int shortcutType) { in getAccessibilityServiceTargets() argument [all …]
|
D | AccessibilityActivityTarget.java | 35 AccessibilityActivityTarget(Context context, @ShortcutType int shortcutType, in AccessibilityActivityTarget() argument 38 shortcutType, in AccessibilityActivityTarget() 40 isShortcutContained(context, shortcutType, in AccessibilityActivityTarget() 45 convertToKey(convertToUserType(shortcutType))); in AccessibilityActivityTarget()
|
D | AccessibilityServiceTarget.java | 36 AccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in AccessibilityServiceTarget() argument 40 shortcutType, in AccessibilityServiceTarget() 42 isShortcutContained(context, shortcutType, in AccessibilityServiceTarget() 47 convertToKey(convertToUserType(shortcutType))); in AccessibilityServiceTarget()
|
D | InvisibleToggleWhiteListingFeatureTarget.java | 31 InvisibleToggleWhiteListingFeatureTarget(Context context, @ShortcutType int shortcutType, in InvisibleToggleWhiteListingFeatureTarget() argument 33 super(context, shortcutType, AccessibilityFragmentType.INVISIBLE_TOGGLE, in InvisibleToggleWhiteListingFeatureTarget()
|
D | InvisibleToggleAccessibilityServiceTarget.java | 40 InvisibleToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in InvisibleToggleAccessibilityServiceTarget() argument 43 shortcutType, in InvisibleToggleAccessibilityServiceTarget()
|
D | ToggleAccessibilityServiceTarget.java | 38 ToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in ToggleAccessibilityServiceTarget() argument 41 shortcutType, in ToggleAccessibilityServiceTarget()
|
D | ToggleWhiteListingFeatureTarget.java | 37 ToggleWhiteListingFeatureTarget(Context context, @ShortcutType int shortcutType, in ToggleWhiteListingFeatureTarget() argument 39 super(context, shortcutType, AccessibilityFragmentType.TOGGLE, in ToggleWhiteListingFeatureTarget()
|
D | VolumeShortcutToggleAccessibilityServiceTarget.java | 42 VolumeShortcutToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in VolumeShortcutToggleAccessibilityServiceTarget() argument 45 shortcutType, in VolumeShortcutToggleAccessibilityServiceTarget()
|
D | AccessibilityTarget.java | 54 AccessibilityTarget(Context context, @ShortcutType int shortcutType, in AccessibilityTarget() argument 58 mShortcutType = shortcutType; in AccessibilityTarget()
|
/frameworks/base/core/java/com/android/internal/accessibility/util/ |
D | AccessibilityStatsLogUtils.java | 54 @ShortcutType int shortcutType) { in logAccessibilityShortcutActivated() argument 55 logAccessibilityShortcutActivated(componentName, shortcutType, UNKNOWN_STATUS); in logAccessibilityShortcutActivated() 69 @ShortcutType int shortcutType, boolean serviceEnabled) { in logAccessibilityShortcutActivated() argument 70 logAccessibilityShortcutActivated(componentName, shortcutType, in logAccessibilityShortcutActivated() 86 @ShortcutType int shortcutType, int serviceStatus) { in logAccessibilityShortcutActivated() argument 88 componentName.flattenToString(), convertToLoggingShortcutType(shortcutType), in logAccessibilityShortcutActivated() 116 private static int convertToLoggingShortcutType(@ShortcutType int shortcutType) { in convertToLoggingShortcutType() argument 117 switch (shortcutType) { in convertToLoggingShortcutType()
|
D | ShortcutUtils.java | 51 public static void optInValueToSettings(Context context, @UserShortcutType int shortcutType, in optInValueToSettings() argument 54 final String targetKey = convertToKey(shortcutType); in optInValueToSettings() 58 if (isComponentIdExistingInSettings(context, shortcutType, componentId)) { in optInValueToSettings() 79 Context context, @UserShortcutType int shortcutType, @NonNull String componentId) { in optOutValueFromSettings() argument 81 final String targetsKey = convertToKey(shortcutType); in optOutValueFromSettings() 110 @UserShortcutType int shortcutType, @NonNull String componentId) { in isComponentIdExistingInSettings() argument 111 final String targetKey = convertToKey(shortcutType); in isComponentIdExistingInSettings() 138 public static boolean isShortcutContained(Context context, @ShortcutType int shortcutType, in isShortcutContained() argument 142 final List<String> requiredTargets = am.getAccessibilityShortcutTargets(shortcutType); in isShortcutContained()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1291 @ShortcutType int shortcutType) { in showAccessibilityTargetsSelection() argument 1293 final String chooserClassName = (shortcutType == ACCESSIBILITY_SHORTCUT_KEY) in showAccessibilityTargetsSelection() 2534 @ShortcutType int shortcutType, @Nullable String targetName) { in performAccessibilityShortcutInternal() argument 2535 final List<String> shortcutTargets = getAccessibilityShortcutTargetsInternal(shortcutType); in performAccessibilityShortcutInternal() 2537 Slog.d(LOG_TAG, "No target to perform shortcut, shortcutType=" + shortcutType); in performAccessibilityShortcutInternal() 2548 showAccessibilityTargetsSelection(displayId, shortcutType); in performAccessibilityShortcutInternal() 2556 logAccessibilityShortcutActivated(MAGNIFICATION_COMPONENT_NAME, shortcutType, enabled); in performAccessibilityShortcutInternal() 2566 if (performAccessibilityFrameworkFeature(targetComponentName, shortcutType)) { in performAccessibilityShortcutInternal() 2571 logAccessibilityShortcutActivated(targetComponentName, shortcutType); in performAccessibilityShortcutInternal() 2576 displayId, shortcutType, targetComponentName)) { in performAccessibilityShortcutInternal() [all …]
|
D | AccessibilityUserState.java | 592 public ArraySet<String> getShortcutTargetsLocked(@ShortcutType int shortcutType) { in getShortcutTargetsLocked() argument 593 if (shortcutType == ACCESSIBILITY_SHORTCUT_KEY) { in getShortcutTargetsLocked() 595 } else if (shortcutType == ACCESSIBILITY_BUTTON) { in getShortcutTargetsLocked() 641 public boolean removeShortcutTargetLocked(@ShortcutType int shortcutType, in removeShortcutTargetLocked() argument 643 return getShortcutTargetsLocked(shortcutType).removeIf(name -> { in removeShortcutTargetLocked()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityManager.aidl | 78 List<String> getAccessibilityShortcutTargets(int shortcutType); in getAccessibilityShortcutTargets() argument
|
D | AccessibilityManager.java | 1425 public List<String> getAccessibilityShortcutTargets(@ShortcutType int shortcutType) { in getAccessibilityShortcutTargets() argument 1432 return service.getAccessibilityShortcutTargets(shortcutType); in getAccessibilityShortcutTargets()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2081 final int shortcutType = (appTargets == null ? TARGET_TYPE_SHORTCUTS_FROM_SHORTCUT_MANAGER : 2100 matchingShortcuts, resultList, appTargets, shortcutType); 2107 msg.arg1 = shortcutType; 2157 @Nullable List<AppTarget> allAppTargets, @ShareTargetType int shortcutType) { 2161 if (shortcutType == TARGET_TYPE_SHORTCUTS_FROM_SHORTCUT_MANAGER) { 2177 if (shortcutType == TARGET_TYPE_SHORTCUTS_FROM_PREDICTION_SERVICE) {
|