/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 34 import com.android.inputmethod.latin.utils.CollectionUtils; 66 private static final ArrayList<String> sWords = CollectionUtils.newArrayList(); 68 CollectionUtils.newSparseArray(); 69 private static final SparseArray<List<Integer>> sStarBigrams = CollectionUtils.newSparseArray(); 71 CollectionUtils.newSparseArray(); 72 private static final HashMap<String, List<String>> sShortcuts = CollectionUtils.newHashMap(); 139 final Set<String> wordSet = CollectionUtils.newHashSet(); in generateWords() 153 final ArrayList<WeightedString> shortcuts = CollectionUtils.newArrayList(); in addUnigrams() 362 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteBuffer() 377 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteArray() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | SuggestedWords.java | 22 import com.android.inputmethod.latin.utils.CollectionUtils; 35 CollectionUtils.newArrayList(0); 123 final ArrayList<SuggestedWordInfo> result = CollectionUtils.newArrayList(); in getFromApplicationSpecifiedCompletions() 142 final ArrayList<SuggestedWordInfo> suggestionsList = CollectionUtils.newArrayList(); in getTypedWordAndPreviousSuggestions() 143 final HashSet<String> alreadySeen = CollectionUtils.newHashSet(); in getTypedWordAndPreviousSuggestions() 280 final ArrayList<SuggestedWordInfo> newSuggestions = CollectionUtils.newArrayList(); 300 final ArrayList<SuggestedWordInfo> newSuggestions = CollectionUtils.newArrayList();
|
D | DictionaryCollection.java | 23 import com.android.inputmethod.latin.utils.CollectionUtils; 39 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(); in DictionaryCollection() 45 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(); in DictionaryCollection() 47 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(dictionaries); in DictionaryCollection() 54 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(dictionaries); in DictionaryCollection() 68 if (null == suggestions) suggestions = CollectionUtils.newArrayList(); in getSuggestions()
|
D | Suggest.java | 33 import com.android.inputmethod.latin.utils.CollectionUtils; 72 CollectionUtils.newConcurrentHashMap(); 309 CollectionUtils.newArrayList(suggestionsSet); in getSuggestedWordsForTypingInput() 379 CollectionUtils.newArrayList(suggestionsSet); in getSuggestedWordsForBatchInput() 424 CollectionUtils.newArrayList(suggestionsSize); in getSuggestionsInfoListWithDebugInfo() 486 final HashSet<Dictionary> dictionaries = CollectionUtils.newHashSet(); in close()
|
D | ExpandableDictionary.java | 25 import com.android.inputmethod.latin.utils.CollectionUtils; 215 childNode.mShortcutTargets = CollectionUtils.newArrayList(); in addWordRec() 245 final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); in getSuggestions() 253 final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); in getWordsInner() 537 firstWord.mNGrams = CollectionUtils.newLinkedList(); in setBigramAndGetFrequency()
|
D | DictionaryWriter.java | 29 import com.android.inputmethod.latin.utils.CollectionUtils; 53 final HashMap<String, String> attributes = CollectionUtils.newHashMap(); in clear() 70 final ArrayList<WeightedString> shortcutTargets = CollectionUtils.newArrayList(); in addUnigramWord()
|
D | ExpandableBinaryDictionary.java | 29 import com.android.inputmethod.latin.utils.CollectionUtils; 79 sFilenameDictionaryUpdateControllerMap = CollectionUtils.newConcurrentHashMap(); 82 sFilenameExecutorMap = CollectionUtils.newConcurrentHashMap(); 399 final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); in getSuggestionsWithSessionId()
|
D | BinaryDictionaryGetter.java | 28 import com.android.inputmethod.latin.utils.CollectionUtils; 164 final HashMap<String, FileAndMatchLevel> cacheFiles = CollectionUtils.newHashMap(); in getCachedWordLists() 279 final ArrayList<AssetFileAddress> fileList = CollectionUtils.newArrayList(); in getDictionaryFiles()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerService.java | 40 import com.android.inputmethod.latin.utils.CollectionUtils; 69 private Map<String, DictionaryPool> mDictionaryPools = CollectionUtils.newSynchronizedTreeMap(); 71 CollectionUtils.newSynchronizedTreeMap(); 81 CollectionUtils.newHashSet(); 98 mLanguageToScript = CollectionUtils.newTreeMap(); 259 mSuggestions = CollectionUtils.newArrayList(maxLength + 1); in SuggestionsGatherer() 380 mDictionaryPools = CollectionUtils.newSynchronizedTreeMap(); in closeAllDictionaries() 382 mUserDictionaries = CollectionUtils.newSynchronizedTreeMap(); in closeAllDictionaries()
|
D | AndroidSpellCheckerSession.java | 26 import com.android.inputmethod.latin.utils.CollectionUtils; 46 final ArrayList<Integer> additionalOffsets = CollectionUtils.newArrayList(); in fixWronglyInvalidatedWordWithSingleQuote() 47 final ArrayList<Integer> additionalLengths = CollectionUtils.newArrayList(); in fixWronglyInvalidatedWordWithSingleQuote() 49 CollectionUtils.newArrayList(); in fixWronglyInvalidatedWordWithSingleQuote()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtilsTests.java | 60 final HashMap<String,String> anyKeyValue = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 63 final HashMap<String,String> emptyKeyValue = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 84 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 124 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsCombined() 162 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsRegexp()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 51 CollectionUtils.newHashMap(); 54 CollectionUtils.newHashMap(); 57 CollectionUtils.newHashMap(); 60 CollectionUtils.newHashMap(); 72 CollectionUtils.newHashMap();
|
D | LocaleUtils.java | 33 private static final HashMap<String, Long> EMPTY_LT_HASH_MAP = CollectionUtils.newHashMap(); 165 private static final HashMap<String, Locale> sLocaleCache = CollectionUtils.newHashMap(); 201 final HashMap<String, Long> retval = CollectionUtils.newHashMap(); in localeAndTimeStrToHashMap()
|
D | UserHistoryDictIOUtils.java | 139 final TreeMap<Integer, String> unigrams = CollectionUtils.newTreeMap(); in readDictionaryBinary() 140 final TreeMap<Integer, Integer> frequencies = CollectionUtils.newTreeMap(); in readDictionaryBinary() 141 final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams = CollectionUtils.newTreeMap(); in readDictionaryBinary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryBigramList.java | 22 import com.android.inputmethod.latin.utils.CollectionUtils; 36 private static final HashMap<String, Byte> EMPTY_BIGRAM_MAP = CollectionUtils.newHashMap(); 37 private final HashMap<String, HashMap<String, Byte>> mBigramMap = CollectionUtils.newHashMap(); 64 map = CollectionUtils.newHashMap(); in addBigram()
|
D | PersonalizationHelper.java | 19 import com.android.inputmethod.latin.utils.CollectionUtils; 33 sLangUserHistoryDictCache = CollectionUtils.newConcurrentHashMap(); 36 sLangPersonalizationDictCache = CollectionUtils.newConcurrentHashMap(); 41 CollectionUtils.newConcurrentHashMap();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardParams.java | 24 import com.android.inputmethod.latin.utils.CollectionUtils; 61 public final TreeSet<Key> mKeys = CollectionUtils.newTreeSet(); // ordered set 62 public final ArrayList<Key> mShiftKeys = CollectionUtils.newArrayList(); 63 public final ArrayList<Key> mAltCodeKeysWhileTyping = CollectionUtils.newArrayList();
|
D | DynamicGridKeyboard.java | 27 import com.android.inputmethod.latin.utils.CollectionUtils; 50 private final ArrayDeque<GridKey> mGridKeys = CollectionUtils.newArrayDeque(); 51 private final ArrayDeque<Key> mPendingKeys = CollectionUtils.newArrayDeque(); 134 final ArrayList<Object> keys = CollectionUtils.newArrayList(); in saveRecentKeys()
|
D | KeyboardCodesSet.java | 20 import com.android.inputmethod.latin.utils.CollectionUtils; 25 private static final HashMap<String, int[]> sLanguageToCodesMap = CollectionUtils.newHashMap(); 26 private static final HashMap<String, Integer> sNameToIdMap = CollectionUtils.newHashMap();
|
D | KeyStylesSet.java | 24 import com.android.inputmethod.latin.utils.CollectionUtils; 36 private final HashMap<String, KeyStyle> mStyles = CollectionUtils.newHashMap(); 77 private final SparseArray<Object> mStyleAttributes = CollectionUtils.newSparseArray();
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSet.tmpl | 23 import com.android.inputmethod.latin.utils.CollectionUtils; 49 private static final HashMap<String, String[]> sLocaleToTextsMap = CollectionUtils.newHashMap(); 50 private static final HashMap<String, Integer> sNameToIdsMap = CollectionUtils.newHashMap(); 54 private HashMap<String, String> mResourceNameToTextsMap = CollectionUtils.newHashMap();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 44 import com.android.inputmethod.latin.utils.CollectionUtils; 68 private final ArrayList<TextView> mWordViews = CollectionUtils.newArrayList(); 69 private final ArrayList<TextView> mDebugInfoViews = CollectionUtils.newArrayList(); 70 private final ArrayList<View> mDividerViews = CollectionUtils.newArrayList();
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseArray.java | 19 import com.android.inputmethod.latin.utils.CollectionUtils; 33 mKeys = CollectionUtils.newArrayList(initialCapacity); in SparseArray() 34 mValues = CollectionUtils.newArrayList(initialCapacity); in SparseArray()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryListInterfaceState.java | 21 import com.android.inputmethod.latin.utils.CollectionUtils; 42 private HashMap<String, State> mWordlistToState = CollectionUtils.newHashMap(); 43 private ArrayList<View> mViewCache = CollectionUtils.newArrayList();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | SparseTable.java | 20 import com.android.inputmethod.latin.utils.CollectionUtils; 61 mContentTables = CollectionUtils.newArrayList(); in SparseTable() 107 final ArrayList<Integer> ret = CollectionUtils.newArrayList(); in getAll()
|