aboutsummaryrefslogtreecommitdiffstats
path: root/src/layout_manager/db
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-07 15:54:36 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-07 17:28:07 +0900
commit273f15d6f5368a0144ea84cfdcf03f9d985106f5 (patch)
treedca7dbb9ccb2282a5931c5d07034dc7487341504 /src/layout_manager/db
parent49817ce46db30027ed3ca7bc669904c55b9337c8 (diff)
Add restriction and software keyboard layers
Change-Id: I9133faa840f6feaec3f2b6f88a6e1b33be29639c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/layout_manager/db')
-rw-r--r--src/layout_manager/db/layout.db114
-rw-r--r--src/layout_manager/db/layout.db.org158
2 files changed, 213 insertions, 59 deletions
diff --git a/src/layout_manager/db/layout.db b/src/layout_manager/db/layout.db
index c7cefd8..7955d96 100644
--- a/src/layout_manager/db/layout.db
+++ b/src/layout_manager/db/layout.db
@@ -1,17 +1,7 @@
{
"layouts": [
{
- "name": "pu",
- "layer": "on_screen",
- "areas": [
- {
- "name": "pop_up",
- "role": "incomming_call"
- }
- ]
- },
- {
- "name": "sa",
+ "name": "system_alert",
"layer": "on_screen",
"areas": [
{
@@ -21,79 +11,49 @@
]
},
{
- "name": "m1",
- "layer": "apps",
+ "name": "restriction",
+ "layer": "restriction",
"areas": [
{
- "name": "normal",
- "role": "map"
+ "name": "restriction",
+ "role": "restriction.video_hide_on_driving"
}
]
},
{
- "name": "m2",
- "layer": "apps",
+ "name": "upper_homescreen",
+ "layer": "upper_homescreen",
"areas": [
{
- "name": "split.main",
- "role": "map"
- },
- {
- "name": "split.sub",
- "category": "splitable"
+ "name": "software_keyboard",
+ "role": "software_keyboard"
}
]
},
{
- "name": "mf",
+ "name": "applications",
"layer": "apps",
"areas": [
{
- "name": "full",
+ "name": "normal",
"role": "map"
- }
- ]
- },
- {
- "name": "s1",
- "layer": "apps",
- "areas": [
+ },
{
"name": "normal",
- "category": "splitable"
- }
- ]
- },
- {
- "name": "s2",
- "layer": "apps",
- "areas": [
- {
- "name": "split.main",
- "category": "splitable"
+ "role": "map"
},
{
- "name": "split.sub",
- "category": "splitable"
- }
- ]
- },
- {
- "name": "g",
- "layer": "apps",
- "areas": [
- {
"name": "normal",
- "category": "general"
+ "role": "map"
}
]
},
{
- "name": "hs",
- "layer": "homescreen",
+ "name": "lower_homescreen",
+ "layer": "lower_homescreen",
"areas": [
{
- "name": "full",
+ "name": "fullscreen",
"role": "homescreen"
}
]
@@ -110,7 +70,16 @@
}
},
{
- "name": "split.main",
+ "name": "restriction.full",
+ "rect": {
+ "x": 0,
+ "y": 218,
+ "w": 1080,
+ "h": 1488
+ }
+ },
+ {
+ "name": "restriction.split.main",
"rect": {
"x": 0,
"y": 218,
@@ -119,6 +88,24 @@
}
},
{
+ "name": "restriction.split.sub",
+ "rect": {
+ "x": 0,
+ "y": 218,
+ "w": 1080,
+ "h": 1488
+ }
+ },
+ {
+ "name": "split.main",
+ "rect": {
+ "x": 0,
+ "y": 962,
+ "w": 1080,
+ "h": 744
+ }
+ },
+ {
"name": "split.sub",
"rect": {
"x": 0,
@@ -128,7 +115,7 @@
}
},
{
- "name": "full",
+ "name": "fullscreen",
"rect": {
"x": 0,
"y": 0,
@@ -146,6 +133,15 @@
}
},
{
+ "name": "software_keyboard",
+ "rect": {
+ "x": 0,
+ "y": 1162,
+ "w": 1080,
+ "h": 544
+ }
+ },
+ {
"name": "system_alert",
"rect": {
"x": 0,
diff --git a/src/layout_manager/db/layout.db.org b/src/layout_manager/db/layout.db.org
new file mode 100644
index 0000000..c7cefd8
--- /dev/null
+++ b/src/layout_manager/db/layout.db.org
@@ -0,0 +1,158 @@
+{
+ "layouts": [
+ {
+ "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": "full",
+ "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": "full",
+ "role": "homescreen"
+ }
+ ]
+ }
+ ],
+ "areas": [
+ {
+ "name": "normal",
+ "rect": {
+ "x": 0,
+ "y": 218,
+ "w": 1080,
+ "h": 1488
+ }
+ },
+ {
+ "name": "split.main",
+ "rect": {
+ "x": 0,
+ "y": 218,
+ "w": 1080,
+ "h": 744
+ }
+ },
+ {
+ "name": "split.sub",
+ "rect": {
+ "x": 0,
+ "y": 962,
+ "w": 1080,
+ "h": 744
+ }
+ },
+ {
+ "name": "full",
+ "rect": {
+ "x": 0,
+ "y": 0,
+ "w": 1080,
+ "h": 1920
+ }
+ },
+ {
+ "name": "pop_up",
+ "rect": {
+ "x": 0,
+ "y": 640,
+ "w": 1080,
+ "h": 640
+ }
+ },
+ {
+ "name": "system_alert",
+ "rect": {
+ "x": 0,
+ "y": 640,
+ "w": 1080,
+ "h": 640
+ }
+ }
+ ]
+}