Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d53f2646 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] Shade to Gone: animate Scrim height to fill screen" into main

parents d259ca97 68c62d34
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -588,7 +588,15 @@ fun ContentScope.NotificationScrollingStack(
                        // respect the original constraints to support shared element transitions.
                        val constrainedHeight =
                            constraints.constrainHeight(
                                (constraints.maxHeight + minScrimOffset().roundToInt() - yOffset)
                                // This change modifies the scrim animation to ensure its height
                                // expands to fill the entire screen by the end of the transition.
                                // TODO(b/438706987) Due to this complexity, the animation may need
                                //  to be revisited later as part of a larger refactor.
                                lerp(
                                    constraints.maxHeight,
                                    constraints.maxHeight + minScrimOffset().roundToInt() - yOffset,
                                    expansionFraction,
                                )
                            )
                        val placeable =
                            measurable.measure(