Home
last modified time | relevance | path

Searched refs:TwoStatePreference (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java31 import androidx.preference.TwoStatePreference;
47 private final HashMap<String, TwoStatePreference> mAutoSelectionPrefsMap = new HashMap<>();
96 final TwoStatePreference autoSelectionPref = (TwoStatePreference) pref; in onPreferenceChange()
135 final TwoStatePreference autoSelectionPref = in addInputMethodSubtypePreferences()
184 if (pref instanceof TwoStatePreference && ((TwoStatePreference) pref).isChecked()) { in isNoSubtypesExplicitlySelected()
193 final TwoStatePreference autoSelectionPref = mAutoSelectionPrefsMap.get(imiId); in setAutoSelectionSubtypesEnabled()
200 if (pref instanceof TwoStatePreference) { in setAutoSelectionSubtypesEnabled()
206 ((TwoStatePreference) pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
222 final TwoStatePreference autoSelectionPref = mAutoSelectionPrefsMap.get(imiId); in updateImplicitlyEnabledSubtypes()
243 if (!(pref instanceof TwoStatePreference)) { in updateImplicitlyEnabledSubtypesOf()
[all …]
DInputMethodAndSubtypeEnablerManagerCompat.java31 import androidx.preference.TwoStatePreference;
48 private final HashMap<String, TwoStatePreference> mAutoSelectionPrefsMap = new HashMap<>();
97 final TwoStatePreference autoSelectionPref = (TwoStatePreference) pref; in onPreferenceChange()
136 final TwoStatePreference autoSelectionPref = in addInputMethodSubtypePreferences()
185 if (pref instanceof TwoStatePreference && ((TwoStatePreference) pref).isChecked()) { in isNoSubtypesExplicitlySelected()
194 final TwoStatePreference autoSelectionPref = mAutoSelectionPrefsMap.get(imiId); in setAutoSelectionSubtypesEnabled()
201 if (pref instanceof TwoStatePreference) { in setAutoSelectionSubtypesEnabled()
207 ((TwoStatePreference) pref).setChecked(false); in setAutoSelectionSubtypesEnabled()
223 final TwoStatePreference autoSelectionPref = mAutoSelectionPrefsMap.get(imiId); in updateImplicitlyEnabledSubtypes()
244 if (!(pref instanceof TwoStatePreference)) { in updateImplicitlyEnabledSubtypesOf()
[all …]
DInputMethodAndSubtypeUtil.java36 import androidx.preference.TwoStatePreference;
176 final boolean isImeChecked = (pref instanceof TwoStatePreference) ? in saveInputMethodSubtypeList()
177 ((TwoStatePreference) pref).isChecked() in saveInputMethodSubtypeList()
195 final TwoStatePreference subtypePref = (TwoStatePreference) context in saveInputMethodSubtypeList()
298 if (pref instanceof TwoStatePreference) { in loadInputMethodSubtypeList()
299 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList()
322 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
351 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()
DInputMethodAndSubtypeUtilCompat.java38 import androidx.preference.TwoStatePreference;
212 if (pref instanceof TwoStatePreference) { in saveInputMethodSubtypeListForUserInternal()
213 isImeChecked = ((TwoStatePreference) pref).isChecked(); in saveInputMethodSubtypeListForUserInternal()
238 final TwoStatePreference subtypePref = (TwoStatePreference) fragment in saveInputMethodSubtypeListForUserInternal()
341 if (pref instanceof TwoStatePreference) { in loadInputMethodSubtypeList()
342 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList()
365 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled()
394 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in updateSubtypesPreferenceChecked()
/frameworks/base/core/java/android/preference/
DTwoStatePreference.java43 public abstract class TwoStatePreference extends Preference { class
51 public TwoStatePreference( in TwoStatePreference() method in TwoStatePreference
56 public TwoStatePreference(Context context, AttributeSet attrs, int defStyleAttr) { in TwoStatePreference() method in TwoStatePreference
60 public TwoStatePreference(Context context, AttributeSet attrs) { in TwoStatePreference() method in TwoStatePreference
64 public TwoStatePreference(Context context) { in TwoStatePreference() method in TwoStatePreference
DCheckBoxPreference.java42 public class CheckBoxPreference extends TwoStatePreference {
DSwitchPreference.java48 public class SwitchPreference extends TwoStatePreference {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java34 import androidx.preference.TwoStatePreference;
82 ((TwoStatePreference) preference).setChecked(isAdbEnabled()); in updateState()
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
DMainSwitchPreference.java25 import androidx.preference.TwoStatePreference;
35 public class MainSwitchPreference extends TwoStatePreference implements OnMainSwitchChangeListener {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22466 public class CheckBoxPreference extends android.preference.TwoStatePreference {
22811 public class SwitchPreference extends android.preference.TwoStatePreference {
22824 public abstract class TwoStatePreference extends android.preference.Preference {
22825 ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int, int);
22826 ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet, int);
22827 ctor public TwoStatePreference(android.content.Context, android.util.AttributeSet);
22828 ctor public TwoStatePreference(android.content.Context);
/frameworks/base/core/api/
Dcurrent.txt32705 @Deprecated public class CheckBoxPreference extends android.preference.TwoStatePreference {
33084 @Deprecated public class SwitchPreference extends android.preference.TwoStatePreference {
33097 @Deprecated public abstract class TwoStatePreference extends android.preference.Preference {
33098 …ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet, int…
33099 …ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet, int…
33100 ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet);
33101 ctor @Deprecated public TwoStatePreference(android.content.Context);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt40640 Landroid/preference/TwoStatePreference$SavedState;-><init>(Landroid/os/Parcel;)V
40641 Landroid/preference/TwoStatePreference$SavedState;-><init>(Landroid/os/Parcelable;)V
40642 Landroid/preference/TwoStatePreference$SavedState;->checked:Z
40643 Landroid/preference/TwoStatePreference$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
40644 Landroid/preference/TwoStatePreference;->mChecked:Z
40645 Landroid/preference/TwoStatePreference;->mCheckedSet:Z
40646 Landroid/preference/TwoStatePreference;->mDisableDependentsState:Z
40647 Landroid/preference/TwoStatePreference;->mSummaryOff:Ljava/lang/CharSequence;
40648 Landroid/preference/TwoStatePreference;->mSummaryOn:Ljava/lang/CharSequence;