Home
last modified time | relevance | path

Searched refs:DictionaryStats (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryStats.java26 public class DictionaryStats { class
36 public DictionaryStats( in DictionaryStats() method in DictionaryStats
50 public DictionaryStats( in DictionaryStats() method in DictionaryStats
95 public static String toString(final Iterable<DictionaryStats> stats) { in toString()
97 for (DictionaryStats stat : stats) { in toString()
DPersonalDictionaryLookup.java216 private volatile List<DictionaryStats> mDictionaryStats;
229 mDictionaryStats = new ArrayList<DictionaryStats>(); in PersonalDictionaryLookup()
230 mDictionaryStats.add(new DictionaryStats(ANY_LOCALE, Dictionary.TYPE_USER, 0)); in PersonalDictionaryLookup()
231 mDictionaryStats.add(new DictionaryStats(ANY_LOCALE, Dictionary.TYPE_USER_SHORTCUT, 0)); in PersonalDictionaryLookup()
237 public List<DictionaryStats> getDictionaryStats() { in getDictionaryStats()
630 List<DictionaryStats> stats = new ArrayList<>(); in loadPersonalDictionary()
631 stats.add(new DictionaryStats(ANY_LOCALE, Dictionary.TYPE_USER, dictWords.size())); in loadPersonalDictionary()
636 stats.add(new DictionaryStats(ANY_LOCALE, Dictionary.TYPE_USER_SHORTCUT, numShortcuts)); in loadPersonalDictionary()
DExpandableBinaryDictionary.java649 public DictionaryStats getDictionaryStats() { in getDictionaryStats()
653 final AsyncResultHolder<DictionaryStats> result = in getDictionaryStats()
658 result.set(new DictionaryStats(mLocale, dictName, dictName, dictFile, 0)); in getDictionaryStats()
DDictionaryFacilitator.java175 @Nonnull List<DictionaryStats> getDictionaryStats(final Context context); in getDictionaryStats()
DDictionaryFacilitatorImpl.java722 @Nonnull public List<DictionaryStats> getDictionaryStats(final Context context) { in getDictionaryStats()
723 final ArrayList<DictionaryStats> statsOfEnabledSubDicts = new ArrayList<>(); in getDictionaryStats()