/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictIOTests.java | 25 import com.android.inputmethod.latin.CollectionUtils; 62 private static final List<String> sWords = CollectionUtils.newArrayList(); 64 CollectionUtils.newSparseArray(); 65 private static final SparseArray<List<Integer>> sStarBigrams = CollectionUtils.newSparseArray(); 67 CollectionUtils.newSparseArray(); 151 final Set<String> wordSet = CollectionUtils.newHashSet(); in generateWords() 165 final ArrayList<WeightedString> shortcuts = CollectionUtils.newArrayList(); in addUnigrams() 310 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteBuffer() 322 final List<String> results = CollectionUtils.newArrayList(); in testReadAndWriteWithByteArray() 385 final Map<Integer, String> resultWords = CollectionUtils.newTreeMap(); [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerService.java | 28 import com.android.inputmethod.latin.CollectionUtils; 62 private Map<String, DictionaryPool> mDictionaryPools = CollectionUtils.newSynchronizedTreeMap(); 64 CollectionUtils.newSynchronizedTreeMap(); 74 CollectionUtils.newHashSet(); 91 mLanguageToScript = CollectionUtils.newTreeMap(); 242 mSuggestions = CollectionUtils.newArrayList(maxLength + 1); in SuggestionsGatherer() 363 mDictionaryPools = CollectionUtils.newSynchronizedTreeMap(); in closeAllDictionaries() 365 mUserDictionaries = CollectionUtils.newSynchronizedTreeMap(); in closeAllDictionaries()
|
D | AndroidSpellCheckerSession.java | 26 import com.android.inputmethod.latin.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/java/src/com/android/inputmethod/latin/ |
D | DictionaryCollection.java | 38 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(); in DictionaryCollection() 44 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(); in DictionaryCollection() 46 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(dictionaries); in DictionaryCollection() 53 mDictionaries = CollectionUtils.newCopyOnWriteArrayList(dictionaries); in DictionaryCollection() 67 if (null == suggestions) suggestions = CollectionUtils.newArrayList(); in getSuggestions()
|
D | SuggestedWords.java | 28 CollectionUtils.newArrayList(0); 88 final ArrayList<SuggestedWordInfo> result = CollectionUtils.newArrayList(); in getFromApplicationSpecifiedCompletions() 105 final ArrayList<SuggestedWordInfo> suggestionsList = CollectionUtils.newArrayList(); in getTypedWordAndPreviousSuggestions() 106 final HashSet<String> alreadySeen = CollectionUtils.newHashSet(); in getTypedWordAndPreviousSuggestions() 208 final ArrayList<SuggestedWordInfo> newSuggestions = CollectionUtils.newArrayList();
|
D | SubtypeLocale.java | 49 CollectionUtils.newHashMap(); 52 CollectionUtils.newHashMap(); 55 CollectionUtils.newHashMap(); 58 CollectionUtils.newHashMap(); 70 CollectionUtils.newHashMap();
|
D | Suggest.java | 62 CollectionUtils.newConcurrentHashMap(); 258 CollectionUtils.newArrayList(suggestionsSet); in getSuggestedWordsForTypingInput() 327 CollectionUtils.newArrayList(suggestionsSet); in getSuggestedWordsForBatchInput() 372 CollectionUtils.newArrayList(suggestionsSize); in getSuggestionsInfoListWithDebugInfo() 427 final HashSet<Dictionary> dictionaries = CollectionUtils.newHashSet(); in close()
|
D | UserHistoryDictionaryBigramList.java | 35 private static final HashMap<String, Byte> EMPTY_BIGRAM_MAP = CollectionUtils.newHashMap(); 36 private final HashMap<String, HashMap<String, Byte>> mBigramMap = CollectionUtils.newHashMap(); 62 map = CollectionUtils.newHashMap(); in addBigram()
|
D | LocaleUtils.java | 35 private static final HashMap<String, Long> EMPTY_LT_HASH_MAP = CollectionUtils.newHashMap(); 200 private static final HashMap<String, Locale> sLocaleCache = CollectionUtils.newHashMap(); 236 final HashMap<String, Long> retval = CollectionUtils.newHashMap(); in localeAndTimeStrToHashMap()
|
D | ExpandableDictionary.java | 238 childNode.mShortcutTargets = CollectionUtils.newArrayList(); in addWordRec() 268 final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); in getSuggestions() 286 final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList(); in getWordsInner() 566 firstWord.mNGrams = CollectionUtils.newLinkedList(); in setBigramAndGetFrequency()
|
D | ResourceUtils.java | 42 CollectionUtils.newHashMap(); 54 sBuildKeyValues = CollectionUtils.newHashMap(); 55 final ArrayList<String> keyValuePairs = CollectionUtils.newArrayList();
|
D | UserHistoryDictIOUtils.java | 180 final Map<Integer, String> unigrams = CollectionUtils.newTreeMap(); in readDictionaryBinary() 181 final Map<Integer, Integer> frequencies = CollectionUtils.newTreeMap(); in readDictionaryBinary() 182 final Map<Integer, ArrayList<PendingAttribute>> bigrams = CollectionUtils.newTreeMap(); in readDictionaryBinary()
|
D | BinaryDictionaryGetter.java | 164 final HashMap<String, FileAndMatchLevel> cacheFiles = CollectionUtils.newHashMap(); in getCachedWordLists() 247 final HashMap<String, String> options = CollectionUtils.newHashMap(); in hackCanUseDictionaryFile() 309 final ArrayList<AssetFileAddress> fileList = CollectionUtils.newArrayList(); in getDictionaryFiles()
|
D | ExpandableBinaryDictionary.java | 67 CollectionUtils.newHashMap(); 168 final HashMap<String, String> attributes = CollectionUtils.newHashMap(); in clearFusionDictionary() 185 final ArrayList<WeightedString> shortcutTargets = CollectionUtils.newArrayList(); in addWord()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ResourceUtilsTests.java | 44 final HashMap<String,String> anyKeyValue = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 47 final HashMap<String,String> emptyKeyValue = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 68 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsSimple() 116 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsCombined() 152 final HashMap<String,String> keyValues = CollectionUtils.newHashMap(); in testFindConstantForKeyValuePairsRegexp()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardParams.java | 23 import com.android.inputmethod.latin.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 | KeyboardCodesSet.java | 19 import com.android.inputmethod.latin.CollectionUtils; 25 private static final HashMap<String, int[]> sLanguageToCodesMap = CollectionUtils.newHashMap(); 26 private static final HashMap<String, Integer> sNameToIdMap = CollectionUtils.newHashMap();
|
D | KeyStylesSet.java | 23 import com.android.inputmethod.latin.CollectionUtils; 36 private final HashMap<String, KeyStyle> mStyles = CollectionUtils.newHashMap(); 77 private final SparseArray<Object> mStyleAttributes = CollectionUtils.newSparseArray();
|
D | KeyboardTextsSet.java | 23 import com.android.inputmethod.latin.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();
|
D | KeysCache.java | 20 import com.android.inputmethod.latin.CollectionUtils; 25 private final HashMap<Key, Key> mMap = CollectionUtils.newHashMap();
|
/packages/inputmethods/LatinIME/tools/maketext/res/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSet.tmpl | 23 import com.android.inputmethod.latin.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/keyboard/ |
D | TypefaceUtils.java | 24 import com.android.inputmethod.latin.CollectionUtils; 32 private static final SparseArray<Float> sTextHeightCache = CollectionUtils.newSparseArray(); 52 private static final SparseArray<Float> sTextWidthCache = CollectionUtils.newSparseArray();
|
D | KeyboardLayoutSet.java | 44 import com.android.inputmethod.latin.CollectionUtils; 83 CollectionUtils.newHashMap(); 117 CollectionUtils.newSparseArray();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 58 import com.android.inputmethod.latin.CollectionUtils; 91 private final ArrayList<TextView> mWords = CollectionUtils.newArrayList(); 92 private final ArrayList<TextView> mInfos = CollectionUtils.newArrayList(); 93 private final ArrayList<View> mDividers = CollectionUtils.newArrayList(); 139 private final ArrayList<CharSequence> mTexts = CollectionUtils.newArrayList();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryListInterfaceState.java | 19 import com.android.inputmethod.latin.CollectionUtils; 39 private HashMap<String, State> mWordlistToState = CollectionUtils.newHashMap();
|