/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 | 90 StringPiece localeStr = it.next(); in parseLocaleList() local 91 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, localeStr); in parseLocaleList()
|
/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 | 247 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale; in getDisplayName() local 249 return localeStr; in getDisplayName() 254 return String.format(subtypeName.toString(), localeStr); in getDisplayName() 256 return localeStr; in getDisplayName()
|
D | TextServicesManager.java | 188 final String localeStr = locale.toString(); in newSpellCheckerSession() local 193 if (tempSubtypeLocale.equals(localeStr)) { in newSpellCheckerSession()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 328 const char *localeStr = env->GetStringUTFChars(locale, NULL); in android_media_MediaScanner_setLocale() local 329 if (localeStr == NULL) { // Out of memory in android_media_MediaScanner_setLocale() 332 mp->setLocale(localeStr); in android_media_MediaScanner_setLocale() 334 env->ReleaseStringUTFChars(locale, localeStr); in android_media_MediaScanner_setLocale()
|
/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/native/android/ |
D | system_fonts.cpp | 142 XmlCharUniquePtr localeStr(xmlGetProp(xmlDoc->parent, LOCALE_ATTR_NAME)); in copyFont() local 144 localeStr ? new std::string(reinterpret_cast<const char*>(localeStr.get())) : nullptr); in copyFont()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | RuimRecords.java | 739 final String localeStr = locales[i]; in getAssetLanguages() local 740 final int separator = localeStr.indexOf('-'); in getAssetLanguages() 742 localeLangs[i] = localeStr; in getAssetLanguages() 744 localeLangs[i] = localeStr.substring(0, separator); in getAssetLanguages()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 1320 const char* localeStr = locales[i].string(); in doDump() local 1321 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump() 1325 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 1333 printf("application-label-%s:'%s'\n", localeStr, in doDump() 2281 const char* localeStr = locales[i].string(); in doDump() local 2282 if (localeStr == NULL || strlen(localeStr) == 0) { in doDump() 2283 localeStr = "--_--"; in doDump() 2285 printf(" '%s'", localeStr); in doDump()
|
/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 | 284 jstring localeStr) { in nativeRegisterLocalizedCollators() argument 287 const char* locale = env->GetStringUTFChars(localeStr, NULL); in nativeRegisterLocalizedCollators() 289 env->ReleaseStringUTFChars(localeStr, locale); in nativeRegisterLocalizedCollators()
|