Home
last modified time | relevance | path

Searched refs:SettingsMainSwitchPreference (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DSettingsMainSwitchPreference.java42 public class SettingsMainSwitchPreference extends TwoStatePreference implements class
53 public SettingsMainSwitchPreference(Context context) { in SettingsMainSwitchPreference() method in SettingsMainSwitchPreference
58 public SettingsMainSwitchPreference(Context context, AttributeSet attrs) { in SettingsMainSwitchPreference() method in SettingsMainSwitchPreference
63 public SettingsMainSwitchPreference(Context context, AttributeSet attrs, int defStyleAttr) { in SettingsMainSwitchPreference() method in SettingsMainSwitchPreference
68 public SettingsMainSwitchPreference(Context context, AttributeSet attrs, int defStyleAttr, in SettingsMainSwitchPreference() method in SettingsMainSwitchPreference
/packages/apps/Settings/src/com/android/settings/display/
DAutoBrightnessDetailPreferenceController.java25 import com.android.settings.widget.SettingsMainSwitchPreference;
54 SettingsMainSwitchPreference pref = (SettingsMainSwitchPreference) screen.findPreference( in displayPreference()
/packages/apps/Settings/src/com/android/settings/security/
DContentProtectionTogglePreferenceController.java36 import com.android.settings.widget.SettingsMainSwitchPreference;
47 @Nullable private SettingsMainSwitchPreference mSwitchBar;
108 if (preference instanceof SettingsMainSwitchPreference) { in displayPreference()
109 mSwitchBar = (SettingsMainSwitchPreference) preference; in displayPreference()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBlockPreferenceController.java34 import com.android.settings.widget.SettingsMainSwitchPreference;
71 SettingsMainSwitchPreference bar = (SettingsMainSwitchPreference) preference; in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningTogglePreferenceControllerTest.java34 import com.android.settings.widget.SettingsMainSwitchPreference;
58 private SettingsMainSwitchPreference mSwitchPreference;
65 mSwitchPreference = new SettingsMainSwitchPreference(mContext); in setUp()
DToggleColorInversionPreferenceFragmentTest.java52 import com.android.settings.widget.SettingsMainSwitchPreference;
77 private SettingsMainSwitchPreference mSwitchPreference;
221 final SettingsMainSwitchPreference switchPreference = in TestToggleColorInversionPreferenceFragment()
222 new SettingsMainSwitchPreference(context); in TestToggleColorInversionPreferenceFragment()
DToggleDaltonizerPreferenceFragmentTest.java56 import com.android.settings.widget.SettingsMainSwitchPreference;
82 private SettingsMainSwitchPreference mSwitchPreference;
244 final SettingsMainSwitchPreference switchPreference = in TestToggleDaltonizerPreferenceFragment()
245 new SettingsMainSwitchPreference(context); in TestToggleDaltonizerPreferenceFragment()
DToggleSelectToSpeakPreferenceFragmentForSetupWizardTest.java40 import com.android.settings.widget.SettingsMainSwitchPreference;
115 mToggleServiceSwitchPreference = new SettingsMainSwitchPreference(context); in TestToggleSelectToSpeakPreferenceFragmentForSetupWizard()
DToggleScreenReaderPreferenceFragmentForSetupWizardTest.java40 import com.android.settings.widget.SettingsMainSwitchPreference;
116 mToggleServiceSwitchPreference = new SettingsMainSwitchPreference(context); in TestToggleScreenReaderPreferenceFragmentForSetupWizard()
DToggleAccessibilityServicePreferenceFragmentTest.java55 import com.android.settings.widget.SettingsMainSwitchPreference;
243 new SettingsMainSwitchPreference(mContext, /* attrs= */null); in enableService_warningRequired_showWarning()
255 new SettingsMainSwitchPreference(mContext, /* attrs= */null); in enableService_warningNotRequired_dontShowWarning()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptioningTogglePreferenceController.java27 import com.android.settings.widget.SettingsMainSwitchPreference;
60 SettingsMainSwitchPreference preference = screen.findPreference(getPreferenceKey()); in displayPreference()
DToggleReduceBrightColorsPreferenceFragment.java42 import com.android.settings.widget.SettingsMainSwitchPreference;
161 protected void updateToggleServiceTitle(SettingsMainSwitchPreference switchPreference) { in updateToggleServiceTitle()
DToggleColorInversionPreferenceFragment.java39 import com.android.settings.widget.SettingsMainSwitchPreference;
130 protected void updateToggleServiceTitle(SettingsMainSwitchPreference switchPreference) { in updateToggleServiceTitle()
DToggleDaltonizerPreferenceFragment.java41 import com.android.settings.widget.SettingsMainSwitchPreference;
216 protected void updateToggleServiceTitle(SettingsMainSwitchPreference switchPreference) { in updateToggleServiceTitle()
DToggleFeaturePreferenceFragment.java68 import com.android.settings.widget.SettingsMainSwitchPreference;
101 protected SettingsMainSwitchPreference mToggleServiceSwitchPreference;
351 protected void updateToggleServiceTitle(SettingsMainSwitchPreference switchPreference) { in updateToggleServiceTitle()
507 mToggleServiceSwitchPreference = new SettingsMainSwitchPreference(getPrefContext()); in initToggleServiceSwitchPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSettingsMainSwitchPreferenceTest.java42 private SettingsMainSwitchPreference mPreference;
50 mPreference = new SettingsMainSwitchPreference(context); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DContentProtectionTogglePreferenceControllerTest.java41 import com.android.settings.widget.SettingsMainSwitchPreference;
67 @Mock private SettingsMainSwitchPreference mMockSwitchPreference;
81 SettingsMainSwitchPreference switchPreference = new SettingsMainSwitchPreference(mContext); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java61 import com.android.settings.widget.SettingsMainSwitchPreference;
110 private SettingsMainSwitchPreference mSwitchBarPreference;
379 private SettingsMainSwitchPreference mSwitchPref;
381 protected void setSwitchBar(SettingsMainSwitchPreference switchPref) { in setSwitchBar()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java60 import com.android.settings.widget.SettingsMainSwitchPreference;
94 private SettingsMainSwitchPreference mSwitchBar;
126 final SettingsMainSwitchPreference prefSwitch = (SettingsMainSwitchPreference) in onCallStateChanged()
300 mSwitchBar = (SettingsMainSwitchPreference) findPreference(SWITCH_BAR); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java50 import com.android.settings.widget.SettingsMainSwitchPreference;
81 private SettingsMainSwitchPreference mPreference;
92 mPreference = new SettingsMainSwitchPreference(mContext); in setUp()