Introduce TransformationMatcher and Transformation.Factory
This CL introduces TransformationMatcher and Transformation.Factory. The goal of this change is twofold: 1. It lifts the ElementMatcher out of the Transformation interface. 2. It ensures that we use different transformation objects when multiple elements match the same transformation. This will be important once transformation become stateful (e.g. with Motion Mechanics or custom transformations), as we don't want different elements to implicitly share the same transformation state. Bug: 376438969 Test: atest PlatformComposeSceneTransitionLayoutTests Flag: com.android.systemui.scene_container Change-Id: I91409aa399cf77960bf8aa8cbd540eb529f313b3
Loading
Please register or sign in to comment