Home | History | Annotate | Download | only in impl

Lines Matching refs:SHORTCUT

34  * <li> Returning a shortcut-matching intent to clients
43 Settings.Bookmarks.SHORTCUT, Settings.Bookmarks.INTENT
48 /** Map of a shortcut to its intent. */
58 /** Observes the provider of shortcut+intents */
80 int shortcut = c.getInt(COLUMN_SHORTCUT);
81 if (shortcut == 0) continue;
87 Log.w(TAG, "Intent URI for shortcut invalid.", e);
90 mShortcutIntents.put(shortcut, intent);
95 * Gets the shortcut intent for a given keycode+modifier. Make sure you
97 * if 'Sym+A' should invoke a shortcut on 'A', you should strip the
105 * to invoke a shortcut.
106 * @return The intent that matches the shortcut, or null if not found.
111 int shortcut = kcm.get(keyCode, modifiers);
112 Intent intent = shortcut != 0 ? mShortcutIntents.get(shortcut) : null;
116 shortcut = Character.toLowerCase(kcm.get(keyCode, 0));
117 return shortcut != 0 ? mShortcutIntents.get(shortcut) : null;