aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layout_manager/db/layout.db152
1 files changed, 144 insertions, 8 deletions
diff --git a/src/layout_manager/db/layout.db b/src/layout_manager/db/layout.db
index 7955d96..3840ec5 100644
--- a/src/layout_manager/db/layout.db
+++ b/src/layout_manager/db/layout.db
@@ -1,5 +1,104 @@
{
"layouts": [
+ "description": "The layout is what roles the layer has in the areas.",
+ {
+ "name": "pu",
+ "layer": "on_screen",
+ "areas": [
+ {
+ "name": "pop_up",
+ "role": "incomming_call"
+ }
+ ]
+ },
+ {
+ "name": "sa",
+ "layer": "on_screen",
+ "areas": [
+ {
+ "name": "system_alert",
+ "role": "system_alert"
+ }
+ ]
+ },
+ {
+ "name": "m1",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "normal",
+ "role": "map"
+ }
+ ]
+ },
+ {
+ "name": "m2",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "split.main",
+ "role": "map"
+ },
+ {
+ "name": "split.sub",
+ "category": "splitable"
+ }
+ ]
+ },
+ {
+ "name": "mf",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "fullscreen",
+ "role": "map"
+ }
+ ]
+ },
+ {
+ "name": "s1",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "normal",
+ "category": "splitable"
+ }
+ ]
+ },
+ {
+ "name": "s2",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "split.main",
+ "category": "splitable"
+ },
+ {
+ "name": "split.sub",
+ "category": "splitable"
+ }
+ ]
+ },
+ {
+ "name": "g",
+ "layer": "apps",
+ "areas": [
+ {
+ "name": "normal",
+ "category": "general"
+ }
+ ]
+ },
+ {
+ "name": "hs",
+ "layer": "homescreen",
+ "areas": [
+ {
+ "name": "",
+ "role": "homescreen"
+ }
+ ]
+ },
{
"name": "system_alert",
"layer": "on_screen",
@@ -15,7 +114,27 @@
"layer": "restriction",
"areas": [
{
- "name": "restriction",
+ "name": "restriction.normal",
+ "role": "restriction.video_hide_on_driving"
+ }
+ ]
+ },
+ {
+ "name": "restriction.split.main",
+ "layer": "restriction",
+ "areas": [
+ {
+ "name": "restriction.split.main",
+ "role": "restriction.video_hide_on_driving"
+ }
+ ]
+ },
+ {
+ "name": "restriction.split.sub",
+ "layer": "restriction",
+ "areas": [
+ {
+ "name": "restriction.split.sub",
"role": "restriction.video_hide_on_driving"
}
]
@@ -31,20 +150,36 @@
]
},
{
- "name": "applications",
+ "name": "applications.map",
"layer": "apps",
"areas": [
{
"name": "normal",
"role": "map"
- },
+ }
+ ]
+ },
+ {
+ "name": "applications.map_split",
+ "layer": "apps",
+ "areas": [
{
- "name": "normal",
+ "name": "split.main",
"role": "map"
},
{
+ "name": "split.sub",
+ "role", "general"
+ }
+ ]
+ },
+ {
+ "name": "general",
+ "layer": "apps",
+ "areas": [
+ {
"name": "normal",
- "role": "map"
+ "role": "general"
}
]
},
@@ -60,6 +195,7 @@
}
],
"areas": [
+ "description": "The area is in the layer. The layout attaches areas to the layer"
{
"name": "normal",
"rect": {
@@ -70,7 +206,7 @@
}
},
{
- "name": "restriction.full",
+ "name": "restriction.normal",
"rect": {
"x": 0,
"y": 218,
@@ -91,9 +227,9 @@
"name": "restriction.split.sub",
"rect": {
"x": 0,
- "y": 218,
+ "y": 962,
"w": 1080,
- "h": 1488
+ "h": 744
}
},
{