Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DMathsUtils.java214 float mag = (float) Math.sqrt(mag2); in normalizeVector() local
215 v[0] = v[0] / mag; in normalizeVector()
216 v[1] = v[1] / mag; in normalizeVector()
217 v[2] = v[2] / mag; in normalizeVector()
218 v[3] = v[3] / mag; in normalizeVector()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DGLArrowSensorTestRenderer.java226 double mag = Math.sqrt(vector[0] * vector[0] + vector[1] * vector[1] + vector[2] in normalize() local
228 vector[0] /= mag; in normalize()
229 vector[1] /= mag; in normalize()
230 vector[2] /= mag; in normalize()