Searched refs:shortcut (Results 1 – 25 of 30) sorted by relevance
12
... =true 24 shortcut=♩,f=14 25 shortcut=♪,f=14 26 shortcut=♬,f ...
17 # into the dictionary is to add shortcut targets and maybe a whitelist20 # Each word may or may not have any number of shortcut target lines21 # starting with a `shortcut' entry and having at least a `f' frequency34 word=shortcut,f=17635 shortcut=target,f=1037 shortcut=whitelisted,f=whitelist
170 String shortcut = cursor.getString(COLUMN_SHORTCUT); in getDictionary() local171 if (TextUtils.isEmpty(shortcut)) shortcut = ""; in getDictionary()174 + SEPARATOR + shortcut; in getDictionary()229 String shortcut = null; in restoreDictionary() local233 if (st.hasMoreTokens()) shortcut = st.nextToken(); in restoreDictionary()234 if (TextUtils.isEmpty(shortcut)) shortcut = null; in restoreDictionary()246 && Objects.equals(shortcut, previousShortcut)) in restoreDictionary()251 previousShortcut = shortcut; in restoreDictionary()258 cv.put(Words.SHORTCUT, shortcut); in restoreDictionary()260 if (null != shortcut) { in restoreDictionary()[all …]
291 final ShortcutInfo shortcut = new ShortcutInfo(); in fromActivityInfo() local292 shortcut.user = info.getUser(); in fromActivityInfo()293 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo()294 shortcut.contentDescription = UserManagerCompat.getInstance(context) in fromActivityInfo()296 shortcut.customIcon = false; in fromActivityInfo()297 shortcut.intent = AppInfo.makeLaunchIntent(context, info, info.getUser()); in fromActivityInfo()298 shortcut.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in fromActivityInfo()299 shortcut.flags = AppInfo.initFlags(info); in fromActivityInfo()300 return shortcut; in fromActivityInfo()
129 public void recordLaunch(View v, Intent intent, ShortcutInfo shortcut) { in recordLaunch() argument136 if (shortcut != null) { in recordLaunch()137 broadcastIntent.putExtra(EXTRA_CONTAINER, shortcut.container) in recordLaunch()138 .putExtra(EXTRA_SCREEN, shortcut.screenId) in recordLaunch()139 .putExtra(EXTRA_CELLX, shortcut.cellX) in recordLaunch()140 .putExtra(EXTRA_CELLY, shortcut.cellY); in recordLaunch()
638 ShortcutInfo shortcut = (ShortcutInfo) item; in checkItemInfoLocked() local639 if (modelShortcut.title.toString().equals(shortcut.title.toString()) && in checkItemInfoLocked()640 modelShortcut.intent.filterEquals(shortcut.intent) && in checkItemInfoLocked()641 modelShortcut.id == shortcut.id && in checkItemInfoLocked()642 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked()643 modelShortcut.container == shortcut.container && in checkItemInfoLocked()644 modelShortcut.screenId == shortcut.screenId && in checkItemInfoLocked()645 modelShortcut.cellX == shortcut.cellX && in checkItemInfoLocked()646 modelShortcut.cellY == shortcut.cellY && in checkItemInfoLocked()647 modelShortcut.spanX == shortcut.spanX && in checkItemInfoLocked()[all …]
2651 final ShortcutInfo shortcut = (ShortcutInfo) tag; in onClickAppShortcut() local2653 if (shortcut.isDisabled != 0) { in onClickAppShortcut()2654 if ((shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_SUSPENDED) != 0 in onClickAppShortcut()2655 || (shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_QUIET_USER) != 0) { in onClickAppShortcut()2659 if ((shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_SAFEMODE) != 0) { in onClickAppShortcut()2669 && shortcut.isPromise() in onClickAppShortcut()2670 && !shortcut.hasStatusFlag(ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE)) { in onClickAppShortcut()2672 shortcut.getTargetComponent().getPackageName(), in onClickAppShortcut()2691 final ShortcutInfo shortcut; in startAppShortcutOrInfoActivity() local2694 shortcut = (ShortcutInfo) tag; in startAppShortcutOrInfoActivity()[all …]
153 final String shortcut = getShortcut(position); in onListItemClick() local155 showAddOrEditDialog(word, shortcut); in onListItemClick()216 public static void deleteWord(final String word, final String shortcut, in deleteWord() argument218 if (TextUtils.isEmpty(shortcut)) { in deleteWord()225 new String[] { word, shortcut }); in deleteWord()238 final String shortcut = c.getString(INDEX_SHORTCUT);239 if (TextUtils.isEmpty(shortcut)) {242 ((TextView)v).setText(shortcut);
29 final int freq, final String shortcut, final Locale locale) { in addWord() argument31 addWordWithShortcut(context, word, freq, shortcut, locale); in addWord()45 final int freq, final String shortcut, final Locale locale) { in addWordWithShortcut() argument46 UserDictionary.Words.addWord(context, word, freq, shortcut, locale); in addWordWithShortcut()
208 final String shortcut = getShortcut(position); in onListItemClick() local210 showAddOrEditDialog(word, shortcut); in onListItemClick()281 public static void deleteWord(final String word, final String shortcut, in deleteWord() argument286 } else if (TextUtils.isEmpty(shortcut)) { in deleteWord()293 new String[] { word, shortcut }); in deleteWord()309 final String shortcut = c.getString(INDEX_SHORTCUT);310 if (TextUtils.isEmpty(shortcut)) {313 ((TextView)v).setText(shortcut);
87 final String shortcut; in UserDictionaryAddWordContents() local89 shortcut = args.getString(EXTRA_SHORTCUT); in UserDictionaryAddWordContents()90 if (null != shortcut && null != mShortcutEditText) { in UserDictionaryAddWordContents()91 mShortcutEditText.setText(shortcut); in UserDictionaryAddWordContents()95 shortcut = null; in UserDictionaryAddWordContents()
458 @Nonnull final String shortcut, @Nonnull final Locale inputLocale) { in expandShortcut()460 Log.d(mTag, "expandShortcut() : Shortcut [" + shortcut + "] for [" + inputLocale + "]"); in expandShortcut()477 shortcutsPerLocale, shortcut, inputLocale); in expandShortcut()491 shortcutsPerLocale, shortcut, languageOnlyLocale); in expandShortcut()501 final String expansionForGlobal = expandShortcut(shortcutsPerLocale, shortcut, ANY_LOCALE); in expandShortcut()510 @Nonnull final String shortcut, in expandShortcut() argument519 return localeShortcuts.get(shortcut); in expandShortcut()611 final String shortcut = cursor.getString(shortcutIndex); in loadPersonalDictionary() local612 if (shortcut == null) { in loadPersonalDictionary()626 localeShortcuts.put(shortcut, rawDictWord); in loadPersonalDictionary()
195 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local196 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry()198 shortcut.getTargetCodePoints()->size()); in addUnigramEntry()230 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local232 CodePointArrayView(*shortcut.getTargetCodePoints()), in addUnigramEntry()233 shortcut.getProbability())) { in addUnigramEntry()235 "probability: %d", wordPos, shortcut.getTargetCodePoints()->size(), in addUnigramEntry()236 shortcut.getProbability()); in addUnigramEntry()
282 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local283 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry()285 shortcut.getTargetCodePoints()->size()); in addUnigramEntry()316 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local318 CodePointArrayView(*shortcut.getTargetCodePoints()), in addUnigramEntry()319 shortcut.getProbability())) { in addUnigramEntry()321 "probability: %d", wordPos, shortcut.getTargetCodePoints()->size(), in addUnigramEntry()322 shortcut.getProbability()); in addUnigramEntry()
152 String shortcut = null; in readDictionaryCombined() local158 shortcut = params[1]; in readDictionaryCombined()165 if (null != shortcut) { in readDictionaryCombined()166 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); in readDictionaryCombined()
98 for (const auto &shortcut : unigramProperty.getShortcuts()) { in outputWordProperty() local99 const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints(); in outputWordProperty()107 shortcut.getProbability()); in outputWordProperty()
157 for (ShortcutInfo shortcut : folder.contents) { in getDescriptionForDropOver()158 if (firstItem == null || firstItem.rank > shortcut.rank) { in getDescriptionForDropOver()159 firstItem = shortcut; in getDescriptionForDropOver()
80 final int shortcut = getShortcutTypeFromPosition(position); in getItemViewType() local81 if (shortcut >= 0) { in getItemViewType()83 return super.getViewTypeCount() + shortcut; in getItemViewType()
287 ShortcutInfo shortcut = (ShortcutInfo) item; in checkItemInfoLocked() local288 if (modelShortcut.title.toString().equals(shortcut.title.toString()) && in checkItemInfoLocked()289 modelShortcut.intent.filterEquals(shortcut.intent) && in checkItemInfoLocked()290 modelShortcut.id == shortcut.id && in checkItemInfoLocked()291 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked()292 modelShortcut.container == shortcut.container && in checkItemInfoLocked()293 modelShortcut.screen == shortcut.screen && in checkItemInfoLocked()294 modelShortcut.cellX == shortcut.cellX && in checkItemInfoLocked()295 modelShortcut.cellY == shortcut.cellY && in checkItemInfoLocked()296 modelShortcut.spanX == shortcut.spanX && in checkItemInfoLocked()[all …]
105 String shortcut = cursor.isSuggestionShortcut() ? "shortcut" : ""; in getSuggestions() local106 sb.append(source).append(':').append(type).append(':').append(shortcut); in getSuggestions()
73 final String shortcut = args.getString(EXTRA_SHORTCUT); in UserDictionaryAddWordContents() local74 if (null != shortcut && null != mShortcutEditText) { in UserDictionaryAddWordContents()75 mShortcutEditText.setText(shortcut); in UserDictionaryAddWordContents()
378 final Intent shortcut = new Intent(); in onListItemClick() local379 shortcut.setAction(Intent.ACTION_VIEW); in onListItemClick()380 shortcut.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/playlist"); in onListItemClick()381 shortcut.putExtra("playlist", String.valueOf(id)); in onListItemClick()384 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcut); in onListItemClick()
82 private Uri addWord(final String word, final Locale locale, int frequency, String shortcut) { in addWord() argument84 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in addWord()
36 shortcut/shortcut_list_reading_utils.cpp) \