Searched refs:axisX (Results 1 – 3 of 3) sorted by relevance
73 var axisX: Float = event.values[0] in onSensorChanged() variable78 val omegaMagnitude: Float = sqrt(axisX * axisX + axisY * axisY + axisZ * axisZ) in onSensorChanged()83 axisX /= omegaMagnitude in onSensorChanged()94 gyroXRotation += sinThetaOverTwo * axisX in onSensorChanged()
242 var axisX: Float = when (displayRotation) { in updateGyroRotation() variable256 axisX *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation()259 angles[0] = updateAngle(angles[0], axisX, config.maxAngleRotation.x) in updateGyroRotation()
236 const InputDeviceInfo::MotionRange* axisX = in createPalmFilterDeviceInfo() local238 if (axisX != nullptr) { in createPalmFilterDeviceInfo()239 out.max_x = axisX->max; in createPalmFilterDeviceInfo()240 out.x_res = axisX->resolution; in createPalmFilterDeviceInfo()