/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserHistoryDictionary.java | 71 private final String mLocale; field in UserHistoryDictionary 105 mLocale = locale; in UserHistoryDictionary() 107 if (mLocale != null && mLocale.length() > 1) { in UserHistoryDictionary() 197 new UpdateBinaryTask(mBigramList, mLocale, this, mPrefs, getContext()).execute(); in flushPendingWrites() 216 Log.w(TAG, "Start stress in loading: " + mLocale); in loadDictionaryAsyncLocked() 222 final long last = Settings.readLastUserHistoryWriteTime(mPrefs, mLocale); in loadDictionaryAsyncLocked() 226 final String fileName = NAME + "." + mLocale + ".dict"; in loadDictionaryAsyncLocked() 281 + mLocale + ", " + diff + "ms. load " + profTotal + "entries."); in loadDictionaryAsyncLocked() 293 private final String mLocale; field in UserHistoryDictionary.UpdateBinaryTask 302 mLocale = locale; in UpdateBinaryTask() [all …]
|
D | UserBinaryDictionary.java | 67 final private String mLocale; field in UserBinaryDictionary 80 mLocale = USER_DICTIONARY_ALL_LANGUAGES; in UserBinaryDictionary() 82 mLocale = locale; in UserBinaryDictionary() 147 TextUtils.isEmpty(mLocale) ? new String[] {} : mLocale.split("_", 3); in loadDictionaryAsync() 218 if (USER_DICTIONARY_ALL_LANGUAGES == mLocale) { in addWordToUserDictionary() 221 locale = LocaleUtils.constructLocaleFromString(mLocale); in addWordToUserDictionary()
|
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() 305 if (info.mLocale.equals(newElement.mLocale)) { in addOrUpdateDictInfo() 335 if (!dictionaryInfo.mLocale.equals(locale)) continue; in getCurrentDictionaryFileNameAndVersionInfo() 356 if (!dictionaryInfo.mLocale.equals(locale)) continue; in getCurrentDictionaryFileNameAndVersionInfo()
|
D | RecapitalizeStatus.java | 64 private Locale mLocale; field in RecapitalizeStatus 83 mLocale = locale; in initialize() 133 mStringAfter = mStringBefore.toLowerCase(mLocale); in rotate() 137 mLocale); in rotate() 140 mStringAfter = mStringBefore.toUpperCase(mLocale); in rotate()
|
D | Suggest.java | 71 public final Locale mLocale; field in Suggest 76 mLocale = locale; in Suggest() 83 mLocale = locale; in Suggest() 266 wordInfo, mLocale, isAllUpperCase, isFirstCharCapitalized, in getSuggestedWordsForTypingInput() 335 wordInfo, mLocale, isAllUpperCase, isFirstCharCapitalized, in getSuggestedWordsForBatchInput()
|
D | BinaryDictionary.java | 41 private final Locale mLocale; field in BinaryDictionary 61 traverseSession = new DicTraverseSession(mLocale, mNativeDict); in getTraverseSession() 81 mLocale = locale; in BinaryDictionary()
|
D | WordListInfo.java | 24 public final String mLocale; field in WordListInfo 27 mLocale = locale; in WordListInfo()
|
D | ContactsBinaryDictionary.java | 61 public final Locale mLocale; field in ContactsBinaryDictionary 72 mLocale = locale; in ContactsBinaryDictionary()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 57 private String mLocale; field in UserDictionaryAddWordContents 82 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale() 94 outState.putString(EXTRA_LOCALE, mLocale); in saveStateIntoBundle() 148 TextUtils.isEmpty(mLocale) ? null : Utils.createLocaleFromString(mLocale)); in apply() 162 if ("".equals(mLocale)) { in hasWord() 169 new String[] { word, mLocale }, null /* sort order */); in hasWord() 217 locales.remove(mLocale); // mLocale may not be null in getLocalesList() 225 addLocaleDisplayNameToList(activity, localesList, mLocale); in getLocalesList() 226 if (!systemLocale.equals(mLocale)) { in getLocalesList() 233 if (!"".equals(mLocale)) { in getLocalesList()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryAddWordContents.java | 65 private String mLocale; field in UserDictionaryAddWordContents 100 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale() 112 outState.putString(EXTRA_LOCALE, mLocale); in saveStateIntoBundle() 168 FREQUENCY_FOR_USER_DICTIONARY_ADDS, newShortcut, TextUtils.isEmpty(mLocale) ? in apply() 169 null : LocaleUtils.constructLocaleFromString(mLocale)); in apply() 183 if ("".equals(mLocale)) { in hasWord() 190 new String[] { word, mLocale }, null /* sort order */); in hasWord() 238 locales.remove(mLocale); // mLocale may not be null in getLocalesList() 246 addLocaleDisplayNameToList(activity, localesList, mLocale); in getLocalesList() 247 if (!systemLocale.equals(mLocale)) { in getLocalesList() [all …]
|
D | UserDictionarySettings.java | 106 protected String mLocale; field in UserDictionarySettings 142 mLocale = locale; in onActivityCreated() 199 if (!TextUtils.isEmpty(mLocale) && !mLocale.equals(systemLocale.toString())) { in onCreateOptionsMenu() 234 args.putString(UserDictionaryAddWordContents.EXTRA_LOCALE, mLocale); in showAddOrEditDialog()
|
/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 | 43 private final Locale mLocale; field in DefaultCallLogInsertionHelper 54 mLocale = context.getResources().getConfiguration().locale; in DefaultCallLogInsertionHelper() 98 structuredPhoneNumber, mLocale); in getGeocodedLocationFor()
|
D | NameSplitter.java | 61 private final Locale mLocale; field in NameSplitter 290 mLocale = locale != null ? locale : Locale.getDefault(); in NameSplitter() 291 mLanguage = mLocale.getLanguage().toLowerCase(); in NameSplitter()
|
/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() 224 final String lowerCaseText = text.toLowerCase(mLocale); in isInDictForAnyCapitalization() 231 return dict.isValidWord(StringUtils.capitalizeFirstAndDowncaseRest(lowerCaseText, mLocale)); in isInDictForAnyCapitalization() 321 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 | 336 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 341 + " and locale " + mWordList.mLocale); in execute() 386 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 391 + " and locale " + mWordList.mLocale); in execute() 427 mWordList.mId, mWordList.mLocale, mWordList.mDescription, in execute() 432 + " 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()
|
D | WordListPreference.java | 61 public final Locale mLocale; field in WordListPreference 85 mLocale = locale; in WordListPreference()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 277 final String language = params.mId.mLocale.getLanguage(); in parseKeyboardAttributes() 289 ? null : params.mId.mLocale; in parseKeyboardAttributes() 613 R.styleable.Keyboard_Case_localeCode, id.mLocale.toString()); in parseCaseCondition() 615 R.styleable.Keyboard_Case_languageCode, id.mLocale.getLanguage()); in parseCaseCondition() 617 R.styleable.Keyboard_Case_countryCode, id.mLocale.getCountry()); in parseCaseCondition()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 60 public final Locale mLocale; field in KeyboardId 79 mLocale = SubtypeLocale.getSubtypeLocale(mSubtype); in KeyboardId() 192 mLocale, in toString()
|
D | KeyboardSwitcher.java | 191 || !keyboard.mId.mLocale.equals(oldKeyboard.mId.mLocale); in setKeyboard() 193 keyboard.mId.mLocale); in setKeyboard()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserDictionarySettings.java | 80 protected String mLocale; field in UserDictionarySettings 115 mLocale = locale; in onActivityCreated() 199 args.putString(UserDictionaryAddWordContents.EXTRA_LOCALE, mLocale); in showAddOrEditDialog()
|