Enable scaling (updated)
[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       "width": 1080,
7       "height": 1920,
8       "comment": "This surface should never be made invisible (The HomeScreen)"
9    },
10
11    "mappings": [
12       {
13          "role": "BackGroundLayer",
14          "name": "BackGroundLayer",
15          "layer_id": 999,
16          "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
17          "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer"
18       },
19       {
20          "role": "^HomeScreen$",
21          "name": "HomeScreen",
22          "layer_id": 1000,
23          "area": { "type": "full" },
24          "comment": "Single layer map for the HomeScreen"
25       },
26       {
27          "role": "Music|Video|WebBrowser|MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer|Fallback",
28          "name": "apps",
29          "layer_id": 1001,
30          "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
31          "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value"
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 }