| commit | 593cfcf10691f0a4411bada22659a65fd5c71f1c | [log] [tgz] |
|---|---|---|
| author | Jordan Demeulenaere <jdemeulenaere@google.com> | Thu Sep 04 13:03:28 2025 +0200 |
| committer | Jordan Demeulenaere <jdemeulenaere@google.com> | Thu Sep 04 18:31:23 2025 +0200 |
| tree | 16fdfda1cc6ca6c3de3055800e84d3202b813e6c | |
| parent | 75aa2493704a7edc017ed3d499adcdcf9d6efb22 [diff] |
Expose ElementKey.currentAlpha() in ContentScope This CL exposes a new ElementKey.currentAlpha() API in ContentScope that can be used to get the computed alpha for a given element, reusing the same logic used by Modifier.element() during transitions. This can be used to share this logic with non compose elements like NSSL. Bug: 437121774 Test: atest ContentTest Flag: EXEMPT new API Change-Id: Ic2bb2062f0f358309727a6c38545379b1d334f20