Searched refs:absinfo (Results 1 - 5 of 5) sorted by relevance
/device/samsung/tuna/libsensors/ |
H A D | ProximitySensor.cpp | 57 struct input_absinfo absinfo; local 58 if (!ioctl(data_fd, EVIOCGABS(ABS_DISTANCE), &absinfo)) { 60 mPendingEvent.distance = indexToValue(absinfo.value);
|
/device/samsung/crespo/libsensors/ |
H A D | AkmSensor.cpp | 83 struct input_absinfo absinfo; local 88 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { 89 mPendingEvents[Accelerometer].acceleration.x = absinfo.value * CONVERT_A_X; 91 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { 92 mPendingEvents[Accelerometer].acceleration.y = absinfo.value * CONVERT_A_Y; 94 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { 95 mPendingEvents[Accelerometer].acceleration.z = absinfo.value * CONVERT_A_Z; 100 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_MAGV_X), &absinfo)) { 101 mPendingEvents[MagneticField].magnetic.x = absinfo.value * CONVERT_M_X; 103 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_MAGV_Y), &absinfo)) { [all...] |
H A D | ProximitySensor.cpp | 58 struct input_absinfo absinfo; local 59 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_PROXIMITY), &absinfo)) { 62 mPendingEvent.distance = indexToValue(absinfo.value);
|
/device/moto/stingray/sensors/ |
H A D | PressureSensor.cpp | 47 struct input_absinfo absinfo; local 52 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_PRESSURE), &absinfo)) { 53 mPendingEvent.pressure = absinfo.value * CONVERT_B;
|
H A D | AkmSensor.cpp | 60 struct input_absinfo absinfo; local
|
Completed in 4 milliseconds