Home | History | Annotate | Download | only in launcher3

Lines Matching refs:INTENT

24 import android.content.Intent;
232 protected long addShortcut(String title, Intent intent, int type) {
234 mValues.put(Favorites.INTENT, intent.toUri(0));
297 final Intent intent = new Intent(Intent.ACTION_MAIN, null)
298 .addCategory(Intent.CATEGORY_LAUNCHER)
300 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
301 Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
304 intent, Favorites.ITEM_TYPE_APPLICATION);
338 final Intent intent = new Intent(Intent.ACTION_MAIN, null)
339 .addCategory(Intent.CATEGORY_LAUNCHER)
341 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
342 Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
343 return addShortcut(mContext.getString(R.string.package_state_unknown), intent,
369 final Intent intent = parseIntent(parser);
370 if (intent == null) {
385 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
386 Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
388 intent, Favorites.ITEM_TYPE_SHORTCUT);
391 protected Intent parseIntent(XmlResourceParser parser) {
397 return new Intent(Intent.ACTION_VIEW, null).setData(Uri.parse(url));
480 Intent intent = new Intent(ACTION_APPWIDGET_DEFAULT_WORKSPACE_CONFIGURE);
481 intent.setComponent(cn);
482 intent.putExtras(extras);
483 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
484 mContext.sendBroadcast(intent);