diff options
| author | 2024-10-28 16:06:59 -0700 | |
|---|---|---|
| committer | 2024-10-28 16:41:07 -0700 | |
| commit | 4b3026310f3aad6cdf109c7b928d14441fafe39c (patch) | |
| tree | d44b76efe5abd1b1fce639ace33a7134714aa0ed /libs/androidfw/StringPool.cpp | |
| parent | 0b7fa745f3c2919446e86e32ed45a41348c2f4b0 (diff) | |
[PiP2] Add PipAlphaAnimatorTest
Added the PipAlphaAnimatorTest for PipAlphaAnimator class.
PipAlphaAnimator 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:PipAlphaAnimatorTest
Change-Id: I1339cf352c810ea3f66402babc04b6caffed5360
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions