/developtools/ace_ets2bundle/compiler/codegen/ |
D | codegen_ets.js | 15 …r){var o;e=r.nmd(e),function(){var n,a="Expected a function",i="__lodash_hash_undefined__",s="__lo… function
|
/developtools/ace_js2bundle/ace-loader/plugin/codegen/ |
D | index.js | 1 …r extends o.ASTNode{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.content=n}}t.… class
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/ |
D | PowerDubai.ets | 44 …ensorInfo("","Toal",sumPower.toFixed(5)+"",sumCurrent.toFixed(5)+"","100%",$r("app.color.color_fff… 45 …(new TPowerSensorInfo("","Sensor","Power(mAh)","Current(mA)","Percent(%)", $r("app.color.colorPrim… 48 it.setColor($r("app.color.color_fff")) 50 …PowerAppInfo("", "", "ProcessName", "Power(mAh)", "Current(mA)", "Percent",$r("app.color.colorPrim… 60 …}.fontWeight(FontWeight.Bold).fontColor($r("app.color.color_333")).fontSize('12fp').textAlign(Text… 68 .fontColor($r("app.color.color_333")) 71 .border({ width: '1vp', color: $r("app.color.color_999") }) 77 // .fontColor($r("app.color.color_333")) 80 // .border({ width: '1vp', color: $r("app.color.color_999") }) 86 .fontColor($r("app.color.color_333")) [all …]
|
D | Summary.ets | 138 …new SummaryItem($r("app.media.icon_normalized_current"), "归一化电流", (normalCurrentNow / this.gpData.… 144 …new SummaryItem($r("app.media.icon_max_temperature"), "soc温度", (socThermalTemp / this.gpData.lengt… 150 …new SummaryItem($r("app.media.icon_max_temperature"), "壳温", (shellFrameTempSum / this.gpData.lengt… 155 …new SummaryItem($r("app.media.icon_jank_score"), "平均帧率", (fpsSum / (this.gpData.length - fpsNullSu… 156 … new SummaryItem($r("app.media.icon_jank_score"), "最高帧率", (fpsMax).toFixed(0) + "HZ", "#fcf4ee"), 157 …new SummaryItem($r("app.media.icon_jank_score"), "低帧率", (calculationTest.Low_Frame_Rate()).toFixed… 158 …new SummaryItem($r("app.media.icon_jank_score"), "抖动率", (calculationTest.Jitter_rate()).toFixed(2)… 159 …new SummaryItem($r("app.media.icon_jank_score"), "卡顿次数", (calculationTest.calculateCaton(fpsJitter… 161 $r("app.media.icon_frame_score"), "GPU负载", 164 …new SummaryItem($r("app.media.icon_frame_score"), "DDR频率", (ddrFreqSum / this.gpData.length / 1e6)… [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/main/ |
D | HomeBottomPage.ets | 30 Image($r('app.media.icon_home_selected')).width(this.imgW).height(this.imgH) 31 Text('首页').fontSize('12vp').fontColor($r("app.color.colorPrimary")) 33 Image($r('app.media.icon_home_unselected')).width(this.imgW).height(this.imgH) 40 .backgroundColor($r("app.color.color_fff")) 46 Image($r('app.media.icon_report_selected')).width(this.imgW).height(this.imgH) 47 Text('报告').fontSize('12vp').fontColor($r("app.color.colorPrimary")) 49 Image($r('app.media.icon_report_unselected')).width(this.imgW).height(this.imgH) 56 .backgroundColor($r("app.color.color_fff")) 62 Image($r('app.media.icon_mine_selected')).width(this.imgW).height(this.imgH) 63 Text('我的').fontSize('12vp').fontColor($r("app.color.colorPrimary")) [all …]
|
D | Home.ets | 62 .fontColor($r("app.color.color_fff")) 72 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.color_fff") }) 76 colors: [[$r("app.color.color_80B3193F"), 0.0], [$r("app.color.color_80fff"), 1.0]] 80 .fontColor($r('app.color.color_fff')) 91 .border({ width: '1vp', radius: this.circleRadius, color: $r("app.color.color_80fff") }) 112 Text(this.state.toString()).fontSize(12).height('5%').fontColor($r("app.color.color_fff")) 115 .fontColor($r("app.color.color_fff")) 119 }.backgroundColor($r('app.color.colorPrimary')).width('100%') 135 new OtherSupport('亮度调节', '调节屏幕亮度', TestMode.BRIGHTNESS, $r("app.media.icon_brightness_plus")) 149 .fontColor($r("app.color.color_333")) [all …]
|
D | Mine.ets | 29 Image($r('app.media.person')) 42 Image($r('app.media.test_apps_count')) 57 Image($r('app.media.test_session_count')) 72 Image($r('app.media.test_times_count')) 90 Image($r('app.media.question')).width('20vp').height('20vp').margin({ left: '10vp' }) 104 Image($r('app.media.settings')) 121 }.backgroundColor($r('app.color.colorPrimary'))
|
/developtools/integration_verification/tools/startup_guard/startup_checker/ |
D | __init__.py | 30 r = rule(mgr, args) 31 r.log("Do %s rule checking now:" % rule.RULE_NAME) 32 if not r.__check__(): 34 r.log(" Please refer to: \033[91m%s\x1b[0m" % r.get_help_url())
|
/developtools/integration_verification/tools/deps_guard/rules_checker/ |
D | __init__.py | 34 r = rule(mgr, args) 35 r.log("Do %s rule checking now:" % rule.RULE_NAME) 36 if not r.check(): 40 r.log(" Please refer to: \033[91m%s\x1b[0m" % r.get_help_url())
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/ |
D | ColorTemplate.ets | 20 public static argb(a: number, r: number, g: number, b: number): number{ 21 return 0xff000000 | (a << 24) | (r << 16) | (g << 8) | b; 24 public static rgb(r: number, g: number, b: number): number{ 25 return 0xff000000 | (r << 16) | (g << 8) | b; 44 public static RGBToHSV(r,g,b,hsv:number[]){ 46 let arr = [r,g,b]; 60 } else if (max === r && g >= b) { 62 } else if (max === r && g < b) { 65 h = 60 * ((b - r) / (max - min)) + 120 67 h = 60 * ((r - g) / (max - min)) + 240 [all …]
|
D | Transformer.ets | 291 * @param r 293 public rectValueToPixel(r: MyRect) { 295 this.mMatrixValueToPx.mapRect(r); 296 this.mViewPortHandler.getMatrixTouch().mapRect(r); 297 this.mMatrixOffset.mapRect(r); 303 * @param r 306 public rectToPixelPhase(r: MyRect, phaseY: number) { 309 r.top *= phaseY; 310 r.bottom *= phaseY; 312 this.mMatrixValueToPx.mapRect(r); [all …]
|
/developtools/integration_verification/tools/fotff/tester/smoke/ |
D | smoke.go | 96 r, err := t.readReport(reportDir) 97 if len(r) == 0 { 100 if r[0].TestCaseName != testCase { 103 logrus.Infof("do testcase %s at %s done, result is %s", r[0].TestCaseName, deviceSN, r[0].Status) 104 return r[0], nil 141 for _, r := range result { 142 if r.Status == "pass" { 143 …ret = append(ret, tester.Result{TestCaseName: strconv.Itoa(r.TestCaseName), Status: tester.ResultP… 145 …ret = append(ret, tester.Result{TestCaseName: strconv.Itoa(r.TestCaseName), Status: tester.ResultF…
|
/developtools/smartperf_host/ide/src/trace/database/logic-worker/ |
D | ProcedureLogicWorkerFileSystem.ts | 407 res.map((r) => { 408 let stacks = this.dataCache.eBpfCallChainsMap.get(r.callchainId); 409 r.startTsStr = getTimeString(r.startTs); 410 r.durStr = getProbablyTime(r.dur); 412 r.firstArg = r.firstArg ?? '0x0'; 413 r.secondArg = r.secondArg ?? '0x0'; 414 r.thirdArg = r.thirdArg ?? '0x0'; 415 r.fourthArg = r.fourthArg ?? '0x0'; 416 r.returnValue = r.returnValue ?? '0x0'; 417 r.error = r.error ?? '0x0'; [all …]
|
/developtools/profiler/host/smartperf/ide/src/trace/database/logic-worker/ |
D | ProcedureLogicWorkerFileSystem.ts | 407 res.map((r) => { 408 let stacks = this.dataCache.eBpfCallChainsMap.get(r.callchainId); 409 r.startTsStr = getTimeString(r.startTs); 410 r.durStr = getProbablyTime(r.dur); 412 r.firstArg = r.firstArg ?? '0x0'; 413 r.secondArg = r.secondArg ?? '0x0'; 414 r.thirdArg = r.thirdArg ?? '0x0'; 415 r.fourthArg = r.fourthArg ?? '0x0'; 416 r.returnValue = r.returnValue ?? '0x0'; 417 r.error = r.error ?? '0x0'; [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/ |
D | LoginPage.ets | 23 Image($r('app.media.logo')).width('100vp').height('100vp').margin({ top: '180vp' }) 25 Text($r('app.string.login')) 27 .fontColor($r('app.color.color_fff')) 30 .border({ width: '1vp', color: $r('app.color.color_fff'), radius: '20vp' }) 46 colors: [[$r("app.color.colorPrimary"), 0.0], [$r("app.color.colorPrimary"), 1.0]]
|
D | SettingsPage.ets | 31 Image($r('app.media.icon_language')).width('25vp').height('25vp').margin({ left: '2%' }) 34 Text('语言切换').fontSize('15fp').fontColor($r("app.color.color_333")) 36 Image($r('app.media.icon_enter')).width('15vp').height('15vp').margin({ left: '15vp' }) 38 … }.height('47vp').width('95%').backgroundColor($r("app.color.color_fff")).margin({ top: '10vp' }) 44 .fontColor($r('app.color.color_fff')) 47 .backgroundColor($r("app.color.colorPrimary"))
|
D | StartTestPage.ets | 38 new SwitchItem("trace", '是否抓取trace', $r("app.media.icon_average_frame_b"), false, true), 39 new SwitchItem("screen_capture", '是否开启截图', $r("app.media.icon_screencap"), false, true) 95 Image($r('app.media.logo')).width('70vp').height('70vp').margin({ left: '2%' }) 100 Text(this.selectApp).fontSize('15fp').fontColor($r("app.color.color_333")) 102 … Image($r('app.media.icon_enter')).width('15vp').height('15vp').margin({ right: '35vp' }) 108 .backgroundColor($r("app.color.color_fff")) 118 … Image($r('app.media.icon_test_index')).width('25vp').height('25vp').margin({ left: '2%' }) 121 Text('测试指标').fontSize('15fp').fontColor($r("app.color.color_333")) 123 … Image($r('app.media.icon_enter')).width('15vp').height('15vp').margin({ right: '15vp' }) 139 .backgroundColor($r("app.color.color_fff")) [all …]
|
D | TitleWindowPage.ets | 125 Image($r("app.media.logo")).width(10).height(10).margin({ left: '2%' }) 128 .fontColor($r("app.color.color_fff")).margin({ left: '2%' }) 129 …Image($r("app.media.icon_close_small")).height(15).width(15).margin({ left: '45%' }).onClick(() =>… 139 icon: $r("app.media.icon_average_frame_b"), 150 icon: $r("app.media.icon_normalized_current"), 160 icon: $r("app.media.icon_counter"), 171 icon: $r("app.media.icon_counter"), 182 icon: $r("app.media.icon_frame_score"), 192 icon: $r("app.media.icon_jank_each_hour"), 202 icon: $r("app.media.icon_max_temperature"), [all …]
|
D | FloatBall.ets | 168 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.colorPrimary") }) 172 colors: [[$r("app.color.colorPrimary"), 1.0], [$r("app.color.colorPrimary"), 1.0]] 177 .fontColor($r("app.color.color_fff")) 216 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.color_666") }) 220 colors: [[$r("app.color.color_666"), 0.7], [$r("app.color.color_666"), 0.7]] 229 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.colorPrimary") }) 233 colors: [[$r("app.color.colorPrimary"), 0.7], [$r("app.color.colorPrimary"), 0.7]] 239 .fontColor($r("app.color.color_fff"))
|
/developtools/integration_verification/tools/fotff/rec/ |
D | flashandtest.go | 44 for _, r := range results { 45 logrus.Infof("Result for test case %s is %s", r.TestCaseName, r.Status) 46 if r.Status == tester.ResultFail {
|
D | record.go | 89 r, err := t.DoTestCase(dev, result.TestCaseName, context.TODO()) 94 logrus.Infof("do testcase %s at %s done, result is %s", r.TestCaseName, dev, r.Status) 95 if r.Status == tester.ResultPass { 96 logrus.Warnf("testcase %s result is %s", r.TestCaseName, tester.ResultOccasionalFail)
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/ |
D | Rect.ets | 23 * @param r 42 constructor(left?: number, top?: number, right?: number, bottom?: number, r?: MyRect) { 47 if (r != null || r != undefined) { 48 this.left = r.left; 49 this.top = r.top; 50 this.right = r.right; 51 this.bottom = r.bottom; 56 * Returns a copy of {@code r} if {@code r} is not {@code null}, or {@code null} otherwise. 60 public static copyOrNull(r: MyRect): MyRect { 61 return r == null ? null : new MyRect(r.left, r.top, r.right, r.bottom);
|
/developtools/smartperf_host/ide/src/trace/bean/ |
D | FrameChartStruct.ts | 24 r: 82, 102 …frameChartBeanCanvasCtx.fillStyle = `rgba(${lightBlue.r}, ${lightBlue.g}, ${lightBlue.b}, ${lightB… 105 frameChartBeanCanvasCtx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, 0.9)`; 123 frameChartBeanCanvasCtx.strokeStyle = `rgb(${lightBlue.r}, ${lightBlue.g}, ${lightBlue.b})`; 149 r: Math.floor(245 + 10 * (1 - widthPercentage)),
|
/developtools/profiler/host/smartperf/ide/src/trace/bean/ |
D | FrameChartStruct.ts | 24 r: 82, 102 …frameChartBeanCanvasCtx.fillStyle = `rgba(${lightBlue.r}, ${lightBlue.g}, ${lightBlue.b}, ${lightB… 105 frameChartBeanCanvasCtx.fillStyle = `rgba(${color.r}, ${color.g}, ${color.b}, 0.9)`; 123 frameChartBeanCanvasCtx.strokeStyle = `rgb(${lightBlue.r}, ${lightBlue.g}, ${lightBlue.b})`; 149 r: Math.floor(245 + 10 * (1 - widthPercentage)),
|
/developtools/integration_verification/tools/fotff/tester/xdevice/ |
D | xdevice.go | 111 r, err := t.readReport(reportDir) 112 if len(r) == 0 { 115 if r[0].TestCaseName != testCase { 118 logrus.Infof("do testcase %s at %s done, result is %s", r[0].TestCaseName, deviceSN, r[0].Status) 119 return r[0], nil
|