Home
last modified time | relevance | path

Searched refs:TwoStatePreference (Results 1 – 11 of 11) 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 …]
DInputMethodAndSubtypeUtilCompat.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()
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()
/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.java47 public class SwitchPreference extends TwoStatePreference {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java32 import androidx.preference.TwoStatePreference;
79 ((TwoStatePreference) preference).setChecked(isAdbEnabled()); in updateState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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/api/
Dcurrent.txt37469 @Deprecated public class CheckBoxPreference extends android.preference.TwoStatePreference {
37847 @Deprecated public class SwitchPreference extends android.preference.TwoStatePreference {
37860 @Deprecated public abstract class TwoStatePreference extends android.preference.Preference {
37861 …ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet, int…
37862 …ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet, int…
37863 ctor @Deprecated public TwoStatePreference(android.content.Context, android.util.AttributeSet);
37864 ctor @Deprecated public TwoStatePreference(android.content.Context);