Home
last modified time | relevance | path

Searched refs:KIONIX_UNIT_CONVERSION (Results 1 – 1 of 1) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp34 #define KIONIX_UNIT_CONVERSION(value) ((value) * GRAVITY_EARTH / (1024.0f)) macro
66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value); in readEvents()
182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value); in readEvents()
184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value); in readEvents()