Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/test/xts/tools/sample/AppSampleF/entry/src/main/resources/base/media/
Dic_lattice.svg18 <rect y="748" width="2" height="2" rx="3" fill="white"/>
19 <rect x="400" y="748" width="2" height="2" rx="3" fill="white"/>
20 <rect x="200" y="748" width="2" height="2" rx="3" fill="white"/>
21 <rect x="600" y="748" width="2" height="2" rx="3" fill="white"/>
22 <rect x="50" y="748" width="2" height="2" rx="3" fill="white"/>
23 <rect x="450" y="748" width="2" height="2" rx="3" fill="white"/>
24 <rect x="250" y="748" width="2" height="2" rx="3" fill="white"/>
25 <rect x="650" y="748" width="2" height="2" rx="3" fill="white"/>
26 <rect x="100" y="748" width="2" height="2" rx="3" fill="white"/>
27 <rect x="500" y="748" width="2" height="2" rx="3" fill="white"/>
[all …]
/test/xts/hats/hdf/display/composer/common/
Dhdi_composition_check.cpp27 points.push_back({center.x + STEP, center.y}); in GetCheckPoints()
28 points.push_back({center.x + STEP, center.y + STEP}); in GetCheckPoints()
29 points.push_back({center.x + STEP, center.y - STEP}); in GetCheckPoints()
30 points.push_back({center.x, center.y + STEP}); in GetCheckPoints()
31 points.push_back({center.x - STEP, center.y}); in GetCheckPoints()
32 points.push_back({center.x - STEP, center.y - STEP}); in GetCheckPoints()
33 points.push_back({center.x - STEP, center.y + STEP}); in GetCheckPoints()
34 points.push_back({center.x, center.y - STEP}); in GetCheckPoints()
66 if ((point.x >= RECT.x) && (point.x < (RECT.x + RECT.w)) && (point.y >= RECT.y) && in GetCheckColors()
67 (point.y < (RECT.y + RECT.h))) { in GetCheckColors()
[all …]
Ddisplay_test_utils.cpp95 uint32_t GetPixelValue(const BufferHandle &handle, int x, int y) in GetPixelValue() argument
105 DISPLAY_TEST_CHK_RETURN((y < 0 || y >= handle.height), 0, in GetPixelValue()
106 …DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)… in GetPixelValue()
108 int32_t position = y * handle.width + x; in GetPixelValue()
128 uint32_t CheckPixel(const BufferHandle &handle, int x, int y, uint32_t color) in CheckPixel() argument
138 DISPLAY_TEST_CHK_RETURN((y < 0 || y >= handle.height), 0, in CheckPixel()
139 …DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)… in CheckPixel()
141 int32_t position = y * handle.width + x; in CheckPixel()
150 DISPLAY_TEST_LOGE("x:%{public}d y:%{public}d width:%{public}d", x, y, handle.width); in CheckPixel()
169 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
[all …]
Dhdi_test_render_utils.cpp30 void SetPixel(const BufferHandle& handle, int x, int y, uint32_t color) in SetPixel() argument
39 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((y < 0 || y >= handle.height), in SetPixel()
40 …DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)… in SetPixel()
42 int32_t position = y * handle.width + x; in SetPixel()
54 for (int32_t y = 0; y < handle.height; y++) { in ClearColor() local
55 SetPixel(handle, x, y, color); in ClearColor()
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/
DpositionSetting_y.ets23 @State position1: {x: string, y: string} = {x: 25, y: 15};
24 @State position2: {x: string, y: string} = {x: '50%', y: '70%'};
25 @State anchor: {x: string, y: string} = {x: 25, y: 25};
26 @State offset: {x: string, y: string} = {x: 10, y: 15};
27 @State span: {x: string, y: string} = {x: 10, y: 15};
60 Text(`2 position(${this.position1.x}, ${this.position1.y})`)
64 .position({ x: this.position1.x, y: this.position1.y })
70 Text(`4 position(${this.position2.x}, ${this.position2.y})`)
74 .position({ x: this.position2.x, y: this.position2.y })
85 .markAnchor({ x: this.anchor.x, y: this.anchor.y })
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/comSizeAbility/
DcomSizeAbilityTest_03.ets29 .translate({ x: 1, y: 1, z: 1 })
30 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
31 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
39 .translate({ x: 1, y: 1, z: 1 })
40 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
41 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
48 .translate({ x: 1, y: 1, z: 1 })
49 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
50 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
58 .translate({ x: 1, y: 1, z: 1 })
[all …]
DcomSizeAbilityTest_10.ets31 .translate({ x: 1, y: 1, z: 1 })
32 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
33 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
43 .translate({ x: 1, y: 1, z: 1 })
44 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
45 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
59 .translate({ x: 1, y: 1, z: 1 })
60 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
61 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_01.ets36 .translate({ x: 1, y: 1, z: 1 })
37 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
38 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
45 .translate({ x: 1, y: 1, z: 1 })
46 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
47 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
60 .translate({ x: 1, y: 1, z: 1 })
61 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
62 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_29.ets33 .translate({ x: 1, y: 1, z: 1 })
34 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
35 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
43 .translate({ x: 1, y: 1, z: 1 })
44 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
45 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
67 .translate({ x: 1, y: 1, z: 1 })
68 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
69 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_17.ets37 .translate({ x: 1, y: 1, z: 1 })
38 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
39 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
48 .translate({ x: 1, y: 1, z: 1 })
49 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
50 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
58 .translate({ x: 1, y: 1, z: 1 })
59 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
60 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_05.ets31 .translate({ x: 1, y: 1, z: 1 })
32 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
33 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
39 gutter: { x: 5, y: 5 },
54 .translate({ x: 1, y: 1, z: 1 })
55 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
56 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
80 .translate({ x: 1, y: 1, z: 1 })
81 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
82 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_27.ets31 .viewPort({ x: 0, y: 0, width: 320, height: 70 })
37 .translate({ x: 1, y: 1, z: 1 })
38 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
39 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
53 .offset({ x: 5, y: 5 })
58 .translate({ x: 1, y: 1, z: 1 })
59 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
60 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_18.ets68 // .offset({ x: 1, y: 1 })
69 .translate({ x: 1, y: 1, z: 1 })
70 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
71 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
84 .translate({ x: 1, y: 1, z: 1 })
85 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
86 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
98 .translate({ x: 1, y: 1, z: 1 })
99 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
100 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
[all …]
DcomSizeAbilityTest_13.ets33 .translate({ x: 1, y: 1, z: 1 })
34 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
35 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
59 .translate({ x: 1, y: 1, z: 1 })
60 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
61 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
69 .translate({ x: 1, y: 1, z: 1 })
70 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
71 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_07.ets33 .translate({ x: 1, y: 1, z: 1 })
34 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
35 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
50 .translate({ x: 1, y: 1, z: 1 })
51 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
52 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
70 .translate({ x: 1, y: 1, z: 1 })
71 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
72 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
DcomSizeAbilityTest_16.ets63 .translate({ x: 1, y: 1, z: 1 })
64 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
65 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
73 .translate({ x: 1, y: 1, z: 1 })
74 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
75 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
83 .translate({ x: 1, y: 1, z: 1 })
84 .scale({ x: 1, y: 1, z: 1, centerX: 1, centerY: 1 })
85 .rotate({ x: 1, y: 1, z: 1, angle: 0, centerX: 1, centerY: 1 })
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/
DpositionSetting.ets23 @State position1: {x: number, y: number} = {x: 25, y: 15};
24 @State position2: {x: string, y: string} = {x: '50%', y: '70%'};
25 @State anchor: {x: number, y: number} = {x: 25, y: 25};
26 @State offsetT: {x: number, y: number} = {x: 10, y: 15};
59 Text(`2 position(${this.position1.x}, ${this.position1.y})`)
63 .position({ x: this.position1.x, y: this.position1.y })
69 Text(`4 position(${this.position2.x}, ${this.position2.y})`)
73 .position({ x: this.position2.x, y: this.position2.y })
84 .markAnchor({ x: this.anchor.x, y: this.anchor.y })
88 .markAnchor({ x: 25, y: 25 })
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_overlay/entry/src/main/ets/MainAbility/pages/overlay/
DOverlayPage.ets21 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
30 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
39 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
48 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
57 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
66 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
75 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
84 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
93 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
102 …: { align?: Alignment; offset?: { x?: number; y?: number } } = { align: Alignment.Bottom, offset: …
[all …]
/test/xts/acts/arkui/ace_ets_component_nine/ace_ets_component_nine_common_markAnchor/entry/src/main/ets/test/attrss/
DMarkAnchorTest.test.ets47 x: 50, y: 50
50 x: '50.00vp', y: '50.00vp'
55 x: '150px', y: '150px'
58 x: '150.00px', y: '150.00px'
63 x: '50%', y: '50%'
66 x: '50.00%', y: '50.00%'
71 x: $r('app.float.50vp'), y: $r('app.float.50vp')
74 x: '50.00vp', y: '50.00vp'
90 x: 0, y: 0
98 console.info('[' + data.caseTag + ']' + 'expectValue.y:' + data.testValue.expectValue.y);
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
DanimationAdd.ets17 y: number
19 constructor(x: number, y: number) {
21 this.y = y
24 return new Point(this.x + rhs.x, this.y + rhs.y)
27 return new Point(this.x - rhs.x, this.y - rhs.y)
30 return new Point(this.x * scale, this.y * scale)
33 return this.x === rhs.x && this.y === rhs.y
76 get():Array<[x: number, y: number]> {
78 this.forEach(p => result.push([p.x, p.y]))
/test/xts/acts/sensors/sensor_standard/src/main/js/test/
DSensorGeomagneticTest.test.js108 + data.y + ',z: ' + data.z + ',geomagneticDip: ' + data.geomagneticDip
112 … expect(Math.abs(data.y - GEOMAGNETIC_COMPONENT_YEAR_RESULT[j][1]) < EPS).assertTrue()
151 + data.y + ',z: '
156 … expect(Math.abs(data.y - GEOMAGNETIC_COMPONENT_COORDINATES_RESULT[j][1]) < EPS).assertTrue()
188 …console.info('SensorGeomagenticAlgorithmJSTest003 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z
194 expect((Math.abs(data.y - geomagneticComponent[1]) < EPS)
195 || (Math.abs(data.y - geomagneticComponent[8]) < EPS)).assertTrue();
228 … console.info('SensorGeomagenticAlgorithmJSTest004 success x: ' + data.x + ',y: ' + data.y
234 expect(Math.abs(data.y - geomagneticComponent[1]) < EPS).assertTrue()
262 …console.info('SensorGeomagenticAlgorithmJSTest005 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z
[all …]
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/components/
DShape.ets32 Ellipse().width(300).height(50).offset({ x: 0, y: 60 })
33 Path().width(300).height(10).commands('M0 0 L900 0').offset({ x: 0, y: 120 })
35 .viewPort({ x: -2, y: -2, width: 304, height: 130 })
41 …}.viewPort({ x: -1, y: -1, width: 302, height: 52 }).fill(0x317Af7).stroke(Color.Black).strokeWidt…
46 …}.viewPort({ x: 0, y: -5, width: 300, height: 20 }).stroke(0xEE8443).strokeWidth(10).strokeDashArr…
50 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
54 …}.viewPort({ x: 0, y: -5, width: 300, height: 20 }).stroke(0xEE8443).strokeWidth(10).strokeOpacity…
58 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
63 .viewPort({ x: -5, y: -5, width: 310, height: 120 })
68 .viewPort({ x: -80, y: -5, width: 310, height: 100 })
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_seven_special/entry/src/main/ets/MainAbility/pages/
Dshape.ets18 instance.viewPort({ x: 1, y: -2, width: 100, height: 200 })
58 Ellipse().width(300).height(50).offset({ x: 0, y: 60 })
59 Path().width(300).height(10).commands('M0 0 L900 0').offset({ x: 0, y: 120 })
70 .viewPort({ x: 0, y: 0, width: 320, height: 70 })
80 .viewPort({ x: -5, y: -5, width: 320, height: 70 })
92 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
102 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
113 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
123 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
134 .viewPort({ x: -20, y: -5, width: 310, height: 90 })
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_translate/entry/src/main/ets/MainAbility/pages/translate/
DTranslatePage.ets20 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
28 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
36 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
44 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
52 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
60 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
68 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
76 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
84 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
92 mTranslate: TranslateOptions = { x: 6, y: 5, z: 4 }
[all …]
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_scale/entry/src/main/ets/MainAbility/pages/scale/
DScalePage.ets19 scale: ScaleOptions = { x: 1, y: 1 }
25 scale: ScaleOptions = { x: 1, y: 1 }
31 scale: ScaleOptions = { x: 1, y: 1 }
37 scale: ScaleOptions = { x: 1, y: 1 }
43 scale: ScaleOptions = { x: 1, y: 1 }
49 scale: ScaleOptions = { x: 1, y: 1 }
55 scale: ScaleOptions = { x: 1, y: 1 }
61 scale: ScaleOptions = { x: 1, y: 1 }
67 scale: ScaleOptions = { x: 1, y: 1 }
73 scale: ScaleOptions = { x: 1, y: 1 }
[all …]

12345678910>>...38