/device/moto/stingray/sensors/ |
LightSensor.cpp | 39 mPendingEvent.version = sizeof(sensors_event_t); 40 mPendingEvent.sensor = ID_L; 41 mPendingEvent.type = SENSOR_TYPE_LIGHT; 42 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); 79 mPendingEvent.timestamp = getTimestamp(); 80 *data = mPendingEvent; 95 mPendingEvent.light = indexToValue(event->value); 98 mPendingEvent.timestamp = timevalToNano(event->time); 100 *data++ = mPendingEvent; [all...] |
AccelerationSensor.cpp | 39 mPendingEvent.version = sizeof(sensors_event_t); 40 mPendingEvent.sensor = ID_A; 41 mPendingEvent.type = SENSOR_TYPE_ACCELEROMETER; 42 mPendingEvent.acceleration.status = SENSOR_STATUS_ACCURACY_HIGH; 43 memset(mPendingEvent.data, 0x00, sizeof(mPendingEvent.data)); 146 mPendingEvent.timestamp = time; 148 *data++ = mPendingEvent; 168 mPendingEvent.acceleration.x = value * CONVERT_A_X; 171 mPendingEvent.acceleration.y = value * CONVERT_A_Y [all...] |
GyroSensor.cpp | 39 mPendingEvent.version = sizeof(sensors_event_t); 40 mPendingEvent.sensor = ID_G; 41 mPendingEvent.type = SENSOR_TYPE_GYROSCOPE; 42 mPendingEvent.gyro.status = SENSOR_STATUS_ACCURACY_HIGH; 43 memset(mPendingEvent.data, 0x00, sizeof(mPendingEvent.data)); 112 mPendingEvent.timestamp = time; 114 *data++ = mPendingEvent; 132 mPendingEvent.gyro.x = value * CONVERT_G_P; 135 mPendingEvent.gyro.y = value * CONVERT_G_R [all...] |
PressureSensor.cpp | 39 mPendingEvent.version = sizeof(sensors_event_t); 40 mPendingEvent.sensor = ID_B; 41 mPendingEvent.type = SENSOR_TYPE_PRESSURE; 42 memset(mPendingEvent.data, 0x00, sizeof(mPendingEvent.data)); 53 mPendingEvent.pressure = absinfo.value * CONVERT_B; 115 mPendingEvent.timestamp = time; 117 *data++ = mPendingEvent; 134 mPendingEvent.pressure = value * CONVERT_B;
|
AccelerationSensor.h | 38 sensors_event_t mPendingEvent;
|
GyroSensor.h | 38 sensors_event_t mPendingEvent;
|
LightSensor.h | 36 sensors_event_t mPendingEvent;
|
PressureSensor.h | 38 sensors_event_t mPendingEvent;
|
/device/samsung/tuna/libsensors/ |
LightSensor.cpp | 32 mPendingEvent.sensor = ID_L; 33 mPendingEvent.type = SENSOR_TYPE_LIGHT; 45 mPendingEvent.light = powf(10, event->value * (125.0f / 1023.0f / 24.0f)) * 4;
|
PressureSensor.cpp | 38 mPendingEvent.sensor = ID_PR; 39 mPendingEvent.type = SENSOR_TYPE_PRESSURE; 43 mPendingEvent.pressure = event->value * PRESSURE_HECTO;
|
ProximitySensor.cpp | 35 mPendingEvent.sensor = ID_P; 36 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; 60 mPendingEvent.distance = indexToValue(absinfo.value); 68 mPendingEvent.distance = indexToValue(event->value);
|
SamsungSensorBase.cpp | 67 mPendingEvent.version = sizeof(sensors_event_t); 68 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); 152 mPendingEvent.timestamp = getTimestamp(); 153 *data = mPendingEvent; 164 mPendingEvent.timestamp = timevalToNano(event->time); 165 *data++ = mPendingEvent;
|
SamsungSensorBase.h | 37 sensors_event_t mPendingEvent;
|
/device/samsung/crespo/libsensors/ |
GyroSensor.cpp | 39 mPendingEvent.version = sizeof(sensors_event_t); 40 mPendingEvent.sensor = ID_GY; 41 mPendingEvent.type = SENSOR_TYPE_GYROSCOPE; 42 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); 68 mPendingEvent.data[0] = value * CONVERT_GYRO_X; 70 mPendingEvent.data[1] = value * CONVERT_GYRO_Y; 72 mPendingEvent.data[2] = value * CONVERT_GYRO_Z; 131 mPendingEvent.timestamp = getTimestamp(); 132 *data = mPendingEvent; [all...] |
ProximitySensor.cpp | 37 mPendingEvent.version = sizeof(sensors_event_t); 38 mPendingEvent.sensor = ID_P; 39 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; 40 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); 62 mPendingEvent.distance = indexToValue(absinfo.value); 103 mPendingEvent.timestamp = getTimestamp(); 104 *data = mPendingEvent; 121 mPendingEvent.distance = indexToValue(event->value); 125 mPendingEvent.timestamp = timevalToNano(event->time) [all...] |
LightSensor.cpp | 36 mPendingEvent.version = sizeof(sensors_event_t); 37 mPendingEvent.sensor = ID_L; 38 mPendingEvent.type = SENSOR_TYPE_LIGHT; 39 memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data)); 108 mPendingEvent.timestamp = getTimestamp(); 109 *data = mPendingEvent; 129 mPendingEvent.light = powf(10, event->value * (330.0f / 4095.0f / 47.0f)) * 4; 132 mPendingEvent.timestamp = timevalToNano(event->time); 134 *data++ = mPendingEvent; [all...] |
LightSensor.h | 36 sensors_event_t mPendingEvent;
|
ProximitySensor.h | 36 sensors_event_t mPendingEvent;
|
GyroSensor.h | 36 sensors_event_t mPendingEvent;
|
/frameworks/base/services/input/ |
InputDispatcher.cpp | 211 mPendingEvent(NULL), mAppSwitchSawKeyDown(false), mAppSwitchDueTime(LONG_LONG_MAX), 290 if (! mPendingEvent) { 302 mPendingEvent = synthesizeKeyRepeatLocked(currentTime); 311 if (! mPendingEvent) { 376 mPendingEvent = entry; 380 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { 381 pokeUserActivityLocked(mPendingEvent); 387 LOG_ASSERT(mPendingEvent != NULL); 390 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { 396 if (mNextUnblockedEvent == mPendingEvent) { [all...] |
InputDispatcher.h | 867 EventEntry* mPendingEvent; [all...] |