/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
Quad.java | 186 float sina = (float) Math.sin(angle); local 188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina); 189 PointF topRight = rotatePoint(topRight(), center, cosa, sina); 190 PointF bottomLeft = rotatePoint(bottomLeft(), center, cosa, sina); 191 PointF bottomRight = rotatePoint(bottomRight(), center, cosa, sina); 340 private static PointF rotatePoint(PointF p, PointF c, float cosa, float sina) { 341 float x = (p.x - c.x) * cosa - (p.y - c.y) * sina + c.x; 342 float y = (p.x - c.x) * sina + (p.y - c.y) * cosa + c.y;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
RoundedLine.java | 64 final float sina = (float)Math.sin(aa); local 69 final float p1ay = p1y + r1 * sina; 75 final float p2ay = p2y + r2 * sina;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
transform.c | 283 int cosa, sina, cosb, sinb; local 291 sina = *csptr++; 300 *buf0++ = MULHIGH(cosa, tr1) + MULHIGH(sina, ti1); 301 *buf0++ = MULHIGH(cosa, ti1) - MULHIGH(sina, tr1); 318 int cosa, sina, cosb, sinb; local 326 sina = *csptr++; 335 *buf0++ = MULHIGH(cosa, tr1) + MULHIGH(sina, ti1); 336 *buf1-- = MULHIGH(sina, tr1) - MULHIGH(cosa, ti1);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
arc.c | 207 double sina = v[1] / norm; local 208 return (sina>=0 ? acos(cosa) : 2*M_PI - acos(cosa));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageStraighten.java | 191 double sina = Math.sin(a); local 195 double h1 = rh * rh / (rw * sina + rh * cosa); 196 double h2 = rh * rw / (rw * cosa + rh * sina);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 2194 double sina = a + b; local [all...] |