Home
last modified time | relevance | path

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

12345

/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java109 /*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/
DLocaleHelper.java67 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()
DLocalePicker.java53 public void onLocaleSelected(Locale locale); in onLocaleSelected()
62 final Locale locale; field in LocalePicker.LocaleInfo
64 public LocaleInfo(String label, Locale locale) { in LocaleInfo()
DLocaleStore.java52 private LocaleInfo(Locale locale) { in LocaleInfo()
66 private static Locale getParent(Locale locale) { in getParent()
232 private static void addSuggestedLocalesForRegion(Locale locale) { in addSuggestedLocalesForRegion()
362 public static LocaleInfo getLocaleInfo(Locale locale) { in getLocaleInfo()
/frameworks/support/v4/java/android/support/v4/text/
DICUCompat.java26 public String maximizeAndGetScript(Locale locale); in maximizeAndGetScript()
31 public String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
38 public String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
45 public String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
86 public static String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
DTextUtilsCompat.java62 public int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale()
87 private static int getLayoutDirectionFromFirstChar(@NonNull Locale locale) { in getLayoutDirectionFromFirstChar()
107 public int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale()
142 public static int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale()
/frameworks/base/core/java/com/android/internal/textservice/
DITextServicesManager.aidl32 SpellCheckerInfo getCurrentSpellChecker(String locale); in getCurrentSpellChecker()
34 String locale, boolean allowImplicitlySelectedSubtype); in getCurrentSpellCheckerSubtype()
35 oneway void getSpellCheckerService(String sciId, in String locale, in getSpellCheckerService()
39 oneway void setCurrentSpellChecker(String locale, String sciId); in setCurrentSpellChecker()
40 oneway void setCurrentSpellCheckerSubtype(String locale, int hashCode); in setCurrentSpellCheckerSubtype()
DISpellCheckerService.aidl30 String locale, ISpellCheckerSessionListener listener, in Bundle bundle); in getISpellCheckerSession()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DAndroidLocale.java35 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/android/view/
DAccessibilityIterators.java75 public static CharacterTextSegmentIterator getInstance(Locale locale) { in getInstance()
82 private CharacterTextSegmentIterator(Locale locale) { in CharacterTextSegmentIterator()
148 Locale locale = newConfig.locale; in onConfigurationChanged() local
160 protected void onLocaleChanged(Locale locale) { in onLocaleChanged()
168 public static WordTextSegmentIterator getInstance(Locale locale) { in getInstance()
175 private WordTextSegmentIterator(Locale locale) { in WordTextSegmentIterator()
180 protected void onLocaleChanged(Locale locale) { in onLocaleChanged()
/frameworks/base/tools/localedata/
Dextract_icu_data.py26 def get_locale_parts(locale): argument
109 def pack_to_uint32(locale): argument
141 def pack_to_uint64(locale): argument
202 def get_likely_script(locale, likely_script_dict): argument
/frameworks/support/v4/ics/android/support/v4/text/
DICUCompatIcs.java50 public static String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
76 private static String addLikelySubtags(Locale locale) { in addLikelySubtags()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerSubtype.java82 public SpellCheckerSubtype(int nameId, String locale, String languageTag, String extraValue, in SpellCheckerSubtype()
103 public SpellCheckerSubtype(int nameId, String locale, String extraValue) { in SpellCheckerSubtype()
245 final Locale locale = getLocaleObject(); in getDisplayName() local
286 private static int hashCodeInternal(String locale, String extraValue) { in hashCodeInternal()
DTextServicesManager.java95 private static String parseLanguageFromLocaleString(String locale) { in parseLanguageFromLocaleString()
118 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale, in newSpellCheckerSession()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DPickerConstant.java37 public final Locale locale; field in PickerConstant
39 public PickerConstant(Locale locale, Resources resources) { in PickerConstant()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUInfo.java95 public String getName(Locale locale) { in getName()
108 public String getServiceDescription(Locale locale) { in getServiceDescription()
181 public List<IconInfo> getIconInfo(Locale locale, Set<String> types, int width, int height) { in getIconInfo()
222 private static int languageScore(String language, Locale locale) { in languageScore()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java56 Locale locale = Locale.getDefault(); in getTimeZoneOffsetAndName() local
69 final Locale locale = Locale.getDefault(); in getZonesList() local
212 private static String getGmtOffsetString(Locale locale, TimeZone tz, Date now) { in getGmtOffsetString()
/frameworks/base/services/core/java/com/android/server/
DTextServicesManagerService.java404 final Locale locale = suitableLocales.get(localeIndex); in findAvailSpellCheckerLocked() local
432 public SpellCheckerInfo getCurrentSpellChecker(String locale) { in getCurrentSpellChecker()
457 String locale, boolean allowImplicitlySelectedSubtype) { in getCurrentSpellCheckerSubtype()
530 public void getSpellCheckerService(String sciId, String locale, in getSpellCheckerService()
610 private void startSpellCheckerServiceInnerLocked(SpellCheckerInfo info, String locale, in startSpellCheckerServiceInnerLocked()
672 public void setCurrentSpellChecker(String locale, String sciId) { in setCurrentSpellChecker()
689 public void setCurrentSpellCheckerSubtype(String locale, int hashCode) { in setCurrentSpellCheckerSubtype()
845 ITextServicesSessionListener listener, String locale, in SpellCheckerBindGroup()
881 String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) { in addListener()
976 String id, String locale, Bundle bundle) { in InternalServiceConnection()
/frameworks/base/core/java/android/os/
DLocaleList.java84 public int indexOf(Locale locale) { in indexOf()
278 private static String getLikelyScript(Locale locale) { in getLikelyScript()
294 private static boolean isPseudoLocale(String locale) { in isPseudoLocale()
298 private static boolean isPseudoLocale(Locale locale) { in isPseudoLocale()
/frameworks/base/core/java/android/provider/
DUserDictionary.java139 final Locale locale; in addWord() local
162 int frequency, String shortcut, Locale locale) { in addWord()
/frameworks/minikin/libs/minikin/
DFontLanguageListCache.cpp33 static size_t toLanguageTag(char* output, size_t outSize, const std::string& locale) { in toLanguageTag()
85 std::string locale(input.size(), 0); in parseLanguageList() local
/frameworks/support/v4/jellybean-mr1/android/support/v4/text/
DTextUtilsCompatJellybeanMr1.java34 public static int getLayoutDirectionFromLocale(@Nullable Locale locale) { in getLayoutDirectionFromLocale()
/frameworks/support/v4/api23/android/support/v4/text/
DICUCompatApi23.java43 public static String maximizeAndGetScript(Locale locale) { in maximizeAndGetScript()
/frameworks/base/location/tests/locationtests/src/android/location/
DGeocoderTest.java35 Locale locale = new Locale("en", "us"); in testGeocoder() local
/frameworks/base/core/java/com/android/internal/inputmethod/
DLocaleUtils.java101 final Locale locale = desired.get(i); in calculateMatchingScore() local
204 final Locale locale = extractor.get(sources.get(i)); in filterByLanguage() local

12345