/libcore/include/ |
ScopedIcuLocale.h | 27 mLocale.setToBogus(); 39 mLocale = icu::Locale::createFromName(localeName.c_str()); 46 return !mLocale.isBogus(); 50 return mLocale; 55 icu::Locale mLocale;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordListInfo.java | 24 public final String mLocale; 28 mLocale = locale;
|
DictionaryFacilitatorLruCache.java | 39 private Locale mLocale; 69 if (mLocale != null) { 71 mDictionaryFacilitator.resetDictionaries(mContext, mLocale, 93 mLocale = locale;
|
DictionaryStats.java | 29 public final Locale mLocale; 42 mLocale = locale; 54 mLocale = locale;
|
RichInputMethodSubtype.java | 60 private final Locale mLocale; 68 mLocale = mappedLocale != null ? mappedLocale : mOriginalLocale; 131 return mSubtype.equals(other.mSubtype) && mLocale.equals(other.mLocale); 136 return mSubtype.hashCode() + mLocale.hashCode(); 141 return "Multi-lingual subtype: " + mSubtype + ", " + mLocale; 146 return mLocale; 156 return LocaleUtils.isRtlLanguage(mLocale);
|
/frameworks/base/location/java/android/location/ |
GeocoderParams.java | 36 private Locale mLocale; 49 mLocale = locale; 57 return mLocale; 74 gp.mLocale = new Locale(language, country, variant); 89 parcel.writeString(mLocale.getLanguage()); 90 parcel.writeString(mLocale.getCountry()); 91 parcel.writeString(mLocale.getVariant());
|
/frameworks/base/core/java/android/speech/tts/ |
Voice.java | 64 private final Locale mLocale; 77 this.mLocale = locale; 86 this.mLocale = (Locale)in.readSerializable(); 97 dest.writeSerializable(mLocale); 126 return mLocale; 189 .append(", locale: ").append(mLocale) 203 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode()); 232 if (mLocale == null) { 233 if (other.mLocale != null) [all...] |
/frameworks/support/core-ui/ics/android/support/v4/view/ |
PagerTitleStripIcs.java | 34 private Locale mLocale; 37 mLocale = context.getResources().getConfiguration().locale; 43 return source != null ? source.toString().toUpperCase(mLocale) : null;
|
/frameworks/support/v7/appcompat/src/android/support/v7/text/ |
AllCapsTransformationMethod.java | 34 private Locale mLocale; 37 mLocale = context.getResources().getConfiguration().locale; 42 return source != null ? source.toString().toUpperCase(mLocale) : null;
|
/frameworks/av/media/libmedia/ |
MediaScannerClient.cpp | 36 mLocale = locale; // not currently used
|
MediaScanner.cpp | 30 : mLocale(NULL), mSkipList(NULL), mSkipIndex(NULL) { 41 if (mLocale) { 42 free(mLocale); 43 mLocale = NULL; 46 mLocale = strdup(locale); 51 return mLocale;
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
I18Name.java | 17 private final Locale mLocale; 30 mLocale = Locale.forLanguageTag(mLanguage); 41 mLocale = Locale.forLanguageTag(mLanguage); 49 return mLocale; 78 return mText + ':' + mLocale.getLanguage();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
I18Name.java | 17 private final Locale mLocale; 30 mLocale = Locale.forLanguageTag(mLanguage); 41 mLocale = Locale.forLanguageTag(mLanguage); 49 return mLocale; 78 return mText + ':' + mLocale.getLanguage();
|
/frameworks/base/core/java/android/text/method/ |
AllCapsTransformationMethod.java | 35 private Locale mLocale; 38 mLocale = context.getResources().getConfiguration().locale; 57 locale = mLocale;
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordContents.java | 57 private String mLocale; 96 mLocale = null == locale ? Locale.getDefault().toString() : locale; 108 outState.putString(EXTRA_LOCALE, mLocale); 162 // In this class we use the empty string to represent 'all locales' and mLocale cannot 166 TextUtils.isEmpty(mLocale) ? null : Utils.createLocaleFromString(mLocale)); 178 // mLocale == "" indicates this is an entry for all languages. Here, mLocale can't 180 if ("".equals(mLocale)) { 187 new String[] { word, mLocale }, null /* sort order */) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidWordLevelSpellCheckerSession.java | 54 private Locale mLocale; 117 mLocale = (null == localeString) ? null 119 mScript = ScriptUtils.getScriptFromSpellCheckerLocale(mLocale); 195 if (mService.isValidWord(mLocale, text)) return true; 201 final String lowerCaseText = text.toLowerCase(mLocale); 202 if (mService.isValidWord(mLocale, lowerCaseText)) return true; 208 return mService.isValidWord(mLocale, 209 StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale)); 232 if (!mService.hasMainDictionaryForLocale(mLocale)) { 244 if (!mService.isValidWord(mLocale, word)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryAddWordContents.java | 67 private String mLocale; 110 updateLocale(mLocale); 116 mLocale = null == locale ? Locale.getDefault().toString() : locale; 128 outState.putString(EXTRA_LOCALE, mLocale); 185 // In this class we use the empty string to represent 'all locales' and mLocale cannot 188 FREQUENCY_FOR_USER_DICTIONARY_ADDS, newShortcut, TextUtils.isEmpty(mLocale) ? 189 null : LocaleUtils.constructLocaleFromString(mLocale)); 201 // mLocale == "" indicates this is an entry for all languages. Here, mLocale can't 203 if ("".equals(mLocale)) { [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/ |
LayoutCustomizer.java | 31 private final Locale mLocale; 36 public LayoutCustomizer(final Locale locale) { mLocale = locale; } 38 public final Locale getLocale() { return mLocale; }
|
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/ |
SampleSpellCheckerService.java | 44 private String mLocale; 47 mLocale = getLocale(); 72 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale}); 128 new String[] {"aaa", "bbb", "Candidate for " + input, mLocale});
|
/frameworks/base/core/java/com/android/internal/app/ |
LocaleStore.java | 38 private final Locale mLocale; 53 this.mLocale = locale; 81 return mLocale; 117 LocaleHelper.getDisplayName(mLocale, mLocale, true /* sentence case */); 124 mFullCountryNameNative = LocaleHelper.getDisplayCountry(mLocale, mLocale); 131 return LocaleHelper.getDisplayCountry(mLocale); 141 return LocaleHelper.getDisplayName(mLocale, true /* sentence case */); 146 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(mLocale)); [all...] |
/frameworks/av/include/media/ |
mediascanner.h | 90 char *mLocale; 123 // default encoding from MediaScanner::mLocale 124 String8 mLocale;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatus.java | 75 private Locale mLocale; 100 mLocale = locale; 162 mStringAfter = mStringBefore.toLowerCase(mLocale); 166 mLocale); 169 mStringAfter = mStringBefore.toUpperCase(mLocale);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
header_policy.h | 40 mLocale(readLocale()), 65 attributeMap)), mSize(0), mAttributeMap(*attributeMap), mLocale(locale), 87 mAttributeMap(headerPolicy->mAttributeMap), mLocale(headerPolicy->mLocale), 103 mAttributeMap(), mLocale(CharUtils::EMPTY_STRING), mMultiWordCostMultiplier(0.0f), 210 return &mLocale; 246 const std::vector<int> mLocale;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DefaultCallLogInsertionHelper.java | 51 private final Locale mLocale; 62 mLocale = context.getResources().getConfiguration().locale; 121 structuredPhoneNumber, mLocale);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionSettingsFragment.java | 83 private Locale mLocale; 144 mLocale = mCaptioningManager.getLocale(); 155 if (mLocale != null) { 157 activity, mLocale, R.string.captioning_preview_text);
|