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.java1661 float q1_q2 = 2 * q1 * q2; in getRotationMatrixFromVector() local
1670 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1673 R[3] = q1_q2 + q3_q0; in getRotationMatrixFromVector()
1682 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1686 R[4] = q1_q2 + q3_q0; in getRotationMatrixFromVector()