get distance value should be increased/decreased when using up/down buttons.

@return maximum value allowed
180055
public Integer getStep() {
    if (StringUtils.isEmpty(getInputElement().getStep())) {
      return null;
    }
    try {
      return Integer.valueOf(getInputElement().getStep());
    } catch (final NumberFormatException e) {
      return null;
    }
  }
175028
function () {
            var maxCount = 0, suggestion = this.controller.selectedSuggestions;
            if (suggestion.length < this.controller.maxOptions) {
                return this.controller.maxOptions;
            } else {
                for (var i = 0, len = suggestion.length; i < len; i++) {
                    if (ariaUtilsType.isObject(suggestion[i])) {
                        maxCount++;
                    }
                }
                return maxCount;
            }
        }
307048
protected int getMaxTries() throws ActivityException {
        try {
            String v = getAttributeValueSmart(PROP_MAX_TRIES);
            int ret = StringHelper.getInteger(v, 1);
            return ret<1?1:ret;
        }
        catch (PropertyException ex) {
            throw new ActivityException(ex.getMessage(), ex);
        }
    }
1119242
public Coordinate[] getCoordinatesDistance() {
        if (geomA == null || geomB == null) {
            return null;
        }
        if (geomA.isEmpty() || geomB.isEmpty()) {
            return null;
        }
        if (geomA.equals(geomB)) {
            sameGeom = true;           
        }

        if (maxDistanceFilter == null) {
            computeMaxDistance();
        }
        return maxDistanceFilter.getCoordinatesDistance();

    }
756507
protected double maxDistance(DoubleDBIDList elems) {
    double max = 0;
    for(DoubleDBIDListIter it = elems.iter(); it.valid(); it.advance()) {
      final double v = it.doubleValue();
      max = max > v ? max : v;
    }
    return max;
  }
271787
public int max() {
    int max = Integer.MIN_VALUE;
    for (E key : map.keySet()) {
      max = Math.max(max, getIntCount(key));
    }
    return max;
  }
1255412
function () {
		return Math.max(
			document.body.scrollHeight, document.documentElement.scrollHeight,
			document.body.offsetHeight, document.documentElement.offsetHeight,
			document.body.clientHeight, document.documentElement.clientHeight
		);
	}
722426
@Override
    public Long getMaximumLength() {
        calculator();
        if (simple) {
            return v[3] - v[0];
        } else {
            Weight maxDur = cn.getMaximumDuration();
            return maxDur.isInfinity() ? null : maxDur.value();
        }
    }
736981
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
	public int getMaxHeight (){
		if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
			return mInputView.getMaxHeight();

		return -1;
	}
704966
public java.lang.Object getMax() {
		return (java.lang.Object) getStateHelper().eval(PropertyKeys.max, 100);
	}
695469
public AABBd correctBounds() {
        double tmp;
        if (this.minX > this.maxX) {
            tmp = this.minX;
            this.minX = this.maxX;
            this.maxX = tmp;
        }
        if (this.minY > this.maxY) {
            tmp = this.minY;
            this.minY = this.maxY;
            this.maxY = tmp;
        }
        if (this.minZ > this.maxZ) {
            tmp = this.minZ;
            this.minZ = this.maxZ;
            this.maxZ = tmp;
        }
        return this;
    }
374458
@Default
	public int getOffset() {
		String value = getValue();
		String superstring = getSuperstring();
		return value != null && superstring != null ? superstring.indexOf(value) : -1;
	}
578164
public int getMaxLength() 
    { // Survey the first few to get the max length (Only called when setting up screen field)
        String string;
        int maxLength = 1;
        for (int index = 0; index < 10; index++)
        {
            string = this.getNextConverter().convertIndexToDisStr(index);
            if (index > 0) if (string.length() == 0)
                break;      // Far Enough
            if (string.length() > (short)maxLength)
                maxLength = string.length();
        }
        return maxLength;
    }
898123
public com.google.api.ads.adwords.axis.v201809.o.StatsEstimate getMax() {
        return max;
    }
872753
protected double getMaxExtension() {
		Vector3d dimension = rotationAxisAligner.getDimension();
		double maxExtension = Math.max(dimension.x, dimension.y);
		maxExtension = Math.max(maxExtension, dimension.z);
		return maxExtension;
	}
1248474
private static int getButtonsNumber()
    {
        try
        {
            return Math.max(0, MouseInfo.getNumberOfButtons()) + 1;
        }
        catch (final HeadlessException exception)
        {
            Verbose.exception(exception);
            return DEFAULT_BUTTONS;
        }
    }
1077025
function() {
        var length = 0.0;
        if ( this.components && (this.components.length > 1)) {
            for(var i=1, len=this.components.length; i<len; i++) {
                length += this.components[i-1].distanceTo(this.components[i]);
            }
        }
        return length;
    }