Home
last modified time | relevance | path

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

/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DShortcutHelper.java65 Intent shortcutIntent = null; in addShortcut() local
68 shortcutIntent = new Intent(); in addShortcut()
69 shortcutIntent.setAction(sFullScreenAction); in addShortcut()
70 shortcutIntent.putExtra(EXTRA_URL, url); in addShortcut()
71 shortcutIntent.putExtra(EXTRA_ID, UUID.randomUUID().toString()); in addShortcut()
78 shortcutIntent.putExtra(EXTRA_MAC, encodedMac); in addShortcut()
81 shortcutIntent = BookmarkUtils.createShortcutIntent(context, url); in addShortcut()
84 shortcutIntent.setPackage(context.getPackageName()); in addShortcut()
85 context.sendBroadcast(BookmarkUtils.createAddToHomeIntent(context, shortcutIntent, title, in addShortcut()
DBookmarkUtils.java55 public static Intent createAddToHomeIntent(Context context, Intent shortcutIntent, String title, in createAddToHomeIntent() argument
58 i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in createAddToHomeIntent()
78 Intent shortcutIntent = createShortcutIntent(context, url); in createAddToHomeIntent() local
80 context, shortcutIntent, title, favicon, rValue, gValue, bValue); in createAddToHomeIntent()
90 Intent shortcutIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); in createShortcutIntent() local
91 shortcutIntent.putExtra(REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, true); in createShortcutIntent()
92 return shortcutIntent; in createShortcutIntent()