aboutsummaryrefslogtreecommitdiffstats
path: root/layers.json
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-09-29 21:06:22 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2017-10-09 01:48:59 +0900
commit074d058a7a483a66af7f8c0b928b321ad483f47c (patch)
treeeb89aacd178a7b99850cbdc528976e97d35d37bf /layers.json
parent7204e00b05cab896df48abf6a355be69a0f57f80 (diff)
Add agl-service-windowmanager-2017
Add a new binding agl-service-windowmanager-2017. A image about this see JIRA SPEC-915. [PatchSet2] Use aglwgt make package. [PatchSet3] Modify to wait until wayland compositor starts up. Bug-AGL: SPEC-925 Change-Id: I8729bb71b5e91d5b009a5bab77232d92605c43ea Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'layers.json')
-rw-r--r--layers.json89
1 files changed, 89 insertions, 0 deletions
diff --git a/layers.json b/layers.json
new file mode 100644
index 0000000..8115ed5
--- /dev/null
+++ b/layers.json
@@ -0,0 +1,89 @@
+{
+ "comment": "Surface ID to Layer ID mapping",
+
+ "main_surface": {
+ "surface_role": "HomeScreen",
+ "comment": "This surface should never be made invisible (The HomeScreen)"
+ },
+
+ "mappings": [
+ {
+ "role": "^HomeScreen$",
+ "name": "HomeScreen",
+ "layer_id": 1000,
+ "area": { "type": "full" },
+ "comment": "Single layer map for the HomeScreen, XXX: type is redundant, could also check existence of id/first_id+last_id"
+ },
+ {
+ "role": "MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer",
+ "name": "apps",
+ "layer_id": 1001,
+ "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
+ "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value",
+
+ "split_layouts": [
+ {
+ "name": "MediaPlayer",
+ "main_match": "MediaPlayer",
+ "sub_match": "MediaPlayer",
+ "priority": 1000
+ },
+ {
+ "name": "Radio",
+ "main_match": "Radio",
+ "sub_match": "Radio",
+ "priority": 1000
+ },
+ {
+ "name": "Phone",
+ "main_match": "Phone",
+ "sub_match": "Phone",
+ "priority": 1000
+ },
+ {
+ "name": "Navigation",
+ "main_match": "Navigation",
+ "sub_match": "Navigation",
+ "priority": 1000
+ },
+ {
+ "name": "HVAC",
+ "main_match": "HVAC",
+ "sub_match": "HVAC",
+ "priority": 1000
+ },
+ {
+ "name": "Settings",
+ "main_match": "Settings",
+ "sub_match": "Settings",
+ "priority": 1000
+ },
+ {
+ "name": "Dashboard",
+ "main_match": "Dashboard",
+ "sub_match": "Dashboard",
+ "priority": 1000
+ },
+ {
+ "name": "POI",
+ "main_match": "POI",
+ "sub_match": "POI",
+ "priority": 1000
+ },
+ {
+ "name": "Mixer",
+ "main_match": "Mixer",
+ "sub_match": "Mixer",
+ "priority": 1000
+ }
+ ]
+ },
+ {
+ "role": "^OnScreen.*",
+ "name": "popups",
+ "layer_id": 9999,
+ "area": { "type": "rect", "rect": { "x": 0, "y": 300, "width": -1, "height": 400 } },
+ "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
+ }
+ ]
+}