Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
DSensor.cpp288 Orientation& sensorOrientation = (*sensorOrientationList)[0]; in checkOrientation() local
289 if (!sensorOrientation.getFirstX() || !sensorOrientation.getFirstY() || in checkOrientation()
290 !sensorOrientation.getFirstZ()) in checkOrientation()
293 int64_t xMap = sensorOrientation.getFirstX()->getMap(); in checkOrientation()
296 int64_t yMap = sensorOrientation.getFirstY()->getMap(); in checkOrientation()
299 int64_t zMap = sensorOrientation.getFirstZ()->getMap(); in checkOrientation()
316 Orientation& sensorOrientation = (*sensorOrientationList)[0]; in setOrientation() local
318 if (sensorOrientation.getRotate()) { in setOrientation()
319 mXMap = sensorOrientation.getFirstX()->getMap(); in setOrientation()
320 mXNegate = sensorOrientation.getFirstX()->getNegate(); in setOrientation()
[all …]