Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
Dquat.h42 TYPE q2_q0 = 2 * q2 * q0; in quatToMatrix() local
47 R[0][2] = q1_q3 + q2_q0; in quatToMatrix()
51 R[2][0] = q1_q3 - q2_q0; in quatToMatrix()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1670 float q2_q0 = 2 * q2 * q0; in getRotationMatrixFromVector() local
1677 R[2] = q1_q3 + q2_q0; in getRotationMatrixFromVector()
1683 R[6] = q1_q3 - q2_q0; in getRotationMatrixFromVector()
1689 R[2] = q1_q3 + q2_q0; in getRotationMatrixFromVector()
1697 R[8] = q1_q3 - q2_q0; in getRotationMatrixFromVector()