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.java1594 float q2_q0 = 2 * q2 * q0; in getRotationMatrixFromVector() local
1601 R[2] = q1_q3 + q2_q0; in getRotationMatrixFromVector()
1607 R[6] = q1_q3 - q2_q0; in getRotationMatrixFromVector()
1613 R[2] = q1_q3 + q2_q0; in getRotationMatrixFromVector()
1621 R[8] = q1_q3 - q2_q0; in getRotationMatrixFromVector()