/libcore/include/ |
ScopedIcuLocale.h | 27 mLocale.setToBogus(); 39 mLocale = Locale::createFromName(localeName.c_str()); 46 return !mLocale.isBogus(); 50 return mLocale; 55 Locale mLocale;
|
/frameworks/base/core/java/android/text/style/ |
LocaleSpan.java | 30 private final Locale mLocale; 38 mLocale = locale; 42 mLocale = new Locale(src.readString(), src.readString(), src.readString()); 57 dest.writeString(mLocale.getLanguage()); 58 dest.writeString(mLocale.getCountry()); 59 dest.writeString(mLocale.getVariant()); 68 return mLocale; 73 apply(ds, mLocale); 78 apply(paint, mLocale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordListInfo.java | 24 public final String mLocale; 28 mLocale = locale;
|
UserBinaryDictionary.java | 67 final private String mLocale; 77 mLocale = USER_DICTIONARY_ALL_LANGUAGES; 79 mLocale = localeStr; 127 TextUtils.isEmpty(mLocale) ? new String[] {} : mLocale.split("_", 3);
|
/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/base/core/java/android/text/method/ |
AllCapsTransformationMethod.java | 34 private Locale mLocale; 37 mLocale = context.getResources().getConfiguration().locale; 43 return source != null ? source.toString().toUpperCase(mLocale) : null;
|
/frameworks/support/v4/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/internal/text/ |
AllCapsTransformationMethod.java | 30 private Locale mLocale; 33 mLocale = context.getResources().getConfiguration().locale; 38 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;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
DecayingExpandableBinaryDictionaryBase.java | 43 public final Locale mLocale; 49 mLocale = locale; 50 if (mLocale != null && mLocale.toString().length() > 1) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
UserDictionaryAddWordContents.java | 57 private String mLocale; 90 updateLocale(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)) { [all...] |
UserDictionaryList.java | 43 private String mLocale; 72 mLocale = locale; 138 if (mLocale != null) { 141 localeSet.add(mLocale);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LocaleSet.java | 29 private final Locale mLocale; 40 mLocale = locale; 41 if (mLocale != null) { 42 mLanguage = mLocale.getLanguage().toLowerCase(); 51 return mLocale != null; 55 return mLocale; 59 return mLocale == null ? (locale == null) : mLocale.equals(locale); 72 return mLocale != null ? mLocale.toLanguageTag() : "(null)" [all...] |
DefaultCallLogInsertionHelper.java | 51 private final Locale mLocale; 62 mLocale = context.getResources().getConfiguration().locale; 121 structuredPhoneNumber, mLocale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryAddWordContents.java | 65 private String mLocale; 108 updateLocale(mLocale); 114 mLocale = null == locale ? Locale.getDefault().toString() : locale; 126 outState.putString(EXTRA_LOCALE, mLocale); 183 // In this class we use the empty string to represent 'all locales' and mLocale cannot 186 FREQUENCY_FOR_USER_DICTIONARY_ADDS, newShortcut, TextUtils.isEmpty(mLocale) ? 187 null : LocaleUtils.constructLocaleFromString(mLocale)); 199 // mLocale == "" indicates this is an entry for all languages. Here, mLocale can't 201 if ("".equals(mLocale)) { [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProvisioningParams.java | 37 public Locale mLocale; 61 if (mLocale != null) { 62 return mLocale.getLanguage() + "_" + mLocale.getCountry(); 82 out.writeSerializable(mLocale); 107 params.mLocale = (Locale) in.readSerializable();
|
/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/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/spellcheck/ |
AndroidWordLevelSpellCheckerSession.java | 54 private Locale mLocale; 120 mLocale = LocaleUtils.constructLocaleFromString(localeString); 121 mScript = ScriptUtils.getScriptFromSpellCheckerLocale(mLocale); 197 if (mService.isValidWord(mLocale, text)) return true; 203 final String lowerCaseText = text.toLowerCase(mLocale); 204 if (mService.isValidWord(mLocale, lowerCaseText)) return true; 210 return mService.isValidWord(mLocale, 211 StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale)); 245 if (!mService.isValidWord(mLocale, word)) { 257 return mService.isValidWord(mLocale, inText) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatus.java | 62 private Locale mLocale; 87 mLocale = locale; 149 mStringAfter = mStringBefore.toLowerCase(mLocale); 153 mLocale); 156 mStringAfter = mStringBefore.toUpperCase(mLocale);
|
SuggestionResults.java | 33 public final Locale mLocale; 48 mLocale = locale;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
header_policy.h | 39 mLocale(readLocale()), 76 attributeMap)), mSize(0), mAttributeMap(*attributeMap), mLocale(locale), 106 mAttributeMap(headerPolicy->mAttributeMap), mLocale(headerPolicy->mLocale), 126 mAttributeMap(), mLocale(CharUtils::EMPTY_STRING), mMultiWordCostMultiplier(0.0f), 246 return &mLocale; 283 const std::vector<int> mLocale;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionPreviewFragment.java | 63 private Locale mLocale; 130 mLocale = mCaptioningManager.getLocale(); 172 mLocale = null; 177 mLocale = new Locale(splitLocale[0], splitLocale[1], splitLocale[2]); 180 mLocale = new Locale(splitLocale[0], splitLocale[1]); 183 mLocale = new Locale(splitLocale[0]); 283 if (mLocale != null) { 285 activity, mLocale, R.string.captioning_preview_text);
|