diff options
| author | 2024-10-31 14:28:31 -0700 | |
|---|---|---|
| committer | 2024-11-01 11:30:49 -0700 | |
| commit | f7bad0509e7cb9f4947e194c04de6e000fd75313 (patch) | |
| tree | 71ac4f864c5f916b34ccbeffc4c83ed02c18db11 /api/api.go | |
| parent | 9c1af5666e81e0d4b830b5e50ef85d65769f01fc (diff) | |
[PiP2] Add PipEnterAnimatorTest
Added the PipEnterAnimatorTest for PipEnterAnimator class.
PipEnterAnimator class is optimized for testing as well in this change
- Cleanup the supply of source rect hint, which deprecated from the
previous refactor
- Allow supplying SurfaceControlTransactionFactory for testing purpose
- Allow supplying PipAppIconOverlay 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
- Cleaned up the unused source rect hint param in PipEnterAnimator ctor
Flag: com.android.wm.shell.enable_pip2
Bug: 376133026
Test: atest WMShellUnitTests:PipEnterAnimatorTest
Change-Id: I1cb619505001ae1bc30fd8120a2cf750af2fb906
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions