Home
last modified time | relevance | path

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

/packages/apps/Email/src/com/android/email/activity/
DShortcutPicker.java138 final Intent shortcutIntent; in setupShortcut() local
140 shortcutIntent = MessageList.createFroyoIntent(myActivity, account); in setupShortcut()
141 Log.d(Logging.LOG_TAG, "Created old style intent: " + shortcutIntent); in setupShortcut()
145 shortcutIntent = Welcome.createOpenMessageIntent( in setupShortcut()
149 shortcutIntent = Welcome.createAccountShortcutIntent(myActivity, uuid, mailboxId); in setupShortcut()
155 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in setupShortcut()
/packages/apps/Settings/src/com/android/settings/
DCreateShortcut.java37 Intent shortcutIntent = intentForPosition(position); in onListItemClick() local
38 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); in onListItemClick()
42 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in onListItemClick()
/packages/apps/Contacts/src/com/android/contacts/list/
DShortcutIntentBuilder.java107 void onShortcutIntentCreated(Uri uri, Intent shortcutIntent); in onShortcutIntentCreated() argument
257 Intent shortcutIntent = new Intent(ContactsContract.QuickContact.ACTION_QUICK_CONTACT); in createContactShortcutIntent() local
263 shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); in createContactShortcutIntent()
266 shortcutIntent.putExtra(INTENT_EXTRA_IGNORE_LAUNCH_ANIMATION, true); in createContactShortcutIntent()
268 shortcutIntent.setDataAndType(contactUri, contentType); in createContactShortcutIntent()
269 shortcutIntent.putExtra(ContactsContract.QuickContact.EXTRA_MODE, in createContactShortcutIntent()
271 shortcutIntent.putExtra(ContactsContract.QuickContact.EXTRA_EXCLUDE_MIMES, in createContactShortcutIntent()
278 intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in createContactShortcutIntent()
305 Intent shortcutIntent = new Intent(shortcutAction, phoneUri); in createPhoneNumberShortcutIntent() local
306 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in createPhoneNumberShortcutIntent()
[all …]
DContactPickerFragment.java209 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in onShortcutIntentCreated() argument
210 mListener.onShortcutIntentCreated(shortcutIntent); in onShortcutIntentCreated()
DPhoneNumberPickerFragment.java261 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in onShortcutIntentCreated() argument
262 mListener.onShortcutIntentCreated(shortcutIntent); in onShortcutIntentCreated()
/packages/apps/Browser/src/com/android/browser/
DBookmarkUtils.java117 Intent shortcutIntent = createShortcutIntent(url); in createAddToHomeIntent() local
118 i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in createAddToHomeIntent()
129 Intent shortcutIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in createShortcutIntent() local
131 long uniqueId = (urlHash << 32) | shortcutIntent.hashCode(); in createShortcutIntent()
132 shortcutIntent.putExtra(Browser.EXTRA_APPLICATION_ID, Long.toString(uniqueId)); in createShortcutIntent()
133 return shortcutIntent; in createShortcutIntent()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactLoaderFragment.java364 public void onShortcutIntentCreated(Uri uri, Intent shortcutIntent) { in createLauncherShortcutWithContact()
367 shortcutIntent.setAction(ACTION_INSTALL_SHORTCUT); in createLauncherShortcutWithContact()
368 parentActivity.sendBroadcast(shortcutIntent); in createLauncherShortcutWithContact()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java66 Intent shortcutIntent) { in PendingInstallShortcutInfo() argument
69 launchIntent = shortcutIntent; in PendingInstallShortcutInfo()