Home
last modified time | relevance | path

Searched refs:ToggleSwitch (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DToggleSwitch.java23 public class ToggleSwitch extends Switch { class
25 private ToggleSwitch.OnBeforeCheckedChangeListener mOnBeforeListener;
28 boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked); in onBeforeCheckedChanged()
31 public ToggleSwitch(Context context) { in ToggleSwitch() method in ToggleSwitch
35 public ToggleSwitch(Context context, AttributeSet attrs) { in ToggleSwitch() method in ToggleSwitch
39 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr) { in ToggleSwitch() method in ToggleSwitch
43 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ToggleSwitch() method in ToggleSwitch
DSwitchBar.java77 private ToggleSwitch mSwitch;
252 public final ToggleSwitch getSwitch() { in getSwitch()
/packages/apps/Settings/src/com/android/settings/widget/
DToggleSwitch.java23 public class ToggleSwitch extends Switch { class
25 private ToggleSwitch.OnBeforeCheckedChangeListener mOnBeforeListener;
28 boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked); in onBeforeCheckedChanged()
31 public ToggleSwitch(Context context) { in ToggleSwitch() method in ToggleSwitch
35 public ToggleSwitch(Context context, AttributeSet attrs) { in ToggleSwitch() method in ToggleSwitch
39 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr) { in ToggleSwitch() method in ToggleSwitch
43 public ToggleSwitch(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ToggleSwitch() method in ToggleSwitch
DSwitchBar.java75 private ToggleSwitch mSwitch;
262 public final ToggleSwitch getSwitch() { in getSwitch()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DToggleBackupSettingFragment.java25 import com.android.car.developeroptions.widget.ToggleSwitch;
45 protected ToggleSwitch mToggleSwitch;
119 new ToggleSwitch.OnBeforeCheckedChangeListener() { in onActivityCreated()
122 ToggleSwitch toggleSwitch, boolean checked) { in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/backup/
DToggleBackupSettingFragment.java25 import com.android.settings.widget.ToggleSwitch;
45 protected ToggleSwitch mToggleSwitch;
119 new ToggleSwitch.OnBeforeCheckedChangeListener() { in onActivityCreated()
122 ToggleSwitch toggleSwitch, boolean checked) { in onActivityCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSwitchBarPreference.java25 import com.android.car.developeroptions.widget.ToggleSwitch;
30 private ToggleSwitch mSwitch;
41 mSwitch = (ToggleSwitch) holder.findViewById(android.R.id.switch_widget); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSwitchBarPreference.java25 import com.android.settings.widget.ToggleSwitch;
30 private ToggleSwitch mSwitch;
41 mSwitch = (ToggleSwitch) holder.findViewById(android.R.id.switch_widget); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleAccessibilityServicePreferenceFragment.java44 import com.android.car.developeroptions.widget.ToggleSwitch;
45 import com.android.car.developeroptions.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
260 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch()
DCaptionPropertiesFragment.java46 import com.android.car.developeroptions.widget.ToggleSwitch;
47 import com.android.car.developeroptions.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
79 private ToggleSwitch mToggleSwitch;
242 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch()
DToggleFeaturePreferenceFragment.java31 import com.android.car.developeroptions.widget.ToggleSwitch;
36 protected ToggleSwitch mToggleSwitch;
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java46 import com.android.settings.widget.ToggleSwitch;
47 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
291 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch()
DCaptionPropertiesFragment.java41 import com.android.settings.widget.ToggleSwitch;
42 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
76 private ToggleSwitch mToggleSwitch;
202 public boolean onBeforeCheckedChanged(ToggleSwitch toggleSwitch, boolean checked) { in onInstallSwitchBarToggleSwitch()
DToggleFeaturePreferenceFragment.java31 import com.android.settings.widget.ToggleSwitch;
36 protected ToggleSwitch mToggleSwitch;
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java31 import com.android.settings.widget.ToggleSwitch;
50 private ToggleSwitch mSwitch;
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java38 import com.android.settings.widget.ToggleSwitch;
63 private ToggleSwitch mSwitch;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java59 import com.android.settings.widget.ToggleSwitch;
90 @Mock private ToggleSwitch mToggleSwitch;
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java63 import com.android.settings.widget.ToggleSwitch;
100 private ToggleSwitch mToggleSwitch;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DPrintServiceSettingsFragment.java63 import com.android.car.developeroptions.widget.ToggleSwitch;
100 private ToggleSwitch mToggleSwitch;