Home
last modified time | relevance | path

Searched refs:shortcutIntent (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java135 final Intent shortcutIntent = createResultIntent( in updateState()
138 mHost.setResult(Activity.RESULT_OK, shortcutIntent); in updateState()
152 Intent createResultIntent(Intent shortcutIntent, ResolveInfo resolveInfo, in createResultIntent() argument
154 ShortcutInfo info = createShortcutInfo(mContext, shortcutIntent, resolveInfo, label); in createResultIntent()
161 .putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent) in createResultIntent()
252 private static ShortcutInfo createShortcutInfo(Context context, Intent shortcutIntent, in createShortcutInfo() argument
267 shortcutIntent.getComponent().flattenToShortString(); in createShortcutInfo()
270 .setIntent(shortcutIntent) in createShortcutInfo()
/packages/apps/Contacts/src/com/android/contacts/
DShortcutIntentBuilder.java124 void onShortcutIntentCreated(Uri uri, Intent shortcutIntent); in onShortcutIntentCreated() argument
295 final Intent shortcutIntent = ImplicitIntentsUtil.getIntentForQuickContactLauncherShortcut( in createContactShortcutIntent() local
307 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in createContactShortcutIntent()
338 final Intent shortcutIntent = new Intent(shortcutAction, phoneUri); in createPhoneNumberShortcutIntent() local
339 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in createPhoneNumberShortcutIntent()
350 id, displayName, shortcutIntent, compatAdaptiveIcon.toIcon()); in createPhoneNumberShortcutIntent()
363 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in createPhoneNumberShortcutIntent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DCustomShortcutConfigActivity.java42 Intent shortcutIntent = createShortcutResultIntent( in onCreate() local
45 setResult(RESULT_OK, shortcutIntent); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java142 final Intent shortcutIntent = info.getIntent(); in refreshExistingShortcuts() local
143 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); in refreshExistingShortcuts()
145 .setIntent(shortcutIntent) in refreshExistingShortcuts()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactPickerFragment.java159 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in onShortcutIntentCreated() argument
161 mListener.onShortcutIntentCreated(shortcutIntent); in onShortcutIntentCreated()
DPhoneNumberPickerFragment.java260 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in onShortcutIntentCreated() argument
261 mListener.onShortcutIntentCreated(shortcutIntent); in onShortcutIntentCreated()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2268 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in createLauncherShortcutWithContact()
2271 shortcutIntent.setAction(ACTION_INSTALL_SHORTCUT); in createLauncherShortcutWithContact()
2272 QuickContactActivity.this.sendBroadcast(shortcutIntent); in createLauncherShortcutWithContact()
2275 final String displayName = shortcutIntent in createLauncherShortcutWithContact()