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

12

/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodSubtypeTest.java41 // InputMethodSubtype#getLocale() returns exactly the same string that is passed to the
43 assertEquals(localeString, createDummySubtype(localeString).getLocale());
45 // InputMethodSubtype#getLocale() should be preserved via marshaling.
46 assertEquals(createDummySubtype(localeString).getLocale(),
47 cloneViaParcel(createDummySubtype(localeString)).getLocale());
49 // InputMethodSubtype#getLocale() should be preserved via marshaling.
50 assertEquals(createDummySubtype(localeString).getLocale(),
51 cloneViaParcel(cloneViaParcel(createDummySubtype(localeString))).getLocale());
114 assertEquals("iw", subtypeIw.getLocale());
115 assertEquals("he", subtypeHe.getLocale());
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java157 final String subtypeLocale = subtypeInUse.getLocale();
167 final String tempSubtypeLocale = subtype.getLocale();
183 mService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
H A DSpellCheckerSubtype.java136 public String getLocale() { method in class:SpellCheckerSubtype
212 && (subtype.getLocale().equals(getLocale()))
221 * specified, then try to construct from {@link #getLocale()}
H A DSpellCheckerInfo.java285 pw.println(prefix + " " + "locale=" + st.getLocale()
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleStore.java83 public Locale getLocale() { method in class:LocaleStore.LocaleInfo
229 if (simCountries.contains(li.getLocale().getCountry())) {
249 if (country.equals(li.getLocale().getCountry())) {
271 if (LocaleList.isPseudoLocale(li.getLocale())) {
282 if (simCountries.contains(li.getLocale().getCountry())) {
299 final String country = li.getLocale().getCountry();
H A DLocaleHelper.java263 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)),
264 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode)));
H A DLocalePicker.java73 public Locale getLocale() { method in class:LocalePicker.LocaleInfo
189 text.setTextLocale(item.getLocale());
H A DLocalePickerWithRegion.java153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault();
/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/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteRenderParams.java56 String getLocale() throws RemoteException; method in interface:RemoteRenderParams
/frameworks/base/core/java/android/view/textclassifier/
H A DTextClassifierImplNative.java242 public String getLocale() { method in class:TextClassifierImplNative.ClassificationOptions
267 public String getLocale() { method in class:TextClassifierImplNative.AnnotationOptions
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteRenderParamsAdapter.java138 public String getLocale() { method in class:RemoteRenderParamsAdapter
139 return mDelegate.getLocale();
/frameworks/base/media/java/android/media/
H A DAudioPresentation.java152 public Locale getLocale() { method in class:AudioPresentation
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodSubtypePreference.java45 subtype.getLocale(),
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DI18Name.java89 public Locale getLocale() { method in class:I18Name
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java65 * <p>Please note that {@link SpellCheckerService.Session#getLocale()} does not return a valid
112 * getLocale() etc...
176 final String localeStr = getLocale();
224 public String getLocale() { method in class:SpellCheckerService.Session
225 return mInternalSession.getLocale();
299 public String getLocale() { method in class:SpellCheckerService.InternalISpellCheckerSession
321 * @param locale locale to be returned from {@link Session#getLocale()}
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1441 * @deprecated As of API level 21, use <code>getDefaultVoice().getLocale()</code> ({@link
1530 voiceLanguage = voice.getLocale().getISO3Language();
1533 voice.getLocale(), e);
1538 voiceCountry = voice.getLocale().getISO3Country();
1541 voice.getLocale(), e);
1546 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1576 * @deprecated As of API level 21, please use <code>getVoice().getLocale()</code>
1607 locales.add(voice.getLocale());
1655 language = voice.getLocale().getISO3Language();
1658 voice.getLocale(),
[all...]
H A DVoice.java125 public Locale getLocale() { method in class:Voice
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java353 public String getLocale() { method in class:InputMethodSubtype
370 * specified, then try to construct from {@link #getLocale()}
607 && (subtype.getLocale().equals(getLocale()))
/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java89 public final Locale getLocale() { method in class:CaptioningManager
202 final Locale locale = getLocale();
543 * @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/minikin/tests/unittest/
H A DHyphenatorMapTest.cpp133 const Locale& getLocale(const std::string& localeStr) { function in class:minikin::__anon1306::HyphenatorMapTest
143 return mMap.lookupInternal(getLocale(localeStr));
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DSubtitleController.java219 Locale selectedLocale = mCaptioningManager.getLocale();

Completed in 550 milliseconds

12