/external/skqp/tests/ |
H A D | PathOpsDebug.cpp | 211 const SkOpAngle* SkPathOpsDebug::DebugAngleAngle(const SkOpAngle* angle, int id) { argument 212 return angle->debugAngle(id); 215 SkOpContour* SkPathOpsDebug::DebugAngleContour(SkOpAngle* angle, int id) { argument 216 return angle->debugContour(id); 219 const SkOpPtT* SkPathOpsDebug::DebugAnglePtT(const SkOpAngle* angle, int id) { argument 220 return angle->debugPtT(id); 223 const SkOpSegment* SkPathOpsDebug::DebugAngleSegment(const SkOpAngle* angle, int id) { argument 224 return angle->debugSegment(id); 227 const SkOpSpanBase* SkPathOpsDebug::DebugAngleSpan(const SkOpAngle* angle, int id) { argument 228 return angle 1390 SkOpAngle* angle = span->fromAngle(); local 1400 SkOpAngle* angle = tail->fromAngle(); local [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
H A D | PVRTVector.h | 1305 @brief Calculates a matrix corresponding to a rotation of angle 1308 static PVRTMat3 RotationX(VERTTYPE angle); 1313 @brief Calculates a matrix corresponding to a rotation of angle 1316 static PVRTMat3 RotationY(VERTTYPE angle); 1321 @brief Calculates a matrix corresponding to a rotation of angle 1324 static PVRTMat3 RotationZ(VERTTYPE angle); 1329 @brief Calculates a matrix corresponding to a rotation of angle 1332 static PVRTMat3 Rotation2D(VERTTYPE angle) argument 1334 return RotationZ(angle); 1786 @brief Calculates a matrix corresponding to a rotation of angle [all...] |
/external/tensorflow/tensorflow/python/ops/ |
H A D | math_ops.py | 105 @@angle 678 @tf_export("angle") 679 def angle(input, name=None): function 696 tf.angle(input) ==> [2.0132, 1.056] 709 return gen_math_ops.angle(input, Tout=input.dtype.real_dtype, name=name)
|
/external/ImageMagick/MagickCore/ |
H A D | accelerate.c | 4565 const double angle,ExceptionInfo *exception) 4632 cossin_theta_size=(unsigned int) fabs(4.0*DegreesToRadians(angle)*sqrt( 4645 theta=DegreesToRadians(angle)/(MagickRealType) (cossin_theta_size-1); 4717 const double angle,ExceptionInfo *exception) 4735 filteredImage=ComputeRotationalBlurImage(image,clEnv,angle,exception); 4564 ComputeRotationalBlurImage(const Image *image,MagickCLEnv clEnv, const double angle,ExceptionInfo *exception) argument 4716 AccelerateRotationalBlurImage(const Image *image, const double angle,ExceptionInfo *exception) argument
|
H A D | draw.c | 132 angle; 1721 angle, 2524 angle=StringToDouble(token,&next_token); 2527 affine.sx=cos(DegreesToRadians(fmod((double) angle,360.0))); 2528 affine.rx=sin(DegreesToRadians(fmod((double) angle,360.0))); 2529 affine.ry=(-sin(DegreesToRadians(fmod((double) angle,360.0)))); 2530 affine.sy=cos(DegreesToRadians(fmod((double) angle,360.0))); 2561 angle=StringToDouble(token,&next_token); 2564 affine.ry=sin(DegreesToRadians(angle)); 2570 angle 129 angle; member in struct:_ElementInfo 1705 angle, local 5114 TraceArcPath(PrimitiveInfo *primitive_info,const PointInfo start, const PointInfo end,const PointInfo arc,const double angle, const MagickBooleanType large_arc,const MagickBooleanType sweep) argument 5371 angle, local 5491 angle; local [all...] |
H A D | effect.c | 1956 % Angle gives the angle of the blurring motion. 1963 % const double sigma,const double angle,ExceptionInfo *exception) 1974 % o angle: Apply the effect along this angle. 2011 const double sigma,const double angle,ExceptionInfo *exception) 2076 point.x=(double) width*sin(DegreesToRadians(angle)); 2077 point.y=(double) width*cos(DegreesToRadians(angle)); 2772 % Image *RotationalBlurImage(const Image *image,const double angle, argument 2779 % o angle: the angle o 1998 MotionBlurImage(const Image *image,const double radius, const double sigma,const double angle,ExceptionInfo *exception) argument [all...] |
/external/ImageMagick/MagickWand/ |
H A D | mogrify.c | 2397 angle; 2407 angle=22.5*(GetPseudoRandomValue(random_info)-0.5); 2413 angle=geometry_info.rho; 2416 mogrify_image=PolaroidImage(*image,draw_info,caption,angle, 3587 "-polaroid angle simulate a Polaroid picture", 3601 "-rotational-blur angle", 2392 angle; local
|
/external/ImageMagick/coders/ |
H A D | msl.c | 630 angle; 780 angle=0.0; 932 angle=StringToDouble(value,(char **) NULL); 933 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); 934 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); 935 affine.ry=(-sin(DegreesToRadians(fmod(angle,360.0)))); 936 affine.sy=cos(DegreesToRadians(fmod(angle,360.0))); 957 angle=StringToDouble(value,(char **) NULL); 958 affine.ry=tan(DegreesToRadians(fmod((double) angle, 964 angle 624 angle; local [all...] |
H A D | svg.c | 124 angle; 901 svg_info->element.angle= 1088 svg_info->element.angle); 1168 if (LocaleCompare(keyword,"angle") == 0) 1170 (void) FormatLocaleFile(svg_info->file,"angle %g\n", 1377 angle; 1379 angle=GetUserSpaceCoordinateValue(svg_info,0,value); 1380 affine.sx=cos(DegreesToRadians(fmod(angle,360.0))); 1381 affine.rx=sin(DegreesToRadians(fmod(angle,360.0))); 1382 affine.ry=(-sin(DegreesToRadians(fmod(angle,360. 122 angle; member in struct:_ElementInfo 1373 angle; local 1546 angle; local 1989 angle, local 2305 angle; local [all...] |
H A D | wmf.c | 1437 angle = 0, /* text rotation angle */ 1615 angle = fabs(RadiansToDegrees(2 * MagickPI - WMF_TEXT_ANGLE(font))); 1616 if (angle == 360) 1617 angle = 0; 1618 if (angle != 0) 1619 DrawRotate(WmfDrawingWand, angle); 1435 angle = 0, /* text rotation angle */ local
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 241 const float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 242 const tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fMultisampleTests.cpp | 551 float angle = 2.0f*DE_PI * (float)i / (float)numLines + 0.001f*(float)m_currentIteration; local 552 renderLine(Vec2(0.0f, 0.0f), Vec2(deFloatCos(angle)*0.95f, deFloatSin(angle)*0.95f), Vec4(1.0f)); 659 // \note First and second iteration get exact 0 (and 90, 180, 270) and 45 (and 135, 225, 315) angle quads, as they are kind of a special case. 673 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 674 angleCos = deFloatCos(angle); 675 angleSin = deFloatSin(angle); 689 // First four are rotated at angles angle+0, angle+90, angle 747 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 928 float angle = 2.0f * DE_PI * (float)i / (float)numPolygons + 0.001f*(float)m_currentIteration; local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fMultisampleTests.cpp | 719 float angle = 2.0f*DE_PI * (float)i / (float)numLines + 0.001f*(float)m_currentIteration; local 720 renderLine(Vec2(0.0f, 0.0f), Vec2(deFloatCos(angle)*0.95f, deFloatSin(angle)*0.95f), Vec4(1.0f)); 821 // \note First and second iteration get exact 0 (and 90, 180, 270) and 45 (and 135, 225, 315) angle quads, as they are kind of a special case. 835 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 836 angleCos = deFloatCos(angle); 837 angleSin = deFloatSin(angle); 851 // First four are rotated at angles angle+0, angle+90, angle 909 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 1090 float angle = 2.0f * DE_PI * (float)i / (float)numPolygons + 0.001f*(float)m_currentIteration; local [all...] |
H A D | es3fTextureMipmapTests.cpp | 274 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 275 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/freetype/src/base/ |
H A D | ftstroke.c | 541 FT_Angle total, angle, step, rotate, next, theta; local 553 angle = angle_start; 565 next = angle + step; 581 FT_Vector_From_Polar( &a2, length, angle + rotate ); 597 angle = next; 921 FT_Angle angle, 930 stroker->angle_in = angle; 931 stroker->angle_out = angle + FT_ANGLE_PI; 944 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); 945 FT_Vector_From_Polar( &delta, radius, angle ); 920 ft_stroker_cap( FT_Stroker stroker, FT_Angle angle, FT_Int side ) argument 1302 FT_Angle angle; local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | astro.cpp | 219 * Normalize an angle so that it's in the range 0 - 2pi. 220 * For positive angles this is just (angle % 2pi), but the Java 223 inline static double norm2PI(double angle) { argument 224 return normalize(angle, CalendarAstronomer::PI * 2.0); 228 * Normalize an angle into the range -PI - PI 230 inline static double normPI(double angle) { argument 231 return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronomer::PI; 505 double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle 925 // // where 15 degrees corresponds to one hour. Since LST really is an angle, 1148 * This is really the angle betwee 1322 double angle = func.eval(*this); local 1386 double angle = ::acos(-tanL * ::tan(pos.declination)); local [all...] |
/external/libpng/contrib/gregbook/ |
H A D | rpng2-x.c | 1229 double angle=0.0, aoffset=0.0, maxDist, dist; local 1246 angle = CLIP(angle, 0.0, 360.0); 1260 angle = (x == 0)? PI_2 : atan((double)y / (double)x); 1264 intensity = cos((angle+(rotate*dist*PI)) * freq) * 1267 hue = (angle + PI) * INV_PI_360 + aoffset; 2001 double angle=0.0, aoffset=0.0, maxDist, dist; local 2014 angle = CLIP(angle, 0.0, 360.0); 2028 angle [all...] |
/external/libxaac/decoder/drc_src/ |
H A D | impd_drc_eq.c | 331 WORD32 config, FLOAT32 radius, FLOAT32 angle, 348 zReal = radius * (FLOAT32)cos(M_PI * angle); 349 zImag = radius * (FLOAT32)sin(M_PI * angle); 434 FLOAT32 angle = (FLOAT32)element->zero_sign[i + 1]; local 436 FLOAT32 angle2 = angle; 455 // FLOAT32 angle = 0.0f; 471 FLOAT32 angle = element->generic_zero_angle[i]; local 472 zReal = radius * (FLOAT32)cos(M_PI * angle); 480 zReal = (FLOAT32)cos(M_PI * angle) / radius; 509 FLOAT32 angle local 330 impd_calc_phase_filt_params( WORD32 config, FLOAT32 radius, FLOAT32 angle, ia_ph_alignment_filt_struct* ph_alignment_filt) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvhough.cpp | 65 float angle; member in struct:CvLinePolar 166 line.angle = n * theta; 454 line.angle = pindex->theta;
|
H A D | cvimgwarp.cpp | 1188 cv2DRotationMatrix( CvPoint2D32f center, double angle, argument 1202 angle *= CV_PI/180; 1203 alpha = cos(angle)*scale; 1204 beta = sin(angle)*scale;
|
/external/opencv/cxcore/src/ |
H A D | cxdrawing.cpp | 840 icvSinCos( int angle, float *cosval, float *sinval ) argument 842 angle += (angle < 0 ? 360 : 0); 843 *sinval = icvSinTable[angle]; 844 *cosval = icvSinTable[450 - angle]; 851 cvEllipse2Poly( CvPoint center, CvSize axes, int angle, argument 860 while( angle < 0 ) 861 angle += 360; 862 while( angle > 360 ) 863 angle 912 icvEllipseEx( CvMat* img, CvPoint center, CvSize axes, int angle, int arc_start, int arc_end, const void* color, int thickness, int line_type ) argument [all...] |
H A D | cxmathfuncs.cpp | 102 (const float *__y, const float *__x, float *angle, int len ), (__y, __x, angle, len) ) 107 if( !(y && x && angle && len >= 0) ) 161 angle[i] = z0; 162 angle[i+1] = z1; 163 angle[i+2] = z2; 164 angle[i+3] = z3; 170 angle[i] = cvFastArctan( __y[i], __x[i] ); 332 CvMat anglestub, *angle = (CvMat*)anglearr; local 367 if( angle ) 101 IPCVAPI_IMPL( CvStatus, icvFastArctan_32f, (const float *__y, const float *__x, float *angle, int len ), (__y, __x, angle, len) ) argument 476 icvSinCos_32f( const float *angle,float *sinval, float* cosval, int len, int angle_in_degrees ) argument 572 CvMat anglestub, *angle = (CvMat*)anglearr; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GLErrorLogger.java | 566 public void glRotatef(float angle, float x, float y, float z) { argument 567 ((GL10)mGL).glRotatef(angle, x, y, z); 571 public void glRotatex(int angle, int x, int y, int z) { argument 572 ((GL10)mGL).glRotatex(angle, x, y, z);
|
/external/skia/src/pathops/ |
H A D | SkOpAngle.cpp | 12 /* Angles are sorted counterclockwise. The smallest angle has a positive x and the smallest 13 positive y. The largest angle has a positive x and a zero y. */ 31 /* quarter angle values for sector 35 1 x > 0, y > 0, x > y nearer horizontal angle 37 3 x > 0, y > 0, x == y 45 angle 39 5 x > 0, y > 0, x < y nearer vertical angle 154 // FIXME : once this is verified to work, remove one opposite angle call 306 // the original angle is too short to get meaningful sector information 630 // OPTIMIZE: if this loops to only one other angle, after first compare fails, insert on other side 632 bool SkOpAngle::insert(SkOpAngle* angle) { argument 731 merge(SkOpAngle* angle) argument [all...] |
H A D | SkOpSegment.cpp | 223 // break the span so that the coincident part does not change the angle of the remainder 298 SkOpAngle* angle = this->globalState()->allocator()->make<SkOpAngle>(); local 299 angle->set(span, next); 300 span->setToAngle(angle); 412 SkOpAngle* angle = firstAngle->previous(); local 413 SkOpAngle* next = angle->next(); 416 SkOpAngle* prior = angle; 417 angle = next; 418 next = angle->next(); 419 SkASSERT(prior->next() == angle); 554 SkOpAngle* angle = this->spanToAngle(end, start); local 659 SkOpAngle* angle = this->spanToAngle(end, start); local 748 SkOpAngle* angle = this->spanToAngle(end, start); local 913 markAngle(int maxWinding, int sumWinding, const SkOpAngle* angle) argument 934 markAngle(int maxWinding, int sumWinding, int oppMaxWinding, int oppSumWinding, const SkOpAngle* angle) argument 1029 SkOpAngle* angle = step > 0 ? endSpan->fromAngle() : endSpan->upCast()->toAngle(); local 1692 updateWinding(SkOpAngle* angle) argument 1698 updateWindingReverse(const SkOpAngle* angle) argument [all...] |