Home
last modified time | relevance | path

Searched defs:locale (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java110 /*package*/ static String getCurrencyCode(String locale) { in getCurrencyCode()
115 /*package*/ static String getCurrencyDisplayName(String locale, String currencyCode) { in getCurrencyDisplayName()
130 /*package*/ static String getCurrencySymbol(String locale, String currencyCode) { in getCurrencySymbol()
135 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative()
140 /*package*/ static String getDisplayLanguageNative(String languageCode, String locale) { in getDisplayLanguageNative()
145 /*package*/ static String getDisplayVariantNative(String variantCode, String locale) { in getDisplayVariantNative()
150 /*package*/ static String getDisplayScriptNative(String variantCode, String locale) { in getDisplayScriptNative()
155 /*package*/ static String getISO3Country(String locale) { in getISO3Country()
160 /*package*/ static String getISO3Language(String locale) { in getISO3Language()
165 /*package*/ static String addLikelySubtags(String locale) { in addLikelySubtags()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java68 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()
DLocalePicker.java60 public void onLocaleSelected(Locale locale); in onLocaleSelected()
69 final Locale locale; field in LocalePicker.LocaleInfo
71 public LocaleInfo(String label, Locale locale) { in LocaleInfo()
DLocaleStore.java55 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/
Dandroid_text_Hyphenator.cpp30 static std::string buildFileName(const std::string& locale) { in buildFileName()
39 static const uint8_t* mmapPatternFile(const std::string& locale) { in mmapPatternFile()
60 static void addHyphenatorWithoutPatternFile(const std::string& locale, int minPrefix, in addHyphenatorWithoutPatternFile()
66 static void addHyphenator(const std::string& locale, int minPrefix, int minSuffix) { in addHyphenator()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java80 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/
Dextract_icu_data.py26 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/
DDateFormat.java198 public static boolean is24HourLocale(@NonNull Locale locale) { in is24HourLocale()
252 public static String getBestDateTimePattern(Locale locale, String skeleton) { in getBestDateTimePattern()
264 final Locale locale = context.getResources().getConfiguration().locale; in getTimeFormat() local
302 final Locale locale = context.getResources().getConfiguration().locale; in getDateFormat() local
313 final Locale locale = context.getResources().getConfiguration().locale; in getLongDateFormat() local
324 final Locale locale = context.getResources().getConfiguration().locale; in getMediumDateFormat() local
387 final Locale locale = context.getResources().getConfiguration().locale; in getDateFormatString() local
695 public static DateFormatSymbols getIcuDateFormatSymbols(Locale locale) { in getIcuDateFormatSymbols()
DRelativeDateTimeFormatter.java93 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
104 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString()
337 ULocale locale, android.icu.text.RelativeDateTimeFormatter.Style style, in getFormatter()
DFormatter.java68 final Locale locale = localeFromContext(context); in bidiWrap() local
245 final Locale locale = localeFromContext(context); in formatShortElapsedTime() local
287 final Locale locale = localeFromContext(context); in formatShortElapsedTimeRoundingUpToMinutes() local
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java151 static boolean addDigits(@NonNull Collection<Character> collection, @Nullable Locale locale) { in addDigits()
172 @NonNull Collection<Character> collection, @Nullable Locale locale, in addFormatCharsFromSkeleton()
210 @NonNull Collection<Character> collection, @Nullable Locale locale, in addFormatCharsFromSkeletons()
225 @Nullable Locale locale) { in addAmPmChars()
DDateKeyListener.java65 public DateKeyListener(@Nullable Locale locale) { in DateKeyListener()
94 public static DateKeyListener getInstance(@Nullable Locale locale) { in getInstance()
DTimeKeyListener.java67 public TimeKeyListener(@Nullable Locale locale) { in TimeKeyListener()
106 public static TimeKeyListener getInstance(@Nullable Locale locale) { in getInstance()
DDateTimeKeyListener.java67 public DateTimeKeyListener(@Nullable Locale locale) { in DateTimeKeyListener()
106 public static DateTimeKeyListener getInstance(@Nullable Locale locale) { in getInstance()
DDigitsKeyListener.java116 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/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java306 private static Locale toFullLocale(@NonNull Locale locale) { in toFullLocale()
342 final Locale locale = Locale.forLanguageTag(supportedLocaleStr); in resolveLocales() local
343 allLocales.put(toFullLocale(locale), locale); in resolveLocales() local
348 final Locale locale = current.get(i); in resolveLocales() local
354 final Locale locale = allLocales.remove(toFullLocale(restore.get(i))); in resolveLocales() local
/frameworks/minikin/libs/minikin/
DHyphenatorMap.cpp49 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
DLocaleListCache.cpp34 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/core/java/android/view/textservice/
DSpellCheckerSubtype.java82 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/
DITextServicesManager.aidl32 SpellCheckerInfo getCurrentSpellChecker(int userId, String locale); in getCurrentSpellChecker()
35 oneway void getSpellCheckerService(int userId, String sciId, in String locale, in getSpellCheckerService()
DISpellCheckerService.aidl45 String locale, ISpellCheckerSessionListener listener, in Bundle bundle, in getISpellCheckerSession()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DI18Name.java51 public I18Name(String language, Locale locale, String text) { in I18Name()
77 Locale locale; in parse() local
/frameworks/base/core/java/android/os/
DLocaleList.java85 public int indexOf(Locale locale) { in indexOf()
279 private static String getLikelyScript(Locale locale) { in getLikelyScript()
295 private static boolean isPseudoLocale(String locale) { in isPseudoLocale()
303 public static boolean isPseudoLocale(Locale locale) { in isPseudoLocale()
310 public static boolean isPseudoLocale(@Nullable ULocale locale) { in isPseudoLocale()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java94 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/
DUserDictionary.java139 final Locale locale; in addWord() local
162 int frequency, String shortcut, Locale locale) { in addWord()

123456