Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/itf/
DI3DMacroscopic.c122 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.c213 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/rs/scriptc/
Drs_quaternion.rsh205 float theta = acos(angle);
206 float invSinTheta = 1.0f / sin(theta);
207 scale = sin(theta * (1.0f - t)) * invSinTheta;
208 invScale = sin(theta * t) * invSinTheta;
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java629 public void setStartAngle(float theta) in setStartAngle() argument
631 mScript.set_startAngle(theta); in setStartAngle()
634 public void setCarouselRotationAngle(float theta) { in setCarouselRotationAngle() argument
635 mScript.invoke_setCarouselRotationAngle(theta); in setCarouselRotationAngle()
Dcarousel.rs672 float theta = cardPosition(i);
674 rsMatrixRotate(matrix, degrees(theta), 0, 1, 0);
679 rotation -= theta;
1589 const float theta = startAngle + bias;
1591 const float position = theta / dtheta;
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp329 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 in android_player_volumeUpdate() local
330 amplFromStereoPos[0] = cos(theta); in android_player_volumeUpdate()
331 amplFromStereoPos[1] = sin(theta); in android_player_volumeUpdate()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java1015 final float theta = (float) Math.atan2(
1017 final float angle = (float) Math.toDegrees(theta) + 90.0f;
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1750 SLmillidegree theta,
1909 SLmillidegree theta,