/packages/inputmethods/LatinIME/dictionaries/ |
D | en_emoji.combined.gz |
|
D | fr_emoji.combined.gz | ... =true
24 shortcut=♩,f=14
25 shortcut=♪,f=14
26 shortcut=♬,f ... |
D | sample.combined | 17 # into the dictionary is to add shortcut targets and maybe a whitelist 20 # Each word may or may not have any number of shortcut target lines 21 # starting with a `shortcut' entry and having at least a `f' frequency 34 word=shortcut,f=176 35 shortcut=target,f=10 37 shortcut=whitelisted,f=whitelist
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 170 String shortcut = cursor.getString(COLUMN_SHORTCUT); in getDictionary() local 171 if (TextUtils.isEmpty(shortcut)) shortcut = ""; in getDictionary() 174 + SEPARATOR + shortcut; in getDictionary() 229 String shortcut = null; in restoreDictionary() local 233 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 …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutInfo.java | 287 final ShortcutInfo shortcut = new ShortcutInfo(); in fromActivityInfo() local 288 shortcut.user = info.getUser(); in fromActivityInfo() 289 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo() 290 shortcut.contentDescription = UserManagerCompat.getInstance(context) in fromActivityInfo() 292 shortcut.customIcon = false; in fromActivityInfo() 293 shortcut.intent = AppInfo.makeLaunchIntent(context, info, info.getUser()); in fromActivityInfo() 294 shortcut.itemType = LauncherSettings.Favorites.ITEM_TYPE_APPLICATION; in fromActivityInfo() 295 shortcut.flags = AppInfo.initFlags(info); in fromActivityInfo() 296 shortcut.firstInstallTime = info.getFirstInstallTime(); in fromActivityInfo() 297 return shortcut; in fromActivityInfo()
|
D | Stats.java | 129 public void recordLaunch(View v, Intent intent, ShortcutInfo shortcut) { in recordLaunch() argument 135 if (shortcut != null) { in recordLaunch() 136 broadcastIntent.putExtra(EXTRA_CONTAINER, shortcut.container) in recordLaunch() 137 .putExtra(EXTRA_SCREEN, shortcut.screenId) in recordLaunch() 138 .putExtra(EXTRA_CELLX, shortcut.cellX) in recordLaunch() 139 .putExtra(EXTRA_CELLY, shortcut.cellY); in recordLaunch()
|
D | LauncherModel.java | 641 ShortcutInfo shortcut = (ShortcutInfo) item; in checkItemInfoLocked() local 642 if (modelShortcut.title.toString().equals(shortcut.title.toString()) && in checkItemInfoLocked() 643 modelShortcut.intent.filterEquals(shortcut.intent) && in checkItemInfoLocked() 644 modelShortcut.id == shortcut.id && in checkItemInfoLocked() 645 modelShortcut.itemType == shortcut.itemType && in checkItemInfoLocked() 646 modelShortcut.container == shortcut.container && in checkItemInfoLocked() 647 modelShortcut.screenId == shortcut.screenId && in checkItemInfoLocked() 648 modelShortcut.cellX == shortcut.cellX && in checkItemInfoLocked() 649 modelShortcut.cellY == shortcut.cellY && in checkItemInfoLocked() 650 modelShortcut.spanX == shortcut.spanX && in checkItemInfoLocked() [all …]
|
D | Launcher.java | 2599 final ShortcutInfo shortcut = (ShortcutInfo) tag; in onClickAppShortcut() local 2601 if (shortcut.isDisabled != 0) { in onClickAppShortcut() 2603 if ((shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_SAFEMODE) != 0) { in onClickAppShortcut() 2610 final Intent intent = shortcut.intent; in onClickAppShortcut() 2627 && shortcut.isPromise() in onClickAppShortcut() 2628 && !shortcut.hasStatusFlag(ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE)) { in onClickAppShortcut() 2630 shortcut.getTargetComponent().getPackageName(), in onClickAppShortcut() 2649 final ShortcutInfo shortcut; in startAppShortcutOrInfoActivity() local 2652 shortcut = (ShortcutInfo) tag; in startAppShortcutOrInfoActivity() 2653 intent = shortcut.intent; in startAppShortcutOrInfoActivity() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookup.java | 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() argument 519 return localeShortcuts.get(shortcut); in expandShortcut() 611 final String shortcut = cursor.getString(shortcutIndex); in loadPersonalDictionary() local 612 if (shortcut == null) { in loadPersonalDictionary() 626 localeShortcuts.put(shortcut, rawDictWord); in loadPersonalDictionary()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserDictionarySettings.java | 158 final String shortcut = getShortcut(position); in onListItemClick() local 160 showAddOrEditDialog(word, shortcut); in onListItemClick() 221 public static void deleteWord(final String word, final String shortcut, in deleteWord() argument 223 if (TextUtils.isEmpty(shortcut)) { in deleteWord() 230 new String[] { word, shortcut }); in deleteWord() 243 final String shortcut = c.getString(INDEX_SHORTCUT); 244 if (TextUtils.isEmpty(shortcut)) { 247 ((TextView)v).setText(shortcut);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionarySettings.java | 208 final String shortcut = getShortcut(position); in onListItemClick() local 210 showAddOrEditDialog(word, shortcut); in onListItemClick() 281 public static void deleteWord(final String word, final String shortcut, in deleteWord() argument 286 } 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);
|
D | UserDictionaryAddWordContents.java | 87 final String shortcut; in UserDictionaryAddWordContents() local 89 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()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 195 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local 196 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry() 198 shortcut.getTargetCodePoints()->size()); in addUnigramEntry() 230 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local 232 CodePointArrayView(*shortcut.getTargetCodePoints()), in addUnigramEntry() 233 shortcut.getProbability())) { in addUnigramEntry() 235 "probability: %d", wordPos, shortcut.getTargetCodePoints()->size(), in addUnigramEntry() 236 shortcut.getProbability()); in addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 282 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local 283 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry() 285 shortcut.getTargetCodePoints()->size()); in addUnigramEntry() 316 for (const auto &shortcut : unigramProperty->getShortcuts()) { in addUnigramEntry() local 318 CodePointArrayView(*shortcut.getTargetCodePoints()), in addUnigramEntry() 319 shortcut.getProbability())) { in addUnigramEntry() 321 "probability: %d", wordPos, shortcut.getTargetCodePoints()->size(), in addUnigramEntry() 322 shortcut.getProbability()); in addUnigramEntry()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 287 ShortcutInfo shortcut = (ShortcutInfo) item; in checkItemInfoLocked() local 288 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 …]
|
D | Launcher.java | 3510 View shortcut = createShortcut(info); in bindItems() local 3511 workspace.addInScreen(shortcut, item.container, item.screen, item.cellX, in bindItems() 3521 shortcut.setAlpha(0f); in bindItems() 3522 shortcut.setScaleX(0f); in bindItems() 3523 shortcut.setScaleY(0f); in bindItems() 3525 if (!mNewShortcutAnimateViews.contains(shortcut)) { in bindItems() 3526 mNewShortcutAnimateViews.add(shortcut); in bindItems()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | UserDictionaryCompatUtils.java | 29 final int freq, final String shortcut, final Locale locale) { in addWord() argument 31 addWordWithShortcut(context, word, freq, shortcut, locale); in addWord() 45 final int freq, final String shortcut, final Locale locale) { in addWordWithShortcut() argument 46 UserDictionary.Words.addWord(context, word, freq, shortcut, locale); in addWordWithShortcut()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 152 String shortcut = null; in readDictionaryCombined() local 158 shortcut = params[1]; in readDictionaryCombined() 165 if (null != shortcut) { in readDictionaryCombined() 166 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); in readDictionaryCombined()
|
/packages/apps/Music/src/com/android/music/ |
D | PlaylistBrowserActivity.java | 378 final Intent shortcut = new Intent(); in onListItemClick() local 379 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()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | DialerPhoneNumberListAdapter.java | 73 final int shortcut = getShortcutTypeFromPosition(position); in getItemViewType() local 74 if (shortcut >= 0) { in getItemViewType() 76 return super.getViewTypeCount() + shortcut; in getItemViewType()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | WorkspaceAccessibilityHelper.java | 151 for (ShortcutInfo shortcut : folder.contents) { in getLocationDescriptionForIconDrop() 152 if (firstItem == null || firstItem.rank > shortcut.rank) { in getLocationDescriptionForIconDrop() 153 firstItem = shortcut; in getLocationDescriptionForIconDrop()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 98 for (const auto &shortcut : unigramProperty.getShortcuts()) { in outputWordProperty() local 99 const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints(); in outputWordProperty() 107 shortcut.getProbability()); in outputWordProperty()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 73 final String shortcut = args.getString(EXTRA_SHORTCUT); in UserDictionaryAddWordContents() local 74 if (null != shortcut && null != mShortcutEditText) { in UserDictionaryAddWordContents() 75 mShortcutEditText.setText(shortcut); in UserDictionaryAddWordContents()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | EventLogLogger.java | 105 String shortcut = cursor.isSuggestionShortcut() ? "shortcut" : ""; in getSuggestions() local 106 sb.append(source).append(':').append(type).append(':').append(shortcut); in getSuggestions()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | PersonalDictionaryLookupTest.java | 82 private Uri addWord(final String word, final Locale locale, int frequency, String shortcut) { in addWord() argument 84 UserDictionary.Words.addWord(mContext, word, frequency, shortcut, locale); in addWord()
|