Home
last modified time | relevance | path

Searched refs:AnimationAdapter (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRemoteAnimationControllerTest.java132 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testForwardsShowBackdrop()
165 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testRun()
206 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testCancel()
220 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testTimeout()
241 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testTimeout_scaled()
287 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testOneNotStarted()
312 final AnimationAdapter adapter = mController.createRemoteAnimationRecord( in testRemovedBeforeStarted()
360 ((AnimationAdapter) record.mAdapter) in testChangeToSmallerSize()
363 ((AnimationAdapter) record.mThumbnailAdapter).startAnimation(mMockThumbnailLeash, in testChangeToSmallerSize()
414 ((AnimationAdapter) record.mAdapter) in testChangeTolargerSize()
[all …]
DDimmerTests.java128 public AnimationAdapter get(LocalAnimationAdapter.AnimationSpec alphaAnimationSpec, in get()
137 AnimationAdapter anim, boolean hidden, @SurfaceAnimator.AnimationType int type) { in startAnimation()
146 private static AnimationAdapter sTestAnimation;
247 any(SurfaceControl.Transaction.class), any(AnimationAdapter.class), in testDimBelowWithChildSurfaceDestroyedWhenReset_Legacy()
329 any(SurfaceControl.Transaction.class), any(AnimationAdapter.class), anyBoolean(), in testRemoveDimImmediately_Legacy()
DRefreshRatePolicyTest.java297 overrideWindow.getPendingTransaction(), mock(AnimationAdapter.class), in testAnimatingAppOverridePreferredModeId()
338 overrideWindow.getPendingTransaction(), mock(AnimationAdapter.class), in testAnimatingAppOverridePreferredRefreshRate()
363 window.getPendingTransaction(), mock(AnimationAdapter.class), in testAnimatingDenylist()
389 cameraUsingWindow.getPendingTransaction(), mock(AnimationAdapter.class), in testAnimatingCamera()
410 window.getPendingTransaction(), mock(AnimationAdapter.class), in testAppMaxRefreshRate()
431 window.getPendingTransaction(), mock(AnimationAdapter.class), in testAppMinRefreshRate()
DSurfaceAnimatorTest.java69 @Mock AnimationAdapter mSpec;
70 @Mock AnimationAdapter mSpec2;
294 private OnAnimationFinishedCallback startDeferFinishAnimatable(AnimationAdapter anim) { in startDeferFinishAnimatable()
422 private static class DeferredFinishAdapter implements AnimationAdapter {
DAnimatingActivityRegistryTest.java51 AnimationAdapter mAdapter;
DAppWindowTokenAnimationTests.java55 private AnimationAdapter mSpec;
DWindowStateTests.java246 window.getParent().startAnimation(mTransaction, mock(AnimationAdapter.class), in testIsOnScreen_hiddenByPolicy()
501 final AnimationAdapter animation = mock(AnimationAdapter.class); in testDeferredRemovalByAnimating()
520 child.startAnimation(t, mock(AnimationAdapter.class), false /* hidden */, in testOnExitAnimationDone()
DRecentsAnimationControllerTest.java114 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testRemovedBeforeStarted_expectCanceled()
132 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testCancelAfterRemove_expectIgnored()
DWindowContainerTests.java294 final AnimationAdapter animAdapter = mock(AnimationAdapter.class); in testRemoveImmediatelyClearsLeash()
1027 mock(AnimationAdapter.class), false /* hidden */, in testHandleCompleteDeferredRemoval()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DMockAnimationAdapter.java24 import com.android.server.wm.AnimationAdapter;
32 public class MockAnimationAdapter implements AnimationAdapter {
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java58 private AnimationAdapter mAnimation;
167 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden,
171 @Nullable AnimationAdapter snapshotAnim, @Nullable SurfaceFreezer freezer) {
212 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden,
260 AnimationAdapter getAnimation() {
356 final AnimationAdapter animation = mAnimation;
623 void onAnimationFinished(@AnimationType int type, AnimationAdapter anim);
DSurfaceFreezer.java217 private AnimationAdapter mAnimation;
263 void startAnimation(SurfaceControl.Transaction t, AnimationAdapter anim, int type) { in startAnimation()
281 final AnimationAdapter animation = mAnimation; in cancelAnimation()
DAnimationAdapter.java36 public interface AnimationAdapter { interface
DDimmerAnimationHelper.java88 private AnimationAdapter mLocalAnimationAdapter;
237 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration()
331 public AnimationAdapter get(LocalAnimationAdapter.AnimationSpec alphaAnimationSpec, in get()
DWindowContainer.java2949 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden, in startAnimation()
2953 @Nullable AnimationAdapter snapshotAnim) { in startAnimation()
2963 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden, in startAnimation()
2970 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden, in startAnimation()
3137 Pair<AnimationAdapter, AnimationAdapter> getAnimationAdapter(WindowManager.LayoutParams lp, in getAnimationAdapter()
3139 final Pair<AnimationAdapter, AnimationAdapter> resultAdapters; in getAnimationAdapter()
3208 final AnimationAdapter adapter = new LocalAnimationAdapter( in getAnimationAdapter()
3214 final AnimationAdapter thumbnailAdapter = mSurfaceFreezer.mSnapshot != null in getAnimationAdapter()
3236 AnimationAdapter adapter = new LocalAnimationAdapter( in getAnimationAdapter()
3268 final Pair<AnimationAdapter, AnimationAdapter> adapters = getAnimationAdapter(lp, in applyAnimationUnchecked()
[all …]
DWindowContainerThumbnail.java127 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { in startAnimation()
131 private void onAnimationFinished(@AnimationType int type, AnimationAdapter anim) { in onAnimationFinished()
DLocalAnimationAdapter.java37 class LocalAnimationAdapter implements AnimationAdapter {
DLegacyDimmer.java159 AnimationAdapter anim, boolean hidden, @SurfaceAnimator.AnimationType int type); in startAnimation()
285 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration()
DShellRoot.java130 final AnimationAdapter adapter = new LocalAnimationAdapter( in startAnimation()
DWallpaperAnimationAdapter.java40 class WallpaperAnimationAdapter implements AnimationAdapter {
DNonAppWindowAnimationAdapter.java44 class NonAppWindowAnimationAdapter implements AnimationAdapter {
DWindowAnimationSpec.java19 import static com.android.server.wm.AnimationAdapter.STATUS_BAR_TRANSITION_DURATION;
DWindowChangeAnimationSpec.java19 import static com.android.server.wm.AnimationAdapter.STATUS_BAR_TRANSITION_DURATION;
DRemoteAnimationController.java527 class RemoteAnimationAdapterWrapper implements AnimationAdapter {
DAppTransition.java393 final AnimationAdapter topOpeningAnim = wc != null ? wc.getAnimation() : null; in goodToGo()
399 AnimationAdapter.STATUS_BAR_TRANSITION_DURATION); in goodToGo()

12