Home
last modified time | relevance | path

Searched refs:shortcutType (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTargetHelper.java70 @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 …]
DAccessibilityActivityTarget.java35 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()
DAccessibilityServiceTarget.java36 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()
DInvisibleToggleWhiteListingFeatureTarget.java31 InvisibleToggleWhiteListingFeatureTarget(Context context, @ShortcutType int shortcutType, in InvisibleToggleWhiteListingFeatureTarget() argument
33 super(context, shortcutType, AccessibilityFragmentType.INVISIBLE_TOGGLE, in InvisibleToggleWhiteListingFeatureTarget()
DInvisibleToggleAccessibilityServiceTarget.java40 InvisibleToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in InvisibleToggleAccessibilityServiceTarget() argument
43 shortcutType, in InvisibleToggleAccessibilityServiceTarget()
DToggleAccessibilityServiceTarget.java38 ToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in ToggleAccessibilityServiceTarget() argument
41 shortcutType, in ToggleAccessibilityServiceTarget()
DToggleWhiteListingFeatureTarget.java37 ToggleWhiteListingFeatureTarget(Context context, @ShortcutType int shortcutType, in ToggleWhiteListingFeatureTarget() argument
39 super(context, shortcutType, AccessibilityFragmentType.TOGGLE, in ToggleWhiteListingFeatureTarget()
DVolumeShortcutToggleAccessibilityServiceTarget.java42 VolumeShortcutToggleAccessibilityServiceTarget(Context context, @ShortcutType int shortcutType, in VolumeShortcutToggleAccessibilityServiceTarget() argument
45 shortcutType, in VolumeShortcutToggleAccessibilityServiceTarget()
DAccessibilityTarget.java54 AccessibilityTarget(Context context, @ShortcutType int shortcutType, in AccessibilityTarget() argument
58 mShortcutType = shortcutType; in AccessibilityTarget()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityStatsLogUtils.java54 @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()
DShortcutUtils.java51 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/
DAccessibilityManagerService.java1291 @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 …]
DAccessibilityUserState.java592 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/
DIAccessibilityManager.aidl78 List<String> getAccessibilityShortcutTargets(int shortcutType); in getAccessibilityShortcutTargets() argument
DAccessibilityManager.java1425 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/
DChooserActivity.java2081 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) {