Home
last modified time | relevance | path

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

/frameworks/av/media/libheadtracking/
DQuaternionUtil.cpp64 const float theta = sqrt(theta_squared); in ExpSU2() local
65 q_delta.w() = cos(theta); in ExpSU2()
66 q_delta.vec() = (sin(theta) / theta) * delta; in ExpSU2()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBubblePopupDrawable.kt190 val theta = atan(thetaTan) in <lambda>() constant
191 val thetaDeg = Math.toDegrees(theta.toDouble()).toFloat() in <lambda>()
193 val tipCircleCenterY = config.arrowRadius / sin(theta) in <lambda>()
197 val intersectionTopOffset = tipIntersectionSideLength * cos(theta) in <lambda>()
199 val intersectionCenterOffset = tipIntersectionSideLength * sin(theta) in <lambda>()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dmandelbulb.rscript30 float theta = acos(p.z / r);
32 out.x = sin(n * theta) * cos(n * phi);
33 out.y = sin(n * theta) * sin(n * phi);
34 out.z = cos(n * theta);
/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/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/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/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex2d.agsl29 vec2 getVectorFromAngle(float theta) {
30 return vec2(cos(theta), sin(theta));
/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/native/libs/input/
DMotionPredictorMetricsManager.cpp198 const float theta = std::atan2(groundTruthTrajectory[1], groundTruthTrajectory[0]); in updateAggregatedMetrics() local
199 const Eigen::Vector2f rotatedPredictionError = Eigen::Rotation2Df(-theta) * predictionError; in updateAggregatedMetrics()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp351 double theta = (1000+volumeItf->mStereoPosition)*M_PI_4/1000.0f; // 0 <= theta <= Pi/2 in android_player_volumeUpdate() local
352 amplFromStereoPos[0] = cos(theta); in android_player_volumeUpdate()
353 amplFromStereoPos[1] = sin(theta); in android_player_volumeUpdate()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1750 SLmillidegree theta,
1909 SLmillidegree theta,