Home
last modified time | relevance | path

Searched refs:getLanguage (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUInfo.java90 locales.add(iconInfo.getLanguage()); in getIconLanguages()
102 languageScore(name.getLanguage(), locale))); in getName()
115 languageScore(service.getLanguage(), locale))); in getServiceDescription()
195 int score = languageScore(iconInfo.getLanguage(), locale); in getIconInfo()
224 language.length() == 2 && language.equalsIgnoreCase(locale.getLanguage())) { in languageScore()
DSPVerifier.java155 !iconInfo.getLanguage().equals(mLanguage) || in verify()
301 friendlyNames.put(friendlyName.getLanguage(), friendlyName); in checkName()
308 I18Name friendlyName = friendlyNames.get(osuName.getLanguage()); in checkName()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java121 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales()
122 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
137 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
138 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
DLocaleHelper.java98 final String lang = locale.getLanguage(); in shouldUseDialectName()
233 if ("ar".equals(locale.getLanguage()) && str.startsWith(PREFIX_ARABIC)) { in removePrefixForCompare()
/frameworks/base/core/java/com/android/internal/inputmethod/
DLocaleUtils.java103 if (!locale.getLanguage().equals(supported.getLanguage())) { in calculateMatchingScore()
211 final String lang = locale.getLanguage(); in filterByLanguage()
/frameworks/base/packages/Osu/src/com/android/anqp/
DI18Name.java44 public String getLanguage() { in getLanguage() method in I18Name
78 return mText + ':' + mLocale.getLanguage(); in toString()
DIconInfo.java42 public String getLanguage() { in getLanguage() method in IconInfo
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DI18Name.java44 public String getLanguage() { in getLanguage() method in I18Name
78 return mText + ':' + mLocale.getLanguage(); in toString()
DIconInfo.java43 public String getLanguage() { in getLanguage() method in IconInfo
/frameworks/base/core/java/android/text/
DHyphenator.java79 new Locale(locale.getLanguage(), "", variant); in get()
88 final Locale languageOnlyLocale = new Locale(locale.getLanguage()); in get()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java150 if (subtypeLanguage.length() < 2 || !locale.getLanguage().equals(subtypeLanguage)) { in newSpellCheckerSession()
164 locale.getLanguage().equals(tempSubtypeLanguage)) { in newSpellCheckerSession()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java70 public int getLanguage() { in getLanguage() method in CdmaSmsBroadcastConfigInfo
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java111 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
135 assertEquals("eng", req2.getValue().getLanguage()); in testSetLanguage_unavailableLanguage()
178 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java136 String likelyLanguage = likelyLocale.getLanguage(); in defaultLanguageForMcc()
300 if (l == null || "und".equals(l.getLanguage()) || in getLocaleForLanguageCountry()
301 l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry()
304 if (l.getLanguage().equals(target.getLanguage())) { in getLocaleForLanguageCountry()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java104 public int getLanguage() { in getLanguage() method in CdmaSmsCbProgramResults
DCdmaSmsCbProgramData.java153 public int getLanguage() { in getLanguage() method in CdmaSmsCbProgramData
/frameworks/base/location/java/android/location/
DGeocoderParams.java89 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java88 public String getLanguage() { in getLanguage() method in SynthesisRequest
DEventLoggerV1.java67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
DITextToSpeechService.aidl107 String[] getLanguage(); in getLanguage() method
/frameworks/base/media/java/android/media/
DSubtitleController.java235 locale.getLanguage().equals("") || in getDefaultTrack()
237 locale.getLanguage().equals(language)); in getDefaultTrack()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessage.java136 public String getLanguage() { in getLanguage() method in BluetoothMapBmessage
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java60 language.equals(Locale.forLanguageTag(languageTag).getLanguage())); in ensureNoLanguage()
/frameworks/base/core/java/android/os/
DLocaleList.java307 if (!supported.getLanguage().equals(desired.getLanguage())) { in matchScore()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java659 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataAddCategory()
717 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataDeleteTwoCategories()
726 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataDeleteTwoCategories()

123