Searched defs:shortcuts (Results 1 - 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DDictUpdater.java45 * @param shortcuts shortcut list, or null if none.
52 final ArrayList<WeightedString> shortcuts, final boolean isNotAWord,
50 insertWord(final String word, final int frequency, final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts, final boolean isNotAWord, final boolean isBlackListEntry) argument
H A DVer4DictUpdater.java54 final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts,
53 insertWord(final String word, final int frequency, final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts, final boolean isNotAWord, final boolean isBlackListEntry) argument
H A DVer3DictUpdater.java74 final ArrayList<WeightedString> shortcuts,
79 shortcuts, isNotAWord, isBlackListEntry);
72 insertWord(final String word, final int frequency, final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts, final boolean isNotAWord, final boolean isBlackListEntry) argument
H A DDynamicBinaryDictIOUtils.java227 * @param shortcuts shortcut list, or null if none.
238 final ArrayList<WeightedString> shortcuts, final boolean isNotAWord,
256 final boolean hasShortcuts = shortcuts != null && !shortcuts.isEmpty();
300 frequency, nodeParentAddress, shortcuts, bigrams, destination,
376 FormatSpec.NO_CHILDREN_ADDRESS, shortcuts, bigrams);
397 nodeParentAddress, currentInfo.mChildrenAddress, shortcuts,
428 shortcuts, bigrams);
472 FormatSpec.NO_CHILDREN_ADDRESS, shortcuts, bigrams);
235 insertWord(final Ver3DictUpdater dictUpdater, final OutputStream destination, final String word, final int frequency, final ArrayList<WeightedString> bigramStrings, final ArrayList<WeightedString> shortcuts, final boolean isNotAWord, final boolean isBlackListEntry) argument
H A DVer3DictEncoder.java182 * @param shortcuts the shortcut attributes list.
184 private void writeShortcuts(final ArrayList<WeightedString> shortcuts) { argument
185 if (null == shortcuts || shortcuts.isEmpty()) return;
189 final Iterator<WeightedString> shortcutIterator = shortcuts.iterator();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtilsTests.java102 Log.d(TAG, " shortcuts = " + ws.mWord);
189 final ArrayList<WeightedString> shortcuts, final int formatVersion) {
204 dictUpdater.insertWord(word, frequency, bigrams, shortcuts, false, false);
187 insertAndCheckWord(final File file, final String word, final int frequency, final boolean exist, final ArrayList<WeightedString> bigrams, final ArrayList<WeightedString> shortcuts, final int formatVersion) argument
H A DBinaryDictDecoderEncoderTests.java150 final ArrayList<WeightedString> shortcuts = CollectionUtils.newArrayList();
153 shortcuts.add(new WeightedString(shortcut, UNIGRAM_FREQ));
156 dict.add(word, UNIGRAM_FREQ, (shortcutMap == null) ? null : shortcuts,
304 final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts,
314 addUnigrams(words.size(), dict, words, shortcuts);
316 checkDictionary(dict, words, bigrams, shortcuts);
319 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType,
328 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType,
330 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType,
332 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferTyp
303 runReadAndWrite(final List<String> words, final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts, final int bufferType, final FormatSpec.FormatOptions formatOptions, final String message) argument
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DXmlDictInputOutput.java81 * @param shortcuts the shortcuts as a map. This may be empty, but may not be null.
83 public UnigramHandler(final HashMap<String, ArrayList<WeightedString>> shortcuts) { argument
85 mShortcutsMap = shortcuts;
301 * @param shortcuts the file to read the shortcuts & whitelist from, or null.
306 final InputStream shortcuts, final InputStream bigrams)
316 if (null != shortcuts) parser.parse(shortcuts, shortcutAndWhitelistHandler);
339 * which has no support for bigrams or shortcuts/whitelis
305 readDictionaryXml(final InputStream unigrams, final InputStream shortcuts, final InputStream bigrams) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherModel.java122 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by
126 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts
128 // shortcuts within folders).
154 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); argument
486 * Returns true if the shortcuts already exists in the database.
1345 // App shortcuts that used to be automatically added to Launcher
2135 * This is called from the code that adds shortcuts from the intent receiver. This
H A DLauncher.java589 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have
3375 * Refreshes the shortcuts shown on the workspace.
3406 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end) { argument
3409 bindItems(shortcuts, start, end);
3415 // Get the list of added shortcuts and intersect them with the set of shortcuts here
3421 final ItemInfo item = shortcuts.get(i);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherModel.java121 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by
125 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts
127 // shortcuts within folders).
154 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end, argument
735 * Returns true if the shortcuts already exists in the database.
1715 // App shortcuts that used to be automatically added to Launcher
2652 * This is called from the code that adds shortcuts from the intent receiver. This
2804 // return null for some shortcuts (for instance, for shortcuts to
H A DLauncher.java675 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have
2171 // Check for special shortcuts
3568 * Refreshes the shortcuts shown on the workspace.
3678 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end, argument
3682 bindItems(shortcuts, start, end, forceAnimateIcons);
3689 // Get the list of added shortcuts and intersect them with the set of shortcuts here
3696 final ItemInfo item = shortcuts.get(i);

Completed in 437 milliseconds