/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | InputMethodSubtypeTest.java | 41 // 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 D | TextServicesManager.java | 157 final String subtypeLocale = subtypeInUse.getLocale(); 167 final String tempSubtypeLocale = subtype.getLocale(); 183 mService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
|
H A D | SpellCheckerSubtype.java | 136 public String getLocale() { method in class:SpellCheckerSubtype 212 && (subtype.getLocale().equals(getLocale())) 221 * specified, then try to construct from {@link #getLocale()}
|
H A D | SpellCheckerInfo.java | 285 pw.println(prefix + " " + "locale=" + st.getLocale()
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocaleStore.java | 83 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 D | LocaleHelper.java | 263 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), 264 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode)));
|
H A D | LocalePicker.java | 73 public Locale getLocale() { method in class:LocalePicker.LocaleInfo 189 text.setTextLocale(item.getLocale());
|
H A D | LocalePickerWithRegion.java | 153 final Locale sortingLocale = countryMode ? mParentLocale.getLocale() : Locale.getDefault();
|
/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/layoutlib/remote/common/src/com/android/layout/remote/api/ |
H A D | RemoteRenderParams.java | 56 String getLocale() throws RemoteException; method in interface:RemoteRenderParams
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassifierImplNative.java | 242 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 D | RemoteRenderParamsAdapter.java | 138 public String getLocale() { method in class:RemoteRenderParamsAdapter 139 return mDelegate.getLocale();
|
/frameworks/base/media/java/android/media/ |
H A D | AudioPresentation.java | 152 public Locale getLocale() { method in class:AudioPresentation
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodSubtypePreference.java | 45 subtype.getLocale(),
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | I18Name.java | 89 public Locale getLocale() { method in class:I18Name
|
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 65 * <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 D | TextToSpeech.java | 1441 * @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 D | Voice.java | 125 public Locale getLocale() { method in class:Voice
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtype.java | 353 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 D | CaptioningManager.java | 89 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 D | HdmiCecLocalDevicePlayback.java | 339 if (localeInfo.getLocale().getISO3Language().equals(iso3Language)) { 345 LocalePicker.updateLocale(localeInfo.getLocale());
|
/frameworks/minikin/tests/unittest/ |
H A D | HyphenatorMapTest.cpp | 133 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 D | SubtitleController.java | 219 Locale selectedLocale = mCaptioningManager.getLocale();
|