Lines Matching refs:newValue
265 float newValue, highNewValue; in process() local
268 newValue = (axis.rawAxisInfo.maxValue - rawEvent->value) * axis.scale + in process()
274 newValue = (axis.axisInfo.splitValue - rawEvent->value) * axis.scale + in process()
278 newValue = 0.0f; in process()
283 newValue = 0.0f; in process()
288 newValue = rawEvent->value * axis.scale + axis.offset; in process()
292 axis.newValue = newValue; in process()
370 hasValueChangedSignificantly(axis.filter, axis.newValue, axis.currentValue, axis.min, in filterAxes()
372 axis.currentValue = axis.newValue; in filterAxes()
387 bool JoystickInputMapper::hasValueChangedSignificantly(float filter, float newValue, in hasValueChangedSignificantly() argument
389 if (newValue != currentValue) { in hasValueChangedSignificantly()
393 if (fabs(newValue - currentValue) > filter || in hasValueChangedSignificantly()
394 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, min) || in hasValueChangedSignificantly()
395 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, max) || in hasValueChangedSignificantly()
396 hasMovedNearerToValueWithinFilteredRange(filter, newValue, currentValue, 0)) { in hasValueChangedSignificantly()
403 bool JoystickInputMapper::hasMovedNearerToValueWithinFilteredRange(float filter, float newValue, in hasMovedNearerToValueWithinFilteredRange() argument
406 float newDistance = fabs(newValue - thresholdValue); in hasMovedNearerToValueWithinFilteredRange()