/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
DeviceSensorsTest.java | 226 float[] magnetic = {0, 1, 0}; local 229 verifyOrientationAngles(gravity, magnetic, expectedAngles); 235 float[] magnetic = {0, 1, 0}; local 238 verifyOrientationAngles(gravity, magnetic, expectedAngles); 244 float[] magnetic = {0, 1, 0}; local 247 verifyOrientationAngles(gravity, magnetic, expectedAngles); 253 float[] magnetic = {(float) Math.sin(Math.PI / 4), (float) Math.cos(Math.PI / 4), 0}; local 256 verifyOrientationAngles(gravity, magnetic, expectedAngles); 262 float[] magnetic = {(float) Math.sin(Math.PI / 4), 0, -(float) Math.cos(Math.PI / 4)}; local 265 verifyOrientationAngles(gravity, magnetic, expectedAngles) 273 float[] magnetic = {0, 0, -1}; local 282 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:__anon32867::__anon32868 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::__anon1809
|
/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::__anon53807
|
/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::__anon54782
|
/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::__anon54834
|
/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::__anon55151
|
/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::__anon55544
|
/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::__anon58789
|
/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::__anon59182
|
/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::__anon59823
|
/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::__anon60217
|
/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::__anon60663
|
/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::__anon62548
|
/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::__anon62942
|
/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::__anon63388
|
/prebuilts/ndk/9/platforms/android-12/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::__anon64286
|
/prebuilts/ndk/9/platforms/android-12/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::__anon64686
|
/prebuilts/ndk/9/platforms/android-12/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::__anon65138
|
/prebuilts/ndk/9/platforms/android-13/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::__anon65593
|
/prebuilts/ndk/9/platforms/android-13/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::__anon66000
|
/prebuilts/ndk/9/platforms/android-13/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::__anon66459
|
/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::__anon66922
|
/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::__anon67331
|