OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:UserHistoryDictionary
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionary.java
43
public class
UserHistoryDictionary
extends ExpandableBinaryDictionary {
44
static final String NAME =
UserHistoryDictionary
.class.getSimpleName();
47
UserHistoryDictionary
(final Context context, final Locale locale,
56
* @returns the name of the {@link
UserHistoryDictionary
}.
85
public static
UserHistoryDictionary
getDictionary(final Context context, final Locale locale,
93
* @param
userHistoryDictionary
the user history dictionary
99
public static void addToDictionary(final ExpandableBinaryDictionary
userHistoryDictionary
,
105
userHistoryDictionary
.updateEntriesForWord(ngramContext, word,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTestsHelper.java
35
* Utility class for helping while running tests involving {@link
UserHistoryDictionary
}.
59
return filename.startsWith(
UserHistoryDictionary
.NAME + "." + filter);
70
* @param dict {@link
UserHistoryDictionary
} to which words should be added.
77
public static boolean addAndWriteRandomWords(final
UserHistoryDictionary
dict,
100
private static void addWordsToDictionary(final
UserHistoryDictionary
dict,
105
UserHistoryDictionary
.addToDictionary(dict, ngramContext, word, true, timestamp);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryFacilitatorImpl.java
33
import com.android.inputmethod.latin.personalization.
UserHistoryDictionary
;
80
DICT_TYPE_TO_CLASS.put(Dictionary.TYPE_USER_HISTORY,
UserHistoryDictionary
.class);
545
final ExpandableBinaryDictionary
userHistoryDictionary
=
547
if (
userHistoryDictionary
== null || !isForLocale(
userHistoryDictionary
.mLocale)) {
589
UserHistoryDictionary
.addToDictionary(
userHistoryDictionary
, ngramContext, secondWord,
Completed in 98 milliseconds