Home | History | Annotate | Download | only in launcher2

Lines Matching defs:intent

24 import android.content.Intent;
34 * The intent used to start the application.
36 Intent intent;
54 Intent.ShortcutIconResource iconResource;
68 intent = new Intent(info.intent);
70 iconResource = new Intent.ShortcutIconResource();
82 intent = new Intent(info.intent);
98 mIcon = iconCache.getIcon(intent, user);
103 * Creates the application intent based on a component name and various launch flags.
106 * @param className the class name of the component representing the intent
109 final void setActivity(Intent intent) {
110 int launchFlags = Intent.FLAG_ACTIVITY_NEW_TASK |
111 Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED;
112 this.intent = new Intent();
113 this.intent.setFlags(launchFlags);
114 this.intent.addCategory(Intent.CATEGORY_LAUNCHER);
115 this.intent.setComponent(intent.getComponent());
116 this.intent.putExtras(intent.getExtras());
118 updateUser(this.intent);
128 String uri = intent != null ? intent.toUri(0) : null;
129 values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri);
152 return "ShortcutInfo(title=" + title.toString() + "intent=" + intent + "id=" + this.id