Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 25 of 178) sorted by relevance

12345678

/expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/
H A DCircleView.java29 public void setCx(Dynamic cx) { in setCx() argument
30 mCx = SVGLength.from(cx); in setCx()
34 public void setCx(String cx) { in setCx() argument
35 mCx = SVGLength.from(cx); in setCx()
39 public void setCx(Double cx) { in setCx() argument
40 mCx = SVGLength.from(cx); in setCx()
78 double cx = relativeOnWidth(mCx); in getPath() local
91 new Point[] {new Point(cx, cy - r), new Point(cx + r, cy)})); in getPath()
95 new Point[] {new Point(cx + r, cy), new Point(cx, cy + r)})); in getPath()
99 new Point[] {new Point(cx, cy + r), new Point(cx - r, cy)})); in getPath()
[all …]
H A DEllipseView.java31 public void setCx(Dynamic cx) { in setCx() argument
32 mCx = SVGLength.from(cx); in setCx()
36 public void setCx(String cx) { in setCx() argument
37 mCx = SVGLength.from(cx); in setCx()
41 public void setCx(Double cx) { in setCx() argument
42 mCx = SVGLength.from(cx); in setCx()
99 new RectF((float) (cx - rx), (float) (cy - ry), (float) (cx + rx), (float) (cy + ry)); in getPath()
109 new Point[] {new Point(cx, cy - ry), new Point(cx + rx, cy)})); in getPath()
113 new Point[] {new Point(cx + rx, cy), new Point(cx, cy + ry)})); in getPath()
117 new Point[] {new Point(cx, cy + ry), new Point(cx - rx, cy)})); in getPath()
[all …]
/expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/
H A DCircleView.java29 public void setCx(Dynamic cx) { in setCx() argument
30 mCx = SVGLength.from(cx); in setCx()
34 public void setCx(String cx) { in setCx() argument
35 mCx = SVGLength.from(cx); in setCx()
39 public void setCx(Double cx) { in setCx() argument
40 mCx = SVGLength.from(cx); in setCx()
78 double cx = relativeOnWidth(mCx); in getPath() local
91 new Point[] {new Point(cx, cy - r), new Point(cx + r, cy)})); in getPath()
95 new Point[] {new Point(cx + r, cy), new Point(cx, cy + r)})); in getPath()
99 new Point[] {new Point(cx, cy + r), new Point(cx - r, cy)})); in getPath()
[all …]
H A DEllipseView.java31 public void setCx(Dynamic cx) { in setCx() argument
32 mCx = SVGLength.from(cx); in setCx()
36 public void setCx(String cx) { in setCx() argument
37 mCx = SVGLength.from(cx); in setCx()
41 public void setCx(Double cx) { in setCx() argument
42 mCx = SVGLength.from(cx); in setCx()
99 new RectF((float) (cx - rx), (float) (cy - ry), (float) (cx + rx), (float) (cy + ry)); in getPath()
109 new Point[] {new Point(cx, cy - ry), new Point(cx + rx, cy)})); in getPath()
113 new Point[] {new Point(cx + rx, cy), new Point(cx, cy + ry)})); in getPath()
117 new Point[] {new Point(cx, cy + ry), new Point(cx - rx, cy)})); in getPath()
[all …]
/expo/docs/ui/components/AppJSBanner/
H A DBackground.tsx11 <circle cx="52.5154" cy="81.121" r="2" fill="#8490E1" />
12 <circle cx="23.0597" cy="41.371" r="2" fill="#8490E1" />
13 <circle cx="39.5154" cy="24.121" r="2" fill="#8490E1" />
14 <circle cx="56.5154" cy="9.52374" r="2" fill="#8490E1" />
15 <circle cx="90.5154" cy="41.371" r="2" fill="#8490E1" />
16 <circle cx="119.555" cy="19.4351" r="2" fill="#8490E1" />
17 <circle cx="2.51537" cy="72.121" r="2" fill="#8490E1" />
/expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/
H A DCircleView.java28 public void setCx(Dynamic cx) { in setCx() argument
29 mCx = SVGLength.from(cx); in setCx()
33 public void setCx(String cx) { in setCx() argument
34 mCx = SVGLength.from(cx); in setCx()
38 public void setCx(Double cx) { in setCx() argument
39 mCx = SVGLength.from(cx); in setCx()
77 double cx = relativeOnWidth(mCx); in getPath() local
81 path.addCircle((float) cx, (float) cy, (float) r, Path.Direction.CW); in getPath()
H A DEllipseView.java30 public void setCx(Dynamic cx) { in setCx() argument
31 mCx = SVGLength.from(cx); in setCx()
35 public void setCx(String cx) { in setCx() argument
36 mCx = SVGLength.from(cx); in setCx()
40 public void setCx(Double cx) { in setCx() argument
41 mCx = SVGLength.from(cx); in setCx()
93 double cx = relativeOnWidth(mCx); in getPath() local
98 new RectF((float) (cx - rx), (float) (cy - ry), (float) (cx + rx), (float) (cy + ry)); in getPath()
/expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/
H A DCircleView.java28 public void setCx(Dynamic cx) { in setCx() argument
29 mCx = SVGLength.from(cx); in setCx()
33 public void setCx(String cx) { in setCx() argument
34 mCx = SVGLength.from(cx); in setCx()
38 public void setCx(Double cx) { in setCx() argument
39 mCx = SVGLength.from(cx); in setCx()
77 double cx = relativeOnWidth(mCx); in getPath() local
81 path.addCircle((float) cx, (float) cy, (float) r, Path.Direction.CW); in getPath()
H A DEllipseView.java30 public void setCx(Dynamic cx) { in setCx() argument
31 mCx = SVGLength.from(cx); in setCx()
35 public void setCx(String cx) { in setCx() argument
36 mCx = SVGLength.from(cx); in setCx()
40 public void setCx(Double cx) { in setCx() argument
41 mCx = SVGLength.from(cx); in setCx()
93 double cx = relativeOnWidth(mCx); in getPath() local
98 new RectF((float) (cx - rx), (float) (cy - ry), (float) (cx + rx), (float) (cy + ry)); in getPath()
/expo/packages/expo-image/src/utils/thumbhash/
H A Dthumbhash.ts63 for (let cx = 0; cx * ny < nx * (ny - cy); cx++) {
70 if (cx || cy) {
148 for (let cx = cy ? 0 : 1; cx * ny < nx * (ny - cy); cx++)
174 for (let cx = 0, n = max(lx, hasAlpha ? 5 : 3); cx < n; cx++)
175 fx[cx] = cos((PI / w) * (x + 0.5) * cx);
181 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx * ly < lx * (ly - cy); cx++, j++)
182 l += l_ac[j] * fx[cx] * fy2;
186 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 3 - cy; cx++, j++) {
187 const f = fx[cx] * fy2; constant
196 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 5 - cy; cx++, j++)
[all …]
/expo/packages/expo-image/build/utils/thumbhash/
H A Dthumbhash.js55 for (let cx = 0; cx * ny < nx * (ny - cy); cx++) {
63 if (cx || cy) {
138 for (let cx = cy ? 0 : 1; cx * ny < nx * (ny - cy); cx++)
155 for (let cx = 0, n = max(lx, hasAlpha ? 5 : 3); cx < n; cx++)
156 fx[cx] = cos((PI / w) * (x + 0.5) * cx);
161 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx * ly < lx * (ly - cy); cx++, j++)
162 l += l_ac[j] * fx[cx] * fy2;
165 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 3 - cy; cx++, j++) {
166 const f = fx[cx] * fy2;
174 for (let cx = cy ? 0 : 1, fy2 = fy[cy] * 2; cx < 5 - cy; cx++, j++)
[all …]
/expo/apps/native-component-list/src/screens/SVG/examples/
H A DG.tsx42 <Circle cx="25" cy="25" r="11" />
44 <Circle cx="25" cy="75" r="11" stroke="red" />
45 <Circle cx="50" cy="50" r="11" fill="green" />
46 <Circle cx="75" cy="25" r="11" stroke="red" />
47 <Circle cx="75" cy="75" r="11" />
85 <Circle cx="5" cy="5" r="3" />
86 <Circle cx="5" cy="15" r="3" />
87 <Circle cx="10" cy="10" fill="green" r="3" />
88 <Circle cx="15" cy="5" r="3" />
89 <Circle cx="15" cy="15" r="3" />
H A DClipping.tsx21 <Circle cx="30" cy="30" r="20" />
78 <Circle cx="-20" cy="35" r="10" />
79 <Circle cx="0" cy="35" r="10" />
80 <Circle cx="20" cy="35" r="10" />
81 <Circle cx="40" cy="35" r="10" />
82 <Circle cx="60" cy="35" r="10" />
83 <Circle cx="80" cy="35" r="10" />
84 <Circle cx="100" cy="35" r="10" />
85 <Circle cx="120" cy="35" r="10" />
86 <Circle cx="140" cy="35" r="10" />
[all …]
H A DEllipse.tsx12 cx="50%"
30 <Svg.Ellipse cx="98" cy="60" rx="90" ry="30" fill="purple" />
31 <Svg.Ellipse cx="94" cy="45" rx="80" ry="25" fill="lime" />
32 <Svg.Ellipse cx="92" cy="30" rx="70" ry="20" fill="yellow" />
43 <Svg.Ellipse cx="100" cy="50" rx="90" ry="30" fill="yellow" />
44 <Svg.Ellipse cx="95" cy="50" rx="75" ry="20" fill="white" />
52 <Svg.Ellipse cx="10" cy="10" rx="8" ry="4" stroke="purple" strokeWidth="1" fill="yellow" />
H A DCircle.tsx11 <Svg.Circle cx="50%" cy="50%" r="40%" fill="pink" />
22 <Svg.Circle cx="50" cy="50" r="45" stroke="purple" strokeWidth="2.5" fill="none" />
34 cx="50"
52 <Svg.Circle cx="50" cy="50" r="40" fill="#ddd" />
56 cx="50"
71 <Svg.Circle cx="10" cy="10" r="8" stroke="purple" strokeWidth="1" fill="pink" />
/expo/ios/vendored/sdk47/react-native-svg/apple/Shapes/
H A DABI47_0_0RNSVGCircle.mm45 self.cx = [ABI47_0_0RNSVGLength lengthWithString:ABI47_0_0RCTNSStringFromString(newProps.cx)];
62 - (void)setCx:(ABI47_0_0RNSVGLength *)cx
64 if ([cx isEqualTo:_cx]) {
68 _cx = cx;
92 CGFloat cx = [self relativeOnWidth:self.cx];
95 CGPathAddArc(path, nil, cx, cy, r, 0, 2 * (CGFloat)M_PI, NO);
H A DABI47_0_0RNSVGEllipse.mm45 self.cx = [ABI47_0_0RNSVGLength lengthWithString:ABI47_0_0RCTNSStringFromString(newProps.cx)];
64 - (void)setCx:(ABI47_0_0RNSVGLength *)cx
66 if ([cx isEqualTo:_cx]) {
70 _cx = cx;
103 CGFloat cx = [self relativeOnWidth:self.cx];
107 CGPathAddEllipseInRect(path, nil, CGRectMake(cx - rx, cy - ry, rx * 2, ry * 2));
/expo/ios/vendored/sdk49/react-native-svg/apple/Shapes/
H A DABI49_0_0RNSVGCircle.mm45 self.cx = [ABI49_0_0RNSVGLength lengthWithString:ABI49_0_0RCTNSStringFromString(newProps.cx)];
62 - (void)setCx:(ABI49_0_0RNSVGLength *)cx
64 if ([cx isEqualTo:_cx]) {
68 _cx = cx;
92 CGFloat cx = [self relativeOnWidth:self.cx];
95 CGPathAddArc(path, nil, cx, cy, r, 0, 2 * (CGFloat)M_PI, NO);
H A DABI49_0_0RNSVGEllipse.mm45 self.cx = [ABI49_0_0RNSVGLength lengthWithString:ABI49_0_0RCTNSStringFromString(newProps.cx)];
64 - (void)setCx:(ABI49_0_0RNSVGLength *)cx
66 if ([cx isEqualTo:_cx]) {
70 _cx = cx;
103 CGFloat cx = [self relativeOnWidth:self.cx];
107 CGPathAddEllipseInRect(path, nil, CGRectMake(cx - rx, cy - ry, rx * 2, ry * 2));
/expo/ios/vendored/sdk48/react-native-svg/apple/Shapes/
H A DABI48_0_0RNSVGCircle.mm45 self.cx = [ABI48_0_0RNSVGLength lengthWithString:ABI48_0_0RCTNSStringFromString(newProps.cx)];
62 - (void)setCx:(ABI48_0_0RNSVGLength *)cx
64 if ([cx isEqualTo:_cx]) {
68 _cx = cx;
92 CGFloat cx = [self relativeOnWidth:self.cx];
95 CGPathAddArc(path, nil, cx, cy, r, 0, 2 * (CGFloat)M_PI, NO);
H A DABI48_0_0RNSVGEllipse.mm45 self.cx = [ABI48_0_0RNSVGLength lengthWithString:ABI48_0_0RCTNSStringFromString(newProps.cx)];
64 - (void)setCx:(ABI48_0_0RNSVGLength *)cx
66 if ([cx isEqualTo:_cx]) {
70 _cx = cx;
103 CGFloat cx = [self relativeOnWidth:self.cx];
107 CGPathAddEllipseInRect(path, nil, CGRectMake(cx - rx, cy - ry, rx * 2, ry * 2));
/expo/ios/vendored/unversioned/react-native-svg/apple/Shapes/
H A DRNSVGCircle.mm45 self.cx = [RNSVGLength lengthWithString:RCTNSStringFromString(newProps.cx)];
62 - (void)setCx:(RNSVGLength *)cx
64 if ([cx isEqualTo:_cx]) {
68 _cx = cx;
92 CGFloat cx = [self relativeOnWidth:self.cx];
95 CGPathAddArc(path, nil, cx, cy, r, 0, 2 * (CGFloat)M_PI, NO);
H A DRNSVGEllipse.mm45 self.cx = [RNSVGLength lengthWithString:RCTNSStringFromString(newProps.cx)];
64 - (void)setCx:(RNSVGLength *)cx
66 if ([cx isEqualTo:_cx]) {
70 _cx = cx;
103 CGFloat cx = [self relativeOnWidth:self.cx];
107 CGPathAddEllipseInRect(path, nil, CGRectMake(cx - rx, cy - ry, rx * 2, ry * 2));
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/thumbhash/
H A DThumbhashDecoder.kt175 for (cx in 0 until cx_stop) fx[cx] = Math.cos(Math.PI / w * (x + 0.5f) * cx).toFloat() in thumbHashToRGBA() variable
187 cx++ in thumbHashToRGBA()
200 while (cx < 3 - cy) { in thumbHashToRGBA()
201 val f = fx[cx] * fy2 in thumbHashToRGBA()
204 cx++ in thumbHashToRGBA()
217 while (cx < 5 - cy) { in thumbHashToRGBA()
219 cx++ in thumbHashToRGBA()
314 cx++
324 var cx = 0 in encode() variable
333 if (cx > 0 || cy > 0) { in encode()
[all …]
/expo/packages/expo-image/android/src/main/java/expo/modules/image/thumbhash/
H A DThumbhashDecoder.kt175 for (cx in 0 until cx_stop) fx[cx] = Math.cos(Math.PI / w * (x + 0.5f) * cx).toFloat() in thumbHashToRGBA() variable
187 cx++ in thumbHashToRGBA()
200 while (cx < 3 - cy) { in thumbHashToRGBA()
201 val f = fx[cx] * fy2 in thumbHashToRGBA()
204 cx++ in thumbHashToRGBA()
217 while (cx < 5 - cy) { in thumbHashToRGBA()
219 cx++ in thumbHashToRGBA()
314 cx++
324 var cx = 0 in encode() variable
333 if (cx > 0 || cy > 0) { in encode()
[all …]

12345678