aboutsummaryrefslogtreecommitdiffstats
path: root/layers.json
blob: 551c86aeea7fc0114e5fc8c3641b744d163f01c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
   "comment": "Surface ID to Layer ID mapping",

   "main_surface": {
      "surface_role": "HomeScreen",
      "comment": "This surface should never be made invisible (The HomeScreen)"
   },

   "mappings": [
      {
         "role": "BackGroundLayer",
         "name": "BackGroundLayer",
         "layer_id": 999,
         "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
         "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer"
      },
      {
         "role": "^HomeScreen$|homescreen",
         "name": "FarHomeScreen",
         "layer_id": 1000,
         "area": { "type": "full" },
         "comment": "FarHomeScreen is the part of HomeScreen, and lawer layer of z order for HomeScreen"
      },
      {
         "role": "Music|Video|WebBrowser|MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer|Fallback|music|video|browser|radio|phone|map|hvac|settings|dashboard|poi|fallback",
         "name": "apps",
         "layer_id": 1001,
         "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
         "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value"
      },
      {
        "role": "SoftwareKeyboard",
        "name": "NearHomeScreen",
        "layer_id": 1002,
        "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": -1 } },
        "comment": "NearHomeScreen is the part of HomeScreen, and upper layer of z order for HomeScreen"
      },
      {
        "role": "Restriction|restriction",
        "name": "Restriction",
        "layer_id": 1003,
        "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } },
        "comment": "This layer is for restriction notification. This is used by restriction role"
      },
      {
         "role": "^OnScreen.*",
         "name": "popups",
         "layer_id": 9999,
         "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": 400 } },
         "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
      }
   ]
}