Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityOptionsCompat.java25 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()
58 public static ActivityOptions makeFreeformOptions() { in makeFreeformOptions()
59 final ActivityOptions options = ActivityOptions.makeBasic(); in makeFreeformOptions()
64 public static ActivityOptions makeRemoteAnimation( in makeRemoteAnimation()
66 return ActivityOptions.makeRemoteAnimation(remoteAnimationAdapter.getWrapped()); in makeRemoteAnimation()
69 public static ActivityOptions makeCustomAnimation(Context context, int enterResId, in makeCustomAnimation()
71 return ActivityOptions.makeCustomAnimation(context, enterResId, exitResId, callbackHandler, in makeCustomAnimation()
[all …]
DActivityManagerWrapper.java34 import android.app.ActivityOptions;
312 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
324 public void startActivityFromRecentsAsync(final Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
331 options = ActivityOptions.makeBasic(); in startActivityFromRecentsAsync()
337 options = ActivityOptions.makeBasic(); in startActivityFromRecentsAsync()
342 final ActivityOptions finalOptions = options; in startActivityFromRecentsAsync()
365 public boolean startActivityFromRecents(int taskId, ActivityOptions options) { in startActivityFromRecents()
/frameworks/base/core/java/android/app/
DActivityOptions.java64 public class ActivityOptions { class
390 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
415 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
417 ActivityOptions opts = new ActivityOptions(); in makeCustomAnimation()
448 public static @NonNull ActivityOptions makeCustomAnimation(@NonNull Context context, in makeCustomAnimation()
452 ActivityOptions opts = makeCustomAnimation(context, enterResId, exitResId, handler, in makeCustomAnimation()
470 public static ActivityOptions makeCustomInPlaceAnimation(Context context, int animId) { in makeCustomInPlaceAnimation()
475 ActivityOptions opts = new ActivityOptions(); in makeCustomInPlaceAnimation()
554 public static ActivityOptions makeScaleUpAnimation(View source, in makeScaleUpAnimation()
556 ActivityOptions opts = new ActivityOptions(); in makeScaleUpAnimation()
[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/core/java/com/android/server/wm/
DSafeActivityOptions.java30 import android.app.ActivityOptions;
57 private final @Nullable ActivityOptions mOriginalOptions;
58 private @Nullable ActivityOptions mCallerOptions;
69 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions)) in fromBundle()
80 public SafeActivityOptions(@Nullable ActivityOptions options) { in SafeActivityOptions()
91 public void setCallerOptions(@Nullable ActivityOptions options) { in setCallerOptions()
102 ActivityOptions getOptions(ActivityRecord r) throws SecurityException { in getOptions()
110 ActivityOptions getOptions(ActivityStackSupervisor supervisor) throws SecurityException { in getOptions()
121 ActivityOptions getOptions(@Nullable Intent intent, @Nullable ActivityInfo aInfo, in getOptions()
139 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()
DLaunchParamsController.java29 import android.app.ActivityOptions;
78 ActivityRecord source, ActivityOptions options, int phase, LaunchParams result) { in calculate()
130 ActivityRecord source, ActivityOptions options) { in layoutTask()
316 ActivityRecord source, ActivityOptions options, @Phase int phase, in onCalculate()
/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.java41 import android.app.ActivityOptions;
160 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayIdIfSet()
180 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaTokenIfSet()
270 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
284 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformWithResizeableActivity()
315 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeInOptions()
332 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
347 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay()
457 final ActivityOptions options = ActivityOptions.makeBasic(); in testForceMaximizesUnresizeableApp()
482 final ActivityOptions options = ActivityOptions.makeBasic(); in testLaunchesAppInWindowOnFreeformDisplay()
[all …]
DActivityOptionsTest.java27 import android.app.ActivityOptions;
46 ActivityOptions opts = ActivityOptions.makeBasic(); in testMerge_NoClobber()
60 optsBundle.putAll(ActivityOptions.makeBasic().toBundle()); in testMerge_NoClobber()
63 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber()
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.java67 import android.app.ActivityOptions;
286 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in verifyStartActivityPreconditionsUntracked()
390 final ActivityOptions options = ActivityOptions.makeBasic(); in testCreateTaskLayout()
675 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in runAndVerifyBackgroundActivityStartsSubtest()
755 final ActivityOptions options = ActivityOptions.makeBasic() in testDeliverIntentToTopActivityOfNonTopDisplay()
796 final ActivityOptions options = ActivityOptions.makeBasic() in testBringTaskToFrontOnSecondaryDisplay()
882 final ActivityOptions options = ActivityOptions.makeBasic() in testReparentTopFocusedActivityToSecondaryDisplay()
904 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOption()
926 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
1002 final ActivityOptions options = ActivityOptions.makeBasic(); in testTargetStackInSplitScreen()
/frameworks/base/core/java/android/window/
DTaskEmbedder.java24 import android.app.ActivityOptions;
356 final ActivityOptions options = prepareActivityOptions(null); in startActivity()
369 final ActivityOptions options = prepareActivityOptions(null); in startActivity()
381 final ActivityOptions options = prepareActivityOptions(null); in startActivity()
401 @NonNull ActivityOptions options) { in startActivity()
425 @NonNull ActivityOptions options, @Nullable Rect sourceBounds) { in startShortcutActivity()
437 protected ActivityOptions prepareActivityOptions(ActivityOptions options) { in prepareActivityOptions()
443 options = ActivityOptions.makeBasic(); in prepareActivityOptions()
DTaskOrganizerTaskEmbedder.java23 import android.app.ActivityOptions;
194 protected ActivityOptions prepareActivityOptions(ActivityOptions options) { in prepareActivityOptions()
/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/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()
DActivityTransition.java18 import android.app.ActivityOptions;
123 ActivityOptions activityOptions in clicked()
124 = ActivityOptions.makeSceneTransitionAnimation(this, mHero, "hero"); in clicked()
/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/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DCarNavigationButton.java19 import android.app.ActivityOptions;
252 ActivityOptions options = ActivityOptions.makeBasic(); in getButtonClickListener()
268 ActivityOptions options = ActivityOptions.makeBasic(); in getButtonLongClickListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java22 import android.app.ActivityOptions;
140 ActivityOptions options = ActivityOptions.makeBasic(); in showPending()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTaskView.java24 import android.app.ActivityOptions;
74 @NonNull ActivityOptions options, @Nullable Rect sourceBounds) { in startShortcutActivity()
79 @NonNull ActivityOptions options) { in startActivity()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java19 import android.app.ActivityOptions;
85 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime); in deliverResult()
90 extras.putBundle(ActivityOptions.EXTRA_USAGE_TIME_REPORT_PACKAGES, pkgs); in deliverResult()

1234