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
Loading
Please register or sign in to comment