Home
last modified time | relevance | path

Searched refs:ColoredSwitchPreference (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherStateSwitchPreferenceController.java23 import com.android.car.settings.common.ColoredSwitchPreference;
31 PreferenceController<ColoredSwitchPreference> implements
46 protected Class<ColoredSwitchPreference> getPreferenceType() { in getPreferenceType()
47 return ColoredSwitchPreference.class; in getPreferenceType()
51 protected void updateState(ColoredSwitchPreference preference) { in updateState()
56 protected boolean handlePreferenceChanged(ColoredSwitchPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DColoredSwitchPreference.java35 public class ColoredSwitchPreference extends CarUiSwitchPreference { class
40 public ColoredSwitchPreference(Context context, AttributeSet attrs, in ColoredSwitchPreference() method in ColoredSwitchPreference
46 public ColoredSwitchPreference(Context context, AttributeSet attrs, int defStyleAttr) { in ColoredSwitchPreference() method in ColoredSwitchPreference
51 public ColoredSwitchPreference(Context context, AttributeSet attrs) { in ColoredSwitchPreference() method in ColoredSwitchPreference
56 public ColoredSwitchPreference(Context context) { in ColoredSwitchPreference() method in ColoredSwitchPreference
62 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ColoredSwitchPreference); in init()
DClickableWhileDisabledSwitchPreference.java31 public class ClickableWhileDisabledSwitchPreference extends ColoredSwitchPreference {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DHideSystemSwitchPreferenceController.java23 import com.android.car.settings.common.ColoredSwitchPreference;
32 extends PreferenceController<ColoredSwitchPreference> {
44 protected Class<ColoredSwitchPreference> getPreferenceType() { in getPreferenceType()
45 return ColoredSwitchPreference.class; in getPreferenceType()
49 protected boolean handlePreferenceChanged(ColoredSwitchPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetheringHandlerTest.java37 import com.android.car.settings.common.ColoredSwitchPreference;
77 mSwitchPreference = new ColoredSwitchPreference(mContext); in setUp()
173 extends PreferenceController<ColoredSwitchPreference>
183 protected Class<ColoredSwitchPreference> getPreferenceType() { in getPreferenceType()
184 return ColoredSwitchPreference.class; in getPreferenceType()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DHideSystemSwitchPreferenceControllerTest.java30 import com.android.car.settings.common.ColoredSwitchPreference;
64 mSwitchPreference = new ColoredSwitchPreference(mContext); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java43 import com.android.car.settings.common.ColoredSwitchPreference;
89 mSwitchPreference = new ColoredSwitchPreference(mContext); in setUp()