/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ShortcutPreferenceTest.java | 42 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()
|
D | AccessibilityShortcutPreferenceFragmentTest.java | 166 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()
|
D | ToggleAccessibilityServicePreferenceFragmentTest.java | 267 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 …]
|
D | ToggleFeaturePreferenceFragmentTest.java | 241 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()
|
D | ToggleScreenMagnificationPreferenceFragmentTest.java | 703 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/ |
D | ShortcutPreference.java | 36 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
|
D | InvisibleToggleAccessibilityServicePreferenceFragment.java | 34 ToggleAccessibilityServicePreferenceFragment implements ShortcutPreference.OnClickCallback { 49 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked()
|
D | AccessibilityShortcutPreferenceFragment.java | 62 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()
|
D | ToggleFeaturePreferenceFragment.java | 83 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()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 328 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked() 348 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked()
|
D | ToggleScreenMagnificationPreferenceFragment.java | 618 public void onToggleClicked(ShortcutPreference preference) { in onToggleClicked() 630 public void onSettingsClicked(ShortcutPreference preference) { in onSettingsClicked() 655 mShortcutPreference = new ShortcutPreference(getPrefContext(), null); in initShortcutPreference()
|
D | MagnificationModePreferenceController.java | 75 private ShortcutPreference mLinkPreference;
|