Home
last modified time | relevance | path

Searched refs:minVal (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/rendering/
DRenderSlider.cpp302 double minVal = minStr.isNull() ? 0.0 : minStr.toDouble(); in setValueForPosition() local
304 minVal = min(minVal, maxVal); // Make sure the range is sane. in setValueForPosition()
310 double val = minVal + factor * (maxVal - minVal); in setValueForPosition()
312 val = max(minVal, min(val, maxVal)); // Make sure val is within min/max. in setValueForPosition()
339 double minVal = minStr.isNull() ? 0.0 : minStr.toDouble(); in setPositionFromValue() local
341 minVal = min(minVal, maxVal); // Make sure the range is sane. in setPositionFromValue()
343 double oldVal = value.isNull() ? (maxVal + minVal)/2.0 : value.toDouble(); in setPositionFromValue()
344 double val = max(minVal, min(oldVal, maxVal)); // Make sure val is within min/max. in setPositionFromValue()
351 double factor = (val - minVal) / (maxVal - minVal); in setPositionFromValue()
/external/webkit/WebKit/android/stl/
Dalgorithm149 #define _NUMERIC_LIMITS(type, minVal, maxVal, quietNaN, bSigned, bInteger, bIntegral) \
153 static inline type min (void) { return (minVal); } \