Home
last modified time | relevance | path

Searched refs:PreferredShortcuts (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DPreferredShortcutsTest.java84 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/
DToggleAccessibilityServicePreferenceFragmentTest.java334 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 …]
DAccessibilityShortcutPreferenceFragmentTest.java128 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()
DToggleFeaturePreferenceFragmentTest.java204 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()
DToggleScreenMagnificationPreferenceFragmentTest.java636 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/
DPreferredShortcuts.java38 public final class PreferredShortcuts { class
145 PreferredShortcuts.saveUserShortcutType(context, shortcut); in updatePreferredShortcutsFromSettings()
173 private PreferredShortcuts() {} in PreferredShortcuts() method in PreferredShortcuts
DVolumeShortcutToggleAccessibilityServicePreferenceFragment.java71 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in setAllowedPreferredShortcutType()
DAccessibilityShortcutPreferenceFragment.java415 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in saveNonEmptyUserShortcutType()
520 PreferredShortcuts.saveUserShortcutType(getPrefContext(), shortcut); in updateShortcutPreferenceData()
586 return PreferredShortcuts.retrieveUserShortcutType( in getUserPreferredShortcutTypes()
DToggleFeaturePreferenceFragment.java715 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()
DToggleScreenMagnificationPreferenceFragment.java496 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/
DEditShortcutsPreferenceFragmentTest.java60 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/
DEditShortcutsPreferenceFragment.java64 import com.android.settings.accessibility.PreferredShortcuts;
186 PreferredShortcuts.updatePreferredShortcutsFromSettings( in onCreate()
272 PreferredShortcuts.updatePreferredShortcutsFromSettings(getContext(), mShortcutTargets); in onResume()