/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RemoteAnimationControllerTest.java | 132 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 …]
|
D | DimmerTests.java | 128 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()
|
D | RefreshRatePolicyTest.java | 297 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()
|
D | SurfaceAnimatorTest.java | 69 @Mock AnimationAdapter mSpec; 70 @Mock AnimationAdapter mSpec2; 294 private OnAnimationFinishedCallback startDeferFinishAnimatable(AnimationAdapter anim) { in startDeferFinishAnimatable() 422 private static class DeferredFinishAdapter implements AnimationAdapter {
|
D | AnimatingActivityRegistryTest.java | 51 AnimationAdapter mAdapter;
|
D | AppWindowTokenAnimationTests.java | 55 private AnimationAdapter mSpec;
|
D | WindowStateTests.java | 246 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()
|
D | RecentsAnimationControllerTest.java | 114 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testRemovedBeforeStarted_expectCanceled() 132 AnimationAdapter adapter = mController.addAnimation(activity.getTask(), in testCancelAfterRemove_expectIgnored()
|
D | WindowContainerTests.java | 294 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/ |
D | MockAnimationAdapter.java | 24 import com.android.server.wm.AnimationAdapter; 32 public class MockAnimationAdapter implements AnimationAdapter {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimator.java | 58 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);
|
D | SurfaceFreezer.java | 217 private AnimationAdapter mAnimation; 263 void startAnimation(SurfaceControl.Transaction t, AnimationAdapter anim, int type) { in startAnimation() 281 final AnimationAdapter animation = mAnimation; in cancelAnimation()
|
D | AnimationAdapter.java | 36 public interface AnimationAdapter { interface
|
D | DimmerAnimationHelper.java | 88 private AnimationAdapter mLocalAnimationAdapter; 237 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration() 331 public AnimationAdapter get(LocalAnimationAdapter.AnimationSpec alphaAnimationSpec, in get()
|
D | WindowContainer.java | 2949 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 …]
|
D | WindowContainerThumbnail.java | 127 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { in startAnimation() 131 private void onAnimationFinished(@AnimationType int type, AnimationAdapter anim) { in onAnimationFinished()
|
D | LocalAnimationAdapter.java | 37 class LocalAnimationAdapter implements AnimationAdapter {
|
D | LegacyDimmer.java | 159 AnimationAdapter anim, boolean hidden, @SurfaceAnimator.AnimationType int type); in startAnimation() 285 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration()
|
D | ShellRoot.java | 130 final AnimationAdapter adapter = new LocalAnimationAdapter( in startAnimation()
|
D | WallpaperAnimationAdapter.java | 40 class WallpaperAnimationAdapter implements AnimationAdapter {
|
D | NonAppWindowAnimationAdapter.java | 44 class NonAppWindowAnimationAdapter implements AnimationAdapter {
|
D | WindowAnimationSpec.java | 19 import static com.android.server.wm.AnimationAdapter.STATUS_BAR_TRANSITION_DURATION;
|
D | WindowChangeAnimationSpec.java | 19 import static com.android.server.wm.AnimationAdapter.STATUS_BAR_TRANSITION_DURATION;
|
D | RemoteAnimationController.java | 527 class RemoteAnimationAdapterWrapper implements AnimationAdapter {
|
D | AppTransition.java | 393 final AnimationAdapter topOpeningAnim = wc != null ? wc.getAnimation() : null; in goodToGo() 399 AnimationAdapter.STATUS_BAR_TRANSITION_DURATION); in goodToGo()
|