Add background layer for CES DEMO
[apps/agl-service-windowmanager-2017.git] / layers.json.split
1 {
2    "comment": "Surface ID to Layer ID mapping",
3
4    "main_surface": {
5       "surface_role": "HomeScreen",
6       "comment": "This surface should never be made invisible (The HomeScreen)"
7    },
8
9    "mappings": [
10       {
11          "role": "^HomeScreen$",
12          "name": "HomeScreen",
13          "layer_id": 1000,
14          "area": { "type": "full" },
15          "comment": "Single layer map for the HomeScreen"
16       },
17       {
18          "role": "MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer",
19          "name": "apps",
20          "layer_id": 1001,
21          "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
22          "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value",
23
24          "split_layouts": [
25             {
26                "name": "Navigation",
27                "main_match": "Navigation",
28                "sub_match": "HVAC|MediaPlayer",
29                "priority": 1000
30             }
31          ]
32       },
33       {
34          "role": "^OnScreen.*",
35          "name": "popups",
36          "layer_id": 9999,
37          "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": 400 } },
38          "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
39       }
40    ]
41 }