Home
last modified time | relevance | path

Searched refs:hasShortcutType (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceFragment.java459 if (hasShortcutType(shortcutTypes, AccessibilityUtil.UserShortcutType.QUICK_SETTINGS)) { in getShortcutTypeSummary()
465 if (hasShortcutType(shortcutTypes, AccessibilityUtil.UserShortcutType.SOFTWARE)) { in getShortcutTypeSummary()
468 if (hasShortcutType(shortcutTypes, AccessibilityUtil.UserShortcutType.HARDWARE)) { in getShortcutTypeSummary()
495 hasShortcutType(value, AccessibilityUtil.UserShortcutType.SOFTWARE)); in updateEditShortcutDialogCheckBox()
497 hasShortcutType(value, AccessibilityUtil.UserShortcutType.HARDWARE)); in updateEditShortcutDialogCheckBox()
506 private boolean hasShortcutType(int value, @AccessibilityUtil.UserShortcutType int type) { in hasShortcutType() method in AccessibilityShortcutPreferenceFragment
DToggleScreenMagnificationPreferenceFragment.java429 hasShortcutType(value, UserShortcutType.SOFTWARE)); in updateMagnificationEditShortcutDialogCheckBox()
431 hasShortcutType(value, UserShortcutType.HARDWARE)); in updateMagnificationEditShortcutDialogCheckBox()
433 hasShortcutType(value, UserShortcutType.TRIPLETAP)); in updateMagnificationEditShortcutDialogCheckBox()
436 hasShortcutType(value, UserShortcutType.TWOFINGER_DOUBLETAP)); in updateMagnificationEditShortcutDialogCheckBox()
446 private boolean hasShortcutType(int value, @UserShortcutType int type) { in hasShortcutType() method in ToggleScreenMagnificationPreferenceFragment
502 if (hasShortcutType(shortcutTypes, UserShortcutType.QUICK_SETTINGS)) { in getShortcutTypeSummary()
508 if (hasShortcutType(shortcutTypes, UserShortcutType.SOFTWARE)) { in getShortcutTypeSummary()
511 if (hasShortcutType(shortcutTypes, UserShortcutType.HARDWARE)) { in getShortcutTypeSummary()
517 if (hasShortcutType(shortcutTypes, UserShortcutType.TWOFINGER_DOUBLETAP)) { in getShortcutTypeSummary()
523 if (hasShortcutType(shortcutTypes, UserShortcutType.TRIPLETAP)) { in getShortcutTypeSummary()
DToggleFeaturePreferenceFragment.java671 hasShortcutType(value, UserShortcutType.SOFTWARE)); in updateEditShortcutDialogCheckBox()
673 hasShortcutType(value, UserShortcutType.HARDWARE)); in updateEditShortcutDialogCheckBox()
682 private boolean hasShortcutType(int value, @UserShortcutType int type) { in hasShortcutType() method in ToggleFeaturePreferenceFragment
720 if (hasShortcutType(shortcutTypes, UserShortcutType.QUICK_SETTINGS)) { in getShortcutTypeSummary()
726 if (hasShortcutType(shortcutTypes, UserShortcutType.SOFTWARE)) { in getShortcutTypeSummary()
729 if (hasShortcutType(shortcutTypes, UserShortcutType.HARDWARE)) { in getShortcutTypeSummary()