/external/skia/gm/ |
H A D | hairlines.cpp | 33 SkScalar angle = SK_ScalarPI * SkIntToScalar(i) / kNumAngles; variable 34 SkScalar x = kRadius * SkScalarCos(angle); 35 SkScalar y = kRadius * SkScalarSin(angle); 131 // A right angle (crbug.com/137465 and crbug.com/256776)
|
/external/skia/src/pathops/ |
H A D | SkPathOpsCommon.cpp | 38 // find first angle, initialize winding to computed fWindSum 40 const SkOpAngle* angle = segment->spanToAngle(start, end); local 41 if (!angle) { 46 const SkOpAngle* firstAngle = angle; 51 angle = angle->next(); 52 if (!angle) { 55 unorderable |= angle->unorderable(); 56 if ((computeWinding = unorderable || (angle == firstAngle && loop))) { 59 loop |= angle 127 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); local [all...] |
H A D | SkPathOpsOp.cpp | 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); local 39 if (!angle) { 47 segment = angle->segment(); 48 sumMiWinding = segment->updateWindingReverse(angle); 53 sumSuWinding = segment->updateOppWindingReverse(angle); 63 const SkOpAngle* firstAngle = angle; 64 while ((angle = angle->next()) != firstAngle) { 65 segment = angle->segment(); 66 SkOpSpanBase* start = angle [all...] |
H A D | SkOpSegment.h | 63 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); local 64 angle->set(&fTail, fTail.prev()); 65 fTail.setFromAngle(angle); 66 return angle; 81 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); local 82 angle->set(&fHead, fHead.next()); 83 fHead.setToAngle(angle); 84 return angle; 194 bool done(const SkOpAngle* angle) const { 195 return angle [all...] |
/external/skia/src/utils/ |
H A D | SkParsePath.cpp | 167 SkScalar angle, largeArc, sweep; local 170 && (data = find_scalar(data, &angle, false, 0)) 177 path.arcTo(radii, angle, (SkPath::ArcSize) SkToBool(largeArc),
|
/external/skqp/gm/ |
H A D | convex_all_line_paths.cpp | 13 float angleStep = 360.0f / n, angle = 0.0f, sin, cos; local 15 angle = angleStep/2.0f; 19 sin = SkScalarSinCos(SkDegreesToRadians(angle), &cos); 22 angle += angleStep; 34 // narrow rect on an angle
|
H A D | convexpolyclip.cpp | 110 SkScalar angle = 2 * SK_ScalarPI * i / 6; variable 112 point.fY = SkScalarSinCos(angle, &point.fX);
|
H A D | convexpolyeffect.cpp | 140 SkScalar angle = 2 * SK_ScalarPI * i / GrConvexPolyEffect::kMaxEdges; variable 142 point.fY = SkScalarSinCos(angle, &point.fX);
|
H A D | hairlines.cpp | 33 SkScalar angle = SK_ScalarPI * SkIntToScalar(i) / kNumAngles; variable 34 SkScalar x = kRadius * SkScalarCos(angle); 35 SkScalar y = kRadius * SkScalarSin(angle); 131 // A right angle (crbug.com/137465 and crbug.com/256776)
|
/external/skqp/src/pathops/ |
H A D | SkPathOpsCommon.cpp | 38 // find first angle, initialize winding to computed fWindSum 40 const SkOpAngle* angle = segment->spanToAngle(start, end); local 41 if (!angle) { 46 const SkOpAngle* firstAngle = angle; 51 angle = angle->next(); 52 if (!angle) { 55 unorderable |= angle->unorderable(); 56 if ((computeWinding = unorderable || (angle == firstAngle && loop))) { 59 loop |= angle 127 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); local [all...] |
H A D | SkPathOpsOp.cpp | 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); local 39 if (!angle) { 47 segment = angle->segment(); 48 sumMiWinding = segment->updateWindingReverse(angle); 53 sumSuWinding = segment->updateOppWindingReverse(angle); 63 const SkOpAngle* firstAngle = angle; 64 while ((angle = angle->next()) != firstAngle) { 65 segment = angle->segment(); 66 SkOpSpanBase* start = angle [all...] |
H A D | SkOpSegment.h | 63 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); local 64 angle->set(&fTail, fTail.prev()); 65 fTail.setFromAngle(angle); 66 return angle; 81 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); local 82 angle->set(&fHead, fHead.next()); 83 fHead.setToAngle(angle); 84 return angle; 194 bool done(const SkOpAngle* angle) const { 195 return angle [all...] |
/external/skqp/src/utils/ |
H A D | SkParsePath.cpp | 167 SkScalar angle, largeArc, sweep; local 170 && (data = find_scalar(data, &angle, false, 0)) 177 path.arcTo(radii, angle, (SkPath::ArcSize) SkToBool(largeArc),
|
/external/swiftshader/src/OpenGL/common/ |
H A D | MatrixStack.cpp | 72 void MatrixStack::rotate(float angle, float x, float y, float z) argument 80 float theta = angle * 0.0174532925f; // In radians 93 void MatrixStack::rotate(double angle, double x, double y, double z) argument 95 rotate((float)angle, (float)x, (float)y, (float)z);
|
/external/ImageMagick/MagickCore/ |
H A D | morphology.h | 123 angle; member in struct:_KernelInfo
|
H A D | composite.c | 796 Y = green_channel; compose:args = x_scale[,y_scale[,angle]]. 835 /* rotate vectors if a rotation angle is given */ 839 angle; 841 angle=DegreesToRadians(geometry_info.xi); 842 blur.x1=width*cos(angle); 843 blur.x2=width*sin(angle); 844 blur.y1=(-height*sin(angle)); 845 blur.y2=height*cos(angle); 847 /* Otherwise lets set a angle range and calculate in the loop */ 905 angle; 837 angle; local 903 angle; local [all...] |
H A D | shear.c | 202 % saved as the artifact "deskew:angle". 605 Compute deskew angle. 632 " Deskew angle: %g",degrees); 641 angle[MagickPathExtent]; 643 (void) FormatLocaleString(angle,MagickPathExtent,"%.20g",degrees); 644 (void) SetImageArtifact(clone_image,"deskew:angle",angle); 1126 % XShearImage() shears the image in the X direction with a shear angle of 1142 % o degrees: A double representing the shearing angle along the X 1343 % YShearImage shears the image in the Y direction with a shear angle o 638 angle[MagickPathExtent]; local 1726 angle; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
H A D | Vector3D.java | 338 public static double angle(Vector3D v1, Vector3D v2) { method in class:Vector3D
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
H A D | matrixop.c | 81 void Matrix4x4_Rotate(Matrix4x4 mat, float angle, argument 85 float r = angle * PI / 180.f; 92 if (norm == 0 || angle == 0)
|
/external/opencv/cv/src/ |
H A D | cvmotempl.cpp | 286 double angle = 0; local 404 angle = base_orient; 409 return angle;
|
H A D | cvgeometry.cpp | 93 double angle = box.angle*CV_PI/180.; local 94 float a = (float)cos(angle)*0.5f; 95 float b = (float)sin(angle)*0.5f; 496 // calculate the euler angle
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
H A D | utils.h | 216 T angle; local 219 angle = coeff_1 - coeff_1 * r; 222 angle = coeff_2 - coeff_1 * r; 225 return y < 0 ? PI_2 - angle : angle;
|
/external/eigen/test/ |
H A D | geo_transformations.cpp | 140 // angle-axis conversion 144 // The following test is stable only if 2*angle != angle and v1 is not colinear with axis 145 if( (abs(aa.angle()) > test_precision<Scalar>()) && (abs(aa.axis().dot(v1.normalized()))<(Scalar(1)-Scalar(4)*test_precision<Scalar>())) ) 147 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); 152 // The following test is stable only if 2*angle != angle and v1 is not colinear with axis 153 if( (abs(aa.angle()) > test_precision<Scalar>()) && (abs(aa.axis().dot(v1.normalized()))<(Scalar(1)-Scalar(4)*test_precision<Scalar>())) ) 155 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); 433 Scalar angle local [all...] |
/external/libxcam/xcore/ |
H A D | xcam_utils.cpp | 92 float angle; local 106 angle = degree2radian (config.angle_start + img_pos.x * angle_step); 109 if(XCAM_DOUBLE_EQUAL_AROUND (angle, PI / 2)) { 112 } else if (XCAM_DOUBLE_EQUAL_AROUND (angle, PI * 3 / 2)) { 115 } else if((angle < PI / 2) || (angle > PI * 3 / 2)) { 116 world.x = sqrt(r2 * a * a * b * b / (b * b + a * a * tan(angle) * tan(angle))); 117 world.y = -world.x * tan(angle); 119 world.x = -sqrt(r2 * a * a * b * b / (b * b + a * a * tan(angle) * ta [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | es1_conversion.c | 736 _mesa_Rotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) argument 738 _mesa_Rotatef((GLfloat) (angle / 65536.0f),
|