Home
last modified time | relevance | path

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

123

/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/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java89 public Locale getLocale() { in getLocale() method in LocaleStore.LocaleInfo
235 if (simCountries.contains(li.getLocale().getCountry())) { in updateSimCountries()
255 if (country.equals(li.getLocale().getCountry())) { in addSuggestedLocalesForRegion()
278 if (LocaleList.isPseudoLocale(ULocale.forLocale(li.getLocale()))) { in fillCache()
289 if (simCountries.contains(li.getLocale().getCountry())) { in fillCache()
306 final String country = li.getLocale().getCountry(); in fillCache()
DLocaleHelper.java225 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
226 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
/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()
/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/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java55 assertEquals(keyphrase.getLocale(), unparceled.getLocale()); in testKeyphraseParcelUnparcel_noUsers()
75 assertEquals(keyphrase.getLocale(), unparceled.getLocale()); in testKeyphraseParcelUnparcel_zeroUsers()
95 assertEquals(keyphrase.getLocale(), unparceled.getLocale()); in testKeyphraseParcelUnparcel_pos()
/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.java63 assertEquals(ULocale.ENGLISH, result.getLocale(0)); in testParcel()
65 assertEquals(ULocale.GERMAN, result.getLocale(1)); in testParcel()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeech.java1536 voiceLanguage = voice.getLocale().getISO3Language();
1539 + voice.getLocale(), e);
1544 voiceCountry = voice.getLocale().getISO3Country();
1547 + voice.getLocale(), e);
1552 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1607 locales.add(voice.getLocale());
1649 language = voice.getLocale().getISO3Language();
1652 + voice.getLocale(), e);
1657 country = voice.getLocale().getISO3Country();
1660 + voice.getLocale(), e);
[all …]
DVoice.java125 public Locale getLocale() { in getLocale() method in Voice
/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.java55 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/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java611 public Locale getLocale() { in getLocale() method in SoundTrigger.Keyphrase
665 dest.writeString(getLocale().toLanguageTag()); in writeToParcel()
687 result = prime * result + ((getLocale() == null) ? 0 : getLocale().hashCode()); in hashCode()
715 if (getLocale() == null) { in equals()
716 if (other.getLocale() != null) { in equals()
719 } else if (!getLocale().equals(other.getLocale())) { in equals()
734 + ", locale=" + getLocale().toLanguageTag() + ", text=" + getText() in toString()
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java94 public Locale getLocale() { in getLocale() method in I18Name
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java314 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { in handleSetMenuLanguage()
320 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/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DEnrollmentUtil.java183 if (keyphrase.getLocale() == null) { in verifyKeyphraseSoundModel()
/frameworks/opt/localepicker/tests/src/com/android/localepicker/
DSuggestedLocaleAdapterTest.java136 return localeInfo.getLocale().toLanguageTag(); in getLocaleTagList()

123