• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "id": "upd",
3    "bgColor" : "#000000ff",
4    "subpages": [
5        {
6            "id": "update",
7            "coms": [
8                "OHOSIconDark_Image",
9                "ProgressUpdBoxDark_Progress",
10                "UpdateInfoDark_Label",
11                "PowerLongPressWarning_Image",
12                "FlashPointDark_Image"
13            ],
14            "bgColor" : "#000000ff"
15        },
16        {
17            "id": "sdUpdate",
18            "coms": [
19                "OHOSIcon_Image",
20                "UpdBox_Progress",
21                "SDUpdateInfo_Label",
22                "PowerLongPressWarning_Image",
23                "FlashPoint_Image"
24            ],
25            "bgColor" : "#f1f3f5ff"
26        },
27        {
28            "id": "reset",
29            "coms": [
30                "OHOSIcon_Image",
31                "UpdBox_Progress",
32                "RstInfo_Label",
33                "FlashPoint_Image"
34            ],
35            "bgColor" : "#f1f3f5ff"
36        },
37        {
38            "id": "updateSuccess",
39            "coms": [
40                "SuccessIcon_Image",
41                "UpdateSuccessRes_Label",
42                "UpdateAutoReboot_Label"
43            ],
44            "bgColor" : "#000000ff"
45        },
46        {
47            "id": "normalUpdateFailed",
48            "coms": [
49                "FailIcon_Image",
50                "FailReboot_Button",
51                "UpdateFailedRes_Label"
52            ],
53            "bgColor" : "#000000ff"
54        },
55        {
56            "id": "updateFailedNoButton",
57            "coms": [
58                "FailIcon_Image",
59                "UpdateInfoDark_Label"
60            ],
61            "bgColor" : "#000000ff"
62        },
63        {
64            "id": "FactoryRstFailed",
65            "coms": [
66                "FailIcon_Image",
67                "FactoryRstFailedRes_Label",
68                "ReturnToMain_Button"
69            ],
70            "bgColor" : "#f1f3f5ff"
71        },
72        {
73            "id": "FactoryRstSucc",
74            "coms": [
75                "SuccessIcon_Image",
76                "FactoryRstSuccRes_Label",
77                "FactoryRstSuccReboot_Label"
78            ],
79            "bgColor" : "#f1f3f5ff"
80        }
81    ],
82    "default": {
83        "Common": {
84            "visible": false
85        },
86        "UILabel": {
87            "bgColor": "#000000ff",
88            "fontColor": "#ffffffe6",
89            "align" : "center",
90            "style" : "normal"
91        },
92        "UIImageView": {
93            "imgCnt" : 1,
94            "updInterval": 0,
95            "filePrefix" : ""
96        },
97        "UILabelButton": {
98            "bgColor": "#007dffff",
99            "txtColor": "#ffffffff",
100            "focusedBgColor": "#007dffff",
101            "focusedTxtColor": "#ffffffff",
102            "focusable" : true
103        },
104        "UIBoxProgress": {
105            "defaultValue": 0,
106            "bgColor": "#cdcfd0ff",
107            "fgColor": "#0a59f7ff",
108            "endPoint" : "",
109            "hasEp" : false
110        }
111    },
112    "coms": [
113        {
114            "type": "UIImageView",
115            "id": "OHOSIconDark_Image",
116            "x": 120,
117            "y": 426,
118            "w": 480,
119            "h": 60,
120            "resPath": "/resources/images/icon/darkOUCOHlogo.png"
121        },
122        {
123            "type": "UIImageView",
124            "id": "OHOSIcon_Image",
125            "x": 120,
126            "y": 426,
127            "w": 480,
128            "h": 60,
129            "resPath": "/resources/images/icon/lightOUCOHlogo.png"
130        },
131        {
132            "type": "UILabel",
133            "id": "UpdateInfoDark_Label",
134            "text": "[LABEL_UPD_INFO]",
135            "x": 229,
136            "y": 1037,
137            "w": 265,
138            "h": 43,
139            "fontSize": 32
140        },
141        {
142            "type": "UILabel",
143            "id": "SDUpdateInfo_Label",
144            "text": "[LABEL_UPD_SDCARD_INFO]",
145            "x": 120,
146            "y": 1037,
147            "w": 480,
148            "h": 43,
149            "fontSize": 32,
150            "bgColor": "#f1f3f5ff",
151            "fontColor": "#000000e6"
152        },
153        {
154            "type": "UILabel",
155            "id": "RstInfo_Label",
156            "text": "[LABEL_RESET_PROGRESS_INFO]",
157            "x": 120,
158            "y": 1037,
159            "w": 480,
160            "h": 43,
161            "fontSize": 32,
162            "bgColor": "#f1f3f5ff",
163            "fontColor": "#000000e6"
164        },
165        {
166            "type": "UIImageView",
167            "id": "FailIcon_Image",
168            "x": 264,
169            "y": 426,
170            "w": 192,
171            "h": 192,
172            "resPath": "/resources/images/icon/icon_failed.png"
173        },
174        {
175            "type": "UIImageView",
176            "id": "SuccessIcon_Image",
177            "x": 264,
178            "y": 426,
179            "w": 192,
180            "h": 192,
181            "resPath": "/resources/images/icon/icon_ok.png"
182        },
183        {
184            "type": "UILabelButton",
185            "id": "FailReboot_Button",
186            "text": "[LABEL_UPD_FAIL_REBOOT]",
187            "x": 48,
188            "y": 1136,
189            "w": 624,
190            "h": 80,
191            "fontSize": 32
192        },
193        {
194            "type": "UILabelButton",
195            "id": "ReturnToMain_Button",
196            "text": "[LABEL_RETURN_TO_MAIN]",
197            "x": 48,
198            "y": 1136,
199            "w": 624,
200            "h": 80,
201            "fontSize": 32
202        },
203        {
204            "type": "UILabel",
205            "id": "UpdateFailedRes_Label",
206            "text": "[LABEL_UPD_FAIL_TIP]",
207            "x": 297,
208            "y": 1037,
209            "w": 128,
210            "h": 43,
211            "fontSize": 32
212        },
213        {
214            "type": "UILabel",
215            "id": "UpdateSuccessRes_Label",
216            "text": "[LABEL_UPD_OK_DONE]",
217            "x": 295,
218            "y": 1037,
219            "w": 128,
220            "h": 43,
221            "fontSize": 32
222        },
223        {
224            "type": "UILabel",
225            "id": "FactoryRstSuccRes_Label",
226            "text": "[LOGRES_WIPE_FINISH]",
227            "x": 120,
228            "y": 1037,
229            "w": 480,
230            "h": 43,
231            "fontSize": 32,
232            "bgColor":"#f1f3f5ff",
233            "fontColor":"#000000e6"
234        },
235        {
236            "type": "UILabel",
237            "id": "FactoryRstSuccReboot_Label",
238            "text": "[LABEL_UPD_OK_REBOOT]",
239            "x": 218,
240            "y": 1096,
241            "w": 282,
242            "h": 38,
243            "fontSize": 28,
244            "bgColor":"#f1f3f5ff",
245            "fontColor":"#00000099"
246        },
247        {
248            "type": "UILabel",
249            "id": "UpdateAutoReboot_Label",
250            "text": "[LABEL_UPD_OK_REBOOT]",
251            "x": 218,
252            "y": 1096,
253            "w": 282,
254            "h": 38,
255            "fontSize": 28,
256            "fontColor": "#ffffff96"
257        },
258        {
259            "type": "UILabel",
260            "id": "FactoryRstFailedRes_Label",
261            "text": "[LOG_WIPE_FAIL]",
262            "x": 120,
263            "y": 1037,
264            "w": 480,
265            "h": 43,
266            "fontSize": 32,
267            "bgColor" : "#f1f3f5ff",
268            "fontColor": "#000000e6"
269        },
270        {
271            "type": "UIImageView",
272            "id": "PowerLongPressWarning_Image",
273            "x": 24,
274            "y": 48,
275            "w": 672,
276            "h": 144,
277            "resPath": "/resources/images/warn/tips.png"
278        },
279        {
280            "type": "UIBoxProgress",
281            "id": "UpdBox_Progress",
282            "x": 144,
283            "y": 548,
284            "w": 432,
285            "h": 4,
286            "endPoint" : "FlashPoint_Image",
287            "hasEp" : true
288        },
289        {
290            "type": "UIBoxProgress",
291            "id": "ProgressUpdBoxDark_Progress",
292            "x": 144,
293            "y": 548,
294            "w": 432,
295            "h": 4,
296            "bgColor": "#262626ff",
297            "fgColor": "#b4b4b4ff",
298            "endPoint" : "FlashPointDark_Image",
299            "hasEp" : true
300        },
301        {
302            "type": "UIImageView",
303            "id": "FlashPoint_Image",
304            "x": 805,
305            "y": 595,
306            "w": 45,
307            "h": 45,
308            "resPath": "/resources/images/progress/",
309            "filePrefix": "flash_",
310            "imgCnt" : 22,
311            "updInterval": 10
312        },
313        {
314            "type": "UIImageView",
315            "id": "FlashPointDark_Image",
316            "x": 805,
317            "y": 595,
318            "w": 90,
319            "h": 90,
320            "resPath": "/resources/images/progress/",
321            "filePrefix": "dark_flash_",
322            "imgCnt" : 22,
323            "updInterval": 10
324        }
325    ]
326}