/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/ |
D | PreferredShortcutsTest.java | 84 PreferredShortcuts.saveUserShortcutType(mContext, shortcut); in retrieveUserShortcutType_fromSingleData_matchSavedType() 85 final int retrieveType = PreferredShortcuts.retrieveUserShortcutType(mContext, in retrieveUserShortcutType_fromSingleData_matchSavedType() 100 PreferredShortcuts.saveUserShortcutType(mContext, shortcut1); in retrieveUserShortcutType_fromMultiData_matchSavedType() 101 PreferredShortcuts.saveUserShortcutType(mContext, shortcut2); in retrieveUserShortcutType_fromMultiData_matchSavedType() 102 final int retrieveType = PreferredShortcuts.retrieveUserShortcutType(mContext, in retrieveUserShortcutType_fromMultiData_matchSavedType() 117 PreferredShortcuts.updatePreferredShortcutsFromSettings(mContext, in updatePreferredShortcutsFromSetting_magnificationWithTripleTapAndVolumeKeyShortcuts_preferredShortcutsMatches() 123 PreferredShortcuts.retrieveUserShortcutType( in updatePreferredShortcutsFromSetting_magnificationWithTripleTapAndVolumeKeyShortcuts_preferredShortcutsMatches() 133 PreferredShortcuts.saveUserShortcutType(mContext, in updatePreferredShortcutsFromSetting_magnificationWithNoActiveShortcuts_noChangesOnPreferredShortcutTypes() 137 PreferredShortcuts.updatePreferredShortcutsFromSettings(mContext, in updatePreferredShortcutsFromSetting_magnificationWithNoActiveShortcuts_noChangesOnPreferredShortcutTypes() 142 PreferredShortcuts.retrieveUserShortcutType( in updatePreferredShortcutsFromSetting_magnificationWithNoActiveShortcuts_noChangesOnPreferredShortcutTypes() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragmentTest.java | 334 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_noAssociatedTile_softwareTypeIsDefault() 347 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_hasAssociatedTile_softwareTypeIsDefault() 358 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_isAccessibilityTool_hasAssociatedTile_qsTypeIsDefault() 372 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_isNotAccessibilityTool_hasAssociatedTile_softwareTypeIsDefault() 386 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_isAccessibilityTool_noAssociatedTile_softwareTypeIsDefault() 400 PreferredShortcuts.clearPreferredShortcuts(mContext); in getDefaultShortcutTypes_isNotAccessibilityTool_noAssociatedTile_softwareTypeIsDefault() 414 PreferredShortcuts.clearPreferredShortcuts(mContext); in toggleShortcutPreference_noUserPreferredShortcut_hasQsTile_enableQsShortcut() 434 PreferredShortcuts.clearPreferredShortcuts(mContext); in toggleShortcutPreference_noUserPreferredShortcut_noQsTile_enableSoftwareShortcut() 454 PreferredShortcuts.clearPreferredShortcuts(mContext); in toggleShortcutPreference_noUserPreferredShortcut_hasQsTile_flagOff_enableSoftwareShortcut() 474 PreferredShortcuts.clearPreferredShortcuts(mContext); in toggleShortcutPreference_noUserPreferredShortcut_noQsTile_flagOff_enableSoftwareShortcut() [all …]
|
D | AccessibilityShortcutPreferenceFragmentTest.java | 128 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_assignDefaultValueToVariable() 141 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSettings_assignToVariable() 154 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSharedPreference_assignToVariable() 190 PreferredShortcuts.saveUserShortcutType(mContext, hardwareShortcut); in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue() 219 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable() 319 PreferredShortcuts.saveUserShortcutType(context, shortcut); in putUserShortcutTypeIntoSharedPreference()
|
D | ToggleFeaturePreferenceFragmentTest.java | 204 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_assignDefaultValueToVariable() 220 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSettings_assignToVariable() 234 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSharedPreference_assignToVariable() 290 PreferredShortcuts.saveUserShortcutType(mContext, hardwareShortcut); in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue() 317 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable() 503 PreferredShortcuts.saveUserShortcutType(context, shortcut); in putUserShortcutTypeIntoSharedPreference()
|
D | ToggleScreenMagnificationPreferenceFragmentTest.java | 636 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_assignDefaultValueToVariable() 650 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSettings_assignToVariable() 664 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasValueInSharedPreference_assignToVariable() 678 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasTwoFingerTripleTapInSettings_assignToVariable() 693 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in updateShortcutPreferenceData_hasTwoFingerTripleTapInSharedPref_assignToVariable() 724 PreferredShortcuts.saveUserShortcutType(mContext, tripletapShortcut); in setupMagnificationEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue() 745 PreferredShortcuts.saveUserShortcutType(mContext, twoFingerTripleTapShortcut); in setupMagnificationEditShortcutDialog_twoFingerTripleTapOn_checkboxIsSavedValue() 769 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in restoreValueFromSavedInstanceState_assignToVariable() 791 final int expectedType = PreferredShortcuts.retrieveUserShortcutType(mContext, in restoreValueFromSavedInstanceState_twoFingerTripleTap_assignToVariable() 1037 PreferredShortcuts.saveUserShortcutType(context, shortcut); in putUserShortcutTypeIntoSharedPreference()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | PreferredShortcuts.java | 38 public final class PreferredShortcuts { class 145 PreferredShortcuts.saveUserShortcutType(context, shortcut); in updatePreferredShortcutsFromSettings() 173 private PreferredShortcuts() {} in PreferredShortcuts() method in PreferredShortcuts
|
D | VolumeShortcutToggleAccessibilityServicePreferenceFragment.java | 71 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in setAllowedPreferredShortcutType()
|
D | AccessibilityShortcutPreferenceFragment.java | 415 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in saveNonEmptyUserShortcutType() 520 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in updateShortcutPreferenceData() 586 return PreferredShortcuts.retrieveUserShortcutType( in getUserPreferredShortcutTypes()
|
D | ToggleFeaturePreferenceFragment.java | 715 final int shortcutTypes = PreferredShortcuts.retrieveUserShortcutType( in getShortcutTypeSummary() 807 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in updateShortcutPreferenceData() 905 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in saveNonEmptyUserShortcutType() 994 return PreferredShortcuts.retrieveUserShortcutType( in getUserPreferredShortcutTypes()
|
D | ToggleScreenMagnificationPreferenceFragment.java | 496 final int shortcutTypes = PreferredShortcuts.retrieveUserShortcutType(context, in getShortcutTypeSummary() 649 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in updateShortcutPreferenceData() 687 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in saveNonEmptyUserShortcutType() 947 return PreferredShortcuts.retrieveUserShortcutType( in getUserPreferredShortcutTypes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | EditShortcutsPreferenceFragmentTest.java | 60 import com.android.settings.accessibility.PreferredShortcuts; 442 PreferredShortcuts.retrieveUserShortcutType( in fragmentResumed_preferredShortcutsUpdated() 452 PreferredShortcuts.retrieveUserShortcutType( in fragmentResumed_preferredShortcutsUpdated() 462 PreferredShortcuts.retrieveUserShortcutType( in onVolumeKeysShortcutSettingChanged_preferredShortcutsUpdated() 472 PreferredShortcuts.retrieveUserShortcutType( in onVolumeKeysShortcutSettingChanged_preferredShortcutsUpdated() 539 PreferredShortcuts.retrieveUserShortcutType(mContext, target); in onQuickSettingsShortcutSettingChanged_preferredShortcutsUpdated() 549 PreferredShortcuts.retrieveUserShortcutType( in onQuickSettingsShortcutSettingChanged_preferredShortcutsUpdated()
|
/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/ |
D | EditShortcutsPreferenceFragment.java | 64 import com.android.settings.accessibility.PreferredShortcuts; 186 PreferredShortcuts.updatePreferredShortcutsFromSettings( in onCreate() 272 PreferredShortcuts.updatePreferredShortcutsFromSettings(getContext(), mShortcutTargets); in onResume()
|