/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | SmsCbHeader.java | 47 Locale.GERMAN.getLanguage(), // German 48 Locale.ENGLISH.getLanguage(), // English 49 Locale.ITALIAN.getLanguage(), // Italian 50 Locale.FRENCH.getLanguage(), // French 51 new Locale("es").getLanguage(), // Spanish 52 new Locale("nl").getLanguage(), // Dutch 53 new Locale("sv").getLanguage(), // Swedish 54 new Locale("da").getLanguage(), // Danish 55 new Locale("pt").getLanguage(), // Portuguese 56 new Locale("fi").getLanguage(), // Finnish [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTest.java | 107 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getFriendlyNameMatchingDefaultLocale() 108 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale() 130 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getFriendlyNameNotMatchingDefaultLocale() 132 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getFriendlyNameNotMatchingDefaultLocale() 167 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, nonDefaultString)); in getServiceDescriptionMatchingDefaultLocale() 169 new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getServiceDescriptionMatchingDefaultLocale() 191 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, firstString)); in getServiceDescriptionNotMatchingDefaultLocale() 193 new I18Name(nonDefaultLocale.getLanguage(), nonDefaultLocale, secondString)); in getServiceDescriptionNotMatchingDefaultLocale()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | CaptionSettings.java | 51 return l.getLanguage(); in getSystemLanguage() 62 languageList.add(l.getLanguage()); in getSystemPreferenceLanguageList() 67 languageList.add(locales.get(i).getLanguage()); in getSystemPreferenceLanguageList() 70 languageList.add(Locale.getDefault().getLanguage()); in getSystemPreferenceLanguageList() 77 public final String getLanguage() { in getLanguage() method in CaptionSettings
|
D | TvTrackInfoUtils.java | 75 Iterables.indexOf(languages, s -> Utils.isEqualLanguage(lhs.getLanguage(), s)); in createComparator() 80 Iterables.indexOf(languages, s -> Utils.isEqualLanguage(rhs.getLanguage(), s)); in createComparator() 123 languages.add(locales.get(i).getLanguage()); 126 languages.add(Locale.getDefault().getLanguage()); 159 if (!TextUtils.isEmpty(track.getLanguage())) { 160 language = new Locale(track.getLanguage()).getDisplayName(); 242 + info.getLanguage()
|
D | TvSettings.java | 125 .putString(PREF_DVR_MULTI_AUDIO_LANGUAGE, info.getLanguage()) in setDvrPlaybackTrackSettings() 139 .putString(PREF_DVR_SUBTITLE_LANGUAGE, info.getLanguage()) in setDvrPlaybackTrackSettings()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageOnSpacebarUtils.java | 57 final String keyboardLanguage = locale.getLanguage(); in getLanguageOnSpacebarFormatType() 61 final String language = SubtypeLocaleUtils.getSubtypeLocale(ims).getLanguage(); in getLanguageOnSpacebarFormatType() 84 if (!systemLocale.getLanguage().equals(newLocale.getLanguage())) { in onSubtypeChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuations.java | 70 mUsesAmericanTypography = Locale.ENGLISH.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations() 71 mUsesGermanRules = Locale.GERMAN.getLanguage().equals(locale.getLanguage()); in SpacingAndPunctuations()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | LocalePickerTest.java | 93 if (Objects.equals(mPreviousLocaleList.get(0).getLanguage(), "en")) { in getLocaleToSetInTest() 104 assertThat(systemLocale.getLanguage()).isEqualTo(locale.getLanguage()); in assertSystemLocale()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SsidTranslatorTest.java | 70 when(mLocale.getLanguage()).thenReturn("en"); in setUp() 106 when(mLocale.getLanguage()).thenReturn("zh"); in testGetTranslatedSsid() 120 when(mLocale.getLanguage()).thenReturn("ko"); in testGetTranslatedSsid() 145 when(mLocale.getLanguage()).thenReturn("zh"); in testGetTranslatedSsidForStaIface() 194 when(mLocale.getLanguage()).thenReturn("zh"); in testGetAllPossibleOriginalSsids() 201 when(mLocale.getLanguage()).thenReturn("ko"); in testGetAllPossibleOriginalSsids() 241 when(mLocale.getLanguage()).thenReturn("zh"); in testGetOriginalSsid() 309 when(mLocale.getLanguage()).thenReturn("zh"); in testGetOriginalSsidForWifiConfiguration()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LocaleSet.java | 53 return locale != null && "zh".equals(locale.getLanguage()); in isLanguageChinese() 58 return locale != null && "ja".equals(locale.getLanguage()); in isLanguageJapanese() 63 return locale != null && "ko".equals(locale.getLanguage()); in isLanguageKorean()
|
D | PostalSplitter.java | 28 private static final String JAPANESE_LANGUAGE = Locale.JAPANESE.getLanguage().toLowerCase(); 91 JAPANESE_LANGUAGE.equals(mLocale.getLanguage()) && in join()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsDictionaryUtils.java | 50 if (locale != null && locale.getLanguage().equals(Locale.ENGLISH.getLanguage())) { in useFirstLastBigramsForLocale()
|
D | RichInputMethodManager.java | 448 if (subtypeLocale.getLanguage().equals(locale.getLanguage()) && in findSubtypeByLocale() 457 if (subtypeLocale.getLanguage().equals(locale.getLanguage()) && in findSubtypeByLocale() 465 if (subtypeLocale.getLanguage().equals(locale.getLanguage())) { in findSubtypeByLocale()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfo.java | 88 e -> mFriendlyNames.put(e.getLocale().getLanguage(), e.getText())); in OsuProviderInfo() 195 String lang = Locale.getDefault().getLanguage(); in getFriendlyName() 316 if (name.getLanguage().equals(Locale.getDefault().getLanguage())) { in getI18String()
|
D | I18Name.java | 90 public String getLanguage() { in getLanguage() method in I18Name 125 return mText + ':' + mLocale.getLanguage(); in toString()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | ClosedCaptionFragment.java | 59 mClosedCaptionLanguage = captionSettings.getLanguage(); in getItemList() 131 } else if (track.getLanguage() != null) { in getLabel() 132 return new Locale(track.getLanguage()).getDisplayName(); in getLabel()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/locale/ |
D | LanguagePickerFragment.java | 170 return localeInfos.stream().anyMatch(localeInfo -> localeInfo.getLocale().getLanguage() in containsSuggestedLocale() 171 .equals(suggestedLocaleInfo.getLocale().getLanguage()) in containsSuggestedLocale() 186 && locale.getLanguage().equals(currentLocale.getLanguage()) in onResume()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AlphabeticIndexCompat.java | 35 if (primaryLocale.getLanguage().equals(Locale.JAPANESE.getLanguage())) { in AlphabeticIndexCompat()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeAudioContentMetadata.java | 63 && Objects.equals(mLanguage, other.getLanguage()) in equals() 100 public @Nullable String getLanguage() { in getLanguage() method in BluetoothLeAudioContentMetadata 238 mLanguage = original.getLanguage(); in Builder()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | UsageView.java | 93 final String defaultLanguageCode = Locale.getDefault().getLanguage(); in UsageView() 94 if (TextUtils.equals(defaultLanguageCode, new Locale("fa").getLanguage()) in UsageView() 95 || TextUtils.equals(defaultLanguageCode, new Locale("ur").getLanguage())) { in UsageView()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SystemInfo.java | 61 public String getLanguage() { in getLanguage() method in SystemInfo 62 return Locale.getDefault().getLanguage(); in getLanguage()
|
/packages/apps/TV/src/com/android/tv/ |
D | TvOptionsManager.java | 93 : (track.getLanguage() != null) in onClosedCaptionsChanged() 94 ? track.getLanguage() in onClosedCaptionsChanged()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | ScreenOnTimeController.java | 117 if (locale != null && IW_LOCALE.getLanguage().equals(locale.getLanguage())) { in enlargeFontOfNumberIfNeeded()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackSideFragment.java | 131 if (track.getLanguage() != null) { 132 return new Locale(track.getLanguage()).getDisplayName();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSearch.kt | 136 fun getLanguage(locale: Locale): String { in getLanguage() method 137 val language: String = locale.getLanguage() in getLanguage()
|