/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
DeviceMotionAndOrientationTest.java | 225 float[] magnetic = {0, 1, 0}; local 228 verifyOrientationAngles(gravity, magnetic, expectedAngles); 234 float[] magnetic = {0, 1, 0}; local 237 verifyOrientationAngles(gravity, magnetic, expectedAngles); 243 float[] magnetic = {0, 1, 0}; local 246 verifyOrientationAngles(gravity, magnetic, expectedAngles); 252 float[] magnetic = {(float) Math.sin(Math.PI / 4), (float) Math.cos(Math.PI / 4), 0}; local 255 verifyOrientationAngles(gravity, magnetic, expectedAngles); 261 float[] magnetic = {(float) Math.sin(Math.PI / 4), 0, -(float) Math.cos(Math.PI / 4)}; local 264 verifyOrientationAngles(gravity, magnetic, expectedAngles) 272 float[] magnetic = {0, 0, -1}; local 281 float[] magnetic = {0, 1, 0}; local [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 53 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; 291 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M; 295 mPendingEvents[MagneticField].magnetic.y = value * CONVERT_M; 299 mPendingEvents[MagneticField].magnetic.z = value * CONVERT_M; 303 mPendingEvents[MagneticField].magnetic.status = value;
|
/external/qemu/android/ |
hw-sensors.c | 115 MagneticField magnetic; member in union:__anon24724::__anon24725 153 * magnetic-field:<x>:<y>:<z> 309 /* NOTE: sensors HAL expects "magnetic", not "magnetic-field" name here. */ 310 snprintf(buffer, sizeof buffer, "magnetic:%g:%g:%g", 311 sensor->u.magnetic.x, 312 sensor->u.magnetic.y, 313 sensor->u.magnetic.z); 534 qemu_put_float(f, s->u.magnetic.x); 535 qemu_put_float(f, s->u.magnetic.y) [all...] |
/development/ndk/platforms/android-9/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon1514
|
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon44100
|
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon45075
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon45127
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon45444
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon45837
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon49082
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon49475
|
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon50116
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon50510
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon50956
|
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon52841
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon53235
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon53681
|
/prebuilts/ndk/9/platforms/android-14/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon54579
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon54977
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon55427
|
/prebuilts/ndk/9/platforms/android-18/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon55879
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon56277
|
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon56727
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon58632
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 120 ASensorVector magnetic; member in union:ASensorEvent::__anon59030
|