Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DShortcutPreferenceTest.java42 private ShortcutPreference mShortcutPreference;
46 private ShortcutPreference.OnClickCallback mListener =
47 new ShortcutPreference.OnClickCallback() {
49 public void onToggleClicked(ShortcutPreference preference) {
54 public void onSettingsClicked(ShortcutPreference preference) {
62 mShortcutPreference = new ShortcutPreference(context, null); in setUp()
DAccessibilityShortcutPreferenceFragmentTest.java166 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
184 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
207 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable()
273 final ShortcutPreference shortcutPreference = in onSettingsClicked_editShortcutsFullScreenFlagOn_showFullScreenEditShortcutScreen()
274 new ShortcutPreference(context, /* attrs= */ null); in onSettingsClicked_editShortcutsFullScreenFlagOn_showFullScreenEditShortcutScreen()
295 final ShortcutPreference shortcutPreference = in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
296 new ShortcutPreference(mContext, /* attrs= */ null); in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
DToggleAccessibilityServicePreferenceFragmentTest.java267 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */null); in toggleShortcutPreference_warningRequired_showWarning()
280 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */null); in toggleShortcutPreference_warningNotRequired_dontShowWarning()
293 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */null); in clickShortcutSettingsPreference_warningRequired_showWarning()
307 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */null); in clickShortcutSettingsPreference_warningNotRequired_dontShowWarning_showDialog()
320 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */null); in clickShortcutSettingsPreference_warningNotRequired_dontShowWarning_launchActivity()
419 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in toggleShortcutPreference_noUserPreferredShortcut_hasQsTile_enableQsShortcut()
439 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in toggleShortcutPreference_noUserPreferredShortcut_noQsTile_enableSoftwareShortcut()
459 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in toggleShortcutPreference_noUserPreferredShortcut_hasQsTile_flagOff_enableSoftwareShortcut()
479 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in toggleShortcutPreference_noUserPreferredShortcut_noQsTile_flagOff_enableSoftwareShortcut()
502 mFragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in toggleShortcutPreference_userPreferVolumeKeysShortcut_noQsTile_enableVolumeKeysShortcut()
[all …]
DToggleFeaturePreferenceFragmentTest.java241 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in dialogCheckboxClicked_hardwareType_skipTimeoutRestriction()
266 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
283 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
305 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in restoreValueFromSavedInstanceState_assignShortcutTypeToVariable()
475 final ShortcutPreference shortcutPreference = in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
476 new ShortcutPreference(mContext, /* attrs= */ null); in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
DToggleScreenMagnificationPreferenceFragmentTest.java703 fragment.mShortcutPreference = new ShortcutPreference(mContext, /* attrs= */ null); in setupMagnificationEditShortcutDialog_shortcutPreferenceOff_checkboxIsEmptyValue()
718 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupMagnificationEditShortcutDialog_shortcutPreferenceOn_checkboxIsSavedValue()
739 final ShortcutPreference shortcutPreference = new ShortcutPreference(mContext, /* attrs= */ in setupMagnificationEditShortcutDialog_twoFingerTripleTapOn_checkboxIsSavedValue()
1011 final ShortcutPreference shortcutPreference = in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
1012 new ShortcutPreference(mContext, /* attrs= */ null); in getShortcutTypeSummary_shortcutSummaryIsCorrectlySet()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutPreference.java36 public class ShortcutPreference extends Preference { class
48 void onSettingsClicked(ShortcutPreference preference); in onSettingsClicked()
55 void onToggleClicked(ShortcutPreference preference); in onToggleClicked()
62 ShortcutPreference(Context context, AttributeSet attrs) { in ShortcutPreference() method in ShortcutPreference
DInvisibleToggleAccessibilityServicePreferenceFragment.java34 ToggleAccessibilityServicePreferenceFragment implements ShortcutPreference.OnClickCallback {
49 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
DAccessibilityShortcutPreferenceFragment.java62 implements ShortcutPreference.OnClickCallback {
70 protected ShortcutPreference mShortcutPreference;
142 mShortcutPreference = new ShortcutPreference(getPrefContext(), /* attrs= */ null); in onCreateView()
258 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked()
273 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
DToggleFeaturePreferenceFragment.java83 implements ShortcutPreference.OnClickCallback, OnCheckedChangeListener {
102 protected ShortcutPreference mShortcutPreference;
527 mShortcutPreference = new ShortcutPreference(getPrefContext(), /* attrs= */ null); in initShortcutPreference()
828 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
846 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked()
DToggleAccessibilityServicePreferenceFragment.java328 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
348 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked()
DToggleScreenMagnificationPreferenceFragment.java618 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
630 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked()
655 mShortcutPreference = new ShortcutPreference(getPrefContext(), null); in initShortcutPreference()
DMagnificationModePreferenceController.java75 private ShortcutPreference mLinkPreference;