diff options
| author | 2024-10-30 14:06:42 -0700 | |
|---|---|---|
| committer | 2024-10-31 13:54:55 -0700 | |
| commit | 6e4ba167f63415005c15f3af2258efbfacdc552a (patch) | |
| tree | 1a0fbbf8589b244823b47eae6a0b23fcf8cfcc6a /libs/input/PointerController.cpp | |
| parent | 9c1af5666e81e0d4b830b5e50ef85d65769f01fc (diff) | |
[PiP2] Add PipResizeAnimatorTest
Added the PipResizeAnimatorTest for PipResizeAnimator class.
PipResizeAnimator class is optimized for testing as well in this change
- Allow supplying SurfaceControlTransactionFactory for testing purpose
- Use the local animation listener since they are implementation details
- Switch over to AnimatorListenerAdapter to avoid unnecessary,
un-testable functions such as onAnimationRepeat
Flag: com.android.wm.shell.enable_pip2
Bug: 376133026
Test: atest WMShellUnitTests:PipResizeAnimatorTest
Change-Id: I28996ee7f5ae080278d712c50555162f3a9c3383
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions