Home
last modified time | relevance | path

Searched refs:currentLocale (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java143 public void setLocale(Locale currentLocale) { in setLocale() argument
144 if (currentLocale == null) { in setLocale()
147 mLanguage = currentLocale.getLanguage().toLowerCase(); in setLocale()
DContactsProvider2.java1635 final Locale currentLocale = mCurrentLocale; in updateLocaleInBackground() local
1636 if (currentLocale.toString().equals(providerLocale)) { in updateLocaleInBackground()
1642 mContactsHelper.setLocale(this, currentLocale); in updateLocaleInBackground()
1643 mProfileHelper.setLocale(this, currentLocale); in updateLocaleInBackground()
1644 prefs.edit().putString(PREF_LOCALE, currentLocale.toString()).apply(); in updateLocaleInBackground()
6083 final CancellationSignal cancellationSignal, final Locale currentLocale) { in getFastScrollingIndexExtras() argument
6121 "GET_PHONEBOOK_INDEX(" + sectionHeading + ",'" + currentLocale.toString() + "')" in getFastScrollingIndexExtras()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java204 Locale currentLocale = mTts.getLanguage(); in getSampleText() local
212 if (currentLocale != null) { in getSampleText()
213 intent.putExtra("language", currentLocale.getLanguage()); in getSampleText()
214 intent.putExtra("country", currentLocale.getCountry()); in getSampleText()
215 intent.putExtra("variant", currentLocale.getVariant()); in getSampleText()
DTtsEngineSettingsFragment.java150 String currentLocale = mEnginesHelper.getLocalePrefForEngine( in updateDefaultLocalePref() local
171 if (availableLangs.get(i).equalsIgnoreCase(currentLocale)) { in updateDefaultLocalePref()