Lines Matching refs:new

13         <li><a href="#flag-new-doc">Using the Intent flag to add a task</a></li>
65 attributes you can choose between always opening the document in a new task or reusing an
68 <h3 id="flag-new-doc">Using the Intent flag to add a task</h3>
70 <p>When you create a new document for your activity, you call the
73 launches the activity. To insert a logical break so that the system treats your activity as a new
83 the new document, the system always creates a new task with the target activity as the root.
100 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class);
117 <p>When the main activity launches a new activity, the system searches through existing tasks for
120 flag, a new task will be created with the activity as its root. If it finds one, it brings that task
121 to the front and passes the new intent to {@link android.app.Activity#onNewIntent onNewIntent()}.
122 The new activity gets the intent and creates a new document in the overview screen, as in the
143 is reused to create a new document.
152 <p>An activity can also specify in its manifest that it always launches into a new task by using
163 <a href="#flag-new-doc">Using the Intent flag to add a task</a>, above.</dd>
166 …<dd>The activity creates a new task for the document, even if the document is already opened. Using
171 <dd>The activity does not create a new task for the document. The overview screen treats the
176 <dd>The activity does not create a new task for the document. Setting this value overrides the
208 <p>In the activity that creates a new task in the overview screen, you can
236 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class);