8115393ebcba3be690302f27ea6dee6d42b690e3
[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": "BackGroundLayer",
12          "name": "BackGroundLayer",
13          "layer_id": 999,
14          "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer"
15       },
16       {
17          "role": "homescreen",
18          "name": "HomeScreen",
19          "layer_id": 1000,
20          "comment": "Single layer map for the HomeScreen"
21       },
22       {
23          "role": "music|video|browser|radio|phone|map|hvac|settings|dashboard|poi|mixer|sdl|launcher|fallback",
24          "name": "apps",
25          "layer_id": 1001,
26          "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value",
27
28          "split_layouts": [
29             {
30                "name": "map",
31                "main_match": "map",
32                "sub_match": "hvac|music",
33                "priority": 1000
34             }
35          ]
36       },
37       {
38          "role": "^on_screen.*",
39          "name": "popups",
40          "layer_id": 9999,
41          "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
42       }
43    ]
44 }