Home | History | Annotate | Download | only in libsensors

Lines Matching full:orientation

77     mPendingEvents[Orientation  ].version = sizeof(sensors_event_t);
78 mPendingEvents[Orientation ].sensor = ID_O;
79 mPendingEvents[Orientation ].type = SENSOR_TYPE_ORIENTATION;
80 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
111 mEnabled |= 1<<Orientation;
113 mPendingEvents[Orientation].orientation.azimuth = absinfo.value;
116 mPendingEvents[Orientation].orientation.pitch = absinfo.value;
119 mPendingEvents[Orientation].orientation.roll = -absinfo.value;
122 mPendingEvents[Orientation].orientation.status = uint8_t(absinfo.value & SENSOR_STATE_MASK);
144 case ID_O: what = Orientation; break;
158 case Orientation: sensor_type = SENSOR_TYPE_ORIENTATION; break;
287 mPendingMask |= 1<<Orientation;
288 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O_A;
291 mPendingMask |= 1<<Orientation;
292 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O_P;
295 mPendingMask |= 1<<Orientation;
296 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O_R;
302 mPendingMask |= 1<<Orientation;
303 mPendingEvents[Orientation].orientation.status = status;