Home
last modified time | relevance | path

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

123456789

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/tv/
H A DTvPipMenuTests.kt22 import com.android.server.wm.flicker.testapp.ActivityOptions
185 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_NO_OP)
187 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_OFF)
189 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR)
194 uiDevice.clickTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_OFF)
197 uiDevice.waitForTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_ON)
203 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR)
208 uiDevice.clickTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_CLEAR)
240 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_NO_OP)
242 uiDevice.findTvPipMenuElementWithDescription(ActivityOptions.Pip.MENU_ACTION_OFF)
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DActivityOptions.java589 ActivityOptions opts = new ActivityOptions(); in makeCustomAnimation()
682 ActivityOptions opts = new ActivityOptions(); in makeCustomInPlaceAnimation()
769 ActivityOptions opts = new ActivityOptions(); in makeScaleUpAnimation()
797 ActivityOptions opts = new ActivityOptions(); in makeClipRevealAnimation()
870 ActivityOptions opts = new ActivityOptions(); in makeThumbnailAnimation()
891 ActivityOptions opts = new ActivityOptions(); in makeMultiThumbFutureAspectScaleAnimation()
930 ActivityOptions opts = new ActivityOptions(); in makeAspectScaledThumbnailAnimation()
950 ActivityOptions opts = new ActivityOptions(); in makeThumbnailAspectScaleDownAnimation()
1005 ActivityOptions opts = new ActivityOptions(); in makeSceneTransitionAnimation()
1029 ActivityOptions opts = new ActivityOptions(); in startSharedElementAnimation()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSafeActivityOptionsTest.java23 import android.app.ActivityOptions;
41 final ActivityOptions opts1 = ActivityOptions.makeBasic(); in testMerge()
43 final ActivityOptions opts2 = ActivityOptions.makeBasic(); in testMerge()
46 final ActivityOptions result = options.mergeActivityOptions(opts1, opts2); in testMerge()
56 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneDisplayOptions()
70 final SafeActivityOptions clone = new SafeActivityOptions(ActivityOptions.makeBasic() in test_selectiveCloneLunchRootTask()
H A DTaskLaunchParamsModifierTests.java170 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayIdIfSet()
190 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaTokenIfSet()
211 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaFeatureIdIfSet()
491 ActivityOptions options = ActivityOptions.makeBasic(); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaToken()
513 ActivityOptions options = ActivityOptions.makeBasic(); in testNotOverrideDisplayAreaWhenActivityOptionsHasDisplayAreaFeatureId()
538 ActivityOptions options = ActivityOptions.makeBasic(); in testUsesOptionsDisplayAreaFeatureIdDisplayIdNotSet()
565 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea()
600 final ActivityOptions options = ActivityOptions.makeBasic() in testRecalculateFreeformInitialBoundsWithOverrideDisplayArea_unresizableApp()
618 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
632 final ActivityOptions options = ActivityOptions.makeBasic(); in testBoundsInOptionsInfersFreeformWithResizeableActivity()
[all …]
H A DActivityOptionsTest.java33 import android.app.ActivityOptions;
66 ActivityOptions opts = ActivityOptions.makeBasic(); in testMerge_NoClobber()
79 optsBundle.putAll(ActivityOptions.makeBasic().toBundle()); in testMerge_NoClobber()
82 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber()
102 ActivityOptions opts = ActivityOptions.makeLaunchIntoPip(params); in testMakeLaunchIntoPip()
112 final ActivityOptions options = ActivityOptions.makeBasic(); in testTransferLaunchCookie()
H A DPendingRemoteAnimationRegistryTest.java23 import android.app.ActivityOptions;
71 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideActivityOptions()
79 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testOverrideActivityOptions_null()
87 ActivityOptions opts = ActivityOptions.makeBasic(); in testOverrideLaunchCookie()
109 final ActivityOptions opts = mRegistry.overrideOptionsIfNeeded("com.android.test", null); in testTimeout_overridenEntry()
H A DActivityInterceptorCallbackTest.java21 import android.app.ActivityOptions;
48 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in testBuildActivityInterceptorCallback()
81 ActivityOptions activityOptions = ActivityOptions.makeBasic(); in testActivityInterceptResult()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSafeActivityOptions.java38 import android.app.ActivityOptions;
69 private final @Nullable ActivityOptions mOriginalOptions;
70 private @Nullable ActivityOptions mCallerOptions;
104 public SafeActivityOptions(@Nullable ActivityOptions options) { in SafeActivityOptions()
142 private ActivityOptions cloneLaunchingOptions(ActivityOptions options) { in cloneLaunchingOptions()
225 ActivityOptions getOriginalOptions() { in getOriginalOptions()
238 ActivityOptions.abort(mOriginalOptions); in abort()
241 ActivityOptions.abort(mCallerOptions); in abort()
256 @Nullable ActivityOptions mergeActivityOptions(@Nullable ActivityOptions options1, in mergeActivityOptions()
257 @Nullable ActivityOptions options2) { in mergeActivityOptions()
[all …]
H A DActivityInterceptorCallback.java23 import android.app.ActivityOptions;
197 private final ActivityOptions mCheckedOptions;
241 private ActivityOptions mCheckedOptions = null;
307 public Builder setCheckedOptions(@Nullable ActivityOptions checkedOptions) { in setCheckedOptions()
388 public ActivityOptions getCheckedOptions() { in getCheckedOptions()
409 private final ActivityOptions mActivityOptions;
419 @NonNull ActivityOptions activityOptions) { in ActivityInterceptResult()
436 @NonNull ActivityOptions activityOptions, boolean activityResolved) { in ActivityInterceptResult()
451 public ActivityOptions getActivityOptions() { in getActivityOptions()
H A 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()
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
H A DActivityEmbeddingMainActivity.java67 ActivityOptions.ActivityEmbedding.TrampolineActivity.COMPONENT)); in launchTrampolineActivity()
76 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT)); in launchSecondaryActivity()
83 new ActivityFilter(ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT, in launchAlwaysExpandActivity()
93 ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT)); in launchAlwaysExpandActivity()
102 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT)); in launchPlaceholderSplit()
108 ActivityOptions.ActivityEmbedding.MainActivity.COMPONENT, in createSplitPairRules()
109 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT, in createSplitPairRules()
132 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT, in createSplitPlaceholderRules()
136 ActivityOptions.ActivityEmbedding.PlaceholderSecondaryActivity.COMPONENT); in createSplitPlaceholderRules()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCentralSurfaces.java22 import android.app.ActivityOptions;
114 ActivityOptions options = getDefaultActivityOptions(animationAdapter); in getActivityOptions()
136 ActivityOptions options = getDefaultActivityOptions(animationAdapter); in getActivityOptions()
137 options.setSourceInfo(isKeyguardShowing ? ActivityOptions.SourceInfo.TYPE_LOCKSCREEN in getActivityOptions()
138 : ActivityOptions.SourceInfo.TYPE_NOTIFICATION, eventTime); in getActivityOptions()
145 static ActivityOptions getDefaultActivityOptions( in getDefaultActivityOptions()
147 ActivityOptions options; in getDefaultActivityOptions()
150 options = ActivityOptions.makeRemoteTransition( in getDefaultActivityOptions()
155 options = ActivityOptions.makeRemoteAnimation(animationAdapter); in getDefaultActivityOptions()
158 options = ActivityOptions.makeBasic(); in getDefaultActivityOptions()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
H A DActivityEmbeddingAppHelper.kt32 import com.android.server.wm.flicker.testapp.ActivityOptions
39 launcherName: String = ActivityOptions.ActivityEmbedding.MainActivity.LABEL,
235 ActivityOptions.ActivityEmbedding.MainActivity.COMPONENT.toFlickerComponent()
238 ActivityOptions.ActivityEmbedding.SecondaryActivity.COMPONENT.toFlickerComponent()
241 ActivityOptions.ActivityEmbedding.ThirdActivity.COMPONENT.toFlickerComponent()
244 ActivityOptions.ActivityEmbedding.AlwaysExpandActivity.COMPONENT.toFlickerComponent()
247 ActivityOptions.ActivityEmbedding.PlaceholderPrimaryActivity.COMPONENT
251 ActivityOptions.ActivityEmbedding.PlaceholderSecondaryActivity.COMPONENT
255 ActivityOptions.ActivityEmbedding.TrampolineActivity.COMPONENT.toFlickerComponent()
H A DTwoActivitiesAppHelper.kt28 import com.android.server.wm.flicker.testapp.ActivityOptions
34 launcherName: String = ActivityOptions.LaunchNewActivity.LABEL,
36 ActivityOptions.LaunchNewActivity.COMPONENT.toFlickerComponent()
40 ActivityOptions.SimpleActivity.COMPONENT.toFlickerComponent()
H A DLaunchBubbleHelper.kt22 import com.android.server.wm.flicker.testapp.ActivityOptions
27 ActivityOptions.Bubbles.LaunchBubble.LABEL,
28 ActivityOptions.Bubbles.LaunchBubble.COMPONENT.toFlickerComponent()
H A DShowWhenLockedAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.ShowWhenLockedActivity.LABEL,
31 ActivityOptions.ShowWhenLockedActivity.COMPONENT.toFlickerComponent()
H A DFixedOrientationAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.PortraitOnlyActivity.LABEL,
31 ActivityOptions.PortraitOnlyActivity.COMPONENT.toFlickerComponent()
H A DNonResizeableAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.NonResizeableActivity.LABEL,
31 ActivityOptions.NonResizeableActivity.COMPONENT.toFlickerComponent()
H A DSeamlessRotationAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.SeamlessRotation.LABEL,
31 ActivityOptions.SeamlessRotation.COMPONENT.toFlickerComponent()
H A DSimpleAppHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.SimpleActivity.LABEL,
30 component: ComponentNameMatcher = ActivityOptions.SimpleActivity.COMPONENT.toFlickerComponent()
H A DImeStateInitializeHelper.kt23 import com.android.server.wm.flicker.testapp.ActivityOptions
29 launcherName: String = ActivityOptions.Ime.StateInitializeActivity.LABEL,
31 ActivityOptions.Ime.StateInitializeActivity.COMPONENT.toFlickerComponent()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/appcompat/
H A DTransparentBaseAppCompat.kt28 import com.android.server.wm.flicker.testapp.ActivityOptions
38 launcherName = ActivityOptions.LaunchTransparentActivity.LABEL,
39 component = ActivityOptions.LaunchTransparentActivity.COMPONENT.toFlickerComponent()
43 launcherName = ActivityOptions.TransparentActivity.LABEL,
44 component = ActivityOptions.TransparentActivity.COMPONENT.toFlickerComponent()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DSmartActionsReceiver.java25 import android.app.ActivityOptions;
57 ActivityOptions opts = ActivityOptions.makeBasic(); in onReceive()
59 ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED); in onReceive()
/aosp14/frameworks/base/core/java/android/app/servertransaction/
H A 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()

123456789