HomeSort by relevance Sort by last modified time
    Searched refs:Hx (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/sensorservice/
quat.h 68 const float Hx = R[0].x;
71 q.x = sqrtf( clamp( Hx - My - Az + 1) * 0.25f );
72 q.y = sqrtf( clamp(-Hx + My - Az + 1) * 0.25f );
73 q.z = sqrtf( clamp(-Hx - My + Az + 1) * 0.25f );
74 q.w = sqrtf( clamp( Hx + My + Az + 1) * 0.25f );
  /frameworks/base/core/java/android/hardware/
SensorManager.java 795 float Hx = Ey*Az - Ez*Ay;
798 final float normH = (float)Math.sqrt(Hx*Hx + Hy*Hy + Hz*Hz);
805 Hx *= invH;
813 final float My = Az*Hx - Ax*Hz;
814 final float Mz = Ax*Hy - Ay*Hx;
817 R[0] = Hx; R[1] = Hy; R[2] = Hz;
821 R[0] = Hx; R[1] = Hy; R[2] = Hz; R[3] = 0;
    [all...]

Completed in 29 milliseconds