/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTargetHelper.java | 66 @UserShortcutType int shortcutType) { in getTargets() argument 69 shortcutType); in getTargets() 74 final List<String> assignedTargets = am.getAccessibilityShortcutTargets(shortcutType); in getTargets() 109 @UserShortcutType int shortcutType) { in getInstalledTargets() argument 111 targets.addAll(getAccessibilityFilteredTargets(context, shortcutType)); in getInstalledTargets() 112 targets.addAll(getAllowListingFeatureTargets(context, shortcutType)); in getInstalledTargets() 118 @UserShortcutType int shortcutType) { in getAccessibilityFilteredTargets() argument 120 getAccessibilityServiceTargets(context, shortcutType); in getAccessibilityFilteredTargets() 122 getAccessibilityActivityTargets(context, shortcutType); in getAccessibilityFilteredTargets() 151 @UserShortcutType int shortcutType) { in getAccessibilityServiceTargets() argument [all …]
|
D | AccessibilityActivityTarget.java | 35 AccessibilityActivityTarget(Context context, @UserShortcutType int shortcutType, in AccessibilityActivityTarget() argument 38 shortcutType, in AccessibilityActivityTarget() 40 isShortcutContained(context, shortcutType, in AccessibilityActivityTarget() 46 convertToKey(shortcutType)); in AccessibilityActivityTarget()
|
D | AccessibilityServiceTarget.java | 38 AccessibilityServiceTarget(Context context, @UserShortcutType int shortcutType, in AccessibilityServiceTarget() argument 42 shortcutType, in AccessibilityServiceTarget() 44 isShortcutContained(context, shortcutType, in AccessibilityServiceTarget() 50 convertToKey(shortcutType)); in AccessibilityServiceTarget()
|
D | InvisibleToggleAllowListingFeatureTarget.java | 31 InvisibleToggleAllowListingFeatureTarget(Context context, @UserShortcutType int shortcutType, in InvisibleToggleAllowListingFeatureTarget() argument 34 super(context, shortcutType, AccessibilityFragmentType.INVISIBLE_TOGGLE, isShortcutSwitched, in InvisibleToggleAllowListingFeatureTarget()
|
D | VolumeShortcutToggleAccessibilityServiceTarget.java | 35 @UserShortcutType int shortcutType, @NonNull AccessibilityServiceInfo serviceInfo) { in VolumeShortcutToggleAccessibilityServiceTarget() argument 37 shortcutType, in VolumeShortcutToggleAccessibilityServiceTarget()
|
D | InvisibleToggleAccessibilityServiceTarget.java | 40 Context context, @UserShortcutType int shortcutType, in InvisibleToggleAccessibilityServiceTarget() argument 43 shortcutType, in InvisibleToggleAccessibilityServiceTarget()
|
D | ToggleAllowListingFeatureTarget.java | 37 ToggleAllowListingFeatureTarget(Context context, @UserShortcutType int shortcutType, in ToggleAllowListingFeatureTarget() argument 40 super(context, shortcutType, AccessibilityFragmentType.TOGGLE, isShortcutSwitched, id, in ToggleAllowListingFeatureTarget()
|
D | ToggleAccessibilityServiceTarget.java | 48 ToggleAccessibilityServiceTarget(Context context, @UserShortcutType int shortcutType, in ToggleAccessibilityServiceTarget() argument 51 shortcutType, in ToggleAccessibilityServiceTarget()
|
D | AccessibilityTarget.java | 67 public AccessibilityTarget(Context context, @UserShortcutType int shortcutType, in AccessibilityTarget() argument 71 mShortcutType = shortcutType; in AccessibilityTarget()
|
/frameworks/base/core/java/com/android/internal/accessibility/util/ |
D | ShortcutUtils.java | 60 public static void optInValueToSettings(Context context, @UserShortcutType int shortcutType, in optInValueToSettings() argument 63 final String targetKey = convertToKey(shortcutType); in optInValueToSettings() 67 if (isComponentIdExistingInSettings(context, shortcutType, componentId)) { in optInValueToSettings() 92 Context context, @UserShortcutType int shortcutType, @NonNull String componentId) { in optOutValueFromSettings() argument 94 final String targetsKey = convertToKey(shortcutType); in optOutValueFromSettings() 123 @UserShortcutType int shortcutType, @NonNull String componentId) { in isComponentIdExistingInSettings() argument 124 final String targetKey = convertToKey(shortcutType); in isComponentIdExistingInSettings() 151 public static boolean isShortcutContained(Context context, @UserShortcutType int shortcutType, in isShortcutContained() argument 155 final List<String> requiredTargets = am.getAccessibilityShortcutTargets(shortcutType); in isShortcutContained() 211 for (int shortcutType: USER_SHORTCUT_TYPES) { in updateInvisibleToggleAccessibilityServiceEnableState() [all …]
|
D | AccessibilityStatsLogUtils.java | 83 ComponentName componentName, @UserShortcutType int shortcutType) { in logAccessibilityShortcutActivated() argument 85 convertToLoggingShortcutType(context, shortcutType), UNKNOWN_STATUS); in logAccessibilityShortcutActivated() 101 @UserShortcutType int shortcutType, boolean serviceEnabled) { in logAccessibilityShortcutActivated() argument 103 convertToLoggingShortcutType(context, shortcutType), in logAccessibilityShortcutActivated() 240 @UserShortcutType int shortcutType) { in convertToLoggingShortcutType() argument 241 switch (shortcutType) { in convertToLoggingShortcutType()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityUserState.java | 779 public ArraySet<String> getShortcutTargetsLocked(@UserShortcutType int shortcutType) { in getShortcutTargetsLocked() argument 780 if (shortcutType == UserShortcutType.HARDWARE) { in getShortcutTargetsLocked() 782 } else if (shortcutType == UserShortcutType.SOFTWARE) { in getShortcutTargetsLocked() 784 } else if (shortcutType == UserShortcutType.QUICK_SETTINGS) { in getShortcutTargetsLocked() 786 } else if ((shortcutType == UserShortcutType.TRIPLETAP in getShortcutTargetsLocked() 788 shortcutType == UserShortcutType.TWOFINGER_DOUBLETAP in getShortcutTargetsLocked() 838 @UserShortcutType int shortcutType, ComponentName target) { in removeShortcutTargetLocked() 839 if (shortcutType == UserShortcutType.TRIPLETAP in removeShortcutTargetLocked() 840 || shortcutType == UserShortcutType.TWOFINGER_DOUBLETAP) { in removeShortcutTargetLocked() 847 Set<String> targets = getShortcutTargetsLocked(shortcutType); in removeShortcutTargetLocked() [all …]
|
D | AccessibilityManagerService.java | 2264 @UserShortcutType int shortcutType) { in showAccessibilityTargetsSelection() argument 2266 final String chooserClassName = (shortcutType == UserShortcutType.HARDWARE) in showAccessibilityTargetsSelection() 3878 int shortcutType = shortcutTypePair.first; in removeShortcutTargetForUnboundServiceLocked() local 3880 if (userState.removeShortcutTargetLocked(shortcutType, serviceName)) { in removeShortcutTargetForUnboundServiceLocked() 3881 final Set<String> currentTargets = userState.getShortcutTargetsLocked(shortcutType); in removeShortcutTargetForUnboundServiceLocked() 3886 if (shortcutType != UserShortcutType.QUICK_SETTINGS) { in removeShortcutTargetForUnboundServiceLocked() 3984 @UserShortcutType int shortcutType, @Nullable String targetName) { in performAccessibilityShortcutInternal() argument 3985 final List<String> shortcutTargets = getAccessibilityShortcutTargetsInternal(shortcutType); in performAccessibilityShortcutInternal() 3987 Slog.d(LOG_TAG, "No target to perform shortcut, shortcutType=" + shortcutType); in performAccessibilityShortcutInternal() 3998 showAccessibilityTargetsSelection(displayId, shortcutType); in performAccessibilityShortcutInternal() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityManager.aidl | 98 List<String> getAccessibilityShortcutTargets(int shortcutType); in getAccessibilityShortcutTargets() argument
|
D | AccessibilityManager.java | 1820 @ShortcutConstants.UserShortcutType int shortcutType) { in getAccessibilityShortcutTargets() 1827 return service.getAccessibilityShortcutTargets(shortcutType); in getAccessibilityShortcutTargets()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 5174 private int convertToAccessibilityShortcutType(int shortcutType) { 5175 switch (shortcutType) {
|