Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java272 float incline; in testGetRotationMatrix() local
278 incline = -0.9f * (data.nextFloat() - 0.5f) * FLOAT_PI; // ~ +-80 degrees in testGetRotationMatrix()
280 gm[4] = magStrength * (float) Math.cos(-incline); // positive means rotate downwards in testGetRotationMatrix()
281 gm[7] = magStrength * (float) Math.sin(-incline); in testGetRotationMatrix()
305 float [] Ix = mat9Rot(SensorManager.AXIS_X, incline); in testGetRotationMatrix()