public void setRange(final float minSelected, final float maxSelected) {
        final float minValue = Math.max(Math.min(max, minSelected), min);
        final float maxValue = Math.min(Math.max(min, maxSelected), max);
        if (minValue > maxValue) {
            binding.sliderInternal.setValues(maxValue, minValue);
        } else {
            binding.sliderInternal.setValues(minValue, maxValue);
        }
    }
@param displayFactor is only used in context of value input / validation, but not for labels
main/src/main/java/cgeo/geocaching/ui/ContinuousRangeSlider.java