Searched refs:mPendingWrites (Results 1 - 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | UserBigramDictionary.java | 90 private HashSet<Bigram> mPendingWrites = new HashSet<Bigram>(); field in class:UserBigramDictionary 175 if (freq == FREQUENCY_FOR_TYPED || mPendingWrites.isEmpty()) { 176 mPendingWrites.add(new Bigram(word1, word2, freq)); 179 mPendingWrites.remove(bi); 180 mPendingWrites.add(bi); 193 if (mPendingWrites.isEmpty()) return; 195 new UpdateDbTask(getContext(), sOpenHelper, mPendingWrites, mLocale).execute(); 197 mPendingWrites = new HashSet<Bigram>();
|
H A D | AutoDictionary.java | 56 private HashMap<String,Integer> mPendingWrites = new HashMap<String,Integer>(); field in class:AutoDictionary 160 mPendingWrites.put(word, freq == 0 ? null : new Integer(freq)); 170 if (mPendingWrites.isEmpty()) return; 172 new UpdateDbTask(getContext(), sOpenHelper, mPendingWrites, mLocale).execute(); 174 mPendingWrites = new HashMap<String, Integer>();
|
Completed in 31 milliseconds