HomeSort by relevance Sort by last modified time
    Searched refs:sin (Results 151 - 175 of 1071) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/apps/Camera2/src/com/android/camera/ui/
PreviewOverlay.java 342 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle),
344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint);
346 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle),
348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint);
354 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle),
356 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint);
358 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle),
360 mCenterY + zoomRadius * (float) Math.sin(mFingerAngle), mPaint);
  /cts/tests/tests/location/src/android/location/cts/psedorange/
TroposphericModelEgnos.java 149 double denominatorDry = Math.sin(satElevationRadians) + (aHidrostatic / (
150 Math.sin(satElevationRadians)
151 + (B_HYDROSTATIC / (Math.sin(satElevationRadians) + C_HYDROSTATIC))));
162 double denominatorWet = Math.sin(satElevationRadians) + (aNonHydrostatic / (
163 Math.sin(satElevationRadians)
164 + (B_NON_HYDROSTATIC / (Math.sin(satElevationRadians) + C_NON_HYDROSTATIC))));
  /external/freetype/src/tools/
test_trig.c 56 d2 = sin( i*SPI );
62 printf( "FT_Sin[%3d] = %.7f sin[%3d] = %.7f\n",
112 s1 = l * sin(a);
146 s1 = sin(a);
177 v.y = (FT_Fixed)( l * sin( i*SPI ) );
204 sra = sin( ra );
217 s1 = l * sin(a);
  /external/libxcam/xcore/
surview_fisheye_dewarp.cpp 120 Vec4f(0.0f, cos(roll), -sin(roll), 0.0f),
121 Vec4f(0.0f, sin(roll), cos(roll), 0.0f),
124 Mat4f matrix_y(Vec4f(cos(pitch), 0.0f, sin(pitch), 0.0f),
126 Vec4f(-sin(pitch), 0.0f, cos(pitch), 0.0f),
129 Mat4f matrix_z(Vec4f(cos(yaw), -sin(yaw), 0.0f, 0.0f),
130 Vec4f(sin(yaw), cos(yaw), 0.0f, 0.0f),
  /bionic/libc/dns/resolv/
res_init.c 204 u[nserv].sin.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1);
206 u[nserv].sin.sin_addr.s_addr = INADDR_ANY;
208 u[nserv].sin.sin_family = AF_INET;
209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT);
211 u[nserv].sin.sin_len = sizeof(struct sockaddr_in);
238 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr;
685 switch (set->sin.sin_family) {
687 size = sizeof(set->sin);
690 &set->sin, size);
693 &set->sin, size)
    [all...]
  /external/libxcam/cl_kernel/
kernel_fisheye.cl 25 float x = sin (gps_pos.y) * cos (gps_pos.x);
26 float y = sin (gps_pos.y) * sin (gps_pos.x);
36 ret.x = cos(info->rotate_angle) * dst.x - sin(info->rotate_angle) * dst.y;
37 ret.y = sin(info->rotate_angle) * dst.x + cos (info->rotate_angle) * dst.y;
  /frameworks/base/core/java/android/hardware/
GeomagneticField.java 153 // sin(latitude), which is the same as cos(PI/2 - latitude), except the
169 // Compute tables of sin(lon * m) and cos(lon * m) for m = 0..MAX_N --
170 // this is much faster than calling Math.sin and Math.com MAX_N+1 times.
175 sinMLon[1] = (float) Math.sin(mGcLongitudeRad);
179 // Standard expansions for sin((m-x)*theta + x*theta) and
207 // P_n^m(sin(theta)) and we use P_n^m(cos(90 - theta)), so the
235 + gcZ * Math.sin(latDiffRad));
237 mZ = (float) (- gcX * Math.sin(latDiffRad)
312 float slat = (float) Math.sin(gdLatRad);
357 float sin = (float) Math.sin(thetaRad) local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMatrix.java 407 final float sin = (float) Math.sin(radians); local
409 return sinCos(sin, cos, px, py);
414 final float sin = (float) Math.sin(radians); local
416 return sinCos(sin, cos);
419 public static SimpleMatrix sinCos(float sin, float cos, float px, float py) {
421 cos, -sin, sin * py + (1 - cos) * px,
422 sin, cos, -sin * px + (1 - cos) * py
    [all...]
  /external/libxaac/decoder/
ixheaacd_aac_imdct.c 139 WORD16 cos = 0, cos1 = 0, sin = 0, sin1 = 0; local
144 sin = *cos_sin_ptr++;
147 sin = *cos_sin_ptr;
154 ixheaacd_mac32x16in32(ixheaacd_mult32x16in32(tempr, cos), tempi, sin);
160 ixheaacd_mult32x16in32(tempr, sin));
167 sin = *cos_sin_ptr++;
170 sin = *cos_sin_ptr++;
181 ixheaacd_mult32x16in32(tempr1, sin));
187 tempi1, sin);
192 ixheaacd_mac32x16in32(ixheaacd_mult32x16in32(tempr, sin), tempi, cos)
298 WORD16 cos, cos1, sin, sin1; local
475 WORD16 cos, cos1, sin, sin1; local
    [all...]
  /external/android-clat/
config.c 229 struct sockaddr_in sin = { .sin_family = AF_INET, .sin_addr = { addr }, .sin_port = 53 }; local
230 socklen_t len = sizeof(sin);
231 int inuse = connect(s, (struct sockaddr *) &sin, sizeof(sin)) == 0 &&
232 getsockname(s, (struct sockaddr *) &sin, &len) == 0 &&
233 (size_t) len >= sizeof(sin) &&
234 sin.sin_addr.s_addr == addr;
  /external/ipsec-tools/src/racoon/
sockmisc.c 405 struct sockaddr_in *sin; local
473 && otolen >= sizeof(sin)) {
475 *tolen = sizeof(*sin);
476 sin = (struct sockaddr_in *)to;
477 memset(sin, 0, sizeof(*sin));
478 sin->sin_family = AF_INET;
479 memcpy(&sin->sin_addr, &pi->ipi_addr,
480 sizeof(sin->sin_addr));
481 sin->sin_port
    [all...]
  /external/syslinux/core/lwip/src/api/
sockets.c 319 struct sockaddr_in sin; local
360 memset(&sin, 0, sizeof(sin));
361 sin.sin_len = sizeof(sin);
362 sin.sin_family = AF_INET;
363 sin.sin_port = htons(port);
364 inet_addr_from_ipaddr(&sin.sin_addr, &naddr);
366 if (*addrlen > sizeof(sin))
367 *addrlen = sizeof(sin);
661 struct sockaddr_in sin; local
1398 struct sockaddr_in sin; local
    [all...]
  /bionic/libm/x86/
s_sin.S 81 // S_hi + S_lo 2 * 53-bit sin(B)
85 // sin(B + r + c) = [sin(B) + sigma * r] +
87 // sin(B) * [cos(r + c) - 1] +
88 // cos(B) * [sin(r + c) - r]
95 // (C_hl + sigma) * [(sin(r) - r) + c]
106 // pols = S_hi * (cos(r) - 1) + (C_hl + sigma) * (sin(r) - r)
112 // (sin(r) - r) can be rearranged freely, since it is quite
169 // sin(NaN) = quiet NaN, and raise invalid exception
170 // sin(INF) = NaN and raise invalid exceptio
192 ENTRY(sin) function
    [all...]
  /external/crcalc/tests/src/com/hp/creals/
CRTest.java 115 check_eq(half_pi.sin(), one, "sin(pi/2) failed");
120 check_eq(asin.execute(half.sin()), half, "asin(sin(0.5)) failed");
126 check_eq(asin.execute(one.sin()), one, "asin(sin(1) failed");
142 check_appr_eq(Math.sin(n), CR.valueOf(n).sin().doubleValue(),
143 "sin failed at " + n);
  /external/skia/samplecode/
SampleVertices.cpp 164 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
165 v[i+1].set(cos, sin);
192 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
193 v[i*2 + 0].set(cos/2, sin/2);
194 v[i*2 + 1].set(cos, sin);
  /external/skqp/samplecode/
SampleVertices.cpp 164 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
165 v[i+1].set(cos, sin);
192 SkScalar sin = SkScalarSinCos(SK_ScalarPI * 2 * i / n, &cos); local
193 v[i*2 + 0].set(cos/2, sin/2);
194 v[i*2 + 1].set(cos, sin);
  /external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
synthetic.py 69 base_sin = np.sin(linspace)
82 circ_y = np.append(circ_y, np.sin(np.random.rand(extras) * 2 * np.pi))
178 x, y = theta * np.cos(theta + theta_offset), theta * np.sin(
199 exp_scale * theta) * np.sin(theta + theta_offset)
213 x, y = np.sqrt(theta) * np.cos(theta + theta_offset), np.sqrt(theta) * np.sin(
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Quaternion.java 75 double sin = Math.sin(angle / 2); local
76 x[1] = axis[0] * sin;
77 x[2] = axis[1] * sin;
78 x[3] = axis[2] * sin;
  /prebuilts/go/darwin-x86/src/math/
jn.go 94 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
95 // Let s=sin(x), c=cos(x),
98 // n sin(xn)*sqt2 cos(xn)*sqt2
108 temp = Cos(x) + Sin(x)
110 temp = -Cos(x) + Sin(x)
112 temp = -Cos(x) - Sin(x)
114 temp = Cos(x) - Sin(x)
269 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
270 // Let s=sin(x), c=cos(x),
273 // n sin(xn)*sqt2 cos(xn)*sqt
    [all...]
sin.go 12 // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
16 // sin.c
22 // double x, y, sin();
23 // y = sin( x );
92 // sin coefficients
168 // Sin returns the sine of the radian argument x.
171 // Sin(±0) = ±0
172 // Sin(±Inf) = NaN
173 // Sin(NaN) = NaN
174 func Sin(x float64) float6
176 func sin(x float64) float64 { func
    [all...]
  /prebuilts/go/linux-x86/src/math/
jn.go 94 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
95 // Let s=sin(x), c=cos(x),
98 // n sin(xn)*sqt2 cos(xn)*sqt2
108 temp = Cos(x) + Sin(x)
110 temp = -Cos(x) + Sin(x)
112 temp = -Cos(x) - Sin(x)
114 temp = Cos(x) - Sin(x)
269 // Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
270 // Let s=sin(x), c=cos(x),
273 // n sin(xn)*sqt2 cos(xn)*sqt
    [all...]
sin.go 12 // below were from http://netlib.sandia.gov/cephes/cmath/sin.c,
16 // sin.c
22 // double x, y, sin();
23 // y = sin( x );
92 // sin coefficients
168 // Sin returns the sine of the radian argument x.
171 // Sin(±0) = ±0
172 // Sin(±Inf) = NaN
173 // Sin(NaN) = NaN
174 func Sin(x float64) float6
176 func sin(x float64) float64 { func
    [all...]
  /external/boringssl/src/crypto/bio/
bio_test.cc 73 struct sockaddr_in *sin = (struct sockaddr_in *) &ss; local
88 len = sizeof(*sin);
89 ASSERT_EQ(1, inet_pton(AF_INET, "127.0.0.1", &sin->sin_addr))
91 ASSERT_EQ(0, bind(listening_sock, (struct sockaddr *)sin, sizeof(*sin)))
106 ntohs(sin->sin_port));
  /external/syslinux/gpxe/src/net/tcp/
ftp.c 274 struct sockaddr_in sin; member in union:__anon38445
279 sa.sin.sin_family = AF_INET;
280 ftp_parse_value ( &ptr, ( uint8_t * ) &sa.sin.sin_addr,
281 sizeof ( sa.sin.sin_addr ) );
282 ftp_parse_value ( &ptr, ( uint8_t * ) &sa.sin.sin_port,
283 sizeof ( sa.sin.sin_port ) );
  /frameworks/rs/driver/runtime/
rs_quaternion.c 60 float s = sin(rot);
153 float invSinTheta = 1.0f / sin(theta);
154 scale = sin(theta * (1.0f - t)) * invSinTheta;
155 invScale = sin(theta * t) * invSinTheta;
162 scale = sin(M_PI * (0.5f - t));
163 invScale = sin(M_PI * t);

Completed in 844 milliseconds

1 2 3 4 5 67 8 91011>>