Searched defs:locale (Results 76 - 89 of 89) sorted by relevance

1234

/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp77 jfieldID locale; member in struct:__anon849
614 jstring jLocale = (jstring)env->GetObjectField(jPhrase, gKeyphraseFields.locale);
616 strncpy(phraseModel->phrases[i].locale,
629 ALOGV("loadSoundModel phrases %zu text %s locale %s",
630 i, phraseModel->phrases[i].text, phraseModel->phrases[i].locale);
839 gKeyphraseFields.locale = GetFieldIDOrDie(env, keyphraseClass, "locale", "Ljava/lang/String;");
H A Dandroid_util_AssetManager.cpp551 jstring locale)
553 ScopedUtfChars locale8(env, locale);
598 jstring locale, jint orientation,
616 const char* locale8 = locale != NULL ? env->GetStringUTFChars(locale, NULL) : NULL;
648 if (locale != NULL) env->ReleaseStringUTFChars(locale, locale8);
550 android_content_AssetManager_setLocale(JNIEnv* env, jobject clazz, jstring locale) argument
596 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp70 * Names for default app, locale, and vendor. We might want to change
71 * these to be an actual locale, e.g. always use en-US as the default.
364 * Set the current locale. Use NULL to indicate no locale.
367 * information in the locale-specific sections of the tree.
369 void AssetManager::setLocale(const char* locale) argument
372 setLocaleLocked(locale);
384 void AssetManager::setLocaleLocked(const char* locale) argument
393 // If we're attempting to set a locale that starts with "fil",
399 if (strncmp(locale, kFilPrefi
454 setConfiguration(const ResTable_config& config, const char* locale) argument
945 openInLocaleVendorLocked(const char* fileName, AccessMode mode, const asset_path& ap, const char* locale, const char* vendor) argument
1080 createPathNameLocked(const asset_path& ap, const char* locale, const char* vendor) argument
1795 fncScanAndMergeDirLocked( SortedVector<AssetDir::FileInfo>* pMergedInfo, const asset_path& ap, const char* locale, const char* vendor, const char* dirName) argument
[all...]
H A DResourceTypes.cpp1863 if (l.locale != r.locale) {
1867 return l.locale - r.locale;
1995 if (locale || o.locale) {
2041 if (locale || o.locale) {
2181 if (locale || o.locale) {
5712 char locale[RESTABLE_MAX_LOCALE_LEN]; local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java1859 public native void setLocale(String locale); argument
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java1103 /** The current locale is unknown, look for a country code or don't format */
1175 * Returns the phone number formatting type for the given locale.
1177 * @param locale The locale of interest, usually {@link Locale#getDefault()}
1178 * @return The formatting type for the given locale, or FORMAT_UNKNOWN if the formatting
1179 * rules are not known for the given locale
1184 public static int getFormatTypeForLocale(Locale locale) { argument
1185 String country = locale.getCountry();
2052 Locale locale = context.getResources().getConfiguration().locale;
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java948 /*package*/ static void native_setTextLocale(long native_object, String locale) { argument
955 delegate.setTextLocale(locale);
1324 private void setTextLocale(String locale) { argument
1325 mLocale = new Locale(locale);
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java171 final Locale locale = Locale.getDefault();
172 init(locale);
175 private void init(Locale locale) { argument
176 mFmt = createFormatter(locale);
177 mZeroDigit = getZeroDigit(locale);
191 private static char getZeroDigit(Locale locale) { argument
192 return LocaleData.get(locale).zeroDigit;
195 private java.util.Formatter createFormatter(Locale locale) { argument
196 return new java.util.Formatter(mBuilder, locale);
H A DTextView.java2822 * @param locale the {@link Locale} for drawing text, must not be null.
2826 public void setTextLocale(Locale locale) { argument
2828 mTextPaint.setTextLocale(locale);
8660 // Start fetching the text services locale asynchronously.
8662 // If !allowNullLocale and there is no cached text services locale, just return the default
8663 // locale.
8669 * This is a temporary method. Future versions may support multi-locale text.
8670 * Caveat: This method may not return the latest text services locale, but this should be
8673 * @return The locale that should be used for a word iterator
8675 * the current IME's locale, o
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp366 // generate bcp47 identifier for the supplied locale
368 const char* locale) {
372 if (locale == NULL) {
378 uloc_canonicalize(locale, canonicalChars, ULOC_FULLNAME_CAPACITY,
399 ALOGD("uloc_canonicalize(\"%s\") failed: %s", locale,
406 static void setTextLocale(JNIEnv* env, jobject clazz, jlong objHandle, jstring locale) { argument
408 ScopedUtfChars localeChars(env, locale);
367 toLanguageTag(char* output, size_t outSize, const char* locale) argument
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1186 * Set the text locale.
1188 * The text locale affects how the text is drawn for some languages.
1190 * For example, if the locale is {@link Locale#CHINESE} or {@link Locale#CHINA},
1192 * if the locale is {@link Locale#JAPANESE} or {@link Locale#JAPAN}, then the text
1199 * By default, the text locale is initialized to the system locale (as returned
1206 * the text locale here. Specifying the text locale just helps it do a better
1209 * @param locale the paint's locale valu
1211 setTextLocale(Locale locale) argument
2474 native_setTextLocale(long native_object, String locale) argument
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h881 // The most specific locale can consist of:
952 uint32_t locale; member in union:android::ResTable_config::__anon944
1128 // the locale field.
1132 // chars. Interpreted in conjunction with the locale field.
1211 // Get the string representation of the locale component of this
1219 // locale component of this Config. If the locale is only country
1225 // well formed BCP-47 locale contained in |in|. The input locale is
1230 locale
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp590 return config.locale == 0;
902 curParams.locale == pseudoParams.locale) ||
904 curParams.locale == pseudoBidiParams.locale)) {
1349 // Note the existence and locale of every string we process
1352 String8 locale(rawLocale);
1371 if (locale.size() == 0) {
1376 // Untranslatable strings must only exist in the default [empty] locale
1377 if (locale
2711 addLocalization(const String16& name, const String8& locale, const SourcePos& src) argument
2761 AaptLocaleValue locale; local
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 424 milliseconds

1234