Home
last modified time | relevance | path

Searched refs:q1_q0 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
Dquat.h44 TYPE q1_q0 = 2 * q1 * q0; in quatToMatrix() local
50 R[1][2] = q2_q3 - q1_q0; in quatToMatrix()
52 R[2][1] = q2_q3 + q1_q0; in quatToMatrix()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1672 float q1_q0 = 2 * q1 * q0; in getRotationMatrixFromVector() local
1681 R[5] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1684 R[7] = q2_q3 + q1_q0; in getRotationMatrixFromVector()
1694 R[6] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1698 R[9] = q2_q3 + q1_q0; in getRotationMatrixFromVector()