MM: MotionValueCollection in MotionDriver, read from graphicLayer 2/2

Revert submission 35460170-revert-35413718-mvc_in_md-ZYUFOMHIOR

Reason for revert: Fix the compilation issue

Reverted changes: /q/submissionid:35460170-revert-35413718-mvc_in_md-ZYUFOMHIOR

This commit refactors `MotionDriver` and its clients to simplify the API
and improve performance.

The key changes are:
- `AnimatedApproachMeasurement` is removed and replaced with direct use
  of `ManagedMotionValue`.
- `MotionDriver` now directly manages a `MotionValueCollection` to
  create and manage `ManagedMotionValue` instances.
- `VerticalTactileSurfaceRevealModifier` and
  `VerticalFadeContentRevealModifier` are updated to use the new
  `MotionDriver` API.
- `VerticalTactileSurfaceRevealModifier` now handles its own clipping
  and alpha animation for better control over the reveal effect.
- The `RevealOnThreshold` effect now includes a `cornerMaxSize`
  parameter to control the corner radius of the revealed surface.

Test: Manually tested in the demo app
Bug: 392535471
Flag: com.android.systemui.scene_container
Change-Id: Ifd77ed304c3f193857443d102b90a8a368010614
2 files changed