Loading core/java/android/hardware/SensorEvent.java +33 −26 Original line number Diff line number Diff line Loading @@ -303,11 +303,18 @@ public class SensorEvent { * <ul> * <li> values[0]: Azimuth, angle between the magnetic north direction and the * y-axis, around the z-axis (0 to 359). 0=North, 90=East, 180=South, * 270=West </li> * <li> values[1]: Pitch, rotation around x-axis (-180 to 180), with positive * values when the z-axis moves <b>toward</b> the y-axis. </li> * <li> values[2]: Roll, rotation around y-axis (-90 to 90), with positive values * when the x-axis moves <b>toward</b> the z-axis. </li> * 270=West * </p> * * <p> * values[1]: Pitch, rotation around x-axis (-180 to 180), with positive * values when the z-axis moves <b>toward</b> the y-axis. * </p> * * <p> * values[2]: Roll, rotation around the x-axis (-90 to 90) * increasing as the device moves clockwise. * </p> * </ul> * * <p> Loading Loading
core/java/android/hardware/SensorEvent.java +33 −26 Original line number Diff line number Diff line Loading @@ -303,11 +303,18 @@ public class SensorEvent { * <ul> * <li> values[0]: Azimuth, angle between the magnetic north direction and the * y-axis, around the z-axis (0 to 359). 0=North, 90=East, 180=South, * 270=West </li> * <li> values[1]: Pitch, rotation around x-axis (-180 to 180), with positive * values when the z-axis moves <b>toward</b> the y-axis. </li> * <li> values[2]: Roll, rotation around y-axis (-90 to 90), with positive values * when the x-axis moves <b>toward</b> the z-axis. </li> * 270=West * </p> * * <p> * values[1]: Pitch, rotation around x-axis (-180 to 180), with positive * values when the z-axis moves <b>toward</b> the y-axis. * </p> * * <p> * values[2]: Roll, rotation around the x-axis (-90 to 90) * increasing as the device moves clockwise. * </p> * </ul> * * <p> Loading