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.java1666 float q1_q0 = 2 * q1 * q0; in getRotationMatrixFromVector() local
1675 R[5] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1678 R[7] = q2_q3 + q1_q0; in getRotationMatrixFromVector()
1688 R[6] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1692 R[9] = q2_q3 + q1_q0; in getRotationMatrixFromVector()