OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newDocumentIntent
(Results
1 - 8
of
8
) sorted by null
/developers/build/prebuilts/gradle/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/
RelinquishIdentityActivity.java
44
final Intent intent =
newDocumentIntent
();
52
private Intent
newDocumentIntent
() {
53
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
54
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
56
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
57
return
newDocumentIntent
;
/developers/samples/android/ui/activitytasks/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/
RelinquishIdentityActivity.java
44
final Intent intent =
newDocumentIntent
();
52
private Intent
newDocumentIntent
() {
53
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
54
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
56
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
57
return
newDocumentIntent
;
/development/samples/browseable/DocumentCentricRelinquishIdentity/src/com.example.android.documentcentricrelinquishidentity/
RelinquishIdentityActivity.java
44
final Intent intent =
newDocumentIntent
();
52
private Intent
newDocumentIntent
() {
53
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
54
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
56
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
57
return
newDocumentIntent
;
/developers/build/prebuilts/gradle/DocumentCentricApps/Application/src/main/java/com/example/android/documentcentricapps/
DocumentCentricActivity.java
83
final Intent
newDocumentIntent
=
newDocumentIntent
();
90
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
92
startActivity(
newDocumentIntent
);
107
private Intent
newDocumentIntent
() {
108
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
109
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
110
newDocumentIntent
.putExtra(KEY_EXTRA_NEW_DOCUMENT_COUNTER, incrementAndGet());
111
return
newDocumentIntent
;
/developers/samples/android/ui/activitytasks/DocumentCentricApps/Application/src/main/java/com/example/android/documentcentricapps/
DocumentCentricActivity.java
83
final Intent
newDocumentIntent
=
newDocumentIntent
();
90
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
92
startActivity(
newDocumentIntent
);
107
private Intent
newDocumentIntent
() {
108
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
109
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
110
newDocumentIntent
.putExtra(KEY_EXTRA_NEW_DOCUMENT_COUNTER, incrementAndGet());
111
return
newDocumentIntent
;
/development/samples/browseable/DocumentCentricApps/src/com.example.android.documentcentricapps/
DocumentCentricActivity.java
83
final Intent
newDocumentIntent
=
newDocumentIntent
();
90
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
92
startActivity(
newDocumentIntent
);
107
private Intent
newDocumentIntent
() {
108
final Intent
newDocumentIntent
= new Intent(this, NewDocumentActivity.class);
109
newDocumentIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
110
newDocumentIntent
.putExtra(KEY_EXTRA_NEW_DOCUMENT_COUNTER, incrementAndGet());
111
return
newDocumentIntent
;
/developers/build/prebuilts/gradle/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java
59
final Intent
newDocumentIntent
= getStartedActivityIntent();
60
assertNotNull("
newDocumentIntent
is null",
newDocumentIntent
);
62
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
80
final Intent
newDocumentIntent
= getStartedActivityIntent();
81
assertNotNull("
newDocumentIntent
is null",
newDocumentIntent
);
83
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
85
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
/developers/samples/android/ui/activitytasks/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java
59
final Intent
newDocumentIntent
= getStartedActivityIntent();
60
assertNotNull("
newDocumentIntent
is null",
newDocumentIntent
);
62
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
80
final Intent
newDocumentIntent
= getStartedActivityIntent();
81
assertNotNull("
newDocumentIntent
is null",
newDocumentIntent
);
83
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
85
newDocumentIntent
.getFlags() & Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
Completed in 112 milliseconds