Lines Matching refs:MagneticField
50 mPendingEvents[MagneticField].version = sizeof(sensors_event_t); in AkmSensor()
51 mPendingEvents[MagneticField].sensor = ID_M; in AkmSensor()
52 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD; in AkmSensor()
53 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()
86 case MagneticField: in setEnable()
150 case MagneticField: in setDelay()
264 return MagneticField; in handle2id()
290 mPendingMask |= 1<<MagneticField; in processEvent()
291 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M; in processEvent()
294 mPendingMask |= 1<<MagneticField; in processEvent()
295 mPendingEvents[MagneticField].magnetic.y = value * CONVERT_M; in processEvent()
298 mPendingMask |= 1<<MagneticField; in processEvent()
299 mPendingEvents[MagneticField].magnetic.z = value * CONVERT_M; in processEvent()
302 mPendingMask |= 1<<MagneticField; in processEvent()
303 mPendingEvents[MagneticField].magnetic.status = value; in processEvent()