Home
last modified time | relevance | path

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

123

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsCbHeader.java44 Locale.GERMAN.getLanguage(), // German
45 Locale.ENGLISH.getLanguage(), // English
46 Locale.ITALIAN.getLanguage(), // Italian
47 Locale.FRENCH.getLanguage(), // French
48 new Locale("es").getLanguage(), // Spanish
49 new Locale("nl").getLanguage(), // Dutch
50 new Locale("sv").getLanguage(), // Swedish
51 new Locale("da").getLanguage(), // Danish
52 new Locale("pt").getLanguage(), // Portuguese
53 new Locale("fi").getLanguage(), // Finnish
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java99 if (l == null || "und".equals(l.getLanguage()) in getLocaleForLanguageCountry()
100 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry()
103 if (l.getLanguage().equals(target.getLanguage())) { in getLocaleForLanguageCountry()
173 String likelyLanguage = likelyLocale.getLanguage(); in defaultLanguageForMcc()
181 String language = fullTargetLocale.getLanguage(); in isTranslated()
186 if (language.equals(fullLocale.getLanguage()) in isTranslated()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowConfiguration.java41 if (locale.getLanguage().equals(HEBREW_LOCALE.getLanguage())) { in setLayoutDirection()
/frameworks/base/core/java/android/view/translation/
DUiTranslationStateCallback.java79 onStarted(sourceLocale.getLanguage(), targetLocale.getLanguage()); in onStarted()
DTranslationSpec.java88 mLanguage = locale.getLanguage(); in TranslationSpec()
112 public @Deprecated @NonNull String getLanguage() { in getLanguage() method in TranslationSpec
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreference.java66 || TextUtils.equals(subtypeLocale.getLanguage(), systemLocale.getLanguage()); in InputMethodSubtypePreference()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java154 if (l == null || "und".equals(l.getLanguage()) in getAllAssetLocales()
155 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
174 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
175 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
DLocaleHelper.java72 final String lang = locale.getLanguage(); in shouldUseDialectName()
234 if ("ar".equals(locale.getLanguage()) && str.startsWith(PREFIX_ARABIC)) { in removePrefixForCompare()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DLocaleUtils.java189 if (!TextUtils.equals(locale.getLanguage(), preferredLocale.getLanguage())) { in filterByLanguage()
207 final String lang = locale.getLanguage(); in filterByLanguage()
DSubtypeUtils.java78 || !TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage()) in containsSubtypeOf()
85 if (!TextUtils.equals(subtypeLocale.getLanguage(), locale.getLanguage())) { in containsSubtypeOf()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleHelper.java99 final String lang = locale.getLanguage(); in shouldUseDialectName()
204 if ("ar".equals(locale.getLanguage()) && str.startsWith(PREFIX_ARABIC)) { in removePrefixForCompare()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothLeAudioContentMetadata.java32 mLanguage = contentMetadata.getLanguage(); in LocalBluetoothLeAudioContentMetadata()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSmsBroadcastConfigInfo.java72 public int getLanguage() { in getLanguage() method in CdmaSmsBroadcastConfigInfo
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java115 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
139 assertEquals("eng", req2.getValue().getLanguage()); in testSetLanguage_unavailableLanguage()
182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramResults.java104 public int getLanguage() { in getLanguage() method in CdmaSmsCbProgramResults
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DInputMethodSubtypeTest.java70 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_locale()
82 assertEquals("en", localeObject.getLanguage()); in testLocaleObj_languageTag()
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java88 public String getLanguage() { in getLanguage() method in SynthesisRequest
DEventLogger.java67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
DITextToSpeechService.aidl107 String[] getLanguage(); in getLanguage() method
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java250 if (subtypeLanguage.length() < 2 || !locale.getLanguage().equals(subtypeLanguage)) { in newSpellCheckerSession()
264 locale.getLanguage().equals(tempSubtypeLanguage)) { in newSpellCheckerSession()
/frameworks/base/core/java/android/text/method/
DTimeKeyListener.java79 if (locale != null && "en".equals(locale.getLanguage())) { in TimeKeyListener()
DDateTimeKeyListener.java79 if (locale != null && "en".equals(locale.getLanguage())) { in DateTimeKeyListener()
/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java73 final String language = systemLocale.getLanguage(); in getSuitableLocalesForSpellChecker()
/frameworks/base/core/java/android/hardware/input/
DVirtualKeyboardConfig.java141 if (locale.getLanguage().isEmpty()) { in setLanguageTag()
/frameworks/base/media/java/android/media/
DSubtitleController.java238 locale.getLanguage().equals("") || in getDefaultTrack()
240 locale.getLanguage().equals(language)); in getDefaultTrack()

123