bug fix: TC-1152
[profile/ivi/ico-uxf-homescreen.git] / res / org.tizen.ico.system-controller / res / config / system.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      OpenPF System Configurations
4     /usr/apps/org.tizen.ico.homescreen/res/config/system.conf
5 -->
6
7 <systemconfig>
8 <nodes>
9     <node id="0" name="Center">
10         <type>Center</type>
11         <ipaddress>127.0.0.1</ipaddress>
12     </node>
13 </nodes>
14
15 <displays>
16     <display id="0" name="Center">
17         <node>Center</node>
18         <no>1</no>
19         <type>center</type>
20         <width>1080</width>
21         <height>1920</height>
22         <layers>
23             <layer id="0" name="BackGround">
24                 <!-- layer type -->
25                 <!-- 1:background 2:application 3:homescreen 4:interrput application 5:onscreen 101:input 102:touch 103:cursor -->
26                 <type>1</type>
27                 <menuoverlap>false</menuoverlap>
28             </layer>
29             <layer id="1" name="Application">
30                 <type>2</type>
31                 <menuoverlap>false</menuoverlap>
32             </layer>
33             <layer id="2" name="HomeScreen">
34                 <type>3</type>
35                 <menuoverlap>false</menuoverlap>
36             </layer>
37             <layer id="3" name="ControlBar">
38                 <type>3</type>
39                 <menuoverlap>false</menuoverlap>
40             </layer>
41             <layer id="4" name="InterruptApp">
42                 <type>4</type>
43                 <menuoverlap>false</menuoverlap>
44             </layer>
45             <layer id="5" name="OnScreen">
46                 <layouts>
47                     <layout id="1" name="Whole">
48                         <areas>
49                             <area id="1" name="Full">
50                                 <type>5</type>
51                                 <menuoverlap>true</menuoverlap>
52                             </area>
53                         </areas>
54                     </layout>
55                     <layout id="2" name="Half">
56                         <areas>
57                             <area id="1" name="Upper">
58                                 <type>5</type>
59                                 <menuoverlap>true</menuoverlap>
60                             </area>
61                             <area id="2" name="Lower">
62                                 <type>5</type>
63                                 <menuoverlap>true</menuoverlap>
64                             </area>
65                         </areas>
66                     </layout>
67                 </layouts>
68             </layer>
69             <layer id="6" name="Touch">
70                 <type>102</type>
71                 <menuoverlap>false</menuoverlap>
72             </layer>
73             <layer id="7" name="Cursor">
74                 <type>103</type>
75                 <menuoverlap>false</menuoverlap>
76             </layer>
77         </layers>
78         <zones>
79             <!-- * zone is mandatory element
80                    attribute of "id" is zone id. range of first display zone id is 1...20
81                    attribute of "name" is the zone name of any.
82                  * geometry is mmandatory element. This geometry values represents the position and size of the zone aria.
83                    attribute of "x" represets x position of zone.
84                    attribute of "y" represets y position of zone.
85                    attribute of "w" represets width of zone.
86                    attribute of "h" represets hieght of zone.
87                    Special string "dispw" is a value equal the width of the display.
88                    Special string "disph" is a value equal the height of the display.
89                  * aspect is optional element
90                    If attribute of "Fixed" is true, the surface of this zone is fixed aspect ratio.
91                    If attribute of "Fixed" is true, attribute of "AlignLeft"/"AlignRight"/"AlignTop"/"AlignBottom" is valid.
92                    If attribute of "AlignLeft" is ture, horizontal direction to aligned at the left when maintaining the aspect ratio.
93                    If attribute of "AlignRight" is true, horizontal direction to aligned at the right when maintaining the aspect ratio.
94                    IF attribute of both "AlignLeft" and "AlignRight" is true, located in the center.
95                    If attribute of "AlignTop" is true, vertical direction is aligned at the top when you maintain the aspect ratio.
96                    If attribute of "AlignBottom" is true, vertical direction is aligned at the bottom when you maintain the aspect ratio.
97                    IF attribute of both "AlignTop" and "AlignBottom" is true, located in the center.
98             -->
99             <zone id="1" name="Full">
100                 <geometry x="0" y="64" w="dispw" h="disph-64-128"/>
101             </zone>
102             <zone id="2" name="Upper">
103                 <geometry x="0" y="64" w="dispw" h="disph-64-128/2"/>
104             </zone>
105             <zone id="3" name="Lower">
106                 <geometry x="0" y="heigh-64-128/2+64" w="dispw" h="disph-64-128/2"/>
107             </zone>
108             <zone id="4" name="UpperLeft">
109                 <geometry x="0" y="64" w="dispw/2" h="disph-64-128/2"/>
110             </zone>
111             <zone id="5" name="UpperRight">
112                 <geometry x="dispw/2" y="64" w="dispw/2" h="disph-64-128/2"/>
113             </zone>
114             <zone id="6" name="LowerLeft">
115                 <geometry x="0" y="heigh-64-128/2+64" w="dispw/2" h="disph-64-128/2"/>
116             </zone>
117             <zone id="7" name="LowerRight">
118                 <geometry x="dispw/2" y="heigh-64-128/2+64" w="dispw/2" h="disph-64-128/2"/>
119             </zone>
120             <zone id="8" name="SysApp">
121                 <geometry x="0" y="64" w="dispw" h="disph-64-128"/>
122             </zone>
123             <zone id="9" name="SysApp.Left">
124                 <geometry x="0" y="64" w="dispw/2-181" h="disph-64-128"/>
125             </zone>
126             <zone id="10" name="SysApp.Right">
127                 <geometry x="dispw/2+181" y="64" w="dispw/2-181" h="disph-64-128"/>
128             </zone>
129             <zone id="11" name="MobileFull">
130                 <geometry x="0" y="64" w="dispw" h="disph-64-128"/>
131
132                 <aspect Fixed="true" AlignLeft="false" AlignRight="false" AlignTop="flase" AlignBottom="false"/>
133             </zone>
134             <zone id="12" name="MobileUpper">
135                 <geometry x="0" y="64" w="dispw" h="disph-64-128/2"/>
136                 <aspect Fixed="true" AlignLeft="false" AlignRight="false" AlignTop="flase" AlignBottom="false"/>
137             </zone>
138             <zone id="13" name="MobileLower">
139                 <geometry x="0" y="heigh-64-128/2+64" w="dispw" h="disph-64-128/2"/>
140                 <aspect Fixed="true" AlignLeft="false" AlignRight="false" AlignTop="flase" AlignBottom="false"/>
141             </zone>
142         </zones>
143     </display>
144     <display id="1" name="Mid">
145         <node>Center</node>
146         <no>0</no>
147         <type>meter</type>
148         <width>1280</width>
149         <height>480</height>
150         <layers>
151             <layer id="1" name="MainApp">
152                 <type>2</type>
153                 <menuoverlap>false</menuoverlap>
154             </layer>
155             <layer id="2" name="SubDispMainApp">
156                 <type>2</type>
157                 <menuoverlap>false</menuoverlap>
158             </layer>
159             <layer id="3" name="SubDispSubApp">
160                 <type>2</type>
161                 <menuoverlap>false</menuoverlap>
162             </layer>
163         </layers>
164         <zones>
165             <zone id="21" name="Full">
166                 <geometry x="0" y="0" w="dispw" h="disph"/>
167                 <overlap>Left;Right</overlap>
168             </zone>
169             <zone id="22" name="Left">
170                 <geometry x="0" y="0" w="320" h="disph"/>
171                 <overlap>Full</overlap>
172             </zone>
173             <zone id="23" name="Right">
174                 <geometry x="960" y="0" w="320" h="disph"/>
175                 <overlap>Full</overlap>
176             </zone>
177         </zones>
178     </display>
179 </displays>
180
181 <sounds>
182     <sound id="0" name="Center">
183         <node>Center</node>
184         <no>0</no>
185         <zones>
186             <zone id="0" name="Base"/>
187             <zone id="1" name="Full"/>
188             <zone id="2" name="Driver"/>
189             <zone id="3" name="Passenger"/>
190         </zones>
191     </sound>
192 </sounds>
193
194 <ports>
195     <port id="0" name="AppController">18081</port>
196     <port id="1" name="PluseAudio">8088</port>
197 </ports>
198
199 <!-- Application Category name -->
200 <categorys>
201     <category id="1" name="Menu">
202         <type>system</type>
203         <view>always</view>
204         <sound>always</sound>
205         <input>always</input>
206         <priority>4</priority>
207         <r_ctrl>2</r_ctrl>
208     </category>
209     <category id="2" name="Message">
210         <type>message</type>
211         <view>always</view>
212         <sound>always</sound>
213         <input>always</input>
214         <priority>5</priority>
215         <r_ctrl>2</r_ctrl>
216     </category>
217     <category id="3" name="Map">
218         <type>map</type>
219         <view>always</view>
220         <sound>always</sound>
221         <input>always</input>
222         <priority>3</priority>
223         <r_ctrl>0</r_ctrl>
224     </category>
225     <category id="4" name="Driving">
226         <type>maker</type>
227         <view>run</view>
228         <sound>run</sound>
229         <input>run</input>
230         <priority>2</priority>
231         <r_ctrl>0</r_ctrl>
232     </category>
233     <category id="5" name="CarSetting">
234         <type>maker</type>
235         <view>parked</view>
236         <sound>parked</sound>
237         <input>parked</input>
238         <priority>2</priority>
239         <r_ctrl>0</r_ctrl>
240     </category>
241     <category id="6" name="Camera.Back">
242         <type>maker</type>
243         <view>shift_back</view>
244         <sound>shift_back</sound>
245         <input>shift_back</input>
246         <priority>6</priority>
247         <r_ctrl>1</r_ctrl>
248     </category>
249     <category id="7" name="Camera.Left">
250         <type>maker</type>
251         <view>blinker_left</view>
252         <sound>blinker_left</sound>
253         <input>blinker_left</input>
254         <priority>6</priority>
255         <r_ctrl>1</r_ctrl>
256     </category>
257     <category id="8" name="Camera.Right">
258         <type>maker</type>
259         <view>blinker_right</view>
260         <sound>blinker_right</sound>
261         <input>blinker_right</input>
262         <priority>6</priority>
263         <r_ctrl>1</r_ctrl>
264     </category>
265     <category id="9" name="Entertainment">
266         <type>unknown</type>
267         <view>parked</view>
268         <sound>parked</sound>
269         <input>parked</input>
270         <priority>0</priority>
271         <r_ctrl>2</r_ctrl>
272     </category>
273     <category id="10" name="Entertainment.audio">
274         <type>unknown</type>
275         <view>parked</view>
276         <sound>always</sound>
277         <input>always</input>
278         <priority>0</priority>
279         <r_ctrl>1</r_ctrl>
280     </category>
281     <category id="11" name="Entertainment.visual">
282         <type>unknown</type>
283         <view>always</view>
284         <sound>parked</sound>
285         <input>always</input>
286         <priority>0</priority>
287         <r_ctrl>1</r_ctrl>
288     </category>
289 </categorys>
290
291 <appkinds>
292     <appkind id="0" name="Almighty">
293         <privilege>almighty</privilege>
294         <priority>5</priority>
295     </appkind>
296     <appkind id="1" name="HomeScreen">
297         <privilege>system</privilege>
298         <priority>4</priority>
299     </appkind>
300     <appkind id="2" name="SysApp">
301         <privilege>system</privilege>
302         <priority>3</priority>
303     </appkind>
304     <appkind id="3" name="SysApp.audio">
305         <privilege>system.audio</privilege>
306         <priority>3</priority>
307     </appkind>
308     <appkind id="4" name="SysApp.visiual">
309         <privilege>system.visible</privilege>
310         <priority>3</priority>
311     </appkind>
312     <appkind id="5" name="Maker">
313         <privilege>maker</privilege>
314         <priority>2</priority>
315     </appkind>
316     <appkind id="6" name="Certificate">
317         <privilege>certificate</privilege>
318         <priority>1</priority>
319     </appkind>
320     <appkind id="7" name="UnKnown">
321         <privilege>none</privilege>
322         <priority>0</priority>
323     </appkind>
324 </appkinds>
325
326 <inputs>
327     <input id="0" name="DrivingForceGT">
328         <switchs>
329             <switch id="0" name="JS_UpDown" appid=""/>
330             <switch id="1" name="JS_LR" appid=""/>
331             <switch id="2" name="JS_Cross" appid="org.tizen.ico.app-soundsample"/>
332             <switch id="3" name="JS_Square" appid="org.tizen.ico.homescreen"/>
333             <switch id="4" name="JS_Circle" appid="org.tizen.ico.app-soundsample"/>
334             <switch id="5" name="JS_Triangle" appid="org.tizen.ico.homescreen"/>
335         </switchs>
336     </input>
337 </inputs>
338
339 <resource_cpu_control>
340     <do_it>app</do_it>
341     <ctrl_dir_path>/sys/fs/cgroup/cpu,cpuacct/SCprivate</ctrl_dir_path>
342     <sampling_wait>300</sampling_wait>
343     <retry_cnt>6</retry_cnt>
344     <low_limit_value>30</low_limit_value>
345     <high_limit_value>92</high_limit_value>
346     <sector id="0" name="groupA">
347         <hight_array>
348             <item>500</item>
349             <item>600</item>
350             <item>700</item>
351         </hight_array>
352         <low_array>
353             <item>1000</item>
354             <item>500</item>
355             <item>600</item>
356         </low_array>
357     </sector>
358     <sector id="1" name="groupB">
359         <hight_array>
360             <item>300</item>
361             <item>250</item>
362             <item>200</item>
363         </hight_array>
364         <low_array>
365             <item>1000</item>
366             <item>300</item>
367             <item>250</item>
368         </low_array>
369     </sector>
370     <sector id="2" name="groupC">
371         <hight_array>
372             <item>200</item>
373             <item>150</item>
374             <item>100</item>
375         </hight_array>
376         <low_array>
377             <item>1000</item>
378             <item>200</item>
379             <item>150</item>
380         </low_array>
381     </sector>
382 </resource_cpu_control>
383
384 <default>
385     <node>Center</node>
386     <appkind>UnKnown</appkind>
387     <category>Entertainment</category>
388     <display>Center</display>
389     <layer>Application</layer>
390     <displayzone>Full</displayzone>
391     <sound>Center</sound>
392     <soundzone>Full</soundzone>
393     <inputdev>DrivingForceGT</inputdev>
394     <inputsw>JS_UpDown</inputsw>
395 </default>
396
397 <transition>none</transition>
398
399 <login_user>
400     <parent_dir>ico</parent_dir>
401 </login_user>
402
403 <vehicle_info>
404     <retryCnt>40</retryCnt>
405     <waitTime>200</waitTime> <!-- micro srcond -->
406     <vinfo id="1" name="VehicleSpeed">
407         <objname>VehicleSpeed</objname>
408         <property>VehicleSpeed</property>
409         <zone>0</zone>
410         <type>INT32</type>
411     </vinfo>
412     <vinfo id="2" name="ShiftPosition">
413         <objname>Transmission</objname>
414         <property>ShiftPosition</property>
415         <zone>0</zone>
416         <type>BYTE</type>
417     </vinfo>
418     <vinfo id="3" name="LeftTurn">
419         <objname>LightStatus</objname>
420         <property>LeftTurn</property>
421         <zone>0</zone>
422         <type>BOOLEAN</type>
423     </vinfo>
424     <vinfo id="4" name="RightTurn">
425         <objname>LightStatus</objname>
426         <property>RightTurn</property>
427         <zone>0</zone>
428         <type>BOOLEAN</type>
429     </vinfo>
430     <vinfo id="5" name="NightMode">
431         <objname>NightMode</objname>
432         <property>NightMode</property>
433         <zone>0</zone>
434         <type>UINT32</type>
435     </vinfo>
436     <vinfo id="6" name="DrivingMode">
437         <objname>DrivingMode</objname>
438         <property>DrivingMode</property>
439         <zone>0</zone>
440         <type>UINT32</type>
441     </vinfo>
442 </vehicle_info>
443
444 <on_screen_roles>
445     <role id="DEFAULT"     state="14003"/>
446     <role id="alert"       state="14001"/>
447     <role id="attention"   state="14002"/>
448     <role id="guide"       state="14003"/>
449     <role id="help"        state="14003"/>
450     <role id="incoming"    state="14002"/>
451     <role id="information" state="14002"/>
452     <role id="message"     state="14003"/>
453     <role id="warning"     state="14001"/>
454 </on_screen_roles>
455
456 <on_screen_position>
457     <x>0</x>
458     <y>0</y>
459     <w>1080</w>
460     <h>1920</h>
461 </on_screen_position>
462
463 </systemconfig>
464 <!-- vim:set expandtab ts=4 sw=4: -->