Home
last modified time | relevance | path

Searched refs:getShortcutInfo (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationListPreferenceController.java114 pref.setIcon(mBackend.getConversationDrawable(mContext, conversation.getShortcutInfo(), in createConversationPref()
134 ShortcutInfo si = conversation.getShortcutInfo(); in getTitle()
165 if (o1.getShortcutInfo() != null && o2.getShortcutInfo() == null) {
168 if (o1.getShortcutInfo() == null && o2.getShortcutInfo() != null) {
171 if (o1.getShortcutInfo() == null && o2.getShortcutInfo() == null) {
175 if (o1.getShortcutInfo().getLabel() == null
176 && o2.getShortcutInfo().getLabel() != null) {
179 if (o1.getShortcutInfo().getLabel() != null
180 && o2.getShortcutInfo().getLabel() == null) {
183 return sCollator.compare(o1.getShortcutInfo().getLabel().toString(),
[all …]
DRecentConversationsPreferenceController.java172 final String pkg = conversation.getShortcutInfo().getPackage(); in createConversationPref()
174 final String conversationId = conversation.getShortcutInfo().getId(); in createConversationPref()
192 pref.setIcon(mBackend.getConversationDrawable(mContext, conversation.getShortcutInfo(), in createConversationPref()
217 ShortcutInfo si = conversation.getShortcutInfo(); in getTitle()
226 conversation.getShortcutInfo().getPackage()); in getSubSettingLauncher()
230 conversation.getShortcutInfo().getId()); in getSubSettingLauncher()
249 if (o1.getShortcutInfo().getLabel() != null
250 && o2.getShortcutInfo().getLabel() != null) {
252 o1.getShortcutInfo().getLabel().toString(),
253 o2.getShortcutInfo().getLabel().toString());
DAppConversationListPreferenceController.java153 ShortcutInfo si = conversation.getShortcutInfo(); in populateConversationPreference()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/
DShortcutToChooserTargetConverter.java64 int shortcutRank = matchingShortcuts.get(i).getShortcutInfo().getRank(); in convertToChooserTarget()
74 ShortcutInfo shortcutInfo = matchingShortcuts.get(i).getShortcutInfo(); in convertToChooserTarget()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSplitSelectDataHolder.kt201 private fun getShortcutInfo(intent: Intent?, user: UserHandle?): ShortcutInfo? { in getShortcutInfo() method in com.android.quickstep.util.SplitSelectDataHolder
302 initialShortcut = getShortcutInfo(initialIntent, initialUser) in convertIntentsToFinalTypes()
316 secondShortcut = getShortcutInfo(secondIntent, secondUser) in convertIntentsToFinalTypes()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java285 return new PackageItemInfo(mRequest.getShortcutInfo().getPackage(), in setupShortcut()
286 mRequest.getShortcutInfo().getUserHandle()); in setupShortcut()
342 ShortcutInfo shortcutInfo = mRequest.getShortcutInfo(); in onPlaceAutomaticallyClick()
DPinShortcutRequestActivityInfo.java67 this(request.getShortcutInfo(), () -> request, context); in PinShortcutRequestActivityInfo()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DPinRequestHelper.java76 ShortcutInfo si = request.getShortcutInfo(); in createWorkspaceItemFromPinItemRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DRecentConversationsPreferenceControllerTest.java197 ccw.getShortcutInfo().getPackage()); in testGetSubSettingLauncher()
202 ccw.getShortcutInfo().getId()); in testGetSubSettingLauncher()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DPredictionUpdateTask.java82 ShortcutInfo si = target.getShortcutInfo(); in execute()
DQuickstepModelDelegate.java519 ShortcutInfo s1 = t1.getShortcutInfo(); in areAppTargetsSame()
520 ShortcutInfo s2 = t2.getShortcutInfo(); in areAppTargetsSame()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserTargetActionsDialogFragment.java236 .map(ShortcutManager.ShareShortcutInfo::getShortcutInfo) in getPinnedShortcutsFromPackageAsUser()