HomeSort by relevance Sort by last modified time
    Searched refs:UserHistoryDictionary (Results 1 - 5 of 5) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionary.java 29 public class UserHistoryDictionary extends DecayingExpandableBinaryDictionaryBase {
31 UserHistoryDictionary.class.getSimpleName();
32 /* package */ UserHistoryDictionary(final Context context, final String locale,
PersonalizationHelper.java 32 private static final ConcurrentHashMap<String, SoftReference<UserHistoryDictionary>>
43 public static UserHistoryDictionary getUserHistoryDictionary(
47 final SoftReference<UserHistoryDictionary> ref =
49 final UserHistoryDictionary dict = ref == null ? null : ref.get();
52 Log.w(TAG, "Use cached UserHistoryDictionary for " + locale);
58 final UserHistoryDictionary dict = new UserHistoryDictionary(context, locale, sp);
59 sLangUserHistoryDictCache.put(locale, new SoftReference<UserHistoryDictionary>(dict));
65 for (final ConcurrentHashMap.Entry<String, SoftReference<UserHistoryDictionary>> entry
68 final UserHistoryDictionary dict = entry.getValue().get()
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTests.java 36 * Unit tests for UserHistoryDictionary
78 private void addToDict(final UserHistoryDictionary dict, final List<String> words) {
93 final UserHistoryDictionary dict =
117 final UserHistoryDictionary dict =
130 final UserHistoryDictionary dict =
144 Log.d(TAG, "Usage: please set UserHistoryDictionary.PROFILE_SAVE_RESTORE to true.");
146 final String fileName = UserHistoryDictionary.NAME + "." + testFilenameSuffix
181 final String fileName = UserHistoryDictionary.NAME + "." +
228 final String fileName = UserHistoryDictionary.NAME + "." + testFilenameSuffix
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Suggest.java 29 import com.android.inputmethod.latin.personalization.UserHistoryDictionary;
193 public void setUserHistoryDictionary(final UserHistoryDictionary userHistoryDictionary) {
194 addOrReplaceDictionaryInternal(Dictionary.TYPE_USER_HISTORY, userHistoryDictionary);
LatinIME.java 85 import com.android.inputmethod.latin.personalization.UserHistoryDictionary;
184 private UserHistoryDictionary mUserHistoryDictionary;
    [all...]

Completed in 41 milliseconds