/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodSubtypeTest.java | 29 // InputMethodSubtype#getLocale() returns exactly the same string that is passed to the 31 assertEquals(localeString, createDummySubtype(localeString).getLocale()); 33 // InputMethodSubtype#getLocale() should be preserved via marshaling. 34 assertEquals(createDummySubtype(localeString).getLocale(), 35 cloneViaParcel(createDummySubtype(localeString)).getLocale()); 37 // InputMethodSubtype#getLocale() should be preserved via marshaling. 38 assertEquals(createDummySubtype(localeString).getLocale(), 39 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale()); 70 assertEquals("iw", subtypeIw.getLocale()); 71 assertEquals("he", subtypeHe.getLocale()); [all...] |
/frameworks/base/core/java/android/view/textservice/ |
H A D | TextServicesManager.java | 148 final String subtypeLocale = subtypeInUse.getLocale(); 158 final String tempSubtypeLocale = subtype.getLocale(); 175 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
|
H A D | SpellCheckerSubtype.java | 135 public String getLocale() { method in class:SpellCheckerSubtype 211 && (subtype.getLocale().equals(getLocale())) 220 * specified, then try to construct from {@link #getLocale()}
|
H A D | SpellCheckerInfo.java | 285 pw.println(prefix + " " + "locale=" + st.getLocale()
|
/frameworks/base/core/java/android/text/style/ |
H A D | LocaleSpan.java | 104 public Locale getLocale() { method in class:LocaleSpan
|
/frameworks/base/core/tests/coretests/src/android/view/textservice/ |
H A D | SpellCheckerSubtypeTest.java | 71 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); 84 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale()); 99 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, subtype.getLocale()); 109 assertEquals(SUBTYPE_SUBTYPE_LOCALE_STRING_A, clonedSubtype.getLocale());
|
/frameworks/base/location/java/android/location/ |
H A D | GeocoderParams.java | 56 public Locale getLocale() { method in class:GeocoderParams
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUInfo.java | 74 locales.add(name.getLocale()); 82 locales.add(name.getLocale()); 98 if (locale == null || name.getLocale().equals(locale)) { 111 if (locale == null || service.getLocale().equals(locale)) {
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocaleStore.java | 80 public Locale getLocale() { method in class:LocaleStore.LocaleInfo 222 if (simCountries.contains(li.getLocale().getCountry())) { 242 if (country.equals(li.getLocale().getCountry())) { 261 if (simCountries.contains(li.getLocale().getCountry())) { 291 final String country = li.getLocale().getCountry();
|
H A D | LocaleHelper.java | 254 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), 255 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode)));
|
H A D | LocalePicker.java | 73 public Locale getLocale() { method in class:LocalePicker.LocaleInfo 196 text.setTextLocale(item.getLocale());
|
H A D | LocalePickerWithRegion.java | 153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault();
|
H A D | SuggestedLocaleAdapter.java | 161 text.setTextLocale(item.getLocale());
|
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 64 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid 111 * getLocale() etc... 175 final String localeStr = getLocale(); 223 public String getLocale() { method in class:SpellCheckerService.Session 224 return mInternalSession.getLocale(); 298 public String getLocale() { method in class:SpellCheckerService.InternalISpellCheckerSession
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
H A D | I18Name.java | 48 public Locale getLocale() { method in class:I18Name
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | I18Name.java | 48 public Locale getLocale() { method in class:I18Name
|
H A D | CivicLocationElement.java | 75 public Locale getLocale() { method in class:CivicLocationElement
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 1434 * @deprecated As of API level 21, use <code>getDefaultVoice().getLocale()</code> ({@link 1523 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()); 1569 * @deprecated As of API level 21, please use <code>getVoice().getLocale()</code> 1600 locales.add(voice.getLocale()); 1648 language = voice.getLocale().getISO3Language(); 1651 voice.getLocale(), [all...] |
H A D | Voice.java | 125 public Locale getLocale() { method in class:Voice
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtype.java | 349 public String getLocale() { method in class:InputMethodSubtype 366 * specified, then try to construct from {@link #getLocale()} 593 && (subtype.getLocale().equals(getLocale()))
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 94 public final Locale getLocale() { method in class:CaptioningManager 207 final Locale locale = getLocale(); 548 * @see CaptioningManager#getLocale()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevicePlayback.java | 339 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { 345 LocalePicker.updateLocale(localeInfo.getLocale());
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | OMADMAdapter.java | 165 mDevInfo.add(new ConstPathAccessor<>(getLocale(context), "DevInfo", "Lang")); 354 private static String getLocale(Context context) { method in class:OMADMAdapter
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | OMADMAdapter.java | 166 mDevInfo.add(new ConstPathAccessor<>(getLocale(context), "DevInfo", "Lang")); 346 private static String getLocale(Context context) { method in class:OMADMAdapter
|
/frameworks/base/media/java/android/media/ |
H A D | SubtitleController.java | 215 Locale selectedLocale = mCaptioningManager.getLocale();
|