Home
last modified time | relevance | path

Searched refs:SwitchBar (Results 1 – 25 of 73) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSwitchBarControllerTest.java32 import com.android.settings.widget.SwitchBar;
33 import com.android.settings.widget.SwitchBar.OnSwitchChangeListener;
57 private SwitchBar mSwitchBar;
66 mSwitchBar = new SwitchBar(context); in setUp()
80 final List<SwitchBar.OnSwitchChangeListener> listeners = in runThroughLifecycle_v2_isMonkeyRun_shouldNotRegisterListener()
111 final List<SwitchBar.OnSwitchChangeListener> listeners = in runThroughLifecycle_v2_isNotMonkeyRun_shouldRegisterAndRemoveListener()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java29 import com.android.settings.widget.SwitchBar;
35 implements SwitchBar.OnSwitchChangeListener {
40 private SwitchBar mSwitchBar;
47 SwitchBar switchBar, in AutomaticStorageManagerSwitchBarController()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java20 import com.android.settings.widget.SwitchBar;
27 public class LocationSwitchBarController implements SwitchBar.OnSwitchChangeListener,
30 private final SwitchBar mSwitchBar;
35 public LocationSwitchBarController(Context context, SwitchBar switchBar, in LocationSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationSwitchBarController.java20 import com.android.car.developeroptions.widget.SwitchBar;
27 public class LocationSwitchBarController implements SwitchBar.OnSwitchChangeListener,
30 private final SwitchBar mSwitchBar;
35 public LocationSwitchBarController(Context context, SwitchBar switchBar, in LocationSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java29 import com.android.car.developeroptions.widget.SwitchBar;
35 implements SwitchBar.OnSwitchChangeListener {
40 private SwitchBar mSwitchBar;
47 SwitchBar switchBar, in AutomaticStorageManagerSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBarController.java27 SwitchBar.OnSwitchChangeListener {
29 private final SwitchBar mSwitchBar;
31 public SwitchBarController(SwitchBar switchBar) { in SwitchBarController()
DSwitchBar.java54 public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedChangeListener { class
97 public SwitchBar(Context context) { in SwitchBar() method in SwitchBar
101 public SwitchBar(Context context, AttributeSet attrs) { in SwitchBar() method in SwitchBar
105 public SwitchBar(Context context, AttributeSet attrs, int defStyleAttr) { in SwitchBar() method in SwitchBar
109 public SwitchBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SwitchBar() method in SwitchBar
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBarController.java27 SwitchBar.OnSwitchChangeListener {
29 private final SwitchBar mSwitchBar;
31 public SwitchBarController(SwitchBar switchBar) { in SwitchBarController()
DSwitchBar.java52 public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedChangeListener { class
95 public SwitchBar(Context context) { in SwitchBar() method in SwitchBar
99 public SwitchBar(Context context, AttributeSet attrs) { in SwitchBar() method in SwitchBar
103 public SwitchBar(Context context, AttributeSet attrs, int defStyleAttr) { in SwitchBar() method in SwitchBar
107 public SwitchBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in SwitchBar() method in SwitchBar
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSwitchBarController.java22 import com.android.settings.widget.SwitchBar;
31 private final SwitchBar mSwitchBar;
36 SwitchBar switchBar, boolean isAvailable, Lifecycle lifecycle) { in DevelopmentSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DDevelopmentSwitchBarController.java22 import com.android.car.developeroptions.widget.SwitchBar;
31 private final SwitchBar mSwitchBar;
36 SwitchBar switchBar, boolean isAvailable, Lifecycle lifecycle) { in DevelopmentSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenAutomaticRuleSwitchPreferenceController.java28 import com.android.car.developeroptions.widget.SwitchBar;
34 SwitchBar.OnSwitchChangeListener {
39 private SwitchBar mSwitchBar;
DBlockPreferenceController.java31 import com.android.car.developeroptions.widget.SwitchBar;
35 implements PreferenceControllerMixin, SwitchBar.OnSwitchChangeListener {
69 SwitchBar bar = pref.findViewById(R.id.switch_bar); in updateState()
/packages/apps/Settings/src/com/android/settings/notification/
DZenAutomaticRuleSwitchPreferenceController.java28 import com.android.settings.widget.SwitchBar;
34 SwitchBar.OnSwitchChangeListener {
39 private SwitchBar mSwitchBar;
DBlockPreferenceController.java31 import com.android.settings.widget.SwitchBar;
35 implements PreferenceControllerMixin, SwitchBar.OnSwitchChangeListener {
63 SwitchBar bar = pref.findViewById(R.id.switch_bar); in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java37 import com.android.settings.widget.SwitchBar;
58 private SwitchBar mSwitchBar;
66 mSwitchBar = new SwitchBar(mContext); in setUp()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java30 import com.android.settings.widget.SwitchBar;
35 protected SwitchBar mSwitchBar;
89 protected void updateSwitchBarText(SwitchBar switchBar) { in updateSwitchBarText()
DToggleDaltonizerPreferenceFragment.java34 import com.android.settings.widget.SwitchBar;
42 implements Preference.OnPreferenceChangeListener, SwitchBar.OnSwitchChangeListener {
108 protected void updateSwitchBarText(SwitchBar switchBar) { in updateSwitchBarText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java30 import com.android.car.developeroptions.widget.SwitchBar;
35 protected SwitchBar mSwitchBar;
89 protected void updateSwitchBarText(SwitchBar switchBar) { in updateSwitchBarText()
DToggleDaltonizerPreferenceFragment.java34 import com.android.car.developeroptions.widget.SwitchBar;
42 implements Preference.OnPreferenceChangeListener, SwitchBar.OnSwitchChangeListener {
108 protected void updateSwitchBarText(SwitchBar switchBar) { in updateSwitchBarText()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DPreventRingingSwitchPreferenceController.java33 import com.android.car.developeroptions.widget.SwitchBar;
38 implements PreferenceControllerMixin, SwitchBar.OnSwitchChangeListener {
45 SwitchBar mSwitch;
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java37 import com.android.settings.widget.SwitchBar;
53 private SwitchBar mSwitchBar;
67 mSwitchBar = new SwitchBar(mContext); in setUp()
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceController.java33 import com.android.settings.widget.SwitchBar;
38 implements PreferenceControllerMixin, SwitchBar.OnSwitchChangeListener {
45 SwitchBar mSwitch;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DAndroidBeam.java41 import com.android.car.developeroptions.widget.SwitchBar;
46 implements SwitchBar.OnSwitchChangeListener {
49 private SwitchBar mSwitchBar;
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java41 import com.android.settings.widget.SwitchBar;
46 implements SwitchBar.OnSwitchChangeListener {
49 private SwitchBar mSwitchBar;

123