Home
last modified time | relevance | path

Searched refs:intents (Results 1 – 5 of 5) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DIncomingMessage.java72 Intent[] intents = new Intent[4]; in makeMessageIntentStack() local
77 intents[0] = Intent.makeRestartActivityTask(new ComponentName(context, in makeMessageIntentStack()
81 intents[1] = new Intent(context, com.example.android.apis.ApiDemos.class); in makeMessageIntentStack()
82 intents[1].putExtra("com.example.android.apis.Path", "App"); in makeMessageIntentStack()
84 intents[2] = new Intent(context, com.example.android.apis.ApiDemos.class); in makeMessageIntentStack()
85 intents[2].putExtra("com.example.android.apis.Path", "App/Notification"); in makeMessageIntentStack()
89 intents[3] = new Intent(context, IncomingMessageView.class); in makeMessageIntentStack()
90 intents[3].putExtra(IncomingMessageView.KEY_FROM, from); in makeMessageIntentStack()
91 intents[3].putExtra(IncomingMessageView.KEY_MESSAGE, msg); in makeMessageIntentStack()
93 return intents; in makeMessageIntentStack()
DIntentActivityFlags.java44 Intent[] intents = new Intent[3]; in buildIntentsToViewsLists() local
49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this, in buildIntentsToViewsLists()
55 intents[1] = intent; in buildIntentsToViewsLists()
61 intents[2] = intent; in buildIntentsToViewsLists()
62 return intents; in buildIntentsToViewsLists()
DStatusBarNotifications.java165 Intent[] intents = new Intent[4]; in makeDefaultIntent() local
170 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this, in makeDefaultIntent()
174 intents[1] = new Intent(this, com.example.android.apis.ApiDemos.class); in makeDefaultIntent()
175 intents[1].putExtra("com.example.android.apis.Path", "App"); in makeDefaultIntent()
177 intents[2] = new Intent(this, com.example.android.apis.ApiDemos.class); in makeDefaultIntent()
178 intents[2].putExtra("com.example.android.apis.Path", "App/Notification"); in makeDefaultIntent()
181 intents[3] = new Intent(this, StatusBarNotifications.class); in makeDefaultIntent()
188 intents, PendingIntent.FLAG_UPDATE_CURRENT); in makeDefaultIntent()
DIntents.java33 setContentView(R.layout.intents); in onCreate()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DBaseActivity.java250 ArrayList<Intent> intents = intent.getParcelableArrayListExtra(EXTRA_LAUNCH_FORWARD); in prepareLaunchForward() local
251 if (!intents.isEmpty()) { in prepareLaunchForward()
252 nextIntent = intents.remove(0); in prepareLaunchForward()
253 nextIntent.putParcelableArrayListExtra(EXTRA_LAUNCH_FORWARD, intents); in prepareLaunchForward()