Lines Matching refs:MagneticField
52 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in AkmSensor()
53 mPendingEvents[MagneticField].sensor = ID_M; in AkmSensor()
54 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in AkmSensor()
55 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()
88 case MagneticField: in setEnable()
152 case MagneticField: in setDelay()
266 return MagneticField; in handle2id()
292 mPendingMask |= 1<<MagneticField; in processEvent()
293 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M; in processEvent()
296 mPendingMask |= 1<<MagneticField; in processEvent()
297 mPendingEvents[MagneticField].magnetic.y = value * CONVERT_M; in processEvent()
300 mPendingMask |= 1<<MagneticField; in processEvent()
301 mPendingEvents[MagneticField].magnetic.z = value * CONVERT_M; in processEvent()
304 mPendingMask |= 1<<MagneticField; in processEvent()
305 mPendingEvents[MagneticField].magnetic.status = value; in processEvent()