/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordListInfo.java | 24 public final String mLocale; 27 mLocale = locale;
|
UserBinaryDictionary.java | 75 final private String mLocale; 89 mLocale = USER_DICTIONARY_ALL_LANGUAGES; 91 mLocale = locale; 135 TextUtils.isEmpty(mLocale) ? new String[] {} : mLocale.split("_", 3); 213 if (USER_DICTIONARY_ALL_LANGUAGES == mLocale) { 216 locale = LocaleUtils.constructLocaleFromString(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);
|
/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/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;
|
/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); 160 // In this class we use the empty string to represent 'all locales' and mLocale cannot 164 TextUtils.isEmpty(mLocale) ? null : Utils.createLocaleFromString(mLocale)); 176 // mLocale == "" indicates this is an entry for all languages. Here, mLocale can't 178 if ("".equals(mLocale)) { [all...] |
UserDictionaryList.java | 43 private String mLocale; 72 mLocale = locale; 133 if (mLocale != null) { 136 localeSet.add(mLocale);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
PersonalizationDictionary.java | 37 private final String mLocale; 44 mLocale = locale;
|
DecayingExpandableBinaryDictionaryBase.java | 58 private final String mLocale; 74 mLocale = locale; 77 if (mLocale != null && mLocale.length() > 1) { 91 Settings.writeLastUserHistoryWriteTime(mPrefs, mLocale); 102 attributeMap.put(FormatSpec.FileHeader.DICTIONARY_LOCALE_ATTRIBUTE, mLocale); 211 return mLocale;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
CompatTextView.java | 66 private final Locale mLocale; 69 mLocale = context.getResources().getConfiguration().locale; 74 return source != null ? source.toString().toUpperCase(mLocale) : null;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatus.java | 62 private Locale mLocale; 81 mLocale = locale; 131 mStringAfter = mStringBefore.toLowerCase(mLocale); 135 mLocale); 138 mStringAfter = mStringBefore.toUpperCase(mLocale);
|
DictionaryInfoUtils.java | 57 public final Locale mLocale; 64 mLocale = locale; 72 values.put(LOCALE_COLUMN, mLocale.toString()); 301 if (thisDictInfo.mLocale.equals(newElement.mLocale)) { 331 if (!dictionaryInfo.mLocale.equals(locale)) continue; 352 if (!dictionaryInfo.mLocale.equals(locale)) continue;
|
/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); 181 // In this class we use the empty string to represent 'all locales' and mLocale cannot 184 FREQUENCY_FOR_USER_DICTIONARY_ADDS, newShortcut, TextUtils.isEmpty(mLocale) ? 185 null : LocaleUtils.constructLocaleFromString(mLocale)); 197 // mLocale == "" indicates this is an entry for all languages. Here, mLocale can't 199 if ("".equals(mLocale)) { [all...] |
UserDictionarySettings.java | 106 protected String mLocale; 142 mLocale = locale; 155 UserDictionarySettingsUtils.getLocaleDisplayName(getActivity(), mLocale)); 201 if (!TextUtils.isEmpty(mLocale) && !mLocale.equals(systemLocale.toString())) { 236 args.putString(UserDictionaryAddWordContents.EXTRA_LOCALE, mLocale);
|
/frameworks/av/media/libmedia/ |
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;
|
/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});
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
DictionaryPool.java | 46 private final Locale mLocale; 76 mLocale = locale; 95 return mService.createDictAndKeyboard(mLocale); 101 return mService.createDictAndKeyboard(mLocale);
|
AndroidWordLevelSpellCheckerSession.java | 49 private Locale mLocale; 116 mLocale = LocaleUtils.constructLocaleFromString(localeString); 117 mScript = AndroidSpellCheckerService.getScriptFromLocale(mLocale); 238 final String lowerCaseText = text.toLowerCase(mLocale); 245 return dict.isValidWord(StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale)); 342 capitalizeType, mLocale);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLocaleUtils.java | 399 private final Locale mLocale; 405 mLocale = Locale.getDefault(); 407 mLocale = locale; 409 mLanguage = mLocale.getLanguage().toLowerCase(); 411 mUtils = new JapaneseContactUtils(mLocale); 412 } else if (mLocale.equals(Locale.CHINA)) { 413 mUtils = new SimplifiedChineseContactUtils(mLocale); 415 mUtils = new ContactLocaleUtilsBase(mLocale); 417 Log.i(TAG, "AddressBook Labels [" + mLocale.toString() + "]: " 422 return mLocale.equals(locale) [all...] |
DefaultCallLogInsertionHelper.java | 49 private final Locale mLocale; 60 mLocale = context.getResources().getConfiguration().locale; 110 structuredPhoneNumber, mLocale);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 45 private LocalePreference mLocale; 83 mLocale = (LocalePreference) findPreference("captioning_locale"); 138 mLocale.setOnPreferenceChangeListener(this); 171 mLocale.setValue(rawLocale == null ? "" : rawLocale); 230 } else if (mLocale == preference) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 49 private Locale mLocale; 117 if (! newLocale.equals(mLocale)) { 118 mLocale = newLocale;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
WordListMetadata.java | 42 public final String mLocale; 66 mLocale = locale; 119 sb.append("\nLocale : ").append(mLocale);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleMenuListener.java | 48 private final Locale mLocale; 56 mLocale = locale; 63 mConfigChooser.selectLocale(mLocale);
|