Home
last modified time | relevance | path

Searched defs:shortcut (Results 1 – 25 of 26) sorted by relevance

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java369 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, TEST_SHORTCUT_ID, in testReportAppTargetEvent_directSharing() local
391 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, TEST_SHORTCUT_ID, in testReportAppTargetEvent_directSharing_createConversation() local
439 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, TEST_SHORTCUT_ID, in testContactsChanged() local
463 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, TEST_SHORTCUT_ID, in testNotificationPosted() local
478 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, TEST_SHORTCUT_ID, in testNotificationOpened() local
506 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, shortcutId, in testUncacheShortcutsWhenNotificationsDismissed() local
1181 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, shortcutId, in testDoNotUncacheShortcutWithActiveNotifications() local
1203 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, shortcutId, in testUncacheOldestCachedShortcut() local
1233 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, shortcutId, in testUncacheOldestCachedShortcut_missingNotificationEvents() local
1274 ShortcutInfo shortcut = buildShortcutInfo(TEST_PKG_NAME, USER_ID_PRIMARY, shortcutId, in testUncacheOldestCachedShortcut_legacyConversation() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutBitmapSaver.java86 public final ShortcutInfo shortcut; field in ShortcutBitmapSaver.PendingItem
94 private PendingItem(ShortcutInfo shortcut, byte[] bytes) { in PendingItem()
137 public String getBitmapPathMayWaitLocked(ShortcutInfo shortcut) { in getBitmapPathMayWaitLocked()
146 public void removeIcon(ShortcutInfo shortcut) { in removeIcon()
158 public void saveBitmapLocked(ShortcutInfo shortcut, in saveBitmapLocked()
249 ShortcutInfo shortcut = null; in processPendingItems() local
H A DShortcutPackageItem.java243 public void saveBitmap(ShortcutInfo shortcut, in saveBitmap()
254 public String getBitmapPathMayWait(ShortcutInfo shortcut) { in getBitmapPathMayWait()
260 public void removeIcon(ShortcutInfo shortcut) { in removeIcon()
H A DShortcutPackage.java293 private void ensureNotImmutable(@Nullable ShortcutInfo shortcut, boolean ignoreInvisible) { in ensureNotImmutable()
355 final ShortcutInfo shortcut; in forceDeleteShortcutInner() local
459 final ShortcutInfo shortcut = activityShortcuts.get(maxShortcuts - 1); in pushDynamicShortcut() local
517 final ShortcutInfo shortcut = appShortcuts.remove(appShortcuts.size() - 1); in ensureShortcutCountBeforePush() local
610 final ShortcutInfo shortcut = findShortcutById(shortcutId); in deleteLongLivedWithId() local
700 public void updateInvisibleShortcutForPinRequestWith(@NonNull ShortcutInfo shortcut) { in updateInvisibleShortcutForPinRequestWith()
1356 final ShortcutInfo shortcut = list.get(inner); in pushOutExcessShortcuts() local
2386 void mutateShortcut(@NonNull final String id, @Nullable final ShortcutInfo shortcut, in mutateShortcut()
H A DShortcutLauncher.java185 public boolean hasPinned(ShortcutInfo shortcut) { in hasPinned()
H A DShortcutService.java1488 FileOutputStreamWithPath openIconFileForWrite(@UserIdInt int userId, ShortcutInfo shortcut) in openIconFileForWrite()
1513 void saveIconAndFixUpShortcutLocked(ShortcutPackage p, ShortcutInfo shortcut) { in saveIconAndFixUpShortcutLocked()
1573 void injectValidateIconResPackage(ShortcutInfo shortcut, Icon icon) { in injectValidateIconResPackage()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java51 private ShortcutInfo shortcut(String id, ComponentName activity, int rank) { in shortcut() method in ShortcutManagerTest3
55 private ShortcutInfo shortcut(String id, ComponentName activity) { in shortcut() method in ShortcutManagerTest3
59 private ShortcutInfo shortcut(String id, Set<String> categories) { in shortcut() method in ShortcutManagerTest3
H A DBaseShortcutManagerTest.java368 void injectValidateIconResPackage(ShortcutInfo shortcut, Icon icon) { in injectValidateIconResPackage()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DShortcutManager.java598 public boolean requestPinShortcut(@NonNull ShortcutInfo shortcut, in requestPinShortcut()
602 mService.requestPinShortcut(mContext.getPackageName(), shortcut, resultIntent, in requestPinShortcut() local
628 public Intent createShortcutResultIntent(@NonNull ShortcutInfo shortcut) { in createShortcutResultIntent()
632 shortcut, injectMyUserId(), ret); in createShortcutResultIntent() local
789 public void pushDynamicShortcut(@NonNull ShortcutInfo shortcut) { in pushDynamicShortcut()
791 mService.pushDynamicShortcut(mContext.getPackageName(), shortcut, injectMyUserId()); in pushDynamicShortcut() local
H A DIShortcutService.aidl41 void requestPinShortcut(String packageName, in ShortcutInfo shortcut, in requestPinShortcut()
44 void createShortcutResultIntent(String packageName, in ShortcutInfo shortcut, int userId, in createShortcutResultIntent()
81 void pushDynamicShortcut(String packageName, in ShortcutInfo shortcut, int userId); in pushDynamicShortcut()
H A DLauncherApps.java1365 public int getShortcutIconResId(@NonNull ShortcutInfo shortcut) { in getShortcutIconResId()
1387 public ParcelFileDescriptor getShortcutIconFd( in getShortcutIconFd()
1415 public ParcelFileDescriptor getUriShortcutIconFd(@NonNull ShortcutInfo shortcut) { in getUriShortcutIconFd()
1462 public Drawable getShortcutIconDrawable(@NonNull ShortcutInfo shortcut, int density) { in getShortcutIconDrawable()
1518 public Icon getShortcutIcon(@NonNull ShortcutInfo shortcut) { in getShortcutIcon()
1587 public Drawable getShortcutBadgedIconDrawable(ShortcutInfo shortcut, int density) { in getShortcutBadgedIconDrawable()
1635 public void startShortcut(@NonNull ShortcutInfo shortcut, in startShortcut()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java88 Preference shortcut = findPreference(buttonSetting); in setupGroup() local
112 private void setSummary(Preference shortcut, String value) { in setSummary()
166 public StaticShortcut(Context context, Shortcut shortcut) { in StaticShortcut()
330 Shortcut shortcut = getShortcutInfo(mContext, buttonStr); in create() local
349 public ShortcutButton(Context context, Shortcut shortcut) { in ShortcutButton()
H A DShortcutPicker.java172 public ShortcutPreference(Context context, Shortcut shortcut, CharSequence appLabel) { in ShortcutPreference()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppSearchShortcutInfoTest.java50 final ShortcutInfo shortcut = new AppSearchShortcutInfo.Builder(/*packageName=*/"", id) in testBuildShortcutAndGetValue() local
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DLaunchBubbleActivity.java71 ShortcutInfo shortcut = new ShortcutInfo.Builder(context, "BubbleChat") in addInboxShortcut() local
/aosp14/frameworks/base/core/java/android/provider/
H A DUserDictionary.java162 int frequency, String shortcut, Locale locale) { in addWord()
H A DSettings.java19572 public static Intent getIntentForShortcut(ContentResolver cr, char shortcut) in getIntentForShortcut()
19618 char shortcut, in add()
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DModifierShortcutManager.java129 ShortcutInfo shortcut = null; in getIntent() local
222 ShortcutInfo shortcut = new ShortcutInfo(title, intent); in loadShortcuts() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
H A DIconManager.kt262 val shortcut = entry.ranking.conversationShortcutInfo regex
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
H A DTaskView.java111 public void startShortcutActivity(@NonNull ShortcutInfo shortcut, in startShortcutActivity()
H A DTaskViewTaskController.java163 public void startShortcutActivity(@NonNull ShortcutInfo shortcut, in startShortcutActivity()
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java164 void setCaptionMode(boolean shortcut) { in setCaptionMode()
H A DActionMenu.java172 final char shortcut = qwerty ? item.getAlphabeticShortcut() : in findItemWithShortcut() local
H A DIconMenuView.java647 private void setChildrenCaptionMode(boolean shortcut) { in setChildrenCaptionMode()
H A DMenuItemImpl.java336 char shortcut = getShortcut(); in getShortcutLabel() local

12