/external/mesa3d/src/mesa/math/ |
H A D | m_matrix.c | 67 /** angle preserving matrix flags mask */ 547 * If the matrix is not an angle preserving matrix then calls 795 GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) 801 s = (GLfloat) sin( angle * DEG2RAD ); 802 c = (GLfloat) cos( angle * DEG2RAD ); 894 * X-axis to the same orientation, with theta being the angle about 895 * Z and phi the angle about Y (in the order described above) 794 _math_matrix_rotate( GLmatrix *mat, GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) argument
|
/external/opencv/cv/src/ |
H A D | cvsurf.cpp | 347 float X[81], Y[81], angle[81]; local 352 CvMat _angle = cvMat(1, 81, CV_32F, angle); 392 int d = abs(cvRound(angle[j]) - i);
|
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/pdfium/core/src/fpdftext/ |
H A D | fpdf_text.cpp | 696 FX_FLOAT angle = pText->m_TextState.GetBaselineAngle();
local 697 if (angle == 0.0) {
700 int degree = (int)(angle * 180 / PI + 0.5);
|
/external/qemu/android/skin/ |
H A D | trackball.c | 102 double angle; member in struct:__anon29197 130 rot->angle = len * ANGLE_FACTOR; 144 cs = cos( rot->angle ); 145 sn = sin( rot->angle );
|
/external/skia/src/pathops/ |
H A D | SkOpAngle.cpp | 17 /* Angles are sorted counterclockwise. The smallest angle has a positive x and the smallest 18 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 147 // FIXME : once this is verified to work, remove one opposite angle call 284 // the original angle is too short to get meaningful sector information 536 const SkOpAngle* angle = this; 537 while ((angle 642 insert(SkOpAngle* angle) argument 752 SkOpAngle* angle = this; local 766 merge(SkOpAngle* angle) argument [all...] |
H A D | SkOpSegment.cpp | 415 SkOpAngle& angle = fAngles.push_back(); 416 angle.set(this, spanCount - 1, startIndex); 420 setFromAngle(endIndex, &angle); 423 void SkOpSegment::setFromAngle(int endIndex, SkOpAngle* angle) { 426 fTs[endIndex].fFromAngle = angle; 456 SkOpAngle& angle = fAngles.push_back(); 457 *anglePtr = ∠ 458 angle.set(this, spanIndex, startIndex); 459 setFromAngle(spanIndex, &angle); 485 SkOpAngle& angle local 514 SkOpAngle* angle, * otherAngle; local 526 SkOpAngle& angle = fAngles.push_back(); local 534 setToAngle(int endIndex, SkOpAngle* angle) argument 850 SkOpAngle* angle, * oAngle; local [all...] |
H A D | SkPathOpsCommon.cpp | 164 // find first angle, initialize winding to computed fWindSum 165 const SkOpAngle* angle = segment->spanToAngle(*tIndex, *endIndex); local 167 SkDEBUGCODE(firstAngle = angle); 171 angle = angle->next(); 172 SkASSERT(angle != firstAngle || !loop); 173 SkDEBUGCODE(loop |= angle == firstAngle); 174 segment = angle->segment(); 175 winding = segment->windSum(angle); 177 int spanWinding = segment->spanSign(angle [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/main/ |
H A D | OverridesView.js | 660 var angle = WebInspector.Geometry.calculateAngle(this._mouseDownVector, mouseMoveVector); variable 662 var rotationMatrix = matrix.rotateAxisAngle(axis.x, axis.y, axis.z, angle);
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
H A D | TransformationMatrix.cpp | 422 // will leave the Euler angle code here for now. 478 double angle; local 484 angle = ax * bx + ay * by + az * bz + aw * bw; 486 if (angle < 0.0) { 489 angle = -angle; 492 if (angle + 1.0 > .05) { 493 if (1.0 - angle >= .05) { 494 th = std::acos(angle); 759 TransformationMatrix& TransformationMatrix::rotate3d(double x, double y, double z, double angle) argument [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
H A D | ftstroke.c | 531 FT_Angle total, angle, step, rotate, next, theta; local 543 angle = angle_start; 555 next = angle + step; 571 FT_Vector_From_Polar( &a2, length, angle + rotate ); 587 angle = next; 904 FT_Angle angle, 913 stroker->angle_in = angle; 914 stroker->angle_out = angle + FT_ANGLE_PI; 927 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); 928 FT_Vector_From_Polar( &delta, radius, angle ); 903 ft_stroker_cap( FT_Stroker stroker, FT_Angle angle, FT_Int side ) argument 1285 FT_Angle angle; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | astro.cpp | 217 * Normalize an angle so that it's in the range 0 - 2pi. 218 * For positive angles this is just (angle % 2pi), but the Java 221 inline static double norm2PI(double angle) { argument 222 return normalize(angle, CalendarAstronomer::PI * 2.0); 226 * Normalize an angle into the range -PI - PI 228 inline static double normPI(double angle) { argument 229 return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronomer::PI; 503 double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle 923 // // where 15 degrees corresponds to one hour. Since LST really is an angle, 1146 * This is really the angle betwee 1320 double angle = func.eval(*this); local 1384 double angle = ::acos(-tanL * ::tan(pos.declination)); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | stroker.c | 469 VGfloat angle = line_angles(line, identity); local 471 angle = 360 - angle; 472 return angle; 679 VGfloat angle = line_angles(prev_line, short_cut); local 682 (angle > 90 && !floatsEqual(angle, 90.f))) { 726 VGfloat angle = line_angle_to(inside_line, prev_line); local 729 (angle > 90 && !floatsEqual(angle, 9 [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkOpSegment.cpp | 419 SkOpAngle& angle = fAngles.push_back(); local 420 angle.set(this, spanCount - 1, startIndex); 424 setFromAngle(endIndex, &angle); 427 void SkOpSegment::setFromAngle(int endIndex, SkOpAngle* angle) { argument 430 fTs[endIndex].fFromAngle = angle; 460 SkOpAngle& angle = fAngles.push_back(); local 461 *anglePtr = ∠ 462 angle.set(this, spanIndex, startIndex); 463 setFromAngle(spanIndex, &angle); 489 SkOpAngle& angle local 518 SkOpAngle* angle, * otherAngle; local 530 SkOpAngle& angle = fAngles.push_back(); local 538 setToAngle(int endIndex, SkOpAngle* angle) argument 882 SkOpAngle* angle, * oAngle; local [all...] |
/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 925 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 | 707 float angle = 2.0f*DE_PI * (float)i / (float)numLines + 0.001f*(float)m_currentIteration; local 708 renderLine(Vec2(0.0f, 0.0f), Vec2(deFloatCos(angle)*0.95f, deFloatSin(angle)*0.95f), Vec4(1.0f)); 809 // \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. 823 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 824 angleCos = deFloatCos(angle); 825 angleSin = deFloatSin(angle); 839 // First four are rotated at angles angle+0, angle+90, angle 897 float angle = 0.5f * DE_PI * (float)(m_currentIteration-1) / (float)(m_numIterations-1); local 1075 float angle = 2.0f * DE_PI * (float)i / (float)numPolygons + 0.001f*(float)m_currentIteration; local [all...] |
H A D | es3fTextureMipmapTests.cpp | 273 float angle = 2.0f*DE_PI * ((float)cellNdx / 16.0f); local 274 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle);
|
/external/freetype/src/base/ |
H A D | ftstroke.c | 531 FT_Angle total, angle, step, rotate, next, theta; local 543 angle = angle_start; 555 next = angle + step; 571 FT_Vector_From_Polar( &a2, length, angle + rotate ); 587 angle = next; 904 FT_Angle angle, 913 stroker->angle_in = angle; 914 stroker->angle_out = angle + FT_ANGLE_PI; 927 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); 928 FT_Vector_From_Polar( &delta, radius, angle ); 903 ft_stroker_cap( FT_Stroker stroker, FT_Angle angle, FT_Int side ) argument 1285 FT_Angle angle; local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | astro.cpp | 217 * Normalize an angle so that it's in the range 0 - 2pi. 218 * For positive angles this is just (angle % 2pi), but the Java 221 inline static double norm2PI(double angle) { argument 222 return normalize(angle, CalendarAstronomer::PI * 2.0); 226 * Normalize an angle into the range -PI - PI 228 inline static double normPI(double angle) { argument 229 return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronomer::PI; 503 double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle 923 // // where 15 degrees corresponds to one hour. Since LST really is an angle, 1146 * This is really the angle betwee 1320 double angle = func.eval(*this); local 1384 double angle = ::acos(-tanL * ::tan(pos.declination)); local [all...] |
/external/libpng/contrib/gregbook/ |
H A D | rpng2-win.c | 969 double angle=0.0, aoffset=0.0, maxDist, dist; local 986 angle = CLIP(angle, 0.0, 360.0); 1000 angle = (x == 0)? PI_2 : atan((double)y / (double)x); 1004 intensity = cos((angle+(rotate*dist*PI)) * freq) * 1007 hue = (angle + PI) * INV_PI_360 + aoffset;
|
H A D | rpng2-x.c | 1196 double angle=0.0, aoffset=0.0, maxDist, dist; local 1213 angle = CLIP(angle, 0.0, 360.0); 1227 angle = (x == 0)? PI_2 : atan((double)y / (double)x); 1231 intensity = cos((angle+(rotate*dist*PI)) * freq) * 1234 hue = (angle + PI) * INV_PI_360 + aoffset; 1965 double angle=0.0, aoffset=0.0, maxDist, dist; local 1978 angle = CLIP(angle, 0.0, 360.0); 1992 angle [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | stroker.c | 469 VGfloat angle = line_angles(line, identity); local 471 angle = 360 - angle; 472 return angle; 679 VGfloat angle = line_angles(prev_line, short_cut); local 682 (angle > 90 && !floatsEqual(angle, 90.f))) { 726 VGfloat angle = line_angle_to(inside_line, prev_line); local 729 (angle > 90 && !floatsEqual(angle, 9 [all...] |
/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...] |