Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java106 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales()
107 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
122 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
123 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java70 public int getLanguage() { in getLanguage() method in CdmaSmsBroadcastConfigInfo
/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/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/net/wifi/service/java/com/android/server/wifi/anqp/
DI18Name.java43 return mText + ':' + mLocale.getLanguage(); in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java129 String likelyLanguage = likelyLocale.getLanguage(); in defaultLanguageForMcc()
291 if (l == null || "und".equals(l.getLanguage()) || in getLocaleForLanguageCountry()
292 l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry()
295 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/core/java/android/speech/tts/
DEventLoggerV1.java67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
DSynthesisRequest.java88 public String getLanguage() { in getLanguage() method in SynthesisRequest
DITextToSpeechService.aidl107 String[] getLanguage(); in getLanguage() method
DTextToSpeechService.java978 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
1014 public String getLanguage() { in getLanguage() method in TextToSpeechService.SynthesisSpeechItemV1
1265 public String[] getLanguage() {
/frameworks/base/location/java/android/location/
DGeocoderParams.java89 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
DAddress.java534 parcel.writeString(mLocale.getLanguage()); in writeToParcel()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java67 dest.writeString(mLocale.getLanguage()); in writeToParcelInternal()
/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/java/android/text/
DHyphenator.java66 Locale languageOnlyLocale = new Locale(locale.getLanguage()); in get()
/frameworks/minikin/include/minikin/
DFontFamily.h78 FontLanguage getLanguage() const { return FontLanguage(bits >> kLangShift); } in getLanguage() function
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java411 !TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage()) || in containsSubtypeOf()
418 if (!TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage())) { in containsSubtypeOf()
500 final String systemLanguage = res.getConfiguration().locale.getLanguage(); in getImplicitlyApplicableSubtypesLocked()
1353 final String language = systemLocale.getLanguage(); in getSuitableLocalesForSpellChecker()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1153 dest.writeString(locale.getLanguage()); in writeToParcel()
1242 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo()
1375 boolean l = (locale.getLanguage().length() != 0); in localeToResourceQualifier()
1381 sb.append(locale.getLanguage()); in localeToResourceQualifier()
1412 if (config.locale != null && !config.locale.getLanguage().isEmpty()) { in resourceQualifierString()
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java106 public final String getLanguage() { in getLanguage() method in TvTrackInfo
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java638 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataAddCategory()
695 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataDeleteTwoCategories()
704 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataDeleteTwoCategories()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp172 FontLanguage lang = style.getLanguage(); in itemize()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java952 final String japanese = Locale.JAPANESE.getLanguage(); in testCollateLocalizedForJapanese()
953 final String english = Locale.ENGLISH.getLanguage(); in testCollateLocalizedForJapanese()
958 final String language = locale.getLanguage(); in testCollateLocalizedForJapanese()

12