Searched defs:shortcut (Results 1 - 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | UserDictionaryCompatUtils.java | 33 final String shortcut, final Locale locale) { 35 CompatUtils.invoke(Words.class, null, METHOD_addWord, context, word, freq, shortcut, 32 addWord(final Context context, final String word, final int freq, final String shortcut, final Locale locale) argument
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
H A D | ShortcutPreference.java | 29 * Preference type for a shortcut in {@link QuickLaunchSettings}. 49 public ShortcutPreference(Context context, char shortcut) { argument 65 mShortcut = shortcut; 74 public void setShortcut(char shortcut) { argument 75 if (shortcut != mShortcut) { 76 mShortcut = shortcut; 106 TextView shortcutView = (TextView) view.findViewById(R.id.shortcut);
|
H A D | QuickLaunchSettings.java | 50 * and allows choosing a new bookmark for a shortcut. 81 /** Preference category to hold the shortcut preferences. */ 83 /** Mapping of a shortcut to its preference. */ 86 /** The bookmark title of the shortcut that is being cleared. */ 89 /** The shortcut that is being cleared. */ 144 // Create the dialog for clearing a shortcut 182 // Clear the shortcut 189 private void clearShortcut(char shortcut) { argument 191 new String[] { String.valueOf((int) shortcut) }); 198 // Open the screen to pick a bookmark for this shortcut 238 updateShortcut(char shortcut, Intent intent) argument 245 getOrCreatePreference(char shortcut) argument 255 createPreference(char shortcut) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Stats.java | 110 public void recordLaunch(Intent intent, ShortcutInfo shortcut) { argument 117 if (shortcut != null) { 118 broadcastIntent.putExtra(EXTRA_CONTAINER, shortcut.container) 119 .putExtra(EXTRA_SCREEN, shortcut.screenId) 120 .putExtra(EXTRA_CELLX, shortcut.cellX) 121 .putExtra(EXTRA_CELLY, shortcut.cellY); 135 if (shortcut == null) { 141 mLog.writeShort((short) shortcut.container); 142 mLog.writeShort((short) shortcut.screenId); 143 mLog.writeShort((short) shortcut [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | UserDictionarySettings.java | 52 // The index of the shortcut in the above array. 158 final String shortcut = getShortcut(position); 160 showAddOrEditDialog(word, shortcut); 185 * @param editingShortcut the shortcut for this entry, or null if none. 222 public static void deleteWord(final String word, final String shortcut, argument 224 if (TextUtils.isEmpty(shortcut)) { 231 new String[] { word, shortcut }); 244 final String shortcut = c.getString(INDEX_SHORTCUT); 245 if (TextUtils.isEmpty(shortcut)) { 248 ((TextView)v).setText(shortcut); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictEncoderUtils.java | 91 * Compute the size of a shortcut in bytes. 93 private static int getShortcutSize(final WeightedString shortcut) { argument 95 final String word = shortcut.mWord; 106 * Compute the size of a shortcut list in bytes. 114 for (final WeightedString shortcut : shortcutList) { 115 size += getShortcutSize(shortcut); 745 * Makes the flag value for a shortcut.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionarySettings.java | 62 // The index of the shortcut in the above array. 191 final String shortcut = getShortcut(position); 193 showAddOrEditDialog(word, shortcut); 204 // with the shortcut API. 227 * @param editingShortcut the shortcut for this entry, or null if none. 264 public static void deleteWord(final String word, final String shortcut, argument 269 } else if (TextUtils.isEmpty(shortcut)) { 276 new String[] { word, shortcut }); 293 final String shortcut = c.getString(INDEX_SHORTCUT); 294 if (TextUtils.isEmpty(shortcut)) { [all...] |
Completed in 203 milliseconds