Searched refs:magnitudeRamp (Results 1 – 1 of 1) sorted by relevance
102 float magnitudeRamp = Math.abs(offset) > halfWidth ? 1.0f : (Math.abs(offset) / halfWidth); in update() local104 … final float magnitude = magnitudeRamp * Utils.sign(offset) * SLIDER_FILTER * mMovementSensitivity; in update()105 sliderOffset = magnitudeRamp * Utils.sign(offset); in update()