/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryAddWordContents.java | 65 private String mLocale; field in UserDictionaryAddWordContents 108 updateLocale(mLocale); in UserDictionaryAddWordContents() 114 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale() 126 outState.putString(EXTRA_LOCALE, mLocale); in saveStateIntoBundle() 184 FREQUENCY_FOR_USER_DICTIONARY_ADDS, newShortcut, TextUtils.isEmpty(mLocale) ? in apply() 185 null : LocaleUtils.constructLocaleFromString(mLocale)); in apply() 199 if ("".equals(mLocale)) { in hasWord() 206 new String[] { word, mLocale }, null /* sort order */); in hasWord() 254 locales.remove(mLocale); // mLocale may not be null in getLocalesList() 262 addLocaleDisplayNameToList(activity, localesList, mLocale); in getLocalesList() [all …]
|
D | UserDictionarySettings.java | 106 protected String mLocale; field in UserDictionarySettings 142 mLocale = locale; in onActivityCreated() 155 UserDictionarySettingsUtils.getLocaleDisplayName(getActivity(), mLocale)); in onActivityCreated() local 201 if (!TextUtils.isEmpty(mLocale) && !mLocale.equals(systemLocale.toString())) { in onCreateOptionsMenu() 236 args.putString(UserDictionaryAddWordContents.EXTRA_LOCALE, mLocale); in showAddOrEditDialog()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 57 private String mLocale; field in UserDictionaryAddWordContents 90 updateLocale(mLocale); in UserDictionaryAddWordContents() 96 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale() 108 outState.putString(EXTRA_LOCALE, mLocale); in saveStateIntoBundle() 164 TextUtils.isEmpty(mLocale) ? null : Utils.createLocaleFromString(mLocale)); in apply() 178 if ("".equals(mLocale)) { in hasWord() 185 new String[] { word, mLocale }, null /* sort order */); in hasWord() 233 locales.remove(mLocale); // mLocale may not be null in getLocalesList() 241 addLocaleDisplayNameToList(activity, localesList, mLocale); in getLocalesList() 242 if (!systemLocale.equals(mLocale)) { in getLocalesList() [all …]
|
D | UserDictionaryList.java | 43 private String mLocale; field in UserDictionaryList 72 mLocale = locale; in onActivityCreated() 133 if (mLocale != null) { in createUserDictSettings() 136 localeSet.add(mLocale); in createUserDictSettings()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLocaleUtils.java | 399 private final Locale mLocale; field in ContactLocaleUtils 405 mLocale = Locale.getDefault(); in ContactLocaleUtils() 407 mLocale = locale; in ContactLocaleUtils() 409 mLanguage = mLocale.getLanguage().toLowerCase(); in ContactLocaleUtils() 411 mUtils = new JapaneseContactUtils(mLocale); in ContactLocaleUtils() 412 } else if (mLocale.equals(Locale.CHINA)) { in ContactLocaleUtils() 413 mUtils = new SimplifiedChineseContactUtils(mLocale); in ContactLocaleUtils() 415 mUtils = new ContactLocaleUtilsBase(mLocale); in ContactLocaleUtils() 417 Log.i(TAG, "AddressBook Labels [" + mLocale.toString() + "]: " in ContactLocaleUtils() 422 return mLocale.equals(locale); in isLocale()
|
D | PostalSplitter.java | 30 private final Locale mLocale; field in PostalSplitter 63 mLocale = locale; in PostalSplitter() 90 if (mLocale != null && in join() 91 JAPANESE_LANGUAGE.equals(mLocale.getLanguage()) && in join()
|
D | DefaultCallLogInsertionHelper.java | 49 private final Locale mLocale; field in DefaultCallLogInsertionHelper 60 mLocale = context.getResources().getConfiguration().locale; in DefaultCallLogInsertionHelper() 110 structuredPhoneNumber, mLocale); in getGeocodedLocationFor()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | DecayingExpandableBinaryDictionaryBase.java | 58 private final String mLocale; field in DecayingExpandableBinaryDictionaryBase 74 mLocale = locale; in DecayingExpandableBinaryDictionaryBase() 77 if (mLocale != null && mLocale.length() > 1) { in DecayingExpandableBinaryDictionaryBase() 91 Settings.writeLastUserHistoryWriteTime(mPrefs, mLocale); in close() 102 attributeMap.put(FormatSpec.FileHeader.DICTIONARY_LOCALE_ATTRIBUTE, mLocale); in getHeaderAttributeMap() 211 return mLocale; in getLocale()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserBinaryDictionary.java | 75 final private String mLocale; field in UserBinaryDictionary 89 mLocale = USER_DICTIONARY_ALL_LANGUAGES; in UserBinaryDictionary() 91 mLocale = locale; in UserBinaryDictionary() 135 TextUtils.isEmpty(mLocale) ? new String[] {} : mLocale.split("_", 3); in loadDictionaryAsync() 213 if (USER_DICTIONARY_ALL_LANGUAGES == mLocale) { in addWordToUserDictionary() 216 locale = LocaleUtils.constructLocaleFromString(mLocale); in addWordToUserDictionary()
|
D | Suggest.java | 82 public final Locale mLocale; field in Suggest 87 mLocale = locale; in Suggest() 101 mLocale = locale; in Suggest() 317 wordInfo, mLocale, isAllUpperCase, isFirstCharCapitalized, in getSuggestedWordsForTypingInput() 387 wordInfo, mLocale, isAllUpperCase, isFirstCharCapitalized, in getSuggestedWordsForBatchInput()
|
D | BinaryDictionary.java | 61 private final Locale mLocale; field in BinaryDictionary 85 traverseSession = new DicTraverseSession(mLocale, mNativeDict, mDictSize); in getTraverseSession() 107 mLocale = locale; in BinaryDictionary()
|
D | WordListInfo.java | 24 public final String mLocale; field in WordListInfo 27 mLocale = locale; in WordListInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 57 public final Locale mLocale; field in DictionaryInfoUtils.DictionaryInfo 64 mLocale = locale; in DictionaryInfo() 72 values.put(LOCALE_COLUMN, mLocale.toString()); in toContentValues() 301 if (thisDictInfo.mLocale.equals(newElement.mLocale)) { in addOrUpdateDictInfo() 331 if (!dictionaryInfo.mLocale.equals(locale)) continue; in getCurrentDictionaryFileNameAndVersionInfo() 352 if (!dictionaryInfo.mLocale.equals(locale)) continue; in getCurrentDictionaryFileNameAndVersionInfo()
|
D | RecapitalizeStatus.java | 62 private Locale mLocale; field in RecapitalizeStatus 81 mLocale = locale; in initialize() 131 mStringAfter = mStringBefore.toLowerCase(mLocale); in rotate() 135 mLocale); in rotate() 138 mStringAfter = mStringBefore.toUpperCase(mLocale); in rotate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 49 private Locale mLocale; field in AndroidWordLevelSpellCheckerSession 116 mLocale = LocaleUtils.constructLocaleFromString(localeString); in onCreate() 117 mScript = AndroidSpellCheckerService.getScriptFromLocale(mLocale); in onCreate() 238 final String lowerCaseText = text.toLowerCase(mLocale); in isInDictForAnyCapitalization() 245 return dict.isValidWord(StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale)); in isInDictForAnyCapitalization() 342 capitalizeType, mLocale); in onGetSuggestionsInternal()
|
D | DictionaryPool.java | 46 private final Locale mLocale; field in DictionaryPool 76 mLocale = locale; in DictionaryPool() 95 return mService.createDictAndKeyboard(mLocale); in poll() 101 return mService.createDictAndKeyboard(mLocale); in poll()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 339 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 344 + " and locale " + mWordList.mLocale); in execute() 389 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 394 + " and locale " + mWordList.mLocale); in execute() 430 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 435 + " and locale " + mWordList.mLocale); in execute()
|
D | WordListMetadata.java | 42 public final String mLocale; field in WordListMetadata 66 mLocale = locale; in WordListMetadata() 119 sb.append("\nLocale : ").append(mLocale); in toString()
|
D | DictionaryProvider.java | 91 public final String mLocale; field in DictionaryProvider.WordListInfo 95 mLocale = locale; in WordListInfo() 143 case 1: return mWordLists[mPos].mLocale; in getString()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptionPropertiesFragment.java | 71 private LocalePreference mLocale; field in CaptionPropertiesFragment 204 mLocale = (LocalePreference) findPreference(PREF_LOCALE); in initializeAllPreferences() 264 mLocale.setOnPreferenceChangeListener(this); in installUpdateListeners() 286 mLocale.setValue(rawLocale == null ? "" : rawLocale); in updateAllPreferences() 359 } else if (mLocale == preference) { in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserDictionarySettings.java | 72 protected String mLocale; field in UserDictionarySettings 108 mLocale = locale; in onActivityCreated() 121 UserDictionarySettingsUtils.getLocaleDisplayName(getActivity(), mLocale)); in onActivityCreated() local 194 args.putString(UserDictionaryAddWordContents.EXTRA_LOCALE, mLocale); in showAddOrEditDialog()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 66 public final Locale mLocale; field in KeyboardId 83 mLocale = SubtypeLocaleUtils.getSubtypeLocale(mSubtype); in KeyboardId() 191 mLocale, mSubtype.getExtraValueOf(KEYBOARD_LAYOUT_SET), in toString()
|
D | KeyboardSwitcher.java | 197 || !keyboard.mId.mLocale.equals(oldKeyboard.mId.mLocale); in setKeyboard() 199 keyboard.mId.mLocale); in setKeyboard()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 279 final String language = params.mId.mLocale.getLanguage(); in parseKeyboardAttributes() 291 ? null : params.mId.mLocale; in parseKeyboardAttributes() 666 R.styleable.Keyboard_Case_localeCode, id.mLocale.toString()); in parseCaseCondition() 668 R.styleable.Keyboard_Case_languageCode, id.mLocale.getLanguage()); in parseCaseCondition() 670 R.styleable.Keyboard_Case_countryCode, id.mLocale.getCountry()); in parseCaseCondition()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsValues.java | 84 public final Locale mLocale; field in SettingsValues 109 mLocale = locale; in SettingsValues() 185 mLocale = locale; in SettingsValues()
|