/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | SubtypeLocaleUtils.java | 47 public static Locale constructLocaleFromString(String localeStr) { in constructLocaleFromString() argument 48 if (TextUtils.isEmpty(localeStr)) { in constructLocaleFromString() 52 String[] localeParams = localeStr.split("_", 3); in constructLocaleFromString()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.h | 34 static void add(const std::string& localeStr, const Hyphenator* hyphenator) { in add() argument 35 getInstance().addInternal(localeStr, hyphenator); in add() 62 void addInternal(const std::string& localeStr, const Hyphenator* hyphenator);
|
D | HyphenatorMap.cpp | 36 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator) { in addHyphenator() argument 37 HyphenatorMap::add(localeStr, hyphenator); in addHyphenator() 48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { in addInternal() argument 49 const Locale locale(localeStr); in addInternal()
|
D | LocaleListCache.cpp | 91 StringPiece localeStr = it.next(); in parseLocaleList() local 92 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
|
/frameworks/base/core/java/android/app/admin/ |
D | FullyManagedDeviceProvisioningParams.java | 90 @Nullable String localeStr, in FullyManagedDeviceProvisioningParams() argument 99 getLocale(localeStr), in FullyManagedDeviceProvisioningParams() 106 private static Locale getLocale(String localeStr) { in getLocale() argument 107 return localeStr == null ? null : Locale.forLanguageTag(localeStr); in getLocale()
|
/frameworks/minikin/tests/unittest/ |
D | LocaleListTest.cpp | 28 const LocaleList& getLocaleList(const std::string& localeStr) { in getLocaleList() argument 29 return LocaleListCache::getById(LocaleListCache::getId(localeStr)); in getLocaleList()
|
D | HyphenatorMapTest.cpp | 133 const Locale& getLocale(const std::string& localeStr) { in getLocale() argument 136 const uint32_t id = LocaleListCache::getId(localeStr); in getLocale() 142 const Hyphenator* lookup(const std::string& localeStr) { in lookup() argument 143 return mMap.lookupInternal(getLocale(localeStr)); in lookup()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSubtype.java | 249 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local 251 return localeStr; in getDisplayName() 256 return String.format(subtypeName.toString(), localeStr); in getDisplayName() 258 return localeStr; in getDisplayName()
|
D | TextServicesManager.java | 255 final String localeStr = locale.toString(); in newSpellCheckerSession() local 260 if (tempSubtypeLocale.equals(localeStr)) { in newSpellCheckerSession()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 176 final String localeStr = getLocale(); in onGetSentenceSuggestionsMultiple() local 177 if (!TextUtils.isEmpty(localeStr)) { in onGetSentenceSuggestionsMultiple() 178 mSentenceLevelAdapter = new SentenceLevelAdapter(new Locale(localeStr)); in onGetSentenceSuggestionsMultiple()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 1391 const char* localeStr = locales[i].c_str(); in doDump() local 1392 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump() 1396 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 1404 printf("application-label-%s:'%s'\n", localeStr, in doDump() 2356 const char* localeStr = locales[i].c_str(); in doDump() local 2357 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 2358 localeStr = "--_--"; in doDump() 2360 printf(" '%s'", localeStr); in doDump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | RuimRecords.java | 741 final String localeStr = locales[i]; in getAssetLanguages() local 742 final int separator = localeStr.indexOf('-'); in getAssetLanguages() 744 localeLangs[i] = localeStr; in getAssetLanguages() 746 localeLangs[i] = localeStr.substring(0, separator); in getAssetLanguages()
|
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 362 jstring localeStr) { in nativeRegisterLocalizedCollators() argument 365 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators() 367 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()
|