/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 | 240 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare() 241 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
|
D | LocalePicker.java | 83 public Locale getLocale() { in getLocale() method in LocalePicker.LocaleInfo 230 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 | 218 Locale locale = params.getLocale(); in newSpellCheckerSession() 244 final String subtypeLocale = subtypeInUse.getLocale(); in newSpellCheckerSession() 254 final String tempSubtypeLocale = subtype.getLocale(); in newSpellCheckerSession() 270 mService.getSpellCheckerService(mUserId, sci.getId(), subtypeInUse.getLocale(), in newSpellCheckerSession()
|
D | SpellCheckerSubtype.java | 138 public String getLocale() { in getLocale() method in SpellCheckerSubtype 214 && (subtype.getLocale().equals(getLocale())) in equals()
|
/frameworks/base/core/java/android/app/admin/ |
D | FullyManagedDeviceProvisioningParams.java | 86 getLocale(localeStr), in FullyManagedDeviceProvisioningParams() 91 private static Locale getLocale(String localeStr) { in getLocale() method in FullyManagedDeviceProvisioningParams 119 public @SuppressLint("UseIcu") Locale getLocale() { in getLocale() method in FullyManagedDeviceProvisioningParams
|
/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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteRenderParamsAdapter.java | 134 public String getLocale() { in getLocale() method in RemoteRenderParamsAdapter 135 return mDelegate.getLocale(); in getLocale()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 1591 voiceLanguage = voice.getLocale().getISO3Language(); 1594 + voice.getLocale(), e); 1599 voiceCountry = voice.getLocale().getISO3Country(); 1602 + voice.getLocale(), e); 1607 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant()); 1662 locales.add(voice.getLocale()); 1704 language = voice.getLocale().getISO3Language(); 1707 + voice.getLocale(), e); 1712 country = voice.getLocale().getISO3Country(); 1715 + voice.getLocale(), e); [all …]
|
/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() 314 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/core/java/android/text/style/ |
D | LocaleSpan.java | 104 public Locale getLocale() { in getLocale() method in LocaleSpan
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 354 public String getLocale() { in getLocale() method in InputMethodSubtype 608 && (subtype.getLocale().equals(getLocale())) in equals()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 619 public Locale getLocale() { in getLocale() method in SoundTrigger.Keyphrase 673 dest.writeString(getLocale().toLanguageTag()); in writeToParcel() 695 result = prime * result + ((getLocale() == null) ? 0 : getLocale().hashCode()); in hashCode() 723 if (getLocale() == null) { in equals() 724 if (other.getLocale() != null) { in equals() 727 } else if (!getLocale().equals(other.getLocale())) { in equals() 742 + ", locale=" + getLocale().toLanguageTag() + ", text=" + getText() in toString()
|
/frameworks/base/location/java/android/location/ |
D | GeocoderParams.java | 90 public @NonNull Locale getLocale() { in getLocale() method in GeocoderParams
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 288 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { in handleSetMenuLanguage() 294 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::__anon0407a1160111::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/base/services/translation/java/com/android/server/translation/ |
D | TranslationManagerServiceImpl.java | 283 res.putSerializable(EXTRA_SOURCE_LOCALE, sourceSpec.getLocale()); in invokeCallbacks() 284 res.putSerializable(EXTRA_TARGET_LOCALE, targetSpec.getLocale()); in invokeCallbacks()
|