/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtype.java | 83 return SubtypeLocaleUtils.NO_LANGUAGE.equals(mSubtype.getLocale()); in isNoLanguage() 113 return SubtypeLocaleUtils.getSubtypeLocaleDisplayName(mSubtype.getLocale()); in getFullDisplayName() 122 return SubtypeLocaleUtils.getSubtypeLanguageDisplayName(mSubtype.getLocale()); in getMiddleDisplayName() 145 public Locale getLocale() { in getLocale() method in RichInputMethodSubtype
|
D | RichInputMethodManager.java | 340 return sForcedSubtypeForTesting.getLocale(); in getCurrentSubtypeLocale() 342 return getCurrentSubtype().getLocale(); in getCurrentSubtypeLocale() 424 if (localeString.equals(subtype.getLocale()) in findSubtypeByLocaleAndKeyboardLayoutSet() 525 if (!subtype.isAuxiliary() && !subtype.getLocale().isEmpty() in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes() 543 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme() 574 mShortcutSubtype.getLocale() + ", " + mShortcutSubtype.getMode()))); in updateShortcutIme()
|
D | DictionaryFacilitatorImpl.java | 236 public Locale getLocale() { in getLocale() method in DictionaryFacilitatorImpl 526 final String lowerCaseWord = originalWord.toLowerCase(getLocale()); in putWordIntoValidSpellingWordCache() 531 StringUtils.capitalizeFirstAndDowncaseRest(originalWord, getLocale()); in putWordIntoValidSpellingWordCache()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 265 return getSubtypeLocaleDisplayNameInternal(subtype.getLocale(), displayLocale); in getReplacementString() 299 + " locale=" + subtype.getLocale() in getSubtypeDisplayNameInternal() 312 final String localeString = subtype.getLocale(); in getSubtypeLocale() 335 final String key = subtype.getLocale() + ":" + subtype.getExtraValue(); in getKeyboardLayoutSetName() 342 "locale=" + subtype.getLocale() + " extraValue=" + subtype.getExtraValue()); in getKeyboardLayoutSetName()
|
D | LanguageOnSpacebarUtils.java | 53 final Locale locale = subtype.getLocale(); in getLanguageOnSpacebarFormatType() 79 final Locale newLocale = subtype.getLocale(); in onSubtypeChanged()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 194 mKeyboardView.setKeyboard(mQweKeyboard, getLocale()); in onStartInputView() 202 public Locale getLocale() { in getLocale() method in CarLatinIME 276 mKeyboardView.setKeyboard(mSymbolKeyboard, getLocale()); 278 mKeyboardView.setKeyboard(mQweKeyboard, getLocale()); 290 mKeyboardView.setKeyboard(mQweKeyboard, getLocale());
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
D | LayoutBase.java | 58 public final Locale getLocale() { return mCustomizer.getLocale(); } in getLocale() method in LayoutBase 124 builder.toUpperCase(getLocale()); in getCommonAlphabetShiftLayout()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LanguageFragment.java | 93 final String languageTag = localeInfo.getLocale().toLanguageTag(); in onCreatePreferences() 106 if (localeInfo.getLocale().equals(currentLocale)) { in onCreatePreferences() 127 mNewLocale = mLocaleInfoMap.get(radioPreference.getKey()).getLocale(); in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionZonePicker.java | 65 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in onCreate() 117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() 120 new TreeSet<>(new TimeZoneInfoComparator(Collator.getInstance(getLocale()), in getRegionTimeZoneInfo()
|
D | RegionSearchPicker.java | 64 this::onListItemClick, getLocale(), false /* showItemSummary */, in createAdapter() 114 final Collator collator = Collator.getInstance(getLocale()); in createAdapterItem() 116 final LocaleDisplayNames localeDisplayNames = LocaleDisplayNames.getInstance(getLocale()); in createAdapterItem()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 177 public Locale getLocale() { in getLocale() method in KeyboardId 178 return mSubtype.getLocale(); in getLocale() 195 mSubtype.getLocale(), in toString()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | CaptionSettings.java | 49 Locale l = mCaptioningManager.getLocale(); in getSystemLanguage() 60 Locale l = mCaptioningManager.getLocale(); in getSystemPreferenceLanguageList()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadCharMappings.java | 136 return CHAR_TO_KEY_MAPS.get(LocaleUtils.getLocale(context).getISO3Language()); in getCharToKeyMap() 166 return KEY_TO_CHAR_MAPS.get(LocaleUtils.getLocale(context).getISO3Language()); in getKeyToCharsMap()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputMethodSubtypeTests.java | 180 .getSubtypeLocaleDisplayName(subtype.getLocale().toString()); in testAllFullDisplayNameForSpacebar() 194 final Locale locale = subtype.getLocale(); in testAllMiddleDisplayNameForSpacebar() 333 assertEquals("zz", subtype.getRawSubtype().getLocale()); in testRichInputMethodSubtypeForNullInputMethodSubtype()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CustomInputStylePreference.java | 104 setKey(KEY_PREFIX + subtype.getLocale() + "_" in setSubtype() 262 mLocaleString = subtype.getLocale(); in SubtypeLocaleItem() 295 subtype.getLocale(), subtype.hashCode(), subtype.hashCode(), in SubtypeLocaleAdapter()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileProvider.java | 123 protected Locale getLocale() { in getLocale() method in ProfileProvider 124 return mDelegate.getLocale(); in getLocale()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | AdditionalSubtypeUtilsTests.java | 119 assertEquals("en_US", subtype.getLocale()); in assertEnUsDvorak() 142 assertEquals("zz", subtype.getLocale()); in assertAzerty()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultCategoryProvider.java | 110 mLocale = getLocale(); in fetchCategories() 147 || mLocale != getLocale()) { in resetIfNeeded() 178 private Locale getLocale() { in getLocale() method in DefaultCategoryProvider
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | ConvertUtils.java | 139 final Locale currentLocale = getLocale(context); in utcToLocalTime() 155 final Locale currentLocale = getLocale(context); in utcToLocalTimeHour() 366 static Locale getLocale(Context context) { in getLocale() method in ConvertUtils
|
/packages/apps/Dialer/java/com/android/dialer/location/ |
D | CountryDetector.java | 183 Locale defaultLocale = localeProvider.getLocale(); in getLocaleBasedCountryIso() 198 Locale getLocale(); in getLocale() method
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | ConvertUtilsTest.java | 387 assertThat(ConvertUtils.getLocale(/*context=*/ null)) in getLocale_nullContext_returnDefaultLocale() 394 assertThat(ConvertUtils.getLocale(mContext)).isEqualTo(Locale.getDefault()); in getLocale_nullLocaleList_returnDefaultLocale() 400 assertThat(ConvertUtils.getLocale(mContext)).isEqualTo(Locale.getDefault()); in getLocale_emptyLocaleList_returnDefaultLocale()
|
/packages/apps/Dialer/java/com/android/dialer/i18n/ |
D | LocaleUtils.java | 26 public static Locale getLocale(Context context) { in getLocale() method in LocaleUtils
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | SynchronousProfileProvider.java | 44 protected Locale getLocale() { in getLocale() method in SynchronousProfileProvider
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
D | dictionary_header_structure_policy.h | 52 virtual const std::vector<int> *getLocale() const = 0;
|
/packages/apps/Car/Settings/src/com/android/car/settings/language/ |
D | LocaleUtil.java | 37 preference.getExtras().putSerializable(LOCALE_BUNDLE_KEY, localeInfo.getLocale()); in setLocaleArgument()
|