Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
53265788
Commit
53265788
authored
9 months ago
by
Steve Elliott
Committed by
Android (Google) Code Review
9 months ago
Browse files
Options
Downloads
Plain Diff
Merge "[flexiglass] Introduce SceneFamilies" into main
parents
6c7171d7
29a2b2f5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/SystemUI/src/com/android/systemui/scene/shared/model/Scenes.kt
+27
-1
27 additions, 1 deletion
...mUI/src/com/android/systemui/scene/shared/model/Scenes.kt
with
27 additions
and
1 deletion
packages/SystemUI/src/com/android/systemui/scene/shared/model/Scenes.kt
+
27
−
1
View file @
53265788
...
...
@@ -64,7 +64,7 @@ object Scenes {
*
* For the "split" shade configuration (on large screens or unfolded foldables, where
* notifications and quick settings are shown side-by-side in their own columns), the [Shade]
* scene is used
]
.
* scene is used.
*
* For the dual shade configuration, where there are two separate shades: one for notifications
* and one for quick settings, [NotificationsShade] and [QuickSettingsShade] scenes are used
...
...
@@ -97,3 +97,29 @@ object Scenes {
*/
@JvmField
val
Shade
=
SceneKey
(
"shade"
)
}
/**
* Keys of all known scene families. A scene family is an alias that is resolved to a specific scene
* from [Scenes] dynamically.
*
* PLEASE KEEP THE KEYS SORTED ALPHABETICALLY.
*/
object
SceneFamilies
{
/**
* The "base" scene, from the user's perspective. This is generally Gone or Lockscreen,
* depending on whether the device is unlocked and has been entered.
*/
@JvmField
val
Home
=
SceneKey
(
debugName
=
"scene_family_home"
)
/**
* The scene that contains the full, interactive notification shade. The specific scene it
* resolves to can depend on dual / split / single shade settings.
*/
@JvmField
val
NotifShade
=
SceneKey
(
debugName
=
"scene_family_notif_shade"
)
/**
* The scene that contains the full QuickSettings (not to be confused with Quick-QuickSettings).
* The specific scene it resolves to can depend on dual / split / single shade settings.
*/
@JvmField
val
QuickSettings
=
SceneKey
(
debugName
=
"scene_family_quick_settings"
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment