Home
last modified time | relevance | path

Searched refs:ActivityOptions (Results 1 – 25 of 80) 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;
281 public void startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
293 public void startActivityFromRecentsAsync(final Task.TaskKey taskKey, ActivityOptions options, in startActivityFromRecentsAsync()
300 options = ActivityOptions.makeBasic(); in startActivityFromRecentsAsync()
306 options = ActivityOptions.makeBasic(); in startActivityFromRecentsAsync()
311 final ActivityOptions finalOptions = options; in startActivityFromRecentsAsync()
334 public boolean startActivityFromRecents(int taskId, ActivityOptions options) { in startActivityFromRecents()
/frameworks/base/core/java/android/app/
DActivityOptions.java62 public class ActivityOptions { class
353 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
378 public static ActivityOptions makeCustomAnimation(Context context, in makeCustomAnimation()
380 ActivityOptions opts = new ActivityOptions(); in makeCustomAnimation()
401 public static ActivityOptions makeCustomInPlaceAnimation(Context context, int animId) { in makeCustomInPlaceAnimation()
406 ActivityOptions opts = new ActivityOptions(); in makeCustomInPlaceAnimation()
483 public static ActivityOptions makeScaleUpAnimation(View source, in makeScaleUpAnimation()
485 ActivityOptions opts = new ActivityOptions(); in makeScaleUpAnimation()
511 public static ActivityOptions makeClipRevealAnimation(View source, in makeClipRevealAnimation()
513 ActivityOptions opts = new ActivityOptions(); in makeClipRevealAnimation()
[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()
377 ActivityOptions activityOptions = new ActivityOptions(options); in startExitOutTransition()
378 if (activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) { in startExitOutTransition()
DActivityView.java222 final ActivityOptions options = prepareActivityOptions(); in startActivity()
244 final ActivityOptions options = prepareActivityOptions(); in startActivity()
264 final ActivityOptions options = prepareActivityOptions(); in startActivity()
291 @NonNull ActivityOptions options) { in startActivity()
306 private ActivityOptions prepareActivityOptions() { in prepareActivityOptions()
311 final ActivityOptions options = ActivityOptions.makeBasic(); in prepareActivityOptions()
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java29 import android.app.ActivityOptions;
55 private final @Nullable ActivityOptions mOriginalOptions;
56 private @Nullable ActivityOptions mCallerOptions;
67 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions)) in fromBundle()
78 public SafeActivityOptions(@Nullable ActivityOptions options) { in SafeActivityOptions()
89 public void setCallerOptions(@Nullable ActivityOptions options) { in setCallerOptions()
100 ActivityOptions getOptions(ActivityRecord r) throws SecurityException { in getOptions()
108 ActivityOptions getOptions(ActivityStackSupervisor supervisor) throws SecurityException { in getOptions()
119 ActivityOptions getOptions(@Nullable Intent intent, @Nullable ActivityInfo aInfo, in getOptions()
137 private void setCallingPidUidForRemoteAnimationAdapter(ActivityOptions options, in setCallingPidUidForRemoteAnimationAdapter()
[all …]
DPendingRemoteAnimationRegistry.java20 import android.app.ActivityOptions;
56 ActivityOptions overrideOptionsIfNeeded(String callingPackage, in overrideOptionsIfNeeded()
57 @Nullable ActivityOptions options) { in overrideOptionsIfNeeded()
63 options = ActivityOptions.makeRemoteAnimation(entry.adapter); in overrideOptionsIfNeeded()
DActivityStartInterceptor.java20 import static android.app.ActivityOptions.ANIM_OPEN_CROSS_PROFILE_APPS;
37 import android.app.ActivityOptions;
101 ActivityOptions mActivityOptions;
147 TaskRecord inTask, int callingPid, int callingUid, ActivityOptions activityOptions) { in intercept()
187 return ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle(); in deferCrossProfileAppsAnimationIfNecessary()
280 mActivityOptions = ActivityOptions.makeBasic(); in interceptWorkProfileChallengeIfNeeded()
DLaunchParamsController.java29 import android.app.ActivityOptions;
78 ActivityRecord source, ActivityOptions options, int phase, LaunchParams result) { in calculate()
128 ActivityRecord source, ActivityOptions options) { in layoutTask()
308 ActivityRecord source, ActivityOptions options, @Phase int phase, in onCalculate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java38 import android.app.ActivityOptions;
160 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayIdIfSet()
225 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
239 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformWithResizeableActivity()
256 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeInOptions()
273 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
288 final ActivityOptions options = ActivityOptions.makeBasic(); in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay()
384 final ActivityOptions options = ActivityOptions.makeBasic(); in testForceMaximizesPreDApp()
406 final ActivityOptions options = ActivityOptions.makeBasic(); in testForceMaximizesAppWithoutMultipleDensitySupport()
428 final ActivityOptions options = ActivityOptions.makeBasic(); in testForceMaximizesUnresizeableApp()
[all …]
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()
DActivityOptionsTest.java27 import android.app.ActivityOptions;
46 ActivityOptions opts = ActivityOptions.makeBasic(); in testMerge_NoClobber()
59 optsBundle.putAll(ActivityOptions.makeBasic().toBundle()); in testMerge_NoClobber()
62 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber()
DPendingRemoteAnimationRegistryTest.java23 import android.app.ActivityOptions;
63 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideActivityOptions()
71 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testOverrideActivityOptions_null()
93 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testTimeout_overridenEntry()
DActivityStarterTests.java62 import android.app.ActivityOptions;
297 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in verifyStartActivityPreconditions()
398 final ActivityOptions options = ActivityOptions.makeBasic(); in testCreateTaskLayout()
678 final ActivityOptions options = spy(ActivityOptions.makeBasic()); in runAndVerifyBackgroundActivityStartsSubtest()
747 final ActivityOptions options = ActivityOptions.makeBasic() in testDeliverIntentToTopActivityOfNonTopDisplay()
785 final ActivityOptions options = ActivityOptions.makeBasic() in testBringTaskToFrontOnSecondaryDisplay()
835 final ActivityOptions options = ActivityOptions.makeBasic() in testReparentTopFocusedActivityToSecondaryDisplay()
857 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOption()
879 final ActivityOptions options = ActivityOptions.makeBasic(); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
DLaunchParamsControllerTests.java42 import android.app.ActivityOptions;
90 final ActivityOptions options = mock(ActivityOptions.class); in testArgumentPropagation()
264 final ActivityOptions options = mock(ActivityOptions.class); in testCalculatePhase()
373 ActivityRecord source, ActivityOptions options, int phase, in onCalculate()
/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/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImpl.java26 import android.app.ActivityOptions;
102 public class RecentsImpl implements ActivityOptions.OnAnimationFinishedListener {
577 ActivityOptions launchOpts = null;
583 launchOpts = ActivityOptions.makeCustomAnimation(mContext,
589 launchOpts = ActivityOptions.makeCustomAnimation(mContext,
599 ActivityOptions.makeCustomInPlaceAnimation(mContext,
633 ActivityOptions launchOpts = null; in showRelativeAffiliatedTask()
641 launchOpts = ActivityOptions.makeCustomAnimation(mContext, in showRelativeAffiliatedTask()
648 launchOpts = ActivityOptions.makeCustomAnimation(mContext, in showRelativeAffiliatedTask()
661 ActivityOptions.makeCustomInPlaceAnimation(mContext, in showRelativeAffiliatedTask()
[all …]
/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/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivityController.java20 import android.app.ActivityOptions;
69 final ActivityOptions options = ActivityOptions.makeBasic(); in startWorkChallengeInTask()
DWorkLockActivity.java24 import android.app.ActivityOptions;
143 final ActivityOptions options = ActivityOptions.makeBasic(); in showConfirmCredentialActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java22 import android.app.ActivityOptions;
137 ActivityOptions options = ActivityOptions.makeBasic(); in showPending()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java29 import android.app.ActivityOptions;
162 final ActivityOptions options = ActivityOptions.fromBundle(item);

1234