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.java1581 float q1_q0 = 2 * q1 * q0; in getRotationMatrixFromVector() local
1590 R[5] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1593 R[7] = q2_q3 + q1_q0; in getRotationMatrixFromVector()
1603 R[6] = q2_q3 - q1_q0; in getRotationMatrixFromVector()
1607 R[9] = q2_q3 + q1_q0; in getRotationMatrixFromVector()