Home
last modified time | relevance | path

Searched refs:clampValue (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DDateTimeNumericFieldElement.h56 int clampValue(int) const;
67 int clampValue(int value) const { return m_range.clampValue(value); } in clampValue() function
DDateTimeNumericFieldElement.cpp40 int DateTimeNumericFieldElement::Range::clampValue(int value) const in clampValue() function in WebCore::DateTimeNumericFieldElement::Range
168 m_value = m_hardLimits.clampValue(value); in setValueAsInteger()
DDateTimeFieldElements.cpp192 value = Range(0, 23).clampValue(value) % 12; in setValueAsInteger()
235 value = Range(0, 24).clampValue(value) % 12; in setValueAsInteger()
271 value = Range(0, 23).clampValue(value); in setValueAsInteger()
318 value = Range(0, 24).clampValue(value); in setValueAsInteger()
DSliderThumbElement.cpp59 return stepRange.proportionFromValue(stepRange.clampValue(oldValue)); in sliderPosition()
288 Decimal value = stepRange.clampValue(stepRange.valueFromProportion(fraction)); in setPositionFromPoint()
/external/chromium_org/third_party/WebKit/Source/wtf/
DArrayBuffer.h76 static inline int clampValue(int x, int left, int right);
83 int ArrayBuffer::clampValue(int x, int left, int right) in clampValue() function
173 return clampValue(index, 0, currentLength); in clampIndex()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DStepRange.h76 Decimal clampValue(const Decimal& value) const;
89 return clampValue((m_minimum + m_maximum) / 2); in defaultValue()
DRangeInputType.cpp228 newValue = stepRange.clampValue(newValue); in handleKeydownEvent()
309 return serializeForNumberType(stepRange.clampValue(proposedNumericValue)); in sanitizeValue()
DStepRange.cpp85 Decimal StepRange::clampValue(const Decimal& value) const in clampValue() function in WebCore::StepRange
DInputType.cpp410 Decimal candidate1 = stepRange.clampValue(numericValue); in validationMessage()
/external/chromium_org/third_party/WebKit/Source/platform/
DDecimalTest.cpp69 Decimal clampValue(Decimal value) const in clampValue() function in DecimalStepRange
99 value = stepRange.clampValue(value); in stepDown()
110 value = stepRange.clampValue(value); in stepUp()