Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 133) sorted by relevance

123456

/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/
DPowerDubai.ets44 …orInfo("","Toal",sumPower.toFixed(5)+"",sumCurrent.toFixed(5)+"","100%",$r("app.color.color_fff")))
45 …PowerSensorInfo("","Sensor","Power(mAh)","Current(mA)","Percent(%)", $r("app.color.colorPrimary")))
48 it.setColor($r("app.color.color_fff"))
50 …ppInfo("", "", "ProcessName", "Power(mAh)", "Current(mA)", "Percent",$r("app.color.colorPrimary")))
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") })
72 .backgroundColor( powerSensor.color)
77 // .fontColor($r("app.color.color_333"))
80 // .border({ width: '1vp', color: $r("app.color.color_999") })
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DColorUtils.ts203 var color = val.toLowerCase();
205 if (reg.test(color)) {
206 if (color.length === 4) {
209 colorNew += color.slice(i, i + 1).concat(color.slice(i, i + 1));
211 color = colorNew;
215 colorChange.push(parseInt(`0x${color.slice(i, i + 2)}`));
231 const color = hexToRgb(colorHex); constant
232 if (color.length === 0) {
235 const [h, s, l] = rgbToHsl(color[0] / 255, color[1] / 255, color[2] / 255);
279 let color = colorHex.toLowerCase();
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DColorTemplate.ets28 public static alpha(color: number): number {
29 return (color>>24) & 0xff;
32 public static red(color: number): number {
33 return (color>>16) & 0xff;
36 public static green(color: number): number {
37 return (color>>8) & 0xff;
40 public static blue(color: number): number {
41 return (color) & 0xff;
117 * Class that holds predefined color integer arrays (e.g.
126 * an "invalid" color that indicates that no color is set
[all …]
/developtools/smartperf_host/ide/src/base-ui/menu/
DLitMainMenu.ts166 groupName.style.color = 'white';
167 groupDescribe.style.color = 'white';
168 th!.style.color = 'white';
170 groupName.style.color = 'black';
171 groupDescribe.style.color = 'black';
172 th!.style.color = 'black';
201 groupName.style.color = 'white';
202 groupDescribe.style.color = 'white';
203 th!.style.color = 'white';
205 groupName.style.color = 'black';
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DCandleDataSet.ets50 * use candle color for the shadow
65 * color for open == close
70 * color for open < close
75 * color for open > close
80 * shadow line color, set -1 for backward compatibility and uses default
81 * color
199 * Sets the one and ONLY color that should be used for this DataSet when
202 * @param color
204 public setNeutralColor(color: number): void {
205 this.mNeutralColor = color;
[all …]
DRadarDataSet.ets30 // The stroke color for highlight circle.
31 // If Utils.COLOR_NONE, the color of the dataset is taken.
60 public setHighlightCircleFillColor(color : number) : void {
61 this.mHighlightCircleFillColor = color;
64 // Returns the stroke color for highlight circle.
65 // If Utils.COLOR_NONE, the color of the dataset is taken.
71 // Sets the stroke color for highlight circle.
72 // Set to Utils.COLOR_NONE in order to use the color of the dataset;
73 public setHighlightCircleStrokeColor(color) : void {
74 this.mHighlightCircleStrokeColor = color;
DBaseDataSet.ets105 // default color
172 * "new int[] { R.color.red, R.color.green, ... }" to provide colors for
184 for (let color of colors) {
185 this.mColors.add(color);
190 * Adds a new color to the colors array of the DataSet.
192 * @param color
194 public addColor(color: number): void {
198 this.mColors.add(color);
202 * Sets the one and ONLY color that should be used for this DataSet.
203 * Internally, this recreates the colors array and adds the specified color.
[all …]
DBarLineScatterCandleBubbleDataSet.ets28 * default highlight color
37 * Sets the color that is used for drawing the highlight indicators. Dont
38 * forget to resolve the color using getResources().getColor(...) or
41 * @param color
43 public setHighLightColor(color: number): void {
44 this.mHighLightColor = color;
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DFlag.ts22 color: string = ''; property in Flag
34 color: string = '#999999',
44 this.color = color;
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/exteriorStyle/
DexteriorStyle.css18 color: #ffff23;
23 color: firebrick;
34 background-color: #ff0000;
37 background-color: #0000ff;
90 color: #f00;
98 color: #0f0;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/main/
DHome.ets62 .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%')
149 .fontColor($r("app.color.color_333"))
155 .fontColor($r("app.color.color_999"))
[all …]
DHomeBottomPage.ets31 Text('首页').fontSize('12vp').fontColor($r("app.color.colorPrimary"))
40 .backgroundColor($r("app.color.color_fff"))
47 Text('报告').fontSize('12vp').fontColor($r("app.color.colorPrimary"))
56 .backgroundColor($r("app.color.color_fff"))
63 Text('我的').fontSize('12vp').fontColor($r("app.color.colorPrimary"))
72 .backgroundColor($r("app.color.color_fff"))
76 .backgroundColor($r("app.color.color_fff"))
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpRecordSetting.ts96 if (bufferInput.style.color !== 'var(--dark-color1,#000000)' && this.lastMemoryValue) {
110 bufferInput.style.color = 'var(--dark-color1,#000000)';
115 if (durationInput.style.color !== 'var(--dark-color1,#000000)' && this.lastDurationValue) {
116 durationInput.style.color = 'var(--dark-color1,#000000)';
217 this.maxSizeInput.style.color = 'var(--dark-color1,#000000)';
289 durationInput.style.color = 'var(--dark-color1,#000000)';
295 durationInput.style.color = 'var(--dark-color1,#000000)';
309 bufferInput.style.color = 'var(--dark-color1,#000000)';
315 bufferInput.style.color = 'var(--dark-color1,#000000)';
325 durationInput.style.color = 'var(--dark-color1,#000000)';
[all …]
/developtools/ace_js2bundle/ace-loader/test/rich/common/css/
Dcommon.css11 border-color: #bbbbbb;
12 color: #bbbbbb;
23 color: #ffffff;
25 background-color: #0faeff;
/developtools/smartperf_host/ide/src/base-ui/chart/pie/
DLitChartPieData.ts18 let color = '#';
20 color += letters[Math.floor(Math.random() * 16)];
22 return color;
/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/
DSportRuler.test.ts114 color: '#000'}
159 color: '#3e340c',
177 color: '#361f1f',
212 color: '',
230 color: '',
248 color: '#8e4f22',
266 color: '#689e3e',
305 color: '',
318 sportRuler.drawSlicesMarks({startTime: 11, endTime: 22, startX: 33, endX: 44, color: '#fff'});
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DICandleDataSet.ets48 * Returns shadow color for all entries
55 * Returns the neutral color (for open == close)
62 * Returns the increasing color (for open < close).
69 * Returns the decreasing color (for open > close).
90 * Is the shadow color same as the candle color?
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dshare.ts35 public debug(color: string, msg: string, reset: string) {
36 console.debug(`${color}${this.prefix}: ${JSON.stringify(msg)}${reset}`);
39 public error(color: string, errormsg: string, reset: string) {
40 this.messsage = color.toString();
/developtools/ace_js2bundle/ace-loader/test/card/testcase/pages/mediaQuery/
DmediaQuery.css9 background-color: #fa8072;
14 color: #333333;
21 color: #666666;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/pages/
DLoginPage.ets27 .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]]
DFloatBall.ets161 .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"))
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/mediaQuery/
DmediaQuery.css9 background-color: #fa8072;
14 color: #333333;
21 color: #666666;
/developtools/smartperf_host/ide/src/trace/component/
DStackBar.ts39 sv.color = Utils.getStateColor(v.stateJX);
94 bar.style.backgroundColor = sv.color;
97 bar.style.color = '#555555';
99 bar.style.color = '#ffffff';
126 color: string = ''; property in StackValue
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/data/
DDetailCommon.ets26 public color: Resource
28 constructor(key: string, value: string, percent: string, color: Resource) {
32 this.color = color
/developtools/ace_js2bundle/ace-loader/test/card/testcase/pages/commonAttr/
DcommonAttr.hml6 <div style="color:#008000">style_test_1</div>
9 <div style="border-color:{{col}}">style_test_2</div>
12 <div style="border-color:{{col}};width:50px; ">style_test_2</div>

123456