Home
last modified time | relevance | path

Searched refs:getLocale (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java31 assertEquals(localeString, createDummySubtype(localeString).getLocale()); in verifyLocale()
34 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
35 cloneViaParcel(createDummySubtype(localeString)).getLocale()); in verifyLocale()
38 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
39 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale()); in verifyLocale()
70 assertEquals("iw", subtypeIw.getLocale()); in testDeprecatedLocaleString()
71 assertEquals("he", subtypeHe.getLocale()); in testDeprecatedLocaleString()
79 assertEquals("iw", clonedSubtypeIw.getLocale()); in testDeprecatedLocaleString()
80 assertEquals("he", clonedSubtypeHe.getLocale()); in testDeprecatedLocaleString()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java80 public Locale getLocale() { in getLocale() method in LocaleStore.LocaleInfo
222 if (simCountries.contains(li.getLocale().getCountry())) { in updateSimCountries()
242 if (country.equals(li.getLocale().getCountry())) { in addSuggestedLocalesForRegion()
261 if (simCountries.contains(li.getLocale().getCountry())) { in fillCache()
291 final String country = li.getLocale().getCountry(); in fillCache()
DLocaleHelper.java254 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
255 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
DLocalePicker.java73 public Locale getLocale() { in getLocale() method in LocalePicker.LocaleInfo
196 text.setTextLocale(item.getLocale()); in constructAdapter()
DSuggestedLocaleAdapter.java161 text.setTextLocale(item.getLocale()); in getView()
DLocalePickerWithRegion.java153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/textservice/
DSpellCheckerSubtypeTest.java71 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); in testSubtypeWithNoSubtypeId()
84 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale()); in testSubtypeWithNoSubtypeId()
99 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); in testSubtypeWithSubtypeId()
109 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale()); in testSubtypeWithSubtypeId()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUInfo.java74 locales.add(name.getLocale()); in getNameLocales()
82 locales.add(name.getLocale()); in getServiceLocales()
98 if (locale == null || name.getLocale().equals(locale)) { in getName()
111 if (locale == null || service.getLocale().equals(locale)) { in getServiceDescription()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java148 final String subtypeLocale = subtypeInUse.getLocale(); in newSpellCheckerSession()
158 final String tempSubtypeLocale = subtype.getLocale(); in newSpellCheckerSession()
175 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession()
DSpellCheckerSubtype.java135 public String getLocale() { in getLocale() method in SpellCheckerSubtype
211 && (subtype.getLocale().equals(getLocale())) in equals()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java175 final String localeStr = getLocale(); in onGetSentenceSuggestionsMultiple()
223 public String getLocale() { in getLocale() method in SpellCheckerService.Session
224 return mInternalSession.getLocale(); in getLocale()
298 public String getLocale() { in getLocale() method in SpellCheckerService.InternalISpellCheckerSession
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1523 voiceLanguage = voice.getLocale().getISO3Language();
1526 voice.getLocale(), e);
1531 voiceCountry = voice.getLocale().getISO3Country();
1534 voice.getLocale(), e);
1539 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1600 locales.add(voice.getLocale());
1648 language = voice.getLocale().getISO3Language();
1651 voice.getLocale(), e);
1656 country = voice.getLocale().getISO3Country();
1659 voice.getLocale(), e);
[all …]
DVoice.java125 public Locale getLocale() { in getLocale() method in Voice
/frameworks/base/location/java/android/location/
DGeocoderParams.java56 public Locale getLocale() { in getLocale() method in GeocoderParams
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java349 public String getLocale() { in getLocale() method in InputMethodSubtype
593 && (subtype.getLocale().equals(getLocale())) in equals()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java104 public Locale getLocale() { in getLocale() method in LocaleSpan
/frameworks/base/packages/Osu/src/com/android/anqp/
DI18Name.java48 public Locale getLocale() { in getLocale() method in I18Name
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DI18Name.java48 public Locale getLocale() { in getLocale() method in I18Name
DCivicLocationElement.java75 public Locale getLocale() { in getLocale() method
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java339 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { in handleSetMenuLanguage()
345 LocalePicker.updateLocale(localeInfo.getLocale()); in handleSetMenuLanguage()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java94 public final Locale getLocale() { in getLocale() method in CaptioningManager
207 final Locale locale = getLocale(); in notifyLocaleChanged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOMADMAdapter.java166 mDevInfo.add(new ConstPathAccessor<>(getLocale(context), "DevInfo", "Lang")); in OMADMAdapter()
346 private static String getLocale(Context context) { in getLocale() method in OMADMAdapter
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DOMADMAdapter.java165 mDevInfo.add(new ConstPathAccessor<>(getLocale(context), "DevInfo", "Lang")); in OMADMAdapter()
354 private static String getLocale(Context context) { in getLocale() method in OMADMAdapter
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java412 subtype.getLocale()); in findAvailSpellCheckerLocked()
487 final String localeString = currentInputMethodSubtype.getLocale(); in getCurrentSpellCheckerSubtype()
503 final String scsLocale = scs.getLocale(); in getCurrentSpellCheckerSubtype()
516 + ", " + scs.getLocale()); in getCurrentSpellCheckerSubtype()
/frameworks/base/media/java/android/media/
DSubtitleController.java215 Locale selectedLocale = mCaptioningManager.getLocale(); in getDefaultTrack()

12