Lines Matching refs:INTENT
26 * <li>An activity that can respond to the intent action {@link #ACTION_CREATE_LIVE_FOLDER}. The
33 * intent filter action {@link #ACTION_CREATE_LIVE_FOLDER} and presents the list to the user.
37 * {@link android.app.Activity#setResult(int, android.content.Intent) activity result}. The
51 * final Intent intent = getIntent();
52 * final String action = intent.getAction();
64 * private static Intent createLiveFolder(Context context, Uri uri, String name,
67 * final Intent intent = new Intent();
69 * intent.setData(uri);
70 * intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_NAME, name);
71 * intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_ICON,
72 * Intent.ShortcutIconResource.fromContext(context, icon));
73 * intent.putExtra(LiveFolders.EXTRA_LIVE_FOLDER_DISPLAY_MODE, LiveFolders.DISPLAY_MODE_LIST);
75 * return intent;
79 * <p>The live folder is described by an {@link android.content.Intent} as follows:</p>
97 * <td>Extra {@link android.content.Intent.ShortcutIconResource}</td>
108 * <td>Extra Intent</td>
110 * the intent associated with that item or, if present, the live folder's base intent
111 * with the id of the item appended to the base intent's URI.</td>
137 * <tr><th>{@link #INTENT}</th>
138 * <td>{@link android.content.Intent}</td>
139 * <td>The intent to fire when the item is clicked. Ignored when the live folder defines
140 * a base intent.</td>
198 * <p>Intent of the live folder item.</p>
199 * <p>Optional if the live folder has a base intent.</p>
200 * <p>Type: {@link android.content.Intent}.</p>
204 public static final String INTENT = "intent";
218 * {@link android.content.Intent.ShortcutIconResource#fromContext(android.content.Context, int)}.</p>
223 * @see android.content.Intent.ShortcutIconResource
230 * {@link android.content.Intent.ShortcutIconResource#fromContext(android.content.Context, int)}.</p>
235 * @see android.content.Intent.ShortcutIconResource
258 public static final String EXTRA_LIVE_FOLDER_NAME = "android.intent.extra.livefolder.NAME";
265 public static final String EXTRA_LIVE_FOLDER_ICON = "android.intent.extra.livefolder.ICON";
275 "android.intent.extra.livefolder.DISPLAY_MODE";
278 * The name of the extra used to define the base Intent of a live folder.
283 "android.intent.extra.livefolder.BASE_INTENT";
288 * <p>Output: An Intent representing the live folder. The intent must contain four
292 * EXTRA_LIVE_FOLDER_DISPLAY_MODE (value: int). The Intent can optionnally contain
293 * EXTRA_LIVE_FOLDER_BASE_INTENT (value: Intent).</p>
299 * @see android.content.Intent.ShortcutIconResource
303 "android.intent.action.CREATE_LIVE_FOLDER";