Home
last modified time | relevance | path

Searched refs:activityOptions (Results 1 – 10 of 10) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DScreenRecordingCallbackTests.java134 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in startCallbackActivityWithLaunchCookie() local
135 activityOptions.setLaunchCookie(launchCookie); in startCallbackActivityWithLaunchCookie()
139 activityOptions.toBundle())); in startCallbackActivityWithLaunchCookie()
157 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in startExternalActivity() local
159 activityOptions.setLaunchCookie(launchCookie); in startExternalActivity()
161 mContext.startActivity(intent, activityOptions.toBundle()); in startExternalActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityTests.java250 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testFinishAffinity_differentAffinity() local
251 activityOptions.setLaunchTaskDisplayAreaFeatureId(firstActivityTDAFeatureId); in testFinishAffinity_differentAffinity()
253 .setOptions(activityOptions) in testFinishAffinity_differentAffinity()
274 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testFinishAffinity_multiTask() local
275 activityOptions.setLaunchTaskDisplayAreaFeatureId(firstActivityTDAFeatureId); in testFinishAffinity_multiTask()
279 .setOptions(activityOptions) in testFinishAffinity_multiTask()
DActivityLifecycleTests.java185 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testTranslucentMovedIntoStack() local
186 activityOptions.setLaunchTaskDisplayAreaFeatureId(translucentActivityTDAFeatureId); in testTranslucentMovedIntoStack()
189 .setOptions(activityOptions) in testTranslucentMovedIntoStack()
735 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testRestoreFromKill() local
736 activityOptions.setLaunchTaskDisplayAreaFeatureId(targetActivityTDAFeatureId); in testRestoreFromKill()
740 .setOptions(activityOptions) in testRestoreFromKill()
775 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testLocalRecreate() local
776 activityOptions.setLaunchTaskDisplayAreaFeatureId(recreatingActivityTDAFeatureId); in testLocalRecreate()
780 .setOptions(activityOptions) in testLocalRecreate()
839 ActivityOptions activityOptions = getLaunchOptionsForFullscreen(); in testOnNewIntentFromHidden() local
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java285 final ActivityOptions activityOptions = ActivityOptions.makeCustomAnimation(mContext, in testAnimationBackgroundColorIsUsedDuringActivityTransition() local
290 .setActivityOptions(activityOptions) in testAnimationBackgroundColorIsUsedDuringActivityTransition()
307 final ActivityOptions activityOptions = ActivityOptions.makeCustomAnimation(mContext, in testCustomTransitionCanOverrideBackgroundColor() local
313 .setActivityOptions(activityOptions) in testCustomTransitionCanOverrideBackgroundColor()
532 public TestBuilder setActivityOptions(ActivityOptions activityOptions) { in setActivityOptions() argument
533 this.mActivityOptions = activityOptions; in setActivityOptions()
856 public void startActivity(ActivityOptions activityOptions, Class<?> klass) { in startActivity() argument
857 startActivity(activityOptions, klass, new Bundle()); in startActivity()
860 public void startActivity(ActivityOptions activityOptions, Class<?> klass, in startActivity() argument
864 startActivity(i, activityOptions != null ? activityOptions.toBundle() : null); in startActivity()
/cts/tests/tests/transition/src/android/transition/cts/
DActivityTransitionTest.java115 ActivityOptions activityOptions = in testMakeBasic() local
117 mActivity.startActivity(intent, activityOptions.toBundle()); in testMakeBasic()
322 ActivityOptions activityOptions = in testAnimationQuery() local
324 mActivity.startActivity(intent, activityOptions.toBundle()); in testAnimationQuery()
356 ActivityOptions activityOptions = in testTwiceForwardTwiceBack() local
358 mActivity.startActivity(intent, activityOptions.toBundle()); in testTwiceForwardTwiceBack()
375 ActivityOptions activityOptions = in testTwiceForwardTwiceBack() local
377 targetActivity.startActivity(intent, activityOptions.toBundle()); in testTwiceForwardTwiceBack()
/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java828 ActivityOptions activityOptions) { in startSubActivity() argument
832 mScreenOnActivity = launchActivity(STUB_PACKAGE_NAME, activityClass, activityOptions); in startSubActivity()
838 ActivityOptions activityOptions) { in launchActivity() argument
840 return launchActivityWithIntent(pkg, activityCls, intent, activityOptions); in launchActivity()
847 ActivityOptions activityOptions) { in launchActivityWithIntent() argument
851 intent, activityOptions == null ? null : activityOptions.toBundle()); in launchActivityWithIntent()
DActivityManagerTest.java381 ActivityOptions activityOptions) {
385 launchActivity(STUB_PACKAGE_NAME, activityClass, activityOptions);
392 ActivityOptions activityOptions) {
394 return launchActivityWithIntent(pkg, activityCls, intent, activityOptions);
401 ActivityOptions activityOptions) {
405 intent, activityOptions == null ? null : activityOptions.toBundle());
DActivityManagerProcessStateTest.java307 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in startActivity() local
308 activityOptions.setLaunchWindowingMode(WINDOWING_MODE_FULLSCREEN); in startActivity()
309 context.startActivity(intent, activityOptions.toBundle()); in startActivity()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java275 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in createActivityScenarioWithLaunchCookie() local
276 activityOptions.setLaunchCookie(launchCookie); in createActivityScenarioWithLaunchCookie()
277 return activityOptions.toBundle(); in createActivityScenarioWithLaunchCookie()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java506 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in launchTestActivityOnDisplay() local
507 activityOptions.setLaunchDisplayId(displayId); in launchTestActivityOnDisplay()
510 .startActivitySync(intent, activityOptions.toBundle()), in launchTestActivityOnDisplay()