Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVITY_MULTIPLE_TASK (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DLaunchNewTaskActivity.java19 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
40 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK); in onCreate()
DSplitScreenActivity.java43 | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in onPostCreate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleTaskViewHelper.java20 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
112 fillInIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK);
123 .addFlags(FLAG_ACTIVITY_MULTIPLE_TASK),
DBubbleExpandedView.java21 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
234 fillInIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK);
245 .addFlags(FLAG_ACTIVITY_MULTIPLE_TASK),
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityLeakTests.java19 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
102 FLAG_ACTIVITY_MULTIPLE_TASK | FLAG_ACTIVITY_NEW_DOCUMENT, intentExtras); in testActivityLeakForTwoInstances()
DRecentTasksTest.java28 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
272 FLAG_ACTIVITY_MULTIPLE_TASK); in testAddMultipleDocumentTasks_expectNoTrim()
274 FLAG_ACTIVITY_MULTIPLE_TASK); in testAddMultipleDocumentTasks_expectNoTrim()
313 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
316 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddMultipleTasks_expectNotRemoved()
336 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
339 .setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK) in testAddTasksDifferentStacks_expectNoRemove()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DPanelTaskViewControllerTest.kt25 import android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK
124 .isEqualTo(FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_MULTIPLE_TASK) in testTaskViewOnInitializeStartsActivity()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java283 Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in setShareIntent()
306 Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in onMenuItemClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DPanelTaskViewController.kt51 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
DDetailDialog.kt78 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitScreenControllerTests.java23 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
222 assertEquals(FLAG_ACTIVITY_MULTIPLE_TASK, in startIntent_multiInstancesSupported_appendsMultipleTaskFag()
223 mIntentCaptor.getValue().getFlags() & FLAG_ACTIVITY_MULTIPLE_TASK); in startIntent_multiInstancesSupported_appendsMultipleTaskFag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt33 import android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK in <lambda>()
272 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
296 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
391 assertThat(intent.flags and FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
392 .isEqualTo(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
453 hasFlags(FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenController.java22 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
696 fillInIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startIntentAndTaskWithLegacyTransition()
761 fillInIntent1.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startIntentsWithLegacyTransition()
763 fillInIntent2.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startIntentsWithLegacyTransition()
798 fillInIntent1.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startIntents()
866 fillInIntent.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startIntent()
940 fillInIntent2.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in resolveWidgetFillinIntent()
945 fillInIntent2.addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in resolveWidgetFillinIntent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java32 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
309 | FLAG_ACTIVITY_MULTIPLE_TASK); in launchIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java36 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
1259 flags |= Intent.FLAG_ACTIVITY_MULTIPLE_TASK; in executeRequest()
2516 mLaunchFlags |= FLAG_ACTIVITY_MULTIPLE_TASK; in setInitialState()
2672 final int flagsOfInterest = FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK in computeLaunchingTaskFlags()
2753 (mLaunchFlags & FLAG_ACTIVITY_MULTIPLE_TASK) == 0) in resolveReusableTask()
3079 ~(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | FLAG_ACTIVITY_MULTIPLE_TASK); in adjustLaunchFlagsToDocumentMode()
3099 | FLAG_ACTIVITY_MULTIPLE_TASK); in adjustLaunchFlagsToDocumentMode()
3105 ~(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | FLAG_ACTIVITY_MULTIPLE_TASK); in adjustLaunchFlagsToDocumentMode()
3132 (flags & Intent.FLAG_ACTIVITY_MULTIPLE_TASK) == 0; in isDocumentLaunchesIntoExisting()
DRecentTasks.java31 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
1639 && (flags & FLAG_ACTIVITY_MULTIPLE_TASK) != 0) { in findRemoveIndexForAddTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt419 addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in createNoteTaskIntent()
/frameworks/base/core/java/android/app/
DActivityOptions.java23 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
1876 (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK | FLAG_RECEIVER_FOREGROUND); in getPendingIntentLaunchFlags()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java428 | Intent.FLAG_ACTIVITY_MULTIPLE_TASK in onCreateOptionsMenu()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java725 | Intent.FLAG_ACTIVITY_MULTIPLE_TASK in requestStartTargetPermissionsReviewIfNeededLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java30 import static android.content.Intent.FLAG_ACTIVITY_MULTIPLE_TASK;
1536 intents[0].addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startShortcutInner()
1539 intents[0].addFlags(FLAG_ACTIVITY_MULTIPLE_TASK); in startShortcutInner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java398 | Intent.FLAG_ACTIVITY_MULTIPLE_TASK in settings()
/frameworks/base/core/java/android/content/
DIntent.java7016 FLAG_ACTIVITY_MULTIPLE_TASK,
7064 FLAG_ACTIVITY_MULTIPLE_TASK,
7279 public static final int FLAG_ACTIVITY_MULTIPLE_TASK = 0x08000000; field in Intent
8824 intent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in parseCommandArgs()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java376 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); in startVoiceActivityLocked()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopTasksController.kt1379 Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_MULTIPLE_TASK in <lambda>()

12