Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 12 of 12) sorted by relevance

/frameworks/wilhelm/src/itf/
DI3DMacroscopic.cpp122 SLmillidegree theta, const SLVec3D *pAxis) in I3DMacroscopic_Rotate() argument
126 if (!((-360000 <= theta) && (theta <= 360000)) || NULL == pAxis) { in I3DMacroscopic_Rotate()
135 thiz->mTheta = theta; in I3DMacroscopic_Rotate()
DI3DLocation.cpp213 static SLresult I3DLocation_Rotate(SL3DLocationItf self, SLmillidegree theta, const SLVec3D *pAxis) in I3DLocation_Rotate() argument
217 if (!((-360000 <= theta) && (theta <= 360000)) || (NULL == pAxis)) { in I3DLocation_Rotate()
230 thiz->mTheta = theta; in I3DLocation_Rotate()
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dsparse_weight_vector.cpp289 const double theta = abs_val_vec[curr_l0_norm - req_l0_norm]; in ReprojectL0() local
294 if ((fabs(iter->second/normalizer_) - theta) < 0) { in ReprojectL0()
327 double theta = 0; in ReprojectL1() local
333 theta = (cum_sum - l1_norm)/curr_index; in ReprojectL1()
334 if (((*val_iter) - theta) <= 0) { in ReprojectL1()
345 (fabs(iter->second/normalizer_) - theta), in ReprojectL1()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp120 double theta, in arcToBezier() argument
130 double cosTheta = cos(theta); in arcToBezier()
131 double sinTheta = sin(theta); in arcToBezier()
168 inline double toRadians(float theta) { return theta * M_PI / 180;} in toRadians() argument
177 float theta, in drawArc() argument
182 double thetaD = toRadians(theta); in drawArc()
209 b * adjust, theta, isMoreThanHalf, isPositiveArc); in drawArc()
/frameworks/rs/driver/runtime/
Drs_quaternion.c152 float theta = acos(angle); in rsQuaternionSlerp() local
153 float invSinTheta = 1.0f / sin(theta); in rsQuaternionSlerp()
154 scale = sin(theta * (1.0f - t)) * invSinTheta; in rsQuaternionSlerp()
155 invScale = sin(theta * t) * invSinTheta; in rsQuaternionSlerp()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java618 float theta, in drawArc() argument
623 double thetaD = Math.toRadians(theta); in drawArc()
650 b * adjust, theta, isMoreThanHalf, isPositiveArc); in drawArc()
709 double theta, in arcToBezier() argument
719 double cosTheta = Math.cos(theta); in arcToBezier()
720 double sinTheta = Math.sin(theta); in arcToBezier()
/frameworks/native/libs/math/include/math/
DTQuatHelpers.h240 const T theta(a*std::acos(q.w / nq)); in pow()
241 return std::pow(nq, a) * QUATERNION<T>(normalize(q.xyz) * std::sin(theta), std::cos(theta)); in pow()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java697 float y1, float a, float b, float theta, boolean isMoreThanHalf, in drawArc() argument
703 double thetaD = theta * Math.PI / 180.0f; in drawArc()
730 drawArc(p, x0, y0, x1, y1, a * adjust, b * adjust, theta, in drawArc()
794 double b, double e1x, double e1y, double theta, double start, in arcToBezier() argument
804 double cosTheta = Math.cos(theta); in arcToBezier()
805 double sinTheta = Math.sin(theta); in arcToBezier()
/frameworks/rs/script_api/include/
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/libs/hwui/
DPathTessellator.cpp464 float theta = atan2(normal.y, normal.x); in storeCapAA() local
468 theta += dTheta; in storeCapAA()
470 Vector2 radialOffset = {cosf(theta), sinf(theta)}; in storeCapAA()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp349 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 in android_player_volumeUpdate() local
350 amplFromStereoPos[0] = cos(theta); in android_player_volumeUpdate()
351 amplFromStereoPos[1] = sin(theta); in android_player_volumeUpdate()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1750 SLmillidegree theta,
1909 SLmillidegree theta,