/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
H A D | unigram_property.h | 59 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) 63 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} 65 // Without shortcuts, in contexts which do not support the Blacklisted flag (v2, v4<403) 77 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) 81 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} 83 // Without shortcuts, in contexts which DO support the Blacklisted flag (v403) 57 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isPossiblyOffensive, const int probability, const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) argument 75 UnigramProperty(const bool representsBeginningOfSentence, const bool isNotAWord, const bool isBlacklisted, const bool isPossiblyOffensive, const int probability, const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) argument
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | CombinedInputOutput.java | 103 ArrayList<WeightedString> shortcuts = new ArrayList<>(); 109 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, 115 if (!shortcuts.isEmpty()) shortcuts = new ArrayList<>(); 166 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); 203 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, isNotAWord,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | PersonalDictionaryLookup.java | 54 * It can be used directly to validate words or expand shortcuts, and it can be used by instances 312 * Note that this method returns expanded words, not shortcuts. Shortcuts are handled 342 * Returns the set of shortcuts defined for the given locale and more general locales. 350 * @return set of shortcuts that apply to the given locale. 358 final Set<String> shortcuts = new HashSet<>(); 363 shortcuts.addAll(countryShortcuts.keySet()); 372 shortcuts.addAll(languageShortcuts.keySet()); 378 shortcuts.addAll(globalShortcuts.keySet()); 381 return shortcuts; 466 // Exit as early as possible. Most users don't use shortcuts [all...] |
H A D | RichInputMethodManager.java | 514 final Map<InputMethodInfo, List<InputMethodSubtype>> shortcuts = 518 for (final InputMethodInfo imi : shortcuts.keySet()) { 519 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); 520 // TODO: Returns the first found IMI for now. Should handle all shortcuts as
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
H A D | patricia_trie_policy.cpp | 349 // suggestion process (where it should be used for shortcuts). 459 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 473 shortcuts.emplace_back( 480 ptNodeParams.getProbability(), HistoricalInfo(), std::move(shortcuts));
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ManagedProfileHeuristic.java | 50 * Handles addition of app shortcuts for managed profiles. 66 * Duration (in milliseconds) for which app shortcuts will be added to work folder. 134 // Do not add shortcuts on the homescreen for the first time. This prevents the launcher 149 * Adds and binds shortcuts marked to be added to the work folder. 176 final ArrayList<ShortcutInfo> shortcuts = mWorkFolderApps; 177 // FolderInfo could already be bound. We need to add shortcuts on the UI thread. 182 for (ShortcutInfo info : shortcuts) { 193 // Add all shortcuts before adding it to the UI, as an empty folder might get deleted. 209 * Add work folder shortcuts to the DB. 219 * Adds and binds all shortcuts marke [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
H A D | ver4_patricia_trie_policy.cpp | 600 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 612 shortcuts.emplace_back( 619 ptNodeParams.getProbability(), *historicalInfo, std::move(shortcuts));
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
H A D | ver4_patricia_trie_policy.cpp | 544 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 556 shortcuts.emplace_back( 568 *historicalInfo, std::move(shortcuts));
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | com_android_inputmethod_latin_BinaryDictionary.cpp | 370 std::vector<UnigramProperty::ShortcutProperty> shortcuts; local 375 shortcuts.emplace_back(std::move(shortcutTargetCodePoints), shortcutProbability); 381 1 /* count */), std::move(shortcuts));
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProvider.java | 735 * Replaces all shortcuts of type {@link Favorites#ITEM_TYPE_SHORTCUT} which have a valid 779 Log.w(TAG, "Error deduping shortcuts", ex); 874 // shortcuts. 1120 final ArrayList<ContentValues> shortcuts = new ArrayList<ContentValues>(); 1146 // shortcuts. 1245 shortcuts.add(values); 1279 // Then shortcuts 1280 allItems.addAll(shortcuts);
|
H A D | Launcher.java | 700 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have 2608 // Check for special shortcuts 2929 // TODO Component can be null when shortcuts are supported for secondary user 3646 * Refreshes the shortcuts shown on the workspace. 3759 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end, argument 3763 bindItems(shortcuts, start, end, forceAnimateIcons); 3770 // Get the list of added shortcuts and intersect them with the set of shortcuts here 3777 final ItemInfo item = shortcuts.get(i); 4180 * Some shortcuts wer [all...] |
H A D | Workspace.java | 211 // Variables relating to the creation of user folders by hovering shortcuts over shortcuts 2614 // cell also contains a shortcut, then create a folder with the two shortcuts. 3457 // widgets/shortcuts/folders in a slightly different way 4096 // not done, process all the shortcuts 4124 // process all the shortcuts 4131 // has been removed and we want to remove all components (widgets, shortcuts, apps) that 4170 * shortcuts are not removed. 4256 * Map the operator over the shortcuts and widgets, return the first-non-null value. 4259 * @param op the operator to map over the shortcuts 4292 updateShortcuts(ArrayList<ShortcutInfo> shortcuts) argument [all...] |
H A D | LauncherModel.java | 149 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 153 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 155 // shortcuts within folders). 186 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end, argument 901 * Returns true if the shortcuts already exists on the workspace. This must be called after 1766 // append the user's Launcher2 shortcuts 1973 // For shortcuts with no component, keep them as they are 2017 // App shortcuts that used to be automatically added to Launcher 2855 // update the corresponding shortcuts. 3078 // Update shortcuts whic [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Launcher.java | 618 * Returns whether we should delay spring loaded mode -- for shortcuts and widgets that have 3451 * Refreshes the shortcuts shown on the workspace. 3482 public void bindItems(final ArrayList<ItemInfo> shortcuts, final int start, final int end) { argument 3485 bindItems(shortcuts, start, end); 3491 // Get the list of added shortcuts and intersect them with the set of shortcuts here 3497 final ItemInfo item = shortcuts.get(i);
|
H A D | Workspace.java | 194 // Variables relating to the creation of user folders by hovering shortcuts over shortcuts 2215 // cell also contains a shortcut, then create a folder with the two shortcuts. 3078 // widgets/shortcuts/folders in a slightly different way 3643 // has been removed and we want to remove all components (widgets, shortcuts, apps) that 3692 // shortcuts are not removed. 3813 ArrayList<ItemInfo> shortcuts; 3814 shortcuts = LauncherModel.getWorkspaceShortcutItemInfosWithIntent( 3816 for (ItemInfo info : shortcuts) { 3837 // return null for some shortcuts (fo [all...] |
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
|