Home
last modified time | relevance | path

Searched refs:colors (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_gauge/src/main/ets/TestAbility/pages/
DIndex.ets36 @State colors: LinearGradient[] = [
66 .colors($r('app.color.gaugeColor1'))
74 .colors(0xffffff)
81 .colors("rgb(255,118,118)")
88 .colors(Color.Pink)
95 .colors("#FF7FFFAA")
102 .colors($r('app.color.gaugeColor1'))
103 .colors($r('app.color.gaugeColor2'))
110 .colors(" ")
111 .colors("#FF0000FF")
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_radialGradient/entry/src/main/ets/MainAbility/pages/radialGradient/
DRadialGradientPage.ets20 …mRadialGradient: { center: Array<any>; radius: number | string; colors: Array<any>; repeating?: bo…
24 colors: [['FFFF0000', 0.0], ['FF0000FF', 0.3], ['FFFFFF00', 0.5]]
33 …mRadialGradient: { center: Array<any>; radius: number | string; colors: Array<any>; repeating?: bo…
37 colors: [['FFFF0000', 0.0], ['FF0000FF', 0.3], ['FFFFFF00', 0.5]]
46 …mRadialGradient: { center: Array<any>; radius: number | string; colors: Array<any>; repeating?: bo…
50 colors: [['FFFF0000', 0.0], ['FF0000FF', 0.3], ['FFFFFF00', 0.5]]
59 …mRadialGradient: { center: Array<any>; radius: number | string; colors: Array<any>; repeating?: bo…
63 colors: [['FFFF0000', 0.0], ['FF0000FF', 0.3], ['FFFFFF00', 0.5]]
72 …mRadialGradient: { center: Array<any>; radius: number | string; colors: Array<any>; repeating?: bo…
76 colors: [['FFFF0000', 0.0], ['FF0000FF', 0.3], ['FFFFFF00', 0.5]]
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_linearGradient/entry/src/main/ets/MainAbility/pages/linearGradient/
DLinearGradientPage.ets20 …mLinearGradient: { angle?: number | string; direction?: GradientDirection; colors: Array<any>; rep…
23 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
33 …mLinearGradient: { angle?: number | string; direction?: GradientDirection; colors: Array<any>; rep…
36 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
46 …mLinearGradient: { angle?: number | string; direction?: GradientDirection; colors: Array<any>; rep…
49 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
59 …mLinearGradient: { angle?: number | string; direction?: GradientDirection; colors: Array<any>; rep…
62 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
72 …mLinearGradient: { angle?: number | string; direction?: GradientDirection; colors: Array<any>; rep…
75 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_sweepGradient/entry/src/main/ets/MainAbility/pages/sweepGradient/
DSweepGradientPage.ets20 …rt?: number | string; end?: number | string; rotation?: number | string; colors: Array<any>; repea…
25 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
35 …rt?: number | string; end?: number | string; rotation?: number | string; colors: Array<any>; repea…
40 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
50 …rt?: number | string; end?: number | string; rotation?: number | string; colors: Array<any>; repea…
55 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
65 …rt?: number | string; end?: number | string; rotation?: number | string; colors: Array<any>; repea…
70 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
80 …rt?: number | string; end?: number | string; rotation?: number | string; colors: Array<any>; repea…
85 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
[all …]
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_gauge/src/main/ets/test/
Dgauge.ets25 *tc.desc Set the colors attribute parameter to $r('app.color.gaugeColor1')
34 console.info("ArkUX_Gauge_Colors_InterfaceName_0100 component obj.$attrs.colors is: " +
35 JSON.stringify(obj.$attrs.colors));
40 expect(obj.$attrs.colors).assertEqual("#FF0000FF");
54 *tc.desc Set the colors attribute parameter to 0xffffff
63 console.info("ArkUX_Gauge_Colors_InterfaceName_0200 component obj.$attrs.colors is: " +
64 JSON.stringify(obj.$attrs.colors));
69 expect(obj.$attrs.colors).assertEqual("#FFFFFFFF");
83 *tc.desc Set the colors attribute parameter to "rgb(255,118,118)"
92 console.info("ArkUX_Gauge_Colors_InterfaceName_0300 component obj.$attrs.colors is: " +
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/getItemRect/waterFlow/
DgetWaterFlowItemRect3.ets25 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
101 .backgroundColor(this.colors[0 % 5])
110 .backgroundColor(this.colors[1 % 5])
120 .backgroundColor(this.colors[2 % 5])
130 .backgroundColor(this.colors[3 % 5])
140 .backgroundColor(this.colors[4 % 5])
150 .backgroundColor(this.colors[5 % 5])
160 .backgroundColor(this.colors[6 % 5])
170 .backgroundColor(this.colors[7 % 5])
180 .backgroundColor(this.colors[8 % 5])
[all …]
DgetWaterFlowItemRect1.ets25 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
101 .backgroundColor(this.colors[0 % 5])
110 .backgroundColor(this.colors[1 % 5])
120 .backgroundColor(this.colors[2 % 5])
130 .backgroundColor(this.colors[3 % 5])
140 .backgroundColor(this.colors[4 % 5])
150 .backgroundColor(this.colors[5 % 5])
160 .backgroundColor(this.colors[6 % 5])
170 .backgroundColor(this.colors[7 % 5])
180 .backgroundColor(this.colors[8 % 5])
[all …]
DgetWaterFlowItemRect5.ets25 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
101 .backgroundColor(this.colors[0 % 5])
110 .backgroundColor(this.colors[1 % 5])
120 .backgroundColor(this.colors[2 % 5])
130 .backgroundColor(this.colors[3 % 5])
140 .backgroundColor(this.colors[4 % 5])
150 .backgroundColor(this.colors[5 % 5])
160 .backgroundColor(this.colors[6 % 5])
170 .backgroundColor(this.colors[7 % 5])
180 .backgroundColor(this.colors[8 % 5])
[all …]
DgetWaterFlowItemRect4.ets25 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
97 .backgroundColor(this.colors[0 % 5])
106 .backgroundColor(this.colors[1 % 5])
116 .backgroundColor(this.colors[2 % 5])
126 .backgroundColor(this.colors[3 % 5])
136 .backgroundColor(this.colors[4 % 5])
146 .backgroundColor(this.colors[5 % 5])
156 .backgroundColor(this.colors[6 % 5])
166 .backgroundColor(this.colors[7 % 5])
176 .backgroundColor(this.colors[8 % 5])
[all …]
DgetWaterFlowItemRect2.ets25 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
101 .backgroundColor(this.colors[0 % 5])
110 .backgroundColor(this.colors[1 % 5])
120 .backgroundColor(this.colors[2 % 5])
130 .backgroundColor(this.colors[3 % 5])
140 .backgroundColor(this.colors[4 % 5])
150 .backgroundColor(this.colors[5 % 5])
160 .backgroundColor(this.colors[6 % 5])
170 .backgroundColor(this.colors[7 % 5])
180 .backgroundColor(this.colors[8 % 5])
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_borderImage/entry/src/main/ets/MainAbility/pages/borderImage/
DBorderImagePage.ets23 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
42 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
61 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
80 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
99 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
118 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
137 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
156 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
175 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
194 colors: [[0xAEE1E2, 0.1], [0xD3E0DD, 0.4], [0xFCD1D6, 0.4]]
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
Dguage.ets23 …@State colors:Array<[number,number]> = [[0x317AF7, 0.1], [0x5BA854, 0.2], [0xE08C3A, 0.3], [0x9C55…
44 if (message.name == 'colors') {
45 this.colors = message.value
73 .colors([[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1]])
79 .colors([[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1]])
85 .colors(this.colors)
Dwaterflow_add.ets21 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
56 .backgroundColor(this.colors[item % 5])
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/test/
DgaugeJsunit.test.ets55 console.info('gaugeJsunit_0100 component obj startAngle is:' + obj.$attrs.colors);
62 let colors = obj.$attrs.colors;
63 console.info('gaugeJsunit_0100 component obj is: ' + colors);
64 …expect(colors).assertEqual('[["#FF317AF7",0.10000000149011612],["#FF5BA854",0.20000000298023224],[…
78 …globalThis.value.message.notify({name:'colors',value:[[0x317AF6, 0.3], [0x5BA854, 0.3], [0xE08C3A,…
87 let colors = obj.$attrs.colors;
88 console.info('gaugeJsunit_0200 component obj is: ' + colors);
89 …expect(colors).assertEqual('[["#FF317AF6",0.300000011920929],["#FF5BA854",0.300000011920929],["#FF…
123 …globalThis.value.message.notify({name:'colors',value:'[[0x317AF6, 2], [0x5BA, 0.3], [0xE08C3A, 0.4…
132 let colors = obj.$attrs.colors;
[all …]
/test/xts/hats/hdf/display/composer/common/
Dhdi_composition_check.cpp59 std::vector<uint32_t> colors; in GetCheckColors() local
75 colors.push_back(color); in GetCheckColors()
77 return colors; in GetCheckColors()
100 std::vector<uint32_t> colors = GetCheckColors(layers, points); in Check() local
101 DISPLAY_TEST_CHK_RETURN((colors.size() != points.size()), DISPLAY_FAILURE, in Check()
108 ret = CheckPixel(clientBuffer, points[i].x, points[i].y, colors[i]); in Check()
Ddisplay_test_utils.cpp212 std::vector<IRect> SplitBuffer(const BufferHandle &handle, std::vector<uint32_t> &colors) in SplitBuffer() argument
215 if (colors.empty()) { in SplitBuffer()
218 const uint32_t ROW_NUM = sqrt(colors.size()); in SplitBuffer()
235 ClearColorRect(handle, colors[count++], rect); in SplitBuffer()
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_datapanel/src/main/ets/test/
Ddatapanel.ets2297 … * @tc.desc DataPanel common components, set trackShadow property parameter to trackShadow.colors:
2312 expect(obj.$attrs.trackShadow.colors[0][0].color).assertEqual("#FFFF0000");
2313 expect(obj.$attrs.trackShadow.colors[0][0].offset).assertEqual("0.000000");
2314 expect(obj.$attrs.trackShadow.colors[0][1].color).assertEqual("#FFFF0000");
2315 expect(obj.$attrs.trackShadow.colors[0][1].offset).assertEqual("1.000000");
2316 expect(obj.$attrs.trackShadow.colors[1][0].color).assertEqual("#FFFFFF00");
2317 expect(obj.$attrs.trackShadow.colors[1][0].offset).assertEqual("0.000000");
2318 expect(obj.$attrs.trackShadow.colors[1][1].color).assertEqual("#FFFFFF00");
2319 expect(obj.$attrs.trackShadow.colors[1][1].offset).assertEqual("1.000000");
2320 expect(obj.$attrs.trackShadow.colors[2][0].color).assertEqual("#FF00FF00");
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_linearGradient/entry/src/main/ets/test/linearGradient/
DLinearGradientTest.test.ets56 colors: [['FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
64 colors: [['#FF0000FF','0.300000'],['#FFFFFF00','0.500000']],
78 …+ data.caseTag + '] linearGradientTest. : ' + ` ${data.testValue.setValue.linearGradient.colors}`);
84 …ata.viewObj.$attrs.linearGradient.colors)).assertEqual(JSON.stringify(data.testValue.expectValue.l…
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_radialGradient/entry/src/main/ets/test/radialGradient/
DRadialGradientTest.test.ets57 colors: [[0xff0000, 0.0], [0x0000ff, 0.3], [0xffff00, 1.0]]
65 colors: []
82 …expect(data.viewObj.$attrs.radialGradient.colors).assertEqual(data.testValue.expectValue.radialGra…
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_sweepGradient/entry/src/main/ets/test/sweepGradient/
DSweepGradientTest.test.ets57 colors: [['#FFFF0000', 0.0], ['#FF0000FF', 0.3], ['#FFFFFF00', 0.5]],
66 colors: [['#FFFF0000', '0.000000'], ['#FF0000FF', '0.300000'], ['#FFFFFF00', '0.500000']],
85 …//expect(data.viewObj.$attrs.sweepGradient.colors).assertEqual(data.testValue.expectValue.sweepGra…
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/
DcolorGradient.ets25 colors: [[0xAEE1E1, 0.0], [0xD3E0DC, 0.3], [0xFCD1D1, 1.0]],
32 colors: [[0xAEE1E1, 0.0], [0xD3E0DC, 0.3], [0xFCD1D1, 1.0]],
38 colors:[[0xAEE1E1, 0.0], [0xD3E0DC, 0.3], [0xFCD1D1, 1.0]],
/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_datapanel/src/main/ets/TestAbility/pages/
DIndex.ets506 .trackShadow({ colors: this.color20 })
512 .trackShadow({ colors: this.color21 })
518 .trackShadow({ colors: this.color22 })
524 ….trackShadow({ colors: [$r("app.color.DataPanel_TrackShadow1"), $r("app.color.DataPanel_TrackShado…
531 .trackShadow({ colors: [this.color23, this.color24, this.color25] })
537 .trackShadow({ colors: [this.color26, this.color27, this.color28] })
543 .trackShadow({ colors: [this.color29, this.color30, this.color31]})
549 ….trackShadow({ colors: [$r("app.color.DataPanel_TrackShadow4"), $r("app.color.DataPanel_TrackShado…
557 .trackShadow({ colors: this.colorArray1 })
563 .trackShadow({ colors: this.colorArray2 })
[all …]
/test/xts/acts/theme/wallpaper_authority_ets/entry/src/main/ets/test/
DwallpaperauthorityTest.test.ets30 …* @tc.name Test getColors() to obtains the wallpaper colors for the wallpaper of the specifie…
62 …* @tc.name Test getColors() to obtains the wallpaper colors for the wallpaper of the specified …
88 …* @tc.name Test getColors() to obtains the wallpaper colors for the wallpaper of the specified …
120 …* @tc.name Test getColors() to obtains the wallpaper colors for the wallpaper of the specified …
362 wallpaper.on('colorChange', async (colors, wallpaperType) => {
364 console.info('====>testOnCallback101 colors: ' + JSON.stringify(colors));
366 expect(colors != null).assertTrue();
400 wallpaper.on('colorChange', async (colors, wallpaperType) => {
402 console.info('====>testOffCallback101 colors: ' + JSON.stringify(colors));
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
Dgauge.test.ets142 console.info("[testgaugeColors0006] component colors strJson:" + strJson);
145 …expect(obj.$attrs.colors).assertEqual('[["#FF317AF7",1],["#FF5BA854",1],["#FFE08C3A",1],["#FF9C554…
146 console.info("[testgaugeColors0006] colors value :" + obj.$attrs.colors);
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/
DWaterflowDemo.ets23 @State colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]
58 .backgroundColor(this.colors[item % 5])

12345678910>>...12