/frameworks/layoutlib/bridge/src/libcore/icu/ |
D | ICU_Delegate.java | 48 /*package*/ static String getCurrencyCode(String locale) { in getCurrencyCode() 53 /*package*/ static String getISO3Country(String locale) { in getISO3Country() 58 /*package*/ static String getISO3Language(String locale) { in getISO3Language() 63 /*package*/ static String getScript(String locale) { in getScript() 78 /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) { in initLocaleDataNative() 144 /*package*/ static void setDefaultLocale(String locale) { in setDefaultLocale()
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleHelper.java | 68 static String toSentenceCase(String str, Locale locale) { in toSentenceCase() 88 static String normalizeForSearch(String str, Locale locale) { in normalizeForSearch() 98 private static boolean shouldUseDialectName(Locale locale) { in shouldUseDialectName() 113 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() 128 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() 139 public static String getDisplayCountry(Locale locale, Locale displayLocale) { in getDisplayCountry() 158 public static String getDisplayCountry(Locale locale) { in getDisplayCountry() 168 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() 203 private String removePrefixForCompare(Locale locale, String str) { in removePrefixForCompare()
|
D | LocaleStore.java | 59 private LocaleInfo(Locale locale) { in LocaleInfo() 73 private static Locale getParent(Locale locale) { in getParent() 245 private static void addSuggestedLocalesForRegion(Locale locale) { in addSuggestedLocalesForRegion() 374 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 68 public static String toSentenceCase(String str, Locale locale) { in toSentenceCase() 89 public static String normalizeForSearch(String str, Locale locale) { in normalizeForSearch() 99 private static boolean shouldUseDialectName(Locale locale) { in shouldUseDialectName() 115 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() 130 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() 142 public static String getDisplayCountry(Locale locale, Locale displayLocale) { in getDisplayCountry() 161 public static String getDisplayCountry(Locale locale) { in getDisplayCountry() 210 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() 246 private String removePrefixForCompare(Locale locale, String str) { in removePrefixForCompare()
|
D | LocalePicker.java | 54 public void onLocaleSelected(Locale locale); in onLocaleSelected() 63 final Locale locale; field in LocalePicker.LocaleInfo 65 public LocaleInfo(String label, Locale locale) { in LocaleInfo()
|
D | LocaleStore.java | 55 private LocaleInfo(Locale locale) { in LocaleInfo() 69 private static Locale getParent(Locale locale) { in getParent() 246 private static void addSuggestedLocalesForRegion(Locale locale) { in addSuggestedLocalesForRegion() 377 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo()
|
/frameworks/base/core/jni/ |
D | android_text_Hyphenator.cpp | 29 static std::string buildFileName(const std::string& locale) { in buildFileName() 38 static const uint8_t* mmapPatternFile(const std::string& locale) { in mmapPatternFile() 59 static void addHyphenatorWithoutPatternFile(const std::string& locale, int minPrefix, in addHyphenatorWithoutPatternFile() 65 static void addHyphenator(const std::string& locale, int minPrefix, int minSuffix) { in addHyphenator()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 80 public static CharacterTextSegmentIterator getInstance(Locale locale) { in getInstance() 87 private CharacterTextSegmentIterator(Locale locale) { in CharacterTextSegmentIterator() 153 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged() local 163 protected void onLocaleChanged(Locale locale) { in onLocaleChanged() 171 public static WordTextSegmentIterator getInstance(Locale locale) { in getInstance() 178 private WordTextSegmentIterator(Locale locale) { in WordTextSegmentIterator() 183 protected void onLocaleChanged(Locale locale) { in onLocaleChanged()
|
/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 26 def get_locale_parts(locale): argument 111 def pack_to_uint32(locale): argument 143 def pack_to_uint64(locale): argument 207 def get_likely_script(locale, likely_script_dict): argument
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 199 public static boolean is24HourLocale(@NonNull Locale locale) { in is24HourLocale() 253 public static String getBestDateTimePattern(Locale locale, String skeleton) { in getBestDateTimePattern() 264 final Locale locale = context.getResources().getConfiguration().locale; in getTimeFormat() local 300 final Locale locale = context.getResources().getConfiguration().locale; in getDateFormat() local 311 final Locale locale = context.getResources().getConfiguration().locale; in getLongDateFormat() local 322 final Locale locale = context.getResources().getConfiguration().locale; in getMediumDateFormat() local 340 final Locale locale = context.getResources().getConfiguration().locale; in getDateFormatString() local
|
/frameworks/base/media/java/android/media/voice/ |
D | KeyphraseModelManager.java | 84 @NonNull Locale locale) { in getKeyphraseSoundModel() 145 public void deleteKeyphraseSoundModel(int keyphraseId, @NonNull Locale locale) { in deleteKeyphraseSoundModel()
|
/frameworks/base/core/java/android/text/method/ |
D | NumberKeyListener.java | 153 static boolean addDigits(@NonNull Collection<Character> collection, @Nullable Locale locale) { in addDigits() 174 @NonNull Collection<Character> collection, @Nullable Locale locale, in addFormatCharsFromSkeleton() 212 @NonNull Collection<Character> collection, @Nullable Locale locale, in addFormatCharsFromSkeletons() 227 @Nullable Locale locale) { in addAmPmChars()
|
D | DateKeyListener.java | 65 public DateKeyListener(@Nullable Locale locale) { in DateKeyListener() 94 public static DateKeyListener getInstance(@Nullable Locale locale) { in getInstance()
|
D | TimeKeyListener.java | 67 public TimeKeyListener(@Nullable Locale locale) { in TimeKeyListener() 106 public static TimeKeyListener getInstance(@Nullable Locale locale) { in getInstance()
|
D | DateTimeKeyListener.java | 67 public DateTimeKeyListener(@Nullable Locale locale) { in DateTimeKeyListener() 106 public static DateTimeKeyListener getInstance(@Nullable Locale locale) { in getInstance()
|
D | DigitsKeyListener.java | 116 public DigitsKeyListener(@Nullable Locale locale) { in DigitsKeyListener() 155 public DigitsKeyListener(@Nullable Locale locale, boolean sign, boolean decimal) { in DigitsKeyListener() 249 public static DigitsKeyListener getInstance(@Nullable Locale locale) { in getInstance() 264 public static DigitsKeyListener getInstance( in getInstance() 309 public static DigitsKeyListener getInstance( in getInstance()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.cpp | 49 const Locale locale(localeStr); in addInternal() local 73 const Hyphenator* HyphenatorMap::lookupInternal(const Locale& locale) { in lookupInternal() 120 const Hyphenator* HyphenatorMap::lookupBySubtag(const Locale& locale, SubtagBits bits) const { in lookupBySubtag() argument
|
D | LocaleListCache.cpp | 34 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() 92 Locale locale(StringPiece(langTag, length)); in parseLocaleList() local
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 342 private static Locale toFullLocale(@NonNull Locale locale) { in toFullLocale() 378 final Locale locale = Locale.forLanguageTag(supportedLocaleStr); in resolveLocales() local 379 allLocales.put(toFullLocale(locale), locale); in resolveLocales() local 384 final Locale locale = current.get(i); in resolveLocales() local 390 final Locale locale = allLocales.remove(toFullLocale(restore.get(i))); in resolveLocales() local
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSubtype.java | 82 public SpellCheckerSubtype(int nameId, String locale, String languageTag, String extraValue, in SpellCheckerSubtype() 104 public SpellCheckerSubtype(int nameId, String locale, String extraValue) { in SpellCheckerSubtype() 246 final Locale locale = getLocaleObject(); in getDisplayName() local 287 private static int hashCodeInternal(String locale, String extraValue) { in hashCodeInternal()
|
/frameworks/base/core/java/com/android/internal/textservice/ |
D | ITextServicesManager.aidl | 32 SpellCheckerInfo getCurrentSpellChecker(int userId, String locale); in getCurrentSpellChecker() 35 oneway void getSpellCheckerService(int userId, String sciId, in String locale, in getSpellCheckerService()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | I18Name.java | 51 public I18Name(String language, Locale locale, String text) { in I18Name() 77 Locale locale; in parse() local
|
/frameworks/base/core/java/android/os/ |
D | LocaleList.java | 86 public int indexOf(Locale locale) { in indexOf() 280 private static String getLikelyScript(Locale locale) { in getLikelyScript() 296 private static boolean isPseudoLocale(String locale) { in isPseudoLocale() 304 public static boolean isPseudoLocale(Locale locale) { in isPseudoLocale() 311 public static boolean isPseudoLocale(@Nullable ULocale locale) { in isPseudoLocale()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 94 final Locale locale = context.getResources().getConfiguration().locale; in formatElapsedTime() local 145 final Locale locale = context.getResources().getConfiguration().locale; in formatRelativeTime() local
|
/frameworks/base/core/java/android/provider/ |
D | UserDictionary.java | 139 final Locale locale; in addWord() local 162 int frequency, String shortcut, Locale locale) { in addWord()
|