Searched refs:shortcut (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DShortcutManager.java35 * <li> Returning a shortcut-matching intent to clients
49 /** Map of a shortcut to its intent. */
59 /** Observes the provider of shortcut+intents */
81 int shortcut = c.getInt(COLUMN_SHORTCUT);
82 if (shortcut == 0) continue;
88 Log.w(TAG, "Intent URI for shortcut invalid.", e);
91 mShortcutIntents.put(shortcut, intent);
96 * Gets the shortcut intent for a given keycode+modifier. Make sure you
98 * if 'Sym+A' should invoke a shortcut on 'A', you should strip the
107 * to invoke the shortcut
[all...]
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java94 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should
97 public static final String SHORTCUT = "shortcut";
153 * @param shortcut optional shortcut spelling for this word. When the shortcut
159 int frequency, String shortcut, Locale locale) {
176 values.put(SHORTCUT, shortcut);
158 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument
H A DSettings.java4188 * The size of the core thread pool for shortcut refreshing in GlobalSearch.
4194 * The maximum size of the thread pool for shortcut refreshing in GlobalSearch.
6292 * Optional shortcut character associated with this bookmark.
6295 public static final String SHORTCUT = "shortcut";
6309 * particular shortcut key.
6312 * @param shortcut The shortcut key.
6315 * matching the given shortcut.
6317 public static Intent getIntentForShortcut(ContentResolver cr, char shortcut) argument
6323 new String[] { String.valueOf((int) shortcut) }, ORDERIN
6358 add(ContentResolver cr, Intent intent, String title, String folder, char shortcut, int ordering) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuItemImpl.java266 * @return The active shortcut (based on QWERTY-mode of the menu).
273 * @return The label to show for the shortcut. This includes the chording
279 char shortcut = getShortcut();
280 if (shortcut == 0) {
285 switch (shortcut) {
300 sb.append(shortcut);
310 * a shortcut defined)
313 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
H A DActionMenu.java169 final char shortcut = qwerty ? item.getAlphabeticShortcut() :
171 if (keyCode == shortcut) {
H A DIconMenuItemView.java139 * shortcut+title being shown. Instead, re-set the shortcut caption
149 void setCaptionMode(boolean shortcut) { argument
158 mShortcutCaptionMode = shortcut && (mItemData.shouldShowShortcut());
H A DIconMenuView.java98 * Longpress on MENU (while this is shown) switches to shortcut caption
106 * mode between each's title and its shortcut. This is the last caption mode
585 * Sets the shortcut caption mode for IconMenuView. This mode will
586 * continuously cycle between a child's shortcut and its title.
588 * @param cycleShortcutAndNormal Whether to go into cycling shortcut mode,
596 * to shortcut
635 * Iterates children and sets the desired shortcut mode. Only
639 * @param shortcut Whether to show shortcut or the title.
641 private void setChildrenCaptionMode(boolean shortcut) { argument
[all...]
H A DListMenuItemView.java91 mShortcutView = (TextView) findViewById(com.android.internal.R.id.shortcut);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuItemImpl.java288 * @return The active shortcut (based on QWERTY-mode of the menu).
296 * @return The label to show for the shortcut. This includes the chording key (for example
302 char shortcut = getShortcut();
303 if (shortcut == 0) {
308 switch (shortcut) {
323 sb.append(shortcut);
332 * should show shortcuts and whether this item has a shortcut defined)
335 // Show shortcuts if the menu is supposed to show shortcuts AND this item has a shortcut
H A DListMenuItemView.java96 mShortcutView = (TextView) findViewById(R.id.shortcut);

Completed in 173 milliseconds