• 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            ],
69            "bgColor" : "#000000ff"
70        }
71    ],
72    "default": {
73        "Common": {
74            "visible": false
75        },
76        "UILabel": {
77            "bgColor": "#000000ff",
78            "fontColor": "#ffffffe6",
79            "align" : "center"
80        },
81        "UIImageView": {
82            "imgCnt" : 1,
83            "updInterval": 0,
84            "filePrefix" : ""
85        },
86        "UILabelButton": {
87            "bgColor": "#007dffff",
88            "txtColor": "#ffffffff",
89            "focusedBgColor": "#007dffff",
90            "focusedTxtColor": "#ffffffff",
91            "focusable" : true
92        },
93        "UIBoxProgress": {
94            "defaultValue": 0,
95            "bgColor": "#cdcfd0ff",
96            "fgColor": "#0a59f7ff",
97            "endPoint" : "",
98            "hasEp" : false
99        }
100    },
101    "coms": [
102        {
103            "type": "UIImageView",
104            "id": "OHOSIconDark_Image",
105            "x": 120,
106            "y": 426,
107            "w": 480,
108            "h": 60,
109            "resPath": "/resources/images/icon/darkOUCOHlogo.png"
110        },
111        {
112            "type": "UIImageView",
113            "id": "OHOSIcon_Image",
114            "x": 120,
115            "y": 426,
116            "w": 480,
117            "h": 60,
118            "resPath": "/resources/images/icon/lightOUCOHlogo.png"
119        },
120        {
121            "type": "UILabel",
122            "id": "UpdateInfoDark_Label",
123            "text": "[LABEL_UPD_INFO]",
124            "x": 229,
125            "y": 1037,
126            "w": 265,
127            "h": 43,
128            "fontSize": 32
129        },
130        {
131            "type": "UILabel",
132            "id": "SDUpdateInfo_Label",
133            "text": "[LABEL_UPD_SDCARD_INFO]",
134            "x": 120,
135            "y": 1037,
136            "w": 480,
137            "h": 43,
138            "fontSize": 32,
139            "bgColor": "#f1f3f5ff",
140            "fontColor": "#000000e6"
141        },
142        {
143            "type": "UILabel",
144            "id": "RstInfo_Label",
145            "text": "[LABEL_RESET_PROGRESS_INFO]",
146            "x": 120,
147            "y": 1037,
148            "w": 480,
149            "h": 43,
150            "fontSize": 32,
151            "bgColor": "#f1f3f5ff",
152            "fontColor": "#000000e6"
153        },
154        {
155            "type": "UIImageView",
156            "id": "FailIcon_Image",
157            "x": 264,
158            "y": 426,
159            "w": 192,
160            "h": 192,
161            "resPath": "/resources/images/icon/icon_failed.png"
162        },
163        {
164            "type": "UIImageView",
165            "id": "SuccessIcon_Image",
166            "x": 264,
167            "y": 426,
168            "w": 192,
169            "h": 192,
170            "resPath": "/resources/images/icon/icon_ok.png"
171        },
172        {
173            "type": "UILabelButton",
174            "id": "FailReboot_Button",
175            "text": "[LABEL_UPD_FAIL_REBOOT]",
176            "x": 48,
177            "y": 1136,
178            "w": 624,
179            "h": 80,
180            "fontSize": 32
181        },
182        {
183            "type": "UILabel",
184            "id": "UpdateFailedRes_Label",
185            "text": "[LABEL_UPD_FAIL_TIP]",
186            "x": 297,
187            "y": 1037,
188            "w": 128,
189            "h": 43,
190            "fontSize": 32
191        },
192        {
193            "type": "UILabel",
194            "id": "UpdateSuccessRes_Label",
195            "text": "[LABEL_UPD_OK_DONE]",
196            "x": 295,
197            "y": 1037,
198            "w": 128,
199            "h": 43,
200            "fontSize": 32
201        },
202        {
203            "type": "UILabel",
204            "id": "UpdateAutoReboot_Label",
205            "text": "[LABEL_UPD_OK_REBOOT]",
206            "x": 218,
207            "y": 1096,
208            "w": 282,
209            "h": 38,
210            "fontSize": 28,
211            "fontColor": "#ffffff96"
212        },
213        {
214            "type": "UILabel",
215            "id": "FactoryRstFailedRes_Label",
216            "text": "[LOG_WIPE_FAIL]",
217            "x": 120,
218            "y": 1037,
219            "w": 480,
220            "h": 43,
221            "fontSize": 32
222        },
223        {
224            "type": "UIImageView",
225            "id": "PowerLongPressWarning_Image",
226            "x": 24,
227            "y": 48,
228            "w": 672,
229            "h": 144,
230            "resPath": "/resources/images/warn/tips.png"
231        },
232        {
233            "type": "UIBoxProgress",
234            "id": "UpdBox_Progress",
235            "x": 144,
236            "y": 548,
237            "w": 432,
238            "h": 4,
239            "endPoint" : "FlashPoint_Image",
240            "hasEp" : true
241        },
242        {
243            "type": "UIBoxProgress",
244            "id": "ProgressUpdBoxDark_Progress",
245            "x": 144,
246            "y": 548,
247            "w": 432,
248            "h": 4,
249            "bgColor": "#262626ff",
250            "fgColor": "#b4b4b4ff",
251            "endPoint" : "FlashPointDark_Image",
252            "hasEp" : true
253        },
254        {
255            "type": "UIImageView",
256            "id": "FlashPoint_Image",
257            "x": 805,
258            "y": 595,
259            "w": 90,
260            "h": 90,
261            "resPath": "/resources/images/progress/",
262            "filePrefix": "flash_",
263            "imgCnt" : 22,
264            "updInterval": 10
265        },
266        {
267            "type": "UIImageView",
268            "id": "FlashPointDark_Image",
269            "x": 805,
270            "y": 595,
271            "w": 90,
272            "h": 90,
273            "resPath": "/resources/images/progress/",
274            "filePrefix": "dark_flash_",
275            "imgCnt" : 22,
276            "updInterval": 10
277        }
278    ]
279}