Searched refs:axisY (Results 1 – 3 of 3) sorted by relevance
74 var axisY: Float = event.values[1] in onSensorChanged() variable78 val omegaMagnitude: Float = sqrt(axisX * axisX + axisY * axisY + axisZ * axisZ) in onSensorChanged()84 axisY /= omegaMagnitude in onSensorChanged()95 gyroYRotation += sinThetaOverTwo * axisY in onSensorChanged()
249 var axisY: Float = when (displayRotation) { in updateGyroRotation() variable257 axisY *= RAD_TO_DEG * dT * config.intensity in updateGyroRotation()260 angles[1] = updateAngle(angles[1], axisY, config.maxAngleRotation.y) in updateGyroRotation()
246 const InputDeviceInfo::MotionRange* axisY = in createPalmFilterDeviceInfo() local248 if (axisY != nullptr) { in createPalmFilterDeviceInfo()249 out.max_y = axisY->max; in createPalmFilterDeviceInfo()250 out.y_res = axisY->resolution; in createPalmFilterDeviceInfo()