Searched refs:prefSubtypes (Results 1 – 3 of 3) sorted by relevance
103 public static InputMethodSubtype[] createAdditionalSubtypesArray(final String prefSubtypes) { in createAdditionalSubtypesArray() argument104 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() argument148 if (prefSubtypes == null || prefSubtypes.length == 0) { in createPrefSubtypes()152 for (final String prefSubtype : prefSubtypes) { in createPrefSubtypes()
122 final String prefSubtypes = in onActivityCreated() local125 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() argument260 AdditionalSubtypeUtils.createAdditionalSubtypesArray(prefSubtypes); in setPrefSubtypes()289 final String prefSubtypes = AdditionalSubtypeUtils.createPrefSubtypes(subtypes); in onPause() local291 Log.i(TAG, "Save custom input styles: " + prefSubtypes); in onPause()293 if (prefSubtypes.equals(oldSubtypes)) { in onPause()296 Settings.writePrefAdditionalSubtypes(mPrefs, prefSubtypes); in onPause()
283 final String prefSubtypes) { in writePrefAdditionalSubtypes() argument284 prefs.edit().putString(PREF_CUSTOM_INPUT_STYLES, prefSubtypes).apply(); in writePrefAdditionalSubtypes()