Searched refs:r (Results 1 – 25 of 122) sorted by relevance
12345
15 …r){var o;e=r.nmd(e),function(){var n,a="Expected a function",i="__lodash_hash_undefined__",s="__lo… function in la.anonymousFunction2c9801e19d00.Fi
1 …r extends o.ASTNode{constructor(e,t,n){super(),this.tagName=e,this.attributes=t,this.content=n}}t.… class
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 …]
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 …]
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 …]
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 …]
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'))
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())
34 r = rule(mgr, args)35 r.log("Do %s rule checking now:" % rule.RULE_NAME)36 if not r.check():38 r.log(" Please refer to: \033[91m%s\x1b[0m" % r.get_help_url())
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)) + 12067 h = 60 * ((r - g) / (max - min)) + 240[all …]
276 * @param r278 public rectValueToPixel(r: MyRect) {280 this.mMatrixValueToPx.mapRect(r);281 this.mViewPortHandler.getMatrixTouch().mapRect(r);282 this.mMatrixOffset.mapRect(r);288 * @param r291 public rectToPixelPhase(r: MyRect, phaseY: number) {294 r.top *= phaseY;295 r.bottom *= phaseY;297 this.mMatrixValueToPx.mapRect(r);[all …]
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], nil141 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…
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]]
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"))
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 …]
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_counter"),193 icon: $r("app.media.icon_counter"),204 icon: $r("app.media.icon_frame_score"),[all …]
161 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.colorPrimary") })165 colors: [[$r("app.color.colorPrimary"), 1.0], [$r("app.color.colorPrimary"), 1.0]]170 .fontColor($r("app.color.color_fff"))209 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.color_666") })213 colors: [[$r("app.color.color_666"), 0.7], [$r("app.color.color_666"), 0.7]]222 .border({ radius: '90vp', width: '0.5vp', color: $r("app.color.colorPrimary") })226 colors: [[$r("app.color.colorPrimary"), 0.7], [$r("app.color.colorPrimary"), 0.7]]232 .fontColor($r("app.color.color_fff"))
247 function rgbToHsl(r: number, g: number, b: number): number[] {248 const max = Math.max(r, g, b);249 const min = Math.min(r, g, b);260 case r:264 h = (b - r) / d + 2;267 h = (r - g) / d + 4;300 let r = 0,305 r = g = b = l; // achromatic319 r = hue2rgb(p, q, h + 1 / 3);324 return [r, g, b];
502 res.map((r): void => {503 let stacks = this.dataCache.eBpfCallChainsMap.get(r.callchainId);504 r.startTsStr = getTimeString(r.startTs);505 r.durStr = getProbablyTime(r.dur);507 r.firstArg = r.firstArg ?? '0x0';508 r.secondArg = r.secondArg ?? '0x0';509 r.thirdArg = r.thirdArg ?? '0x0';510 r.fourthArg = r.fourthArg ?? '0x0';511 r.returnValue = r.returnValue ?? '0x0';512 r.error = r.error ?? '0x0';[all …]
29 with open(config, 'r', encoding='utf-8') as r:30 config_json = json.load(r)33 with open(json_name, 'r', encoding='utf-8') as r:34 inherit_file = json.load(r)
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 {
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)
23 * @param r42 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);
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
40 pattern = r"[a-z|A-Z]*$"101 …def match_paragraph(cls, content: str, start_pattern: str = r"\w+\(\".*?\"\) *{", end_pattern: str…111 ptrn = r'^( *){s}(?#匹配开头).*?(?#中间非贪婪)\1(?#如果开头前面有空格,则结尾的前面应该有相同数量的空格)?{e}$(?#匹配结尾)'.format(126 if not (r'(' in pattern and r')' in pattern):