Merge "Change the sequence how signals are emitted"
[apps/agl-service-windowmanager-2017.git] / layers.json
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, XXX: type is redundant, could also check existence of id/first_id+last_id"
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": "MediaPlayer",
27                "main_match": "MediaPlayer",
28                "sub_match": "MediaPlayer",
29                "priority": 1000
30             },
31             {
32                "name": "Radio",
33                "main_match": "Radio",
34                "sub_match": "Radio",
35                "priority": 1000
36             },
37             {
38                "name": "Phone",
39                "main_match": "Phone",
40                "sub_match": "Phone",
41                "priority": 1000
42             },
43             {
44                "name": "Navigation",
45                "main_match": "Navigation",
46                "sub_match": "Navigation",
47                "priority": 1000
48             },
49             {
50                "name": "HVAC",
51                "main_match": "HVAC",
52                "sub_match": "HVAC",
53                "priority": 1000
54             },
55             {
56                "name": "Settings",
57                "main_match": "Settings",
58                "sub_match": "Settings",
59                "priority": 1000
60             },
61             {
62                "name": "Dashboard",
63                "main_match": "Dashboard",
64                "sub_match": "Dashboard",
65                "priority": 1000
66             },
67             {
68                "name": "POI",
69                "main_match": "POI",
70                "sub_match": "POI",
71                "priority": 1000
72             },
73             {
74                "name": "Mixer",
75                "main_match": "Mixer",
76                "sub_match": "Mixer",
77                "priority": 1000
78             }
79          ]
80       },
81       {
82          "role": "^OnScreen.*",
83          "name": "popups",
84          "layer_id": 9999,
85          "area": { "type": "rect", "rect": { "x": 0, "y": 300, "width": -1, "height": 400 } },
86          "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
87       }
88    ]
89 }