Decouple Injection from subcomponents of PipManager (5/N)
1) PipManager manages all instances and ensure they are singleton
2) BoundsHandler manages singleton PipSnapAlgorithm
3) Remove unnecessary cached context
4) All context dispatch from PipManager
5) Let PipManager manage DisplayController callback
6) Decouple PipSurfaceTransactionHelper from dagger
7) Decouple PipAnimationController from dagger
8) PipTaskOrganizer own singleton PipAnimationController
Bug: 161118569
Test: make SystemUI
Test: make ArcSystemUI
Test: launch aosp_tv_arm-userdebug & make
Test: atest WindowManagerShellTests
Test: atest SystemUITests
Test: manual test Pip demo AP
Change-Id: I9a055b8cae86824c0766a30b8b880891e1552abb
10 files changed