Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
Dquat.h40 TYPE q3_q0 = 2 * q3 * q0; 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.java1668 float q3_q0 = 2 * q3 * q0; 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()