Home
last modified time | relevance | path

Searched refs:UserShortcutType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java22 import static com.android.internal.accessibility.common.ShortcutConstants.UserShortcutType;
51 public static void optInValueToSettings(Context context, @UserShortcutType int shortcutType, in optInValueToSettings()
79 Context context, @UserShortcutType int shortcutType, @NonNull String componentId) { in optOutValueFromSettings()
110 @UserShortcutType int shortcutType, @NonNull String componentId) { in isComponentIdExistingInSettings()
152 public static String convertToKey(@UserShortcutType int type) { in convertToKey()
154 case UserShortcutType.SOFTWARE: in convertToKey()
156 case UserShortcutType.HARDWARE: in convertToKey()
158 case UserShortcutType.TRIPLETAP: in convertToKey()
172 public static @UserShortcutType int convertToUserType(@ShortcutType int type) { in convertToUserType()
175 return UserShortcutType.SOFTWARE; in convertToUserType()
[all …]
/frameworks/base/core/java/com/android/internal/accessibility/common/
DShortcutConstants.java50 UserShortcutType.DEFAULT,
51 UserShortcutType.SOFTWARE,
52 UserShortcutType.HARDWARE,
53 UserShortcutType.TRIPLETAP,
55 public @interface UserShortcutType { annotation in ShortcutConstants
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DInvisibleToggleAccessibilityServiceTarget.java22 import static com.android.internal.accessibility.common.ShortcutConstants.UserShortcutType;
62 return isComponentIdExistingInSettings(getContext(), UserShortcutType.HARDWARE, in isComponentIdExistingInOtherShortcut()
65 return isComponentIdExistingInSettings(getContext(), UserShortcutType.SOFTWARE, in isComponentIdExistingInOtherShortcut()
DVolumeShortcutToggleAccessibilityServiceTarget.java22 import static com.android.internal.accessibility.common.ShortcutConstants.UserShortcutType;
70 optOutValueFromSettings(getContext(), UserShortcutType.HARDWARE, getId()); in onCheckedFromAccessibilityButton()