Loading
Refactor: Rename `Empty` motion spec to `Identity` 1/2
This patch is a pure refactoring that renames `MotionSpec.Empty` to `MotionSpec.Identity` and `DirectionalMotionSpec.Empty` to `DirectionalMotionSpec.Identity`. Rationale: The term **`Empty`** was semantically ambiguous. It could be misinterpreted as a spec with no effect or no content. The new name, **`Identity`**, more accurately describes the spec's function: a direct, one-to-one mapping where the output value is always identical to the input value (an identity function, where `f(x) = x`). This change improves the clarity and discoverability of the API without altering any underlying behavior. Changes: * Renamed `MotionSpec.Empty` to `MotionSpec.Identity`. * Renamed `DirectionalMotionSpec.Empty` to `DirectionalMotionSpec .Identity`. * Updated all call sites across the library, including tests, benchmarks, and sample applications, to use the new name. Test: Existing tests were updated to reflect the name change. Bug: 402113641 Flag: com.android.systemui.scene_container Change-Id: I885f0f800a86ea844f73e438080aeac98a39e814