Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVITY_NEW_TASK (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/support/v4/java/android/support/v4/app/
DTaskStackBuilder.java85 topIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getPendingIntent()
93 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getPendingIntent()
104 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getPendingIntent()
322 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in startActivities()
327 topIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startActivities()
367 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getPendingIntent()
385 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getIntents()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneFallbackEventHandler.java123 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
165 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
248 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startCallActivity()
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
/frameworks/base/test-runner/src/android/test/
DLaunchPerformanceBase.java39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
/frameworks/base/docs/html/training/notify-user/
Dnavigation.jd143 {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK FLAG_ACTIVITY_NEW_TASK} flag
180 {@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK FLAG_ACTIVITY_NEW_TASK}
205 notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardActivityLauncher.java148 Intent.FLAG_ACTIVITY_NEW_TASK in launchWidgetPicker()
186 Intent.FLAG_ACTIVITY_NEW_TASK in launchActivityWithAnimation()
244 Intent.FLAG_ACTIVITY_NEW_TASK, in startActivityForCurrentUser()
DEmergencyButton.java102 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in takeEmergencyCallAction()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java37 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK), 0)); in onStartCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java43 | Intent.FLAG_ACTIVITY_NEW_TASK); in onStart()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchTest.java53 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUp()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java45 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testPageLoadStaticNYTimes()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java63 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testBackEffectsVideoCapture()
/frameworks/support/v4/java/android/support/v4/content/
DIntentCompat.java59 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in makeRestartActivityTask()
/frameworks/webview/chromium/tests/UbWebViewJankTests/src/com/android/webview/chromium/tests/jank/
DWebViewFlingTest.java81 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUp()
/frameworks/base/docs/html-intl/intl/ja/guide/topics/
Dfundamentals.jd329 <p style="margin-left: 2em">{@code FLAG_ACTIVITY_NEW_TASK} <br/>{@code FLAG_ACTIVITY_CLEAR_TOP} <br…
344 …うことです。親和性が作用する状況は 2 つあります。1 つはアクティビティを起動する Intent オブジェクトに {@code FLAG_ACTIVITY_NEW_TASK} フラグが含まれてい…
348 <dt><code>{@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK}</code> フラグ</dt>
349 …るということです。しかし、{@code startActivity()} に渡された Intent オブジェクトに {@code FLAG_ACTIVITY_NEW_TASK} フラグが含まれてい…
375 …スクに保持されます。ただし、Intent オブジェクトに <code>{@link android.content.Intent#FLAG_ACTIVITY_NEW_TASK}</code> フラ…
388 …作します。ここから別のアクティビティを開始した場合、そのアクティビティは起動モードに関係なく、あたかもインテントに {@code FLAG_ACTIVITY_NEW_TASK} フラグが含まれてい…
454 {@code FLAG_ACTIVITY_CLEAR_TOP} は、ほとんどの場合 {@code FLAG_ACTIVITY_NEW_TASK} と組み合わせて使用します。これらのフラグを組み合わせ…
469FLAG_ACTIVITY_NEW_TASK} フラグにも、これと同じような難しさがあります。このフラグを指定したアクティビティでは、新しいタスクを開始した後にユーザーが [ホーム] キーを押して…
/frameworks/base/core/java/android/test/
DAndroidTestCase.java95 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in assertActivityRequiresPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java89 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onClick()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java60 mHomeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in ProcessErrorsTest()
258 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in intentForActivity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java20 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
1392 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) == 0 in startActivityLocked()
1646 if (r.resultTo != null && (launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) { in startActivityUncheckedLocked()
1660 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
1665 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) { in startActivityUncheckedLocked()
1735 final int flagsOfInterest = Intent.FLAG_ACTIVITY_NEW_TASK in startActivityUncheckedLocked()
1747 } else if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) { in startActivityUncheckedLocked()
1763 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) == 0 && inTask == null) { in startActivityUncheckedLocked()
1766 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
1772 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java129 mVoiceWebSearchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in SearchDialog()
134 mVoiceAppSearchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in SearchDialog()
590 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createIntent()
DTaskStackBuilder.java304 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in getIntents()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java169 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in createMappings()
204 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java191 startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in createMappings()
273 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java136 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runLaunchpad()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java155 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchActivity()

1234