Home
last modified time | relevance | path

Searched refs:cosAngle (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTransform.cpp181 double cosAngle = cos(angleInRad); in valueAsString() local
183 …oat cx = narrowPrecisionToFloat(cosAngle != 1 ? (m_matrix.e() * (1 - cosAngle) - m_matrix.f() * si… in valueAsString()
184 …float cy = narrowPrecisionToFloat(cosAngle != 1 ? (m_matrix.e() * sinAngle / (1 - cosAngle) + m_ma… in valueAsString()
/external/chromium_org/third_party/angle/samples/gles2_book/Common/
DesTransform.c57 GLfloat sinAngle, cosAngle; in esRotate() local
61 cosAngle = cosf ( angle * PI / 180.0f ); in esRotate()
81 oneMinusCos = 1.0f - cosAngle; in esRotate()
83 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()
89 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()
95 rotMat.m[2][2] = (oneMinusCos * zz) + cosAngle; in esRotate()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DAffineTransform.cpp138 double cosAngle = cos(a); in rotate() local
140 AffineTransform rot(cosAngle, sinAngle, -sinAngle, cosAngle, 0, 0); in rotate()
/external/skia/src/effects/
DSkLightingImageFilter.cpp699 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
700 if (cosAngle < fCosOuterConeAngle) { in lightColor()
703 SkScalar scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
704 if (cosAngle < fCosInnerConeAngle) { in lightColor()
705 scale = SkScalarMul(scale, cosAngle - fCosOuterConeAngle); in lightColor()
/external/chromium_org/third_party/skia/src/effects/
DSkLightingImageFilter.cpp699 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
700 if (cosAngle < fCosOuterConeAngle) { in lightColor()
703 SkScalar scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
704 if (cosAngle < fCosInnerConeAngle) { in lightColor()
705 scale = SkScalarMul(scale, cosAngle - fCosOuterConeAngle); in lightColor()