Bugfix: Restriction app is displayed on Dashboard app when steping on foot brake
[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": "BackGroundLayer",
12          "name": "BackGroundLayer",
13          "layer_id": 999,
14          "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
15          "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer"
16       },
17       {
18          "role": "^HomeScreen$",
19          "name": "FarHomeScreen",
20          "layer_id": 1000,
21          "area": { "type": "full" },
22          "comment": "FarHomeScreen is the part of HomeScreen, and lawer layer of z order for HomeScreen"
23       },
24       {
25          "role": "Music|Video|WebBrowser|MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer|Splitable1|Splitable2|Fallback",
26          "name": "apps",
27          "layer_id": 1001,
28          "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
29          "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value"
30       },
31       {
32         "role": "SoftwareKeyboard",
33         "name": "NearHomeScreen",
34         "layer_id": 1002,
35         "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": -1 } },
36         "comment": "NearHomeScreen is the part of HomeScreen, and upper layer of z order for HomeScreen"
37       },
38       {
39         "role": "Restriction",
40         "name": "Restriction",
41         "layer_id": 1003,
42         "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
43         "comment": "This layer is for restriction notification. This is used by restriction role"
44       },
45       {
46          "role": "^OnScreen.*",
47          "name": "popups",
48          "layer_id": 9999,
49          "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": 400 } },
50          "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
51       }
52    ]
53 }