mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 05:46:03 +00:00
front end: motion system — gliding rail selection, unfolding sub-lists, page cascades, lifting tiles, session rise
The rail's selection is one pill that springs between rows; sub-lists unfold with their children staggering in. A page change sinks the old page out and cascades the new one in row by row over a blurred wash of the selection's own art. Tiles lift, ring and shine when the pad lands on them and pop a play badge; the launch button sweeps a sheen on focus and squashes on press. The session activity rises over the front end and sinks back on finish. Every duration follows the system animator scale, so 'no animations' in developer options snaps everything.
This commit is contained in:
1 parent
d343b6f859
commit
19514c32b8
6 files changed
+618
-170
No files matched your search
@@ -739,6 +739,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
/** Leaving the session sinks its surface back down onto the front end. */
|
||||
override fun finish() {
|
||||
super.finish()
|
||||
overridePendingTransition(R.anim.session_hold, R.anim.session_sink)
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val TAG = "SessionActivity"
|
||||
/** Compositor scale modes (Container.FULLSCREEN_* values): 1 = fit with bars, centred. */
|
||||
|
||||
Reference in new issue
Block a user