Home
last modified time | relevance | path

Searched refs:ActivityOptions (Results 1 – 25 of 107) sorted by relevance

12345

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityOptionsCompat.java23 import android.app.ActivityOptions;
37 public static ActivityOptions makeSplitScreenOptions(boolean dockTopLeft) { in makeSplitScreenOptions()
44 public static ActivityOptions makeSplitScreenOptions(boolean dockTopLeft, boolean isPrimary) { in makeSplitScreenOptions()
45 final ActivityOptions options = ActivityOptions.makeBasic(); in makeSplitScreenOptions()
55 public static ActivityOptions makeFreeformOptions() { in makeFreeformOptions()
56 final ActivityOptions options = ActivityOptions.makeBasic(); in makeFreeformOptions()
61 public static ActivityOptions makeRemoteAnimation( in makeRemoteAnimation()
63 return ActivityOptions.makeRemoteAnimation(remoteAnimationAdapter.getWrapped(), in makeRemoteAnimation()
71 public static ActivityOptions makeRemoteTransition(RemoteTransitionCompat remoteTransition) { in makeRemoteTransition()
72 return ActivityOptions.makeRemoteTransition(remoteTransition.getTransition()); in makeRemoteTransition()
[all …]
/frameworks/base/core/java/android/app/
DActivityOptions.java71 public class ActivityOptions { class
442 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
467 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
469 ActivityOptions opts = new ActivityOptions(); in makeCustomAnimation()
500 public static @NonNull ActivityOptions makeCustomAnimation(@NonNull Context context, in makeCustomAnimation()
504 ActivityOptions opts = makeCustomAnimation(context, enterResId, exitResId, handler, in makeCustomAnimation()
534 public static @NonNull ActivityOptions makeCustomTaskAnimation(@NonNull Context context, in makeCustomTaskAnimation()
538 ActivityOptions opts = makeCustomAnimation(context, enterResId, exitResId, handler, in makeCustomTaskAnimation()
556 public static ActivityOptions makeCustomInPlaceAnimation(Context context, int animId) { in makeCustomInPlaceAnimation()
561 ActivityOptions opts = new ActivityOptions(); in makeCustomInPlaceAnimation()
[all …]
DActivityTransitionState.java86 private ActivityOptions mEnterActivityOptions;
165 public void setEnterActivityOptions(Activity activity, ActivityOptions options) { in setEnterActivityOptions()
175 && options.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) { in setEnterActivityOptions()
382 ActivityOptions activityOptions = new ActivityOptions(options); in startExitOutTransition()
383 if (activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) { in startExitOutTransition()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSafeActivityOptionsTest.java21 import android.app.ActivityOptions;
38 final ActivityOptions opts1 = ActivityOptions.makeBasic(); in testMerge()
40 final ActivityOptions opts2 = ActivityOptions.makeBasic(); in testMerge()
43 final ActivityOptions result = options.mergeActivityOptions(opts1, opts2); in testMerge()
DTaskLaunchParamsModifierTests.java50 import android.app.ActivityOptions;
167 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayIdIfSet()
187 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaTokenIfSet()
466 ActivityOptions options = ActivityOptions.makeBasic(); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayArea()
494 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea()
529 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp()
547 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
561 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformWithResizeableActivity()
593 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeInOptions()
610 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
[all …]
DActivityOptionsTest.java33 import android.app.ActivityOptions;
64 ActivityOptions opts = ActivityOptions.makeBasic(); in testMerge_NoClobber()
77 optsBundle.putAll(ActivityOptions.makeBasic().toBundle()); in testMerge_NoClobber()
80 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber()
96 final ActivityOptions options = ActivityOptions.makeBasic(); in testTransferLaunchCookie()
DPendingRemoteAnimationRegistryTest.java23 import android.app.ActivityOptions;
69 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideActivityOptions()
77 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testOverrideActivityOptions_null()
98 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testTimeout_overridenEntry()
DActivityStarterTests.java69 import android.app.ActivityOptions;
287 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in verifyStartActivityPreconditionsUntracked()
404 final ActivityOptions options = ActivityOptions.makeBasic(); in testCreateTaskLayout()
732 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in runAndVerifyBackgroundActivityStartsSubtest()
815 final ActivityOptions options = ActivityOptions.makeBasic() in testDeliverIntentToTopActivityOfNonTopDisplay()
860 final ActivityOptions options = ActivityOptions.makeBasic() in testBringTaskToFrontOnSecondaryDisplay()
950 final ActivityOptions options = ActivityOptions.makeBasic() in testReparentTopFocusedActivityToSecondaryDisplay()
972 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOption()
994 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
1070 final ActivityOptions options = ActivityOptions.makeBasic(); in testTargetStackInSplitScreen()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java34 import android.app.ActivityOptions;
64 private final @Nullable ActivityOptions mOriginalOptions;
65 private @Nullable ActivityOptions mCallerOptions;
76 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions)) in fromBundle()
87 public SafeActivityOptions(@Nullable ActivityOptions options) { in SafeActivityOptions()
98 public void setCallerOptions(@Nullable ActivityOptions options) { in setCallerOptions()
109 ActivityOptions getOptions(ActivityRecord r) throws SecurityException { in getOptions()
117 ActivityOptions getOptions(ActivityTaskSupervisor supervisor) throws SecurityException { in getOptions()
128 ActivityOptions getOptions(@Nullable Intent intent, @Nullable ActivityInfo aInfo, in getOptions()
146 private void setCallingPidUidForRemoteAnimationAdapter(ActivityOptions options, in setCallingPidUidForRemoteAnimationAdapter()
[all …]
DPendingRemoteAnimationRegistry.java20 import android.app.ActivityOptions;
54 ActivityOptions overrideOptionsIfNeeded(String callingPackage, in overrideOptionsIfNeeded()
55 @Nullable ActivityOptions options) { in overrideOptionsIfNeeded()
61 options = ActivityOptions.makeRemoteAnimation(entry.adapter); in overrideOptionsIfNeeded()
DActivityStartInterceptor.java20 import static android.app.ActivityOptions.ANIM_OPEN_CROSS_PROFILE_APPS;
38 import android.app.ActivityOptions;
104 ActivityOptions mActivityOptions;
151 Task inTask, int callingPid, int callingUid, ActivityOptions activityOptions) { in intercept()
198 return ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle(); in deferCrossProfileAppsAnimationIfNecessary()
266 ? ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle() in interceptSuspendedPackageIfNeeded()
316 mActivityOptions = ActivityOptions.makeBasic(); in interceptLockedManagedProfileIfNeeded()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DRecentsTransition.java18 import android.app.ActivityOptions;
19 import android.app.ActivityOptions.OnAnimationStartedListener;
41 public static ActivityOptions createAspectScaleAnimation(Context context, Handler handler, in createAspectScaleAnimation()
61 final ActivityOptions opts = ActivityOptions.makeMultiThumbFutureAspectScaleAnimation( in createAspectScaleAnimation()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DSeamlessRotationAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
27 launcherName: String = ActivityOptions.SEAMLESS_ACTIVITY_LAUNCHER_NAME,
28 component: ComponentName = ActivityOptions.SEAMLESS_ACTIVITY_COMPONENT_NAME,
DSimpleAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
27 launcherName: String = ActivityOptions.SIMPLE_ACTIVITY_LAUNCHER_NAME,
28 component: ComponentName = ActivityOptions.SIMPLE_ACTIVITY_AUTO_FOCUS_COMPONENT_NAME,
DImeAppAutoFocusHelper.kt22 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.IME_ACTIVITY_AUTO_FOCUS_LAUNCHER_NAME,
30 component: ComponentName = ActivityOptions.IME_ACTIVITY_AUTO_FOCUS_COMPONENT_NAME
DImeAppHelper.kt26 import com.android.server.wm.flicker.testapp.ActivityOptions
31 launcherName: String = ActivityOptions.IME_ACTIVITY_LAUNCHER_NAME,
32 component: ComponentName = ActivityOptions.IME_ACTIVITY_COMPONENT_NAME,
/frameworks/base/core/java/android/app/servertransaction/
DStartActivityItem.java23 import android.app.ActivityOptions;
37 private ActivityOptions mActivityOptions;
58 public static StartActivityItem obtain(ActivityOptions activityOptions) { in obtain()
86 mActivityOptions = ActivityOptions.fromBundle(in.readBundle()); in StartActivityItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java24 import android.app.ActivityOptions;
159 final ActivityOptions options = ActivityOptions.makeBasic(); in showConfirmCredentialActivity()
172 final ActivityOptions launchOptions = ActivityOptions.makeBasic(); in showConfirmCredentialActivity()
DWorkLockActivityController.java20 import android.app.ActivityOptions;
69 final ActivityOptions options = ActivityOptions.makeBasic(); in startWorkChallengeInTask()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransitionDetails.java18 import android.app.ActivityOptions;
59 ActivityOptions activityOptions = ActivityOptions.makeSceneTransitionAnimation( in clicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSmartActionsReceiver.java24 import android.app.ActivityOptions;
54 ActivityOptions opts = ActivityOptions.makeBasic(); in onReceive()
DActionProxyReceiver.java29 import android.app.ActivityOptions;
71 ActivityOptions opts = ActivityOptions.makeBasic(); in onReceive()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/
DSeamlessAppRotationTest.kt29 import com.android.server.wm.flicker.testapp.ActivityOptions
57 ActivityOptions.EXTRA_STARVE_UI_THREAD to it.starveUiThread.toString()) in <lambda>()
103 get() = this.getOrDefault(ActivityOptions.EXTRA_STARVE_UI_THREAD, false) as Boolean
109 config[ActivityOptions.EXTRA_STARVE_UI_THREAD] = starveUiThread in FlickerTestParameter()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DTrackTimeReceiver.java19 import android.app.ActivityOptions;
30 data.getLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT); in onReceive()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java22 import android.app.ActivityOptions;
79 ActivityOptions o = ActivityOptions.makeBasic(); in makeLaunchOptions()

12345