Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
Dquat.h39 TYPE q1_q2 = 2 * q1 * q2; in quatToMatrix() local
46 R[0][1] = q1_q2 - q3_q0; in quatToMatrix()
48 R[1][0] = q1_q2 + q3_q0; in quatToMatrix()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1576 float q1_q2 = 2 * q1 * q2; in getRotationMatrixFromVector() local
1585 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1588 R[3] = q1_q2 + q3_q0; in getRotationMatrixFromVector()
1597 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1601 R[4] = q1_q2 + q3_q0; in getRotationMatrixFromVector()