Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
Dquat.h36 TYPE sq_q1 = 2 * q1 * q1; in quatToMatrix() local
49 R[1][1] = 1 - sq_q1 - sq_q3; in quatToMatrix()
53 R[2][2] = 1 - sq_q1 - sq_q2; in quatToMatrix()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1573 float sq_q1 = 2 * q1 * q1; in getRotationMatrixFromVector() local
1589 R[4] = 1 - sq_q1 - sq_q3; in getRotationMatrixFromVector()
1594 R[8] = 1 - sq_q1 - sq_q2; in getRotationMatrixFromVector()
1602 R[5] = 1 - sq_q1 - sq_q3; in getRotationMatrixFromVector()
1608 R[10] = 1 - sq_q1 - sq_q2; in getRotationMatrixFromVector()