/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
D | InputMethodSubtypeTest.java | 44 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/ |
D | LocaleStore.java | 89 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()
|
D | LocaleHelper.java | 225 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/ |
D | LocaleStore.java | 86 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()
|
D | LocaleHelper.java | 269 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare() 270 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
|
D | LocalePicker.java | 75 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/ |
D | SpellCheckerSubtypeTest.java | 72 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/ |
D | SoundTriggerTest.java | 55 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/ |
D | TextServicesManager.java | 181 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()
|
D | SpellCheckerSubtype.java | 136 public String getLocale() { in getLocale() method in SpellCheckerSubtype 212 && (subtype.getLocale().equals(getLocale())) in equals()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextLanguageTest.java | 63 assertEquals(ULocale.ENGLISH, result.getLocale(0)); in testParcel() 65 assertEquals(ULocale.GERMAN, result.getLocale(1)); in testParcel()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 1536 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 …]
|
D | Voice.java | 125 public Locale getLocale() { in getLocale() method in Voice
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 176 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/ |
D | RemoteRenderParams.java | 55 String getLocale() throws RemoteException; in getLocale() method
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 58 public Locale getLocale() { in getLocale() method in GeocoderParams
|
/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 104 public Locale getLocale() { in getLocale() method in LocaleSpan
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 611 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/ |
D | InputMethodSubtype.java | 353 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/ |
D | I18Name.java | 94 public Locale getLocale() { in getLocale() method in I18Name
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 314 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { in handleSetMenuLanguage() 320 LocalePicker.updateLocale(localeInfo.getLocale()); in handleSetMenuLanguage()
|
/frameworks/minikin/tests/unittest/ |
D | HyphenatorMapTest.cpp | 133 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/ |
D | CaptioningManager.java | 90 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/ |
D | EnrollmentUtil.java | 183 if (keyphrase.getLocale() == null) { in verifyKeyphraseSoundModel()
|
/frameworks/opt/localepicker/tests/src/com/android/localepicker/ |
D | SuggestedLocaleAdapterTest.java | 136 return localeInfo.getLocale().toLanguageTag(); in getLocaleTagList()
|