/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
H A D | unigram_property.h | 57 const int count, const std::vector<ShortcutProperty> *const shortcuts) 60 mTimestamp(timestamp), mLevel(level), mCount(count), mShortcuts(*shortcuts) {} 55 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isBlacklisted, const int probability, const int timestamp, const int level, const int count, const std::vector<ShortcutProperty> *const shortcuts) argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | Ver2DictEncoder.java | 171 * @param shortcuts the shortcut attributes list. 173 private void writeShortcuts(final ArrayList<WeightedString> shortcuts) { argument 174 if (null == shortcuts || shortcuts.isEmpty()) return; 178 final Iterator<WeightedString> shortcutIterator = shortcuts.iterator();
|
H A D | BinaryDictDecoderEncoderTests.java | 145 final ArrayList<WeightedString> shortcuts = new ArrayList<>(); 148 shortcuts.add(new WeightedString(shortcut, UNIGRAM_FREQ)); 152 (shortcutMap == null) ? null : shortcuts, false /* isNotAWord */); 266 final SparseArray<List<Integer>> bigrams, final HashMap<String, List<String>> shortcuts, 277 addUnigrams(words.size(), dict, words, shortcuts); 279 checkDictionary(dict, words, bigrams, shortcuts); 282 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType); 290 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType, 292 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType, 294 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferTyp 265 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/native/jni/src/suggest/policyimpl/dictionary/structure/v2/ |
H A D | patricia_trie_policy.cpp | 310 // for shortcuts). 414 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 430 shortcuts.emplace_back(&shortcutTarget, shortcutProbability); 435 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
H A D | ver4_patricia_trie_policy.cpp | 287 const std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 291 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts); 486 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 499 shortcuts.emplace_back(&target, shortcutProbability); 505 historicalInfo->getCount(), &shortcuts);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
H A D | ver4_patricia_trie_policy.cpp | 299 const std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 303 NOT_A_TIMESTAMP /* timestamp */, 0 /* level */, 0 /* count */, &shortcuts); 498 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 511 shortcuts.emplace_back(&target, shortcutProbability); 517 historicalInfo->getCount(), &shortcuts);
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | XmlDictInputOutput.java | 78 * @param shortcuts the shortcuts as a map. This may be empty, but may not be null. 80 public UnigramHandler(final HashMap<String, ArrayList<WeightedString>> shortcuts) { argument 82 mShortcutsMap = shortcuts; 283 * @param shortcuts the file to read the shortcuts & whitelist from, or null. 288 final BufferedInputStream shortcuts, final BufferedInputStream bigrams) 298 if (null != shortcuts) parser.parse(shortcuts, shortcutAndWhitelistHandler); 321 * which has no support for bigrams or shortcuts/whitelis 287 readDictionaryXml(final BufferedInputStream unigrams, final BufferedInputStream shortcuts, final BufferedInputStream bigrams) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 359 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 363 shortcuts.emplace_back(&shortcutTargetCodePoints, shortcutProbability); 367 isBlacklisted, probability, timestamp, 0 /* level */, 1 /* count */, &shortcuts); 474 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 480 shortcuts.emplace_back(&shortcutTargetCodePoints, shortcutProbability); 485 &shortcuts);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherModel.java | 125 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 129 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 131 // shortcuts within folders). 161 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); argument 497 * Returns true if the shortcuts already exists in the database. 1369 // App shortcuts that used to be automatically added to Launcher 2173 // Add all shortcuts for the user. 2185 * This is called from the code that adds shortcuts from the intent receiver. This
|
H A D | Launcher.java | 592 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have 3425 * Refreshes the shortcuts shown on the workspace. 3456 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end) { argument 3459 bindItems(shortcuts, start, end); 3465 // Get the list of added shortcuts and intersect them with the set of shortcuts here 3471 final ItemInfo item = shortcuts.get(i);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 155 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 159 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 161 // shortcuts within folders). 194 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end, argument 850 * Returns true if the shortcuts already exists in the database. 1857 // append the user's Launcher2 shortcuts 2052 // For shortcuts with no component, keep them as they are 2083 // App shortcuts that used to be automatically added to Launcher 2852 // Add shortcuts for packages which were installed while launcher was dead. 2984 // Auto add shortcuts fo [all...] |
H A D | Launcher.java | 710 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have 2672 // Check for special shortcuts 2953 // TODO Component can be null when shortcuts are supported for secondary user 4117 * Refreshes the shortcuts shown on the workspace. 4235 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end, argument 4239 bindItems(shortcuts, start, end, forceAnimateIcons); 4246 // Get the list of added shortcuts and intersect them with the set of shortcuts here 4253 final ItemInfo item = shortcuts.get(i); 4661 * Some shortcuts wer [all...] |
H A D | Workspace.java | 233 // Variables relating to the creation of user folders by hovering shortcuts over shortcuts 3108 // cell also contains a shortcut, then create a folder with the two shortcuts. 3952 // widgets/shortcuts/folders in a slightly different way 4688 // not done, process all the shortcuts 4716 // process all the shortcuts 4723 // has been removed and we want to remove all components (widgets, shortcuts, apps) that 4762 * shortcuts are not removed. 4848 * Map the operator over the shortcuts and widgets, return the first-non-null value. 4851 * @param op the operator to map over the shortcuts 4884 updateShortcuts(ArrayList<ShortcutInfo> shortcuts) argument [all...] |