OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UserHistoryDictionary
(Results
1 - 5
of
5
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
UserHistoryDictionary.java
46
public final class
UserHistoryDictionary
extends ExpandableDictionary {
47
private static final String TAG =
UserHistoryDictionary
.class.getSimpleName();
48
private static final String NAME =
UserHistoryDictionary
.class.getSimpleName();
81
private static final ConcurrentHashMap<String, SoftReference<
UserHistoryDictionary
>>
84
public static synchronized
UserHistoryDictionary
getInstance(
87
final SoftReference<
UserHistoryDictionary
> ref = sLangDictCache.get(locale);
88
final
UserHistoryDictionary
dict = ref == null ? null : ref.get();
91
Log.w(TAG, "Use cached
UserHistoryDictionary
for " + locale);
96
final
UserHistoryDictionary
dict =
97
new
UserHistoryDictionary
(context, locale, sp)
[
all
...]
UserHistoryDictionaryBigramList.java
55
if (
UserHistoryDictionary
.DBG_SAVE_RESTORE) {
75
if (
UserHistoryDictionary
.DBG_SAVE_RESTORE) {
Suggest.java
167
public void setUserHistoryDictionary(final
UserHistoryDictionary
userHistoryDictionary
) {
168
addOrReplaceDictionary(mDictionaries, Dictionary.TYPE_USER_HISTORY,
userHistoryDictionary
);
LatinIME.java
156
private
UserHistoryDictionary
mUserHistoryDictionary;
526
mUserHistoryDictionary =
UserHistoryDictionary
.getInstance(this, localeStr, prefs);
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserHistoryDictionaryTests.java
32
* Unit tests for
UserHistoryDictionary
71
private void addToDict(final
UserHistoryDictionary
dict, final List<String> words) {
89
final String fileName = "
UserHistoryDictionary
." + locale + ".dict";
91
final
UserHistoryDictionary
dict =
UserHistoryDictionary
.getInstance(getContext(),
Completed in 83 milliseconds