diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-08 13:40:53 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-08 13:40:53 +0900 |
commit | fd4973a58a6e2d1b91036fab2e5e1c38a72a2c6d (patch) | |
tree | 5c1b354e58b42ea68394ec1ff66a96c2ae119e20 /src | |
parent | 9e1c0cf2271fd12d5e42701197776af83c40a9d5 (diff) |
Change layout.db
* Undo the changes, revert to the original layout.db for test
* Add ALS test case
Change-Id: I8ca89e0455fb0d429d41b2f3a9d3f9341fda551c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r-- | src/layout_manager/db/layout.db | 152 |
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 } }, { |