X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=layers.json;h=2e9f2f1c2d2e88ef4fa2a1f10b7b6157556f0f6f;hb=350e143976e12f152304830fdca69f31567d4fa2;hp=8115ed5f03be861d9620c872a77f871fd80ba214;hpb=074d058a7a483a66af7f8c0b928b321ad483f47c;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/layers.json b/layers.json index 8115ed5..2e9f2f1 100644 --- a/layers.json +++ b/layers.json @@ -8,82 +8,49 @@ "mappings": [ { - "role": "^HomeScreen$", - "name": "HomeScreen", + "role": "BackGroundLayer", + "name": "BackGroundLayer", + "layer_id": 999, + "comment": "Single BackGround layer map for the map, radio, music and video" + }, + { + "role": "", + "name": "FarHomeScreen", "layer_id": 1000, - "area": { "type": "full" }, - "comment": "Single layer map for the HomeScreen, XXX: type is redundant, could also check existence of id/first_id+last_id" + "comment": "FarHomeScreen is the part of HomeScreen. The z order of this layer is lower than NearHomeScreen" }, { - "role": "MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer", - "name": "apps", + "role": "music|video|browser|radio|phone|map|hvac|settings|dashboard|poi|mixer|sdl|onstestapp|launcher|tachometer|warehouse|tbtnavi|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", + "comment": "Range of IDs that will always be placed on layer 1001", "split_layouts": [ { - "name": "MediaPlayer", - "main_match": "MediaPlayer", - "sub_match": "MediaPlayer", - "priority": 1000 - }, - { - "name": "Radio", - "main_match": "Radio", - "sub_match": "Radio", - "priority": 1000 - }, - { - "name": "Phone", - "main_match": "Phone", - "sub_match": "Phone", - "priority": 1000 - }, - { - "name": "Navigation", - "main_match": "Navigation", - "sub_match": "Navigation", - "priority": 1000 - }, - { - "name": "HVAC", - "main_match": "HVAC", - "sub_match": "HVAC", - "priority": 1000 - }, - { - "name": "Settings", - "main_match": "Settings", - "sub_match": "Settings", - "priority": 1000 - }, - { - "name": "Dashboard", - "main_match": "Dashboard", - "sub_match": "Dashboard", - "priority": 1000 - }, - { - "name": "POI", - "main_match": "POI", - "sub_match": "POI", - "priority": 1000 - }, - { - "name": "Mixer", - "main_match": "Mixer", - "sub_match": "Mixer", - "priority": 1000 - } - ] + "name": "tachometer", + "main_match": "tachometer", + "sub_match": "warehouse|tbtnavi", + "priority": 1000 + } + ] + }, + { + "role": "homescreen", + "name": "NearHomeScreen", + "layer_id": 1002, + "comment": "NearHomeScreen is the part of HomeScreen. The z order of this layer is upper than FarHomeScreen" + }, + { + "role": "restriction", + "name": "Restriction", + "layer_id": 1003, + "comment": "This layer is for restriction notification. This is used by restriction role" }, { - "role": "^OnScreen.*", - "name": "popups", + "role": "^on_screen.*", + "name": "OnScreen", "layer_id": 9999, - "area": { "type": "rect", "rect": { "x": 0, "y": 300, "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" + "comment": "Range of IDs that will always be placed on the OnScreen layer, that gets a very high 'dummy' id of 9999" } ] }