Searched refs:getLocale (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodSubtypeTest.java29 // 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 DTextServicesManager.java148 final String subtypeLocale = subtypeInUse.getLocale();
158 final String tempSubtypeLocale = subtype.getLocale();
175 sService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
H A DSpellCheckerSubtype.java135 public String getLocale() { method in class:SpellCheckerSubtype
211 && (subtype.getLocale().equals(getLocale()))
220 * specified, then try to construct from {@link #getLocale()}
H A DSpellCheckerInfo.java285 pw.println(prefix + " " + "locale=" + st.getLocale()
/frameworks/base/core/java/android/text/style/
H A DLocaleSpan.java104 public Locale getLocale() { method in class:LocaleSpan
/frameworks/base/core/tests/coretests/src/android/view/textservice/
H A DSpellCheckerSubtypeTest.java71 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 DGeocoderParams.java56 public Locale getLocale() { method in class:GeocoderParams
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUInfo.java74 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 DLocaleStore.java80 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 DLocaleHelper.java254 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)),
255 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode)));
H A DLocalePicker.java73 public Locale getLocale() { method in class:LocalePicker.LocaleInfo
196 text.setTextLocale(item.getLocale());
H A DLocalePickerWithRegion.java153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault();
H A DSuggestedLocaleAdapter.java161 text.setTextLocale(item.getLocale());
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java64 * <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 DI18Name.java48 public Locale getLocale() { method in class:I18Name
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DI18Name.java48 public Locale getLocale() { method in class:I18Name
H A DCivicLocationElement.java75 public Locale getLocale() { method in class:CivicLocationElement
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1434 * @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 DVoice.java125 public Locale getLocale() { method in class:Voice
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java349 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 DCaptioningManager.java94 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 DHdmiCecLocalDevicePlayback.java339 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) {
345 LocalePicker.updateLocale(localeInfo.getLocale());
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DOMADMAdapter.java165 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 DOMADMAdapter.java166 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 DSubtitleController.java215 Locale selectedLocale = mCaptioningManager.getLocale();

Completed in 635 milliseconds

12