/frameworks/layoutlib/bridge/src/libcore/icu/ |
D | ICU_Delegate.java | 109 /*package*/ static String getCurrencyCode(String locale) { in getCurrencyCode() 114 /*package*/ static String getCurrencyDisplayName(String locale, String currencyCode) { in getCurrencyDisplayName() 129 /*package*/ static String getCurrencySymbol(String locale, String currencyCode) { in getCurrencySymbol() 134 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative() 139 /*package*/ static String getDisplayLanguageNative(String languageCode, String locale) { in getDisplayLanguageNative() 144 /*package*/ static String getDisplayVariantNative(String variantCode, String locale) { in getDisplayVariantNative() 149 /*package*/ static String getDisplayScriptNative(String variantCode, String locale) { in getDisplayScriptNative() 154 /*package*/ static String getISO3Country(String locale) { in getISO3Country() 159 /*package*/ static String getISO3Language(String locale) { in getISO3Language() 164 /*package*/ static String addLikelySubtags(String locale) { in addLikelySubtags() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 67 public static String toSentenceCase(String str, Locale locale) { in toSentenceCase() 87 public static String normalizeForSearch(String str, Locale locale) { in normalizeForSearch() 97 private static boolean shouldUseDialectName(Locale locale) { in shouldUseDialectName() 112 public static String getDisplayName(Locale locale, Locale displayLocale, boolean sentenceCase) { in getDisplayName() 127 public static String getDisplayName(Locale locale, boolean sentenceCase) { in getDisplayName() 138 public static String getDisplayCountry(Locale locale, Locale displayLocale) { in getDisplayCountry() 148 public static String getDisplayCountry(Locale locale) { in getDisplayCountry() 197 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() 232 private String removePrefixForCompare(Locale locale, String str) { in removePrefixForCompare()
|
D | LocalePicker.java | 53 public void onLocaleSelected(Locale locale); in onLocaleSelected() 62 final Locale locale; field in LocalePicker.LocaleInfo 64 public LocaleInfo(String label, Locale locale) { in LocaleInfo()
|
D | LocaleStore.java | 52 private LocaleInfo(Locale locale) { in LocaleInfo() 66 private static Locale getParent(Locale locale) { in getParent() 232 private static void addSuggestedLocalesForRegion(Locale locale) { in addSuggestedLocalesForRegion() 359 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
D | PickerUtility.java | 36 public final Locale locale; field in PickerUtility.DateConstant 40 private DateConstant(Locale locale, Resources resources) { in DateConstant() 51 public final Locale locale; field in PickerUtility.TimeConstant 57 private TimeConstant(Locale locale, Resources resources) { in TimeConstant() 67 public static DateConstant getDateConstantInstance(Locale locale, Resources resources) { in getDateConstantInstance() 71 public static TimeConstant getTimeConstantInstance(Locale locale, Resources resources) { in getTimeConstantInstance() 88 public static Calendar getCalendarForLocale(Calendar oldCalendar, Locale locale) { in getCalendarForLocale()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | AndroidLocale.java | 35 public static String toLanguageTag(Locale locale) { in toLanguageTag() 58 public static String getScript(Locale locale) { in getScript() 65 Locale locale = context.getConfiguration().locale; in getDefault() local
|
/frameworks/base/core/java/com/android/internal/textservice/ |
D | ITextServicesManager.aidl | 32 SpellCheckerInfo getCurrentSpellChecker(String locale); in getCurrentSpellChecker() 34 String locale, boolean allowImplicitlySelectedSubtype); in getCurrentSpellCheckerSubtype() 35 oneway void getSpellCheckerService(String sciId, in String locale, in getSpellCheckerService()
|
D | ISpellCheckerService.aidl | 45 String locale, ISpellCheckerSessionListener listener, in Bundle bundle, in getISpellCheckerSession()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 74 public static CharacterTextSegmentIterator getInstance(Locale locale) { in getInstance() 81 private CharacterTextSegmentIterator(Locale locale) { in CharacterTextSegmentIterator() 147 final Locale locale = globalConfig.getLocales().get(0); in onConfigurationChanged() local 154 protected void onLocaleChanged(Locale locale) { in onLocaleChanged() 162 public static WordTextSegmentIterator getInstance(Locale locale) { in getInstance() 169 private WordTextSegmentIterator(Locale locale) { in WordTextSegmentIterator() 174 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 204 def get_likely_script(locale, likely_script_dict): argument
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 73 final Locale locale = localeFromContext(context); in bidiWrap() local 127 private static NumberFormat getNumberFormatter(Locale locale, int fractionDigits) { in getNumberFormatter() 150 private static String formatMeasureShort(Locale locale, NumberFormat numberFormatter, in formatMeasureShort() 162 final Locale locale = localeFromContext(context); in formatRoundedBytesResult() local 177 final Locale locale = res.getConfiguration().getLocales().get(0); in formatBytes() local 355 final Locale locale = localeFromContext(context); in formatShortElapsedTime() local 396 final Locale locale = localeFromContext(context); in formatShortElapsedTimeRoundingUpToMinutes() local
|
/frameworks/support/compat/java/android/support/v4/text/ |
D | TextUtilsCompat.java | 88 public static int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale() 117 private static int getLayoutDirectionFromFirstChar(@NonNull Locale locale) { in getLayoutDirectionFromFirstChar()
|
D | ICUCompat.java | 86 public static String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript() 123 private static String addLikelySubtags(Locale locale) { in addLikelySubtags()
|
/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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 324 private static Locale toFullLocale(@NonNull Locale locale) { in toFullLocale() 360 final Locale locale = Locale.forLanguageTag(supportedLocaleStr); in resolveLocales() local 361 allLocales.put(toFullLocale(locale), locale); in resolveLocales() local 366 final Locale locale = current.get(i); in resolveLocales() local 372 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()
|
D | TextServicesManager.java | 98 private static String parseLanguageFromLocaleString(String locale) { in parseLanguageFromLocaleString() 121 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale, in newSpellCheckerSession()
|
/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 = Locale.forLanguageTag(language); in parse() local
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
D | OSUInfo.java | 101 public String getName(Locale locale) { in getName() 114 public String getServiceDescription(Locale locale) { in getServiceDescription() 200 public List<IconInfo> getIconInfo(Locale locale, Set<String> types, int width, int height) { in getIconInfo() 242 private static int languageScore(String language, Locale locale) { in languageScore()
|
/frameworks/minikin/libs/minikin/ |
D | FontLanguageListCache.cpp | 34 static size_t toLanguageTag(char* output, size_t outSize, const std::string& locale) { in toLanguageTag() 86 std::string locale(input.size(), 0); in parseLanguageList() 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()
|