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

Skip to content
Commit 8bbeca41 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Introduce a simple version of verticalContainerReveal()

This CL exposes an initial simplified version of
verticalContainerReveal() that expands a container while dragging
vertically and plays haptics after crossing a threhsold. The goal of
this CL is to provide a first basic API for Dual Shade motion & haptics,
the motion in itself is not polished yet and will be improved in the
future with Motion Mechanics.

At the moment there is no difference between the transition on handheld
vs the transition on large screens. verticalContainerReveal() will
probably evolve in the future and require an additional parameter for
the type of screen/transition it should play.

This CL was only tested manually in the STL demo app using ag/30321185.
See b/376438969#comment7 for videos and go/stl-dual-shade for details.

Bug: 376438969
Test: Manual in the STL demo app
Flag: com.android.systemui.scene_container
Change-Id: I30dfdfda9d5593ce7029df3dc54d0447aa55bc34
parent 20b5075e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment