/external/skia/bench/ |
PolyUtilsBench.cpp | 118 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 119 *poly->push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); 121 sinV = SkScalarSinCos(rad, &cosV); 122 *poly->push() = SkPoint::Make(c + cosV * r2, c + sinV * r2); 145 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 146 *poly->push() = SkPoint::Make(c + cosV * r, c + sinV * r); 172 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); [all...] |
DashBench.cpp | 147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 148 path->lineTo(cosV, sinV);
|
/external/skqp/bench/ |
PolyUtilsBench.cpp | 118 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 119 *poly->push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); 121 sinV = SkScalarSinCos(rad, &cosV); 122 *poly->push() = SkPoint::Make(c + cosV * r2, c + sinV * r2); 145 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 146 *poly->push() = SkPoint::Make(c + cosV * r, c + sinV * r); 172 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); [all...] |
DashBench.cpp | 147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 148 path->lineTo(cosV, sinV);
|
/external/skia/samplecode/ |
SamplePathFill.cpp | 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 84 path->lineTo(c + cosV * r, c + sinV * r);
|
/external/skqp/samplecode/ |
SamplePathFill.cpp | 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 84 path->lineTo(c + cosV * r, c + sinV * r);
|
/external/skia/gm/ |
hairlines.cpp | 152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); 154 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV); 156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); 158 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV);
|
smallpaths.cpp | 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 52 path->lineTo(c + cosV * r, c + sinV * r);
|
dashing.cpp | 110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 111 path->lineTo(cosV, sinV);
|
pathfill.cpp | 121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 122 path->lineTo(c + cosV * r, c + sinV * r);
|
/external/skqp/gm/ |
hairlines.cpp | 152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); 154 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV); 156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); 158 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV);
|
smallpaths.cpp | 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 52 path->lineTo(c + cosV * r, c + sinV * r);
|
dashing.cpp | 110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 111 path->lineTo(cosV, sinV);
|
pathfill.cpp | 121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 122 path->lineTo(c + cosV * r, c + sinV * r);
|
/external/skia/tests/ |
PolyUtilsTest.cpp | 204 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 205 *poly.push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); 207 sinV = SkScalarSinCos(rad, &cosV); 208 *poly.push() = SkPoint::Make(c + cosV * r2, c + sinV * r2);
|
/external/skqp/tests/ |
PolyUtilsTest.cpp | 204 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); 205 *poly.push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); 207 sinV = SkScalarSinCos(rad, &cosV); 208 *poly.push() = SkPoint::Make(c + cosV * r2, c + sinV * r2);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CubeMapActivity.java | 169 float cosV = (float) Math.cos(angleV); 176 float x = d*cosV; 180 float nx = cosV * cosU;
|
/external/skia/src/core/ |
SkMatrix.cpp | 429 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { 430 const SkScalar oneMinusCosV = 1 - cosV; 432 fMat[kMScaleX] = cosV; 437 fMat[kMScaleY] = cosV; 462 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { 463 fMat[kMScaleX] = cosV; 468 fMat[kMScaleY] = cosV; 478 SkScalar sinV, cosV; 479 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); 480 this->setSinCos(sinV, cosV, px, py) [all...] |
/external/skqp/src/core/ |
SkMatrix.cpp | 429 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { 430 const SkScalar oneMinusCosV = 1 - cosV; 432 fMat[kMScaleX] = cosV; 437 fMat[kMScaleY] = cosV; 462 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { 463 fMat[kMScaleX] = cosV; 468 fMat[kMScaleY] = cosV; 478 SkScalar sinV, cosV; 479 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); 480 this->setSinCos(sinV, cosV, px, py) [all...] |
/external/skia/modules/skottie/src/ |
SkottieAdapter.cpp | 279 SkScalar sinV, cosV; 280 sinV = SkScalarSinCos(SkDegreesToRadians(90 - fDirection), &cosV); 281 fDropShadow->setOffset(SkVector::Make(fDistance * cosV, -fDistance * sinV));
|
/external/skia/modules/canvaskit/ |
interface.js | 90 var cosV = Math.cos(radians); 92 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 93 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|
/external/skqp/experimental/canvaskit/ |
interface.js | 91 var cosV = Math.cos(radians); 93 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 94 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|