Home
last modified time | relevance | path

Searched refs:shortcutId (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationKeyData.java39 public final String shortcutId; field in NotificationKeyData
44 private NotificationKeyData(String notificationKey, String shortcutId, int count, in NotificationKeyData() argument
47 this.shortcutId = shortcutId; in NotificationKeyData()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutKey.java51 String shortcutId = intent.getStringExtra(EXTRA_SHORTCUT_ID); in fromIntent() local
52 return new ShortcutKey(intent.getPackage(), user, shortcutId); in fromIntent()
66 public static Intent makeIntent(String shortcutId, String packageName) { in makeIntent() argument
71 .putExtra(EXTRA_SHORTCUT_ID, shortcutId); in makeIntent()
/packages/apps/DeskClock/src/com/android/deskclock/events/
DShortcutEventTracker.kt49 val shortcutId = UiDataModel.uiDataModel.getShortcutId(category, action) in sendEvent() constant
50 if (shortcuts.contains(shortcutId)) { in sendEvent()
51 mShortcutManager.reportShortcutUsed(shortcutId) in sendEvent()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java255 String shortcutId = ShortcutUtil.getShortcutIdIfPinnedShortcut(info); in getNotificationsForItem() local
256 if (shortcutId == null) { in getNotificationsForItem()
261 if (notification.shortcutId != null) { in getNotificationsForItem()
262 return notification.shortcutId.equals(shortcutId); in getNotificationsForItem()
DPopupPopulator.java159 : notificationKeys.get(0).shortcutId; in createUpdateRunnable()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DLauncherLayoutBuilder.java140 public LauncherLayoutBuilder putShortcut(String packageName, String shortcutId) { in putShortcut() argument
142 items.put(ATTR_SHORTCUT_ID, shortcutId); in putShortcut()
187 public FolderBuilder addShortcut(String packageName, String shortcutId) { in addShortcut() argument
190 items.put(ATTR_SHORTCUT_ID, shortcutId); in addShortcut()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSuggestionWrapper.kt24 override val shortcutId: String? constant in com.android.quicksearchbox.AbstractSuggestionWrapper
25 get() = current()?.shortcutId
DSuggestionData.kt59 override val shortcutId: String constant in com.android.quicksearchbox.SuggestionData
137 fun setShortcutId(shortcutId: String?): SuggestionData { in setShortcutId()
138 mShortcutId = shortcutId in setShortcutId()
DSuggestion.kt26 val shortcutId: String? constant
DSuggestionCursorBackedCursor.kt90 COLUMN_INDEX_SHORTCUT_ID -> get()?.shortcutId in getString()
DCursorBackedSuggestionCursor.kt138 override val shortcutId: String? constant
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserTargetActionsDialogFragment.java84 @Nullable String shortcutId, in show() argument
91 shortcutId, in show()
303 @Nullable String shortcutId, in ChooserTargetActionsDialogFragment() argument
309 mShortcutId = shortcutId; in ChooserTargetActionsDialogFragment()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DTestHelpers.kt63 title: String, score: Float, componentName: ComponentName, shortcutId: String in createAppTarget()
70 Bundle().apply { putString(Intent.EXTRA_SHORTCUT_ID, shortcutId) } in createAppTarget()
DShortcutSelectionLogicTest.kt51 pkg.shortcutId(i), in <lambda>()
236 PACKAGE_A.shortcutId(1), in <lambda>()
312 private fun String.shortcutId(id: Int) = "$this.$id" in <lambda>() method in com.android.intentresolver.ShortcutSelectionLogicTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DAppConversationListPreferenceControllerTest.java156 String shortcutName, String parentLabel, String shortcutId, boolean demoted) { in conversationChannel() argument
159 channel.setConversationId(parentId, shortcutId); in conversationChannel()
160 ShortcutInfo shortcutInfo = new ShortcutInfo.Builder(mContext, shortcutId).setLongLabel( in conversationChannel()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestionProvider.kt78 val shortcutId = getQuery(uri) in query() constant
80 SuggestionCursorBackedCursor(mSource!!.refreshShortcut(shortcutId, extraData)) in query()
DGoogleSource.kt24 fun refreshShortcut(shortcutId: String?, extraData: String?): SuggestionCursor?
DAbstractGoogleSourceResult.kt57 override val shortcutId: String? constant
DAbstractGoogleSource.kt41 abstract override fun refreshShortcut(shortcutId: String?, extraData: String?): SuggestionCursor? in refreshShortcut()
DGoogleSuggestClient.kt134 override fun refreshShortcut(shortcutId: String?, extraData: String?): SuggestionCursor? { in refreshShortcut()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDynamicShortcuts.java230 @NonNull List<ShortcutInfo> shortcutInfos, @NonNull String shortcutId) { in containsShortcut() argument
232 if (oldInfo.getId().equals(shortcutId)) { in containsShortcut()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt113 val shortcutId = UiDataModel.uiDataModel in createStopwatchShortcut() constant
115 val shortcut: ShortcutInfo.Builder = ShortcutInfo.Builder(context, shortcutId) in createStopwatchShortcut()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSplitSelectDataHolder.kt170 val shortcutId = intent.getStringExtra(ShortcutKey.EXTRA_SHORTCUT_ID) in getShortcutInfo() constant
175 return ShortcutInfo.Builder(context, shortcutId).build() in getShortcutInfo()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java441 final String shortcutId = getAttributeValue(parser, ATTR_SHORTCUT_ID); in parseAndAdd() local
445 launcherApps.pinShortcuts(packageName, Collections.singletonList(shortcutId), in parseAndAdd()
447 Intent intent = ShortcutKey.makeIntent(shortcutId, packageName); in parseAndAdd()
451 Log.e(TAG, "Unable to pin the shortcut for shortcut id = " + shortcutId in parseAndAdd()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java266 final String shortcutId = SHORTCUT_ID_PREFIX + in createShortcutInfo() local
268 return new ShortcutInfo.Builder(context, shortcutId) in createShortcutInfo()

12