Searched refs:theta (Results 1 - 11 of 11) sorted by relevance

/frameworks/wilhelm/src/itf/
H A DI3DLocation.c213 static SLresult I3DLocation_Rotate(SL3DLocationItf self, SLmillidegree theta, const SLVec3D *pAxis) argument
217 if (!((-360000 <= theta) && (theta <= 360000)) || (NULL == pAxis)) {
230 thiz->mTheta = theta;
H A DI3DMacroscopic.c122 SLmillidegree theta, const SLVec3D *pAxis)
126 if (!((-360000 <= theta) && (theta <= 360000)) || NULL == pAxis) {
135 thiz->mTheta = theta;
121 I3DMacroscopic_Rotate(SL3DMacroscopicItf self, SLmillidegree theta, const SLVec3D *pAxis) argument
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp289 const double theta = abs_val_vec[curr_l0_norm - req_l0_norm]; local
294 if ((fabs(iter->second/normalizer_) - theta) < 0) {
327 double theta = 0; local
333 theta = (cum_sum - l1_norm)/curr_index;
334 if (((*val_iter) - theta) <= 0) {
345 (fabs(iter->second/normalizer_) - theta),
/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp109 * @param theta The angle that the ellipse bounding rectangle makes with horizontal plane
120 double theta,
130 double cosTheta = cos(theta);
131 double sinTheta = sin(theta);
168 inline double toRadians(float theta) { return theta * M_PI / 180;} argument
177 float theta,
182 double thetaD = toRadians(theta);
209 b * adjust, theta, isMoreThanHalf, isPositiveArc);
113 arcToBezier(SkPath* p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
170 drawArc(SkPath* p, float x0, float y0, float x1, float y1, float a, float b, float theta, bool isMoreThanHalf, bool isPositiveArc) argument
/frameworks/rs/driver/runtime/
H A Drs_quaternion.c152 float theta = acos(angle); local
153 float invSinTheta = 1.0f / sin(theta);
154 scale = sin(theta * (1.0f - t)) * invSinTheta;
155 invScale = sin(theta * t) * invSinTheta;
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DPathParser.java599 float theta,
604 double thetaD = Math.toRadians(theta);
631 b * adjust, theta, isMoreThanHalf, isPositiveArc);
679 * @param theta The angle that the ellipse bounding rectangle makes with horizontal plane
690 double theta,
700 double cosTheta = Math.cos(theta);
701 double sinTheta = Math.sin(theta);
592 drawArc(Path p, float x0, float y0, float x1, float y1, float a, float b, float theta, boolean isMoreThanHalf, boolean isPositiveArc) argument
683 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
/frameworks/rs/scriptc/
H A Drs_quaternion.rsh295 float theta = acos(angle);
296 float invSinTheta = 1.0f / sin(theta);
297 scale = sin(theta * (1.0f - t)) * invSinTheta;
298 invScale = sin(theta * t) * invSinTheta;
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java696 float y1, float a, float b, float theta, boolean isMoreThanHalf,
702 double thetaD = theta * Math.PI / 180.0f;
729 drawArc(p, x0, y0, x1, y1, a * adjust, b * adjust, theta,
787 * @param theta The angle that the ellipse bounding rectangle makes with the horizontal
793 double b, double e1x, double e1y, double theta, double start,
803 double cosTheta = Math.cos(theta);
804 double sinTheta = Math.sin(theta);
695 drawArc(@onNull Path_Delegate p, float x0, float y0, float x1, float y1, float a, float b, float theta, boolean isMoreThanHalf, boolean isPositiveArc) argument
792 arcToBezier(@onNull Path_Delegate p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp464 float theta = atan2(normal.y, normal.x); local
468 theta += dTheta;
470 Vector2 radialOffset = {cosf(theta), sinf(theta)};
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp311 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 local
312 amplFromStereoPos[0] = cos(theta);
313 amplFromStereoPos[1] = sin(theta);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1750 SLmillidegree theta,
1909 SLmillidegree theta,

Completed in 1043 milliseconds