Home
last modified time | relevance | path

Searched refs:prefSubtypes (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtils.java103 public static InputMethodSubtype[] createAdditionalSubtypesArray(final String prefSubtypes) { in createAdditionalSubtypesArray() argument
104 if (TextUtils.isEmpty(prefSubtypes)) { in createAdditionalSubtypesArray()
107 final String[] prefSubtypeArray = prefSubtypes.split(PREF_SUBTYPE_SEPARATOR); in createAdditionalSubtypesArray()
114 + prefSubtypes); in createAdditionalSubtypesArray()
147 public static String createPrefSubtypes(final String[] prefSubtypes) { in createPrefSubtypes() argument
148 if (prefSubtypes == null || prefSubtypes.length == 0) { in createPrefSubtypes()
152 for (final String prefSubtype : prefSubtypes) { in createPrefSubtypes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java122 final String prefSubtypes = in onActivityCreated() local
125 Log.i(TAG, "Load custom input styles: " + prefSubtypes); in onActivityCreated()
127 setPrefSubtypes(prefSubtypes, context); in onActivityCreated()
256 private void setPrefSubtypes(final String prefSubtypes, final Context context) { in setPrefSubtypes() argument
260 AdditionalSubtypeUtils.createAdditionalSubtypesArray(prefSubtypes); in setPrefSubtypes()
289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in onPause() local
291 Log.i(TAG, "Save custom input styles: " + prefSubtypes); in onPause()
293 if (prefSubtypes.equals(oldSubtypes)) { in onPause()
296 Settings.writePrefAdditionalSubtypes(mPrefs, prefSubtypes); in onPause()
DSettings.java283 final String prefSubtypes) { in writePrefAdditionalSubtypes() argument
284 prefs.edit().putString(PREF_CUSTOM_INPUT_STYLES, prefSubtypes).apply(); in writePrefAdditionalSubtypes()