Searched defs:shortcut (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
H A DShortcutKeyDispatcher.java17 package com.android.systemui.shortcut;
50 * Dispatches shortcut to System UI components
70 * Registers a shortcut key to window manager.
71 * @param shortcutCode packed representation of shortcut key code and meta information
H A DShortcutKeyServiceProxy.java17 package com.android.systemui.shortcut;
26 * post them onto shortcut handlers.
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java97 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should
100 public static final String SHORTCUT = "shortcut";
156 * @param shortcut optional shortcut spelling for this word. When the shortcut
162 int frequency, String shortcut, Locale locale) {
179 values.put(SHORTCUT, shortcut);
161 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument
H A DSettings.java5819 * The size of the core thread pool for shortcut refreshing in GlobalSearch.
5825 * The maximum size of the thread pool for shortcut refreshing in GlobalSearch.
9464 * Optional shortcut character associated with this bookmark.
9467 public static final String SHORTCUT = "shortcut";
9481 * particular shortcut key.
9484 * @param shortcut The shortcut key.
9487 * matching the given shortcut.
9489 public static Intent getIntentForShortcut(ContentResolver cr, char shortcut) argument
9495 new String[] { String.valueOf((int) shortcut) }, ORDERIN
9530 add(ContentResolver cr, Intent intent, String title, String folder, char shortcut, int ordering) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java29 * Tests related to shortcut rank auto-adjustment.
45 private ShortcutInfo shortcut(String id, ComponentName activity, int rank) { method in class:ShortcutManagerTest3
49 private ShortcutInfo shortcut(String id, ComponentName activity) { method in class:ShortcutManagerTest3
75 shortcut("s1", A1)
82 shortcut("s5", A1),
83 shortcut("s4", A1),
84 shortcut("s3", A1)
91 shortcut("s5", A1),
92 shortcut("s4", A1, 5),
93 shortcut("s
[all...]
H A DBaseShortcutManagerTest.java287 void injectValidateIconResPackage(ShortcutInfo shortcut, Icon icon) { argument
1211 * Make a shortcut with an ID.
1226 * Make a shortcut with an ID and timestamp.
1237 * Make a shortcut with an ID, a timestamp and an activity component
1249 * Make a shortcut with an ID and icon.
1311 * Make a shortcut with details.
1340 * Make a shortcut with details.
1363 * Make a shortcut with details.
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java142 * shortcut+title being shown. Instead, re-set the shortcut caption
152 void setCaptionMode(boolean shortcut) { argument
161 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...]
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java171 * <p>Only the applications that are allowed to access the shortcut information,
229 * This allows quicker access to shortcut information in order to
232 * <p>Typically, launcher applications cache all or most shortcut information
236 * restarts, it can fetch shortcut information with this flag.
238 * shortcut, fetching a shortcut's non-key information only if that shortcut has been
484 * Returns whether the caller can access the shortcut information.
486 * <p>Only the default launcher can access the shortcut information.
491 * this permission, it does <b>not</b> have to purge pinned shortcut informatio
579 getShortcutIconResId(@onNull ShortcutInfo shortcut) argument
601 getShortcutIconFd( @onNull ShortcutInfo shortcut) argument
642 getShortcutIconDrawable(@onNull ShortcutInfo shortcut, int density) argument
690 getShortcutBadgedIconDrawable(ShortcutInfo shortcut, int density) argument
736 startShortcut(@onNull ShortcutInfo shortcut, @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java69 private static final String TAG_SHORTCUT = "shortcut";
174 private void ensureNotImmutable(@Nullable ShortcutInfo shortcut) { argument
175 if (shortcut != null && shortcut.isImmutable()) {
177 "Manifest shortcut ID=" + shortcut.getId()
199 final ShortcutInfo shortcut = mShortcuts.remove(id);
200 if (shortcut != null) {
201 mShortcutUser.mService.removeIcon(getPackageUserId(), shortcut);
202 shortcut
[all...]
H A DShortcutService.java188 private static final String KEY_SHORTCUT = "shortcut";
654 Slog.e(TAG, "Bad shortcut manager settings", e);
1202 void removeIcon(@UserIdInt int userId, ShortcutInfo shortcut) { argument
1205 shortcut.setIconResourceId(0);
1206 shortcut.setIconResName(null);
1207 shortcut.clearFlags(ShortcutInfo.FLAG_HAS_ICON_FILE | ShortcutInfo.FLAG_HAS_ICON_RES);
1287 * Build the cached bitmap filename for a shortcut icon.
1292 FileOutputStreamWithPath openIconFileForWrite(@UserIdInt int userId, ShortcutInfo shortcut) argument
1295 shortcut.getPackage());
1317 void saveIconAndFixUpShortcut(@UserIdInt int userId, ShortcutInfo shortcut) { argument
1395 injectValidateIconResPackage(ShortcutInfo shortcut, Icon icon) argument
1594 fixUpIncomingShortcutInfo(@onNull ShortcutInfo shortcut, boolean forUpdate) argument
[all...]

Completed in 253 milliseconds