Home
last modified time | relevance | path

Searched refs:m_maximum (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DStepRange.cpp37 : m_maximum(100) in StepRange()
46 : m_maximum(stepRange.m_maximum) in StepRange()
56 : m_maximum(maximum) in StepRange()
63 ASSERT(m_maximum.isFinite()); in StepRange()
87 const Decimal inRangeValue = max(m_minimum, min(value, m_maximum)); in clampValue()
92 const Decimal clampedValue = roundedValue > m_maximum ? roundedValue - m_step : roundedValue; in clampValue()
94 ASSERT(clampedValue <= m_maximum); in clampValue()
DStepRange.h78 Decimal maximum() const { return m_maximum; } in maximum()
89 return clampValue((m_minimum + m_maximum) / 2); in defaultValue()
95 if (m_minimum == m_maximum) in proportionFromValue()
98 return (value - m_minimum) / (m_maximum - m_minimum); in proportionFromValue()
104 return m_minimum + proportion * (m_maximum - m_minimum); in valueFromProportion()
111 const Decimal m_maximum; // maximum must be >= minimum. variable
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCSpinner.java46 private int m_maximum = 100; field in CSpinner
90 if (m_value < m_minimum || m_value > m_maximum) { in CSpinner()
96 m_maximum)); in CSpinner()
217 m_maximum = maximum; in setMaximum()
218 setSelection(Math.min(m_value, m_maximum)); in setMaximum()
235 newValue = Math.min(Math.max(m_minimum, newValue), m_maximum); in setSelection()