Home | History | Annotate | Download | only in libsensors

Lines Matching refs:Orientation

51     mPendingEvents[Orientation  ].version = sizeof(sensors_event_t);
52 mPendingEvents[Orientation ].sensor = ID_O;
53 mPendingEvents[Orientation ].type = SENSOR_TYPE_ORIENTATION;
54 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
95 mEnabled |= 1<<Orientation;
97 mPendingEvents[Orientation].orientation.azimuth = absinfo.value;
100 mPendingEvents[Orientation].orientation.pitch = absinfo.value;
103 mPendingEvents[Orientation].orientation.roll = -absinfo.value;
106 mPendingEvents[Orientation].orientation.status = uint8_t(absinfo.value & SENSOR_STATE_MASK);
129 case ID_O: what = Orientation; break;
146 case Orientation: cmd = ECS_IOCTL_APP_SET_MFLAG; break;
171 case ID_O: what = Orientation; break;
278 mPendingMask |= 1<<Orientation;
279 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O_Y;
282 mPendingMask |= 1<<Orientation;
283 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O_P;
286 mPendingMask |= 1<<Orientation;
287 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O_R;
290 mPendingMask |= 1<<Orientation;
291 mPendingEvents[Orientation].orientation.status =