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.java1667 float q1_q2 = 2 * q1 * q2; in getRotationMatrixFromVector() local
1676 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1679 R[3] = q1_q2 + q3_q0; in getRotationMatrixFromVector()
1688 R[1] = q1_q2 - q3_q0; in getRotationMatrixFromVector()
1692 R[4] = q1_q2 + q3_q0; in getRotationMatrixFromVector()