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