/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTQuaternionF.cpp | 51 const float fAngle) in PVRTMatrixQuaternionRotationAxisF() argument 55 fSin = (float)PVRTFSIN(fAngle * 0.5f); in PVRTMatrixQuaternionRotationAxisF() 56 fCos = (float)PVRTFCOS(fAngle * 0.5f); in PVRTMatrixQuaternionRotationAxisF() 79 float &fAngle) in PVRTMatrixQuaternionToAxisAngleF() argument 87 fAngle = (float)PVRTFACOS(fCosAngle)*2.0f; in PVRTMatrixQuaternionToAxisAngleF() 115 float fCosine, fAngle, A, B; in PVRTMatrixQuaternionSlerpF() local 158 fAngle = (float)PVRTFACOS(fCosine); in PVRTMatrixQuaternionSlerpF() 161 if (fAngle==0.0f) in PVRTMatrixQuaternionSlerpF() 168 A = (float)(PVRTFSIN((1.0f-t)*fAngle) / PVRTFSIN(fAngle)); in PVRTMatrixQuaternionSlerpF() 169 B = (float)(PVRTFSIN(t*fAngle) / PVRTFSIN(fAngle)); in PVRTMatrixQuaternionSlerpF()
|
D | PVRTQuaternionX.cpp | 52 const int fAngle) in PVRTMatrixQuaternionRotationAxisX() argument 56 fSin = PVRTXSIN(fAngle>>1); in PVRTMatrixQuaternionRotationAxisX() 57 fCos = PVRTXCOS(fAngle>>1); in PVRTMatrixQuaternionRotationAxisX() 80 int &fAngle) in PVRTMatrixQuaternionToAxisAngleX() argument 88 fAngle = PVRTXMUL(PVRTXACOS(fCosAngle), PVRTF2X(2.0f)); in PVRTMatrixQuaternionToAxisAngleX() 119 int fCosine, fAngle, A, B; in PVRTMatrixQuaternionSlerpX() local 163 fAngle = PVRTXACOS(fCosine); in PVRTMatrixQuaternionSlerpX() 166 if (fAngle==PVRTF2X(0.0f)) in PVRTMatrixQuaternionSlerpX() 173 A = PVRTXDIV(PVRTXSIN(PVRTXMUL((PVRTF2X(1.0f)-t), fAngle)), PVRTXSIN(fAngle)); in PVRTMatrixQuaternionSlerpX() 174 B = PVRTXDIV(PVRTXSIN(PVRTXMUL(t, fAngle)), PVRTXSIN(fAngle)); in PVRTMatrixQuaternionSlerpX()
|
D | PVRTQuaternion.h | 92 const float fAngle); 105 const int fAngle); 119 float &fAngle); 132 int &fAngle);
|
D | PVRTMatrix.h | 327 const float fAngle); 337 const int fAngle); 347 const float fAngle); 357 const int fAngle); 367 const float fAngle); 376 const int fAngle);
|
D | PVRTMatrixF.cpp | 147 const float fAngle) in PVRTMatrixRotationXF() argument 153 fCosine = (float)PVRTFCOS(-fAngle); in PVRTMatrixRotationXF() 154 fSine = (float)PVRTFSIN(-fAngle); in PVRTMatrixRotationXF() 156 fCosine = (float)PVRTFCOS(fAngle); in PVRTMatrixRotationXF() 157 fSine = (float)PVRTFSIN(fAngle); in PVRTMatrixRotationXF() 175 const float fAngle) in PVRTMatrixRotationYF() argument 181 fCosine = (float)PVRTFCOS(-fAngle); in PVRTMatrixRotationYF() 182 fSine = (float)PVRTFSIN(-fAngle); in PVRTMatrixRotationYF() 184 fCosine = (float)PVRTFCOS(fAngle); in PVRTMatrixRotationYF() 185 fSine = (float)PVRTFSIN(fAngle); in PVRTMatrixRotationYF() [all …]
|
D | PVRTMatrixX.cpp | 152 const int fAngle) in PVRTMatrixRotationXX() argument 158 fCosine = PVRTXCOS(-fAngle); in PVRTMatrixRotationXX() 159 fSine = PVRTXSIN(-fAngle); in PVRTMatrixRotationXX() 161 fCosine = PVRTXCOS(fAngle); in PVRTMatrixRotationXX() 162 fSine = PVRTXSIN(fAngle); in PVRTMatrixRotationXX() 180 const int fAngle) in PVRTMatrixRotationYX() argument 186 fCosine = PVRTXCOS(-fAngle); in PVRTMatrixRotationYX() 187 fSine = PVRTXSIN(-fAngle); in PVRTMatrixRotationYX() 189 fCosine = PVRTXCOS(fAngle); in PVRTMatrixRotationYX() 190 fSine = PVRTXSIN(fAngle); in PVRTMatrixRotationYX() [all …]
|
/external/skqp/samplecode/ |
D | SampleMegaStroke.cpp | 17 fAngle = 0; in MegaStrokeView() 63 SkScalar x = SkScalarSin(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent() 64 SkScalar y = SkScalarCos(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent() 67 fAngle += 5; in onDrawContent() 69 fAngle -= 5; in onDrawContent() 88 int fAngle; member in MegaStrokeView
|
D | SampleThinAA.cpp | 275 fAngle = 0.f; in onOnceBeforeDraw() 297 " to 0, 'space' adds 15)", fAngle), 0, 36, font, text); in onDrawContent() 360 SkScalar newAngle = fAngle + dt * 15.f; in onAnimate() 361 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate() 362 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate() 365 fAngle = 15.f * SkScalarRoundToScalar(fAngle / 15.f); in onAnimate() 409 case 'u': fAngle = 0.f; return true; in onQuery() 410 case 'y': fAngle = 90.f; return true; in onQuery() 411 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onQuery() 443 SkScalar fAngle; member in skiagm::ThinAASample [all …]
|
D | SampleStringArt.cpp | 20 StringArtView() : fAngle(0.305f) {} in StringArtView() 32 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); in onDrawContent() 60 fAngle = x/width(); in onFindClickHandler() 65 SkScalar fAngle; member in StringArtView
|
D | SampleFilterQuality.cpp | 142 AnimValue fScale, fAngle; member in FilterQualityView 153 fAngle.setMod(0, 360); in FilterQualityView() 177 case '1': fAngle.inc(-ANGLE_DELTA); return true; in onQuery() 178 case '2': fAngle.inc( ANGLE_DELTA); return true; in onQuery() 200 canvas->rotate(fAngle); in drawTheImage() 281 canvas->drawString(SkStringPrintf("%.8g", (float)fAngle), textX, 150, font, paint); in onDrawContent()
|
D | SampleLayers.cpp | 192 SkScalar fAngle; member in BackdropView 198 fAngle = 0; in BackdropView() 220 m.setRotate(fAngle); in onDrawContent() 235 fAngle = SkDoubleToScalar(fmod(timer.secs() * 360 / 5, 360)); in onAnimate()
|
D | SamplePatch.cpp | 206 SkScalar fAngle; member in PatchView 213 PatchView() : fAngle(0) { in PatchView() 288 m.setRotate(fAngle); in onDrawContent() 296 fAngle = timer.scaled(60, 360); in onAnimate()
|
/external/skia/samplecode/ |
D | SampleMegaStroke.cpp | 17 fAngle = 0; in MegaStrokeView() 63 SkScalar x = SkScalarSin(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent() 64 SkScalar y = SkScalarCos(fAngle * SK_ScalarPI / 180) * 200 + 250; in onDrawContent() 67 fAngle += 5; in onDrawContent() 69 fAngle -= 5; in onDrawContent() 88 int fAngle; member in MegaStrokeView
|
D | SampleThinAA.cpp | 275 fAngle = 0.f; in onOnceBeforeDraw() 297 " to 0, 'space' adds 15)", fAngle), 0, 36, font, text); in onDrawContent() 360 SkScalar newAngle = fAngle + dt * 15.f; in onAnimate() 361 bool completed = SkScalarMod(newAngle, 15.f) < SkScalarMod(fAngle, 15.f); in onAnimate() 362 fAngle = SkScalarMod(newAngle, 360.f); in onAnimate() 365 fAngle = 15.f * SkScalarRoundToScalar(fAngle / 15.f); in onAnimate() 409 case 'u': fAngle = 0.f; return true; in onQuery() 410 case 'y': fAngle = 90.f; return true; in onQuery() 411 case ' ': fAngle = SkScalarMod(fAngle + 15.f, 360.f); return true; in onQuery() 443 SkScalar fAngle; member in skiagm::ThinAASample [all …]
|
D | SampleStringArt.cpp | 20 StringArtView() : fAngle(0.305f) {} in StringArtView() 32 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); in onDrawContent() 60 fAngle = x/width(); in onFindClickHandler() 65 SkScalar fAngle; member in StringArtView
|
D | SampleFilterQuality.cpp | 142 AnimValue fScale, fAngle; member in FilterQualityView 153 fAngle.setMod(0, 360); in FilterQualityView() 177 case '1': fAngle.inc(-ANGLE_DELTA); return true; in onQuery() 178 case '2': fAngle.inc( ANGLE_DELTA); return true; in onQuery() 200 canvas->rotate(fAngle); in drawTheImage() 281 canvas->drawString(SkStringPrintf("%.8g", (float)fAngle), textX, 150, font, paint); in onDrawContent()
|
D | SampleLayers.cpp | 192 SkScalar fAngle; member in BackdropView 198 fAngle = 0; in BackdropView() 220 m.setRotate(fAngle); in onDrawContent() 235 fAngle = SkDoubleToScalar(fmod(timer.secs() * 360 / 5, 360)); in onAnimate()
|
D | SamplePatch.cpp | 206 SkScalar fAngle; member in PatchView 213 PatchView() : fAngle(0) { in PatchView() 288 m.setRotate(fAngle); in onDrawContent() 296 fAngle = timer.scaled(60, 360); in onAnimate()
|
/external/skia/modules/particles/src/ |
D | SkParticleAffector.cpp | 36 : fAngle(angle) in SkLinearVelocityAffector() 45 float angle = fAngle.eval(params, ps[i]); in REFLECTED() 64 v->visit("Angle", fAngle); in visitFields() 69 SkCurve fAngle; member in SkLinearVelocityAffector 140 : fAngle(angle) in SkOrientationAffector() 147 float angle = fAngle.eval(params, ps[i]); in REFLECTED() 158 v->visit("Angle", fAngle); in visitFields() 162 SkCurve fAngle; member in SkOrientationAffector
|
/external/skqp/gm/ |
D | 3dgm.cpp | 31 float fAngle = SK_ScalarPI / 4; member in GM3d 123 Sk3Perspective(&perspective, fNear, fFar, fAngle); in onDraw()
|
/external/skia/gm/ |
D | 3dgm.cpp | 31 float fAngle = SK_ScalarPI / 4; member in GM3d 124 Sk3Perspective(&perspective, fNear, fFar, fAngle); in onDraw()
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/ |
D | PVRShell.cpp | 1381 float fAngle = acos(fY); in TouchEnded() local 1387 if(fAngle < error) in TouchEnded() 1389 else if(fAngle > (pi - error)) in TouchEnded() 1391 else if(fAngle > (pi_half - error) && fAngle < (pi_half + error)) in TouchEnded()
|
/external/skqp/tests/ |
D | PathOpsDebug.cpp | 860 const SkOpAngle* fAngle = span->fromAngle(); in dumpAngles() local 862 if (fAngle) { in dumpAngles() 863 SkDebugf(" span=%d from=%d ", span->debugID(), fAngle->debugID()); in dumpAngles() 864 fAngle->dumpTo(this, tAngle); in dumpAngles() 868 tAngle->dumpTo(this, fAngle); in dumpAngles()
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 860 const SkOpAngle* fAngle = span->fromAngle(); in dumpAngles() local 862 if (fAngle) { in dumpAngles() 863 SkDebugf(" span=%d from=%d ", span->debugID(), fAngle->debugID()); in dumpAngles() 864 fAngle->dumpTo(this, tAngle); in dumpAngles() 868 tAngle->dumpTo(this, fAngle); in dumpAngles()
|