Searched refs:FLOAT_PI (Results 1 – 1 of 1) sorted by relevance
31 private static final float FLOAT_PI = (float) Math.PI; field in SensorManagerStaticTest157 angle = (data.nextFloat()-0.5f) * FLOAT_PI; in testGetInclination()278 incline = -0.9f * (data.nextFloat() - 0.5f) * FLOAT_PI; // ~ +-80 degrees in testGetRotationMatrix()407 float j, halfTheta, residualHalfTheta = FLOAT_PI; in testGetRotationMatrixFromVector()419 halfTheta = data.nextFloat() * FLOAT_PI; in testGetRotationMatrixFromVector()447 float theta = data.nextFloat() * 2.f * FLOAT_PI; in testGetRotationMatrixFromVector()570 rotv[0] = (mRandom.nextFloat()-0.5f) * 2.0f * FLOAT_PI; // azimuth(yaw) -pi ~ pi in nextRotationAngles()571 rotv[1] = (mRandom.nextFloat()-0.5f) * FLOAT_PI; // pitch -pi/2 ~ +pi/2 in nextRotationAngles()572 rotv[2] = (mRandom.nextFloat()-0.5f) * 2.f * FLOAT_PI; // roll -pi ~ +pi in nextRotationAngles()582 aa[3] = mRandom.nextFloat() * FLOAT_PI; in nextRotationAxisAngle()[all …]