Home
last modified time | relevance | path

Searched refs:subtypePref (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodAndSubtypeEnablerManager.java105 final InputMethodSubtypePreference subtypePref = (InputMethodSubtypePreference) pref; in onPreferenceChange() local
106 subtypePref.setChecked(isChecking); in onPreferenceChange()
107 if (!subtypePref.isChecked()) { in onPreferenceChange()
156 final Preference subtypePref = new InputMethodSubtypePreference( in addInputMethodSubtypePreferences() local
158 subtypePreferences.add(subtypePref); in addInputMethodSubtypePreferences()
246 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in updateImplicitlyEnabledSubtypesOf() local
247 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
250 if (subtypePref.getKey().equals(implicitlyEnabledSubtypePrefKey)) { in updateImplicitlyEnabledSubtypesOf()
251 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
H A DInputMethodAndSubtypeEnablerManagerCompat.java106 final InputMethodSubtypePreference subtypePref = (InputMethodSubtypePreference) pref; in onPreferenceChange() local
107 subtypePref.setChecked(isChecking); in onPreferenceChange()
108 if (!subtypePref.isChecked()) { in onPreferenceChange()
157 final Preference subtypePref = new InputMethodSubtypePreference( in addInputMethodSubtypePreferences() local
159 subtypePreferences.add(subtypePref); in addInputMethodSubtypePreferences()
247 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in updateImplicitlyEnabledSubtypesOf() local
248 subtypePref.setChecked(false); in updateImplicitlyEnabledSubtypesOf()
251 if (subtypePref.getKey().equals(implicitlyEnabledSubtypePrefKey)) { in updateImplicitlyEnabledSubtypesOf()
252 subtypePref.setChecked(true); in updateImplicitlyEnabledSubtypesOf()
H A DInputMethodAndSubtypeUtil.java195 final TwoStatePreference subtypePref = (TwoStatePreference) context in saveInputMethodSubtypeList() local
198 if (subtypePref == null) { in saveInputMethodSubtypeList()
214 if (subtypePref.isEnabled() && subtypePref.isChecked()) { in saveInputMethodSubtypeList()
299 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList() local
301 subtypePref.setChecked(isEnabled); in loadInputMethodSubtypeList()
H A DInputMethodAndSubtypeUtilCompat.java195 final TwoStatePreference subtypePref = (TwoStatePreference) context in saveInputMethodSubtypeList() local
198 if (subtypePref == null) { in saveInputMethodSubtypeList()
214 if (subtypePref.isEnabled() && subtypePref.isChecked()) { in saveInputMethodSubtypeList()
299 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList() local
301 subtypePref.setChecked(isEnabled); in loadInputMethodSubtypeList()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DCustomInputStyleSettingsFragment.java275 final CustomInputStylePreference subtypePref = (CustomInputStylePreference)pref; in getSubtypes() local
277 if (subtypePref.isIncomplete()) continue; in getSubtypes()
278 subtypes.add(subtypePref.getSubtype()); in getSubtypes()