Home
last modified time | relevance | path

Searched refs:FLAG_ACTIVITY_NEW_TASK (Results 1 – 25 of 95) 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/tests/Assist/src/com/android/test/assist/
DAssistInteractionService.java27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onLaunchVoiceAssistFromKeyguard()
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java125 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
177 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onKeyDown()
269 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startCallActivity()
/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/test-runner/src/android/test/
DLaunchPerformanceBase.java39 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in LaunchPerformanceBase()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSchedulerService.java38 .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/LockTaskTests/src/com/google/android/example/locktasktests/
DMainActivity.java72 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onButtonPressed()
/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/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/base/services/core/java/com/android/server/am/
DActivityStackSupervisor.java25 import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
1506 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) == 0 in startActivityLocked()
1875 if (r.resultTo != null && (launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0 in startActivityUncheckedLocked()
1890 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
1895 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) { in startActivityUncheckedLocked()
1966 final int flagsOfInterest = Intent.FLAG_ACTIVITY_NEW_TASK in startActivityUncheckedLocked()
1978 } else if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) { in startActivityUncheckedLocked()
1994 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_TASK) == 0 && inTask == null) { in startActivityUncheckedLocked()
1997 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
2003 launchFlags |= Intent.FLAG_ACTIVITY_NEW_TASK; in startActivityUncheckedLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java89 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onClick()
/frameworks/base/core/java/android/test/
DAndroidTestCase.java95 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in assertActivityRequiresPermission()
/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/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()
588 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in createIntent()
/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/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/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java136 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in runLaunchpad()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DEmergencyButton.java45 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java58 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java120 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in connect()

1234