Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java44 assertEquals(localeString, createDummySubtype(localeString).getLocale()); in verifyLocale()
47 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
48 cloneViaParcel(createDummySubtype(localeString)).getLocale()); in verifyLocale()
51 assertEquals(createDummySubtype(localeString).getLocale(), in verifyLocale()
52 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale()); in verifyLocale()
115 assertEquals("iw", subtypeIw.getLocale()); in testDeprecatedLocaleString()
116 assertEquals("he", subtypeHe.getLocale()); in testDeprecatedLocaleString()
124 assertEquals("iw", clonedSubtypeIw.getLocale()); in testDeprecatedLocaleString()
125 assertEquals("he", clonedSubtypeHe.getLocale()); in testDeprecatedLocaleString()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java86 public Locale getLocale() { in getLocale() method in LocaleStore.LocaleInfo
236 if (simCountries.contains(li.getLocale().getCountry())) { in updateSimCountries()
256 if (country.equals(li.getLocale().getCountry())) { in addSuggestedLocalesForRegion()
279 if (LocaleList.isPseudoLocale(li.getLocale())) { in fillCache()
290 if (simCountries.contains(li.getLocale().getCountry())) { in fillCache()
307 final String country = li.getLocale().getCountry(); in fillCache()
DLocaleHelper.java269 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
270 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
DLocalePicker.java75 public Locale getLocale() { in getLocale() method in LocalePicker.LocaleInfo
191 text.setTextLocale(item.getLocale()); in constructAdapter()
DLocalePickerWithRegion.java153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/textservice/
DSpellCheckerSubtypeTest.java72 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); in testSubtypeWithNoSubtypeId()
85 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale()); in testSubtypeWithNoSubtypeId()
100 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); in testSubtypeWithSubtypeId()
110 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale()); in testSubtypeWithSubtypeId()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java181 final String subtypeLocale = subtypeInUse.getLocale(); in newSpellCheckerSession()
191 final String tempSubtypeLocale = subtype.getLocale(); in newSpellCheckerSession()
207 mService.getSpellCheckerService(mUserId, sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession()
DSpellCheckerSubtype.java136 public String getLocale() { in getLocale() method in SpellCheckerSubtype
212 && (subtype.getLocale().equals(getLocale())) in equals()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLanguageTest.java61 assertEquals(ULocale.ENGLISH, result.getLocale(0)); in testParcel()
63 assertEquals(ULocale.GERMAN, result.getLocale(1)); in testParcel()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1534 voiceLanguage = voice.getLocale().getISO3Language();
1537 voice.getLocale(), e);
1542 voiceCountry = voice.getLocale().getISO3Country();
1545 voice.getLocale(), e);
1550 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1611 locales.add(voice.getLocale());
1659 language = voice.getLocale().getISO3Language();
1662 voice.getLocale(), e);
1667 country = voice.getLocale().getISO3Country();
1670 voice.getLocale(), e);
[all …]
DVoice.java125 public Locale getLocale() { in getLocale() method in Voice
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteRenderParamsAdapter.java139 public String getLocale() { in getLocale() method in RemoteRenderParamsAdapter
140 return mDelegate.getLocale(); in getLocale()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java176 final String localeStr = getLocale(); in onGetSentenceSuggestionsMultiple()
224 public String getLocale() { in getLocale() method in SpellCheckerService.Session
225 return mInternalSession.getLocale(); in getLocale()
299 public String getLocale() { in getLocale() method in SpellCheckerService.InternalISpellCheckerSession
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteRenderParams.java57 String getLocale() throws RemoteException; in getLocale() method
/frameworks/base/location/java/android/location/
DGeocoderParams.java58 public Locale getLocale() { in getLocale() method in GeocoderParams
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java104 public Locale getLocale() { in getLocale() method in LocaleSpan
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java94 public Locale getLocale() { in getLocale() method in I18Name
DOsuProviderInfo.java88 e -> mFriendlyNames.put(e.getLocale().getLanguage(), e.getText())); in OsuProviderInfo()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java353 public String getLocale() { in getLocale() method in InputMethodSubtype
607 && (subtype.getLocale().equals(getLocale())) in equals()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java277 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { in handleSetMenuLanguage()
283 LocalePicker.updateLocale(localeInfo.getLocale()); in handleSetMenuLanguage()
/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp133 const Locale& getLocale(const std::string& localeStr) { in getLocale() function in minikin::__anona4c94c0f0111::HyphenatorMapTest
143 return mMap.lookupInternal(getLocale(localeStr)); in lookup()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java90 public final Locale getLocale() { in getLocale() method in CaptioningManager
203 final Locale locale = getLocale(); in notifyLocaleChanged()
/frameworks/base/media/java/android/media/
DAudioPresentation.java184 public Locale getLocale() { in getLocale() method in AudioPresentation
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java95 params.setLocale(remoteParams.getLocale()); in setupRenderParams()
/frameworks/base/core/java/android/view/textclassifier/
DTextLanguage.java98 public ULocale getLocale(int index) { in getLocale() method in TextLanguage

12