HomeSort by relevance Sort by last modified time
    Searched refs:stepRange (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
InputType.cpp 315 StepRange stepRange(createStepRange(RejectAny));
316 return numericValue >= stepRange.minimum() && numericValue <= stepRange.maximum();
328 StepRange stepRange(createStepRange(RejectAny));
329 return numericValue < stepRange.minimum() || numericValue > stepRange.maximum();
400 StepRange stepRange(createStepRange(RejectAny))
    [all...]
StepRange.cpp 22 #include "core/html/forms/StepRange.h"
36 StepRange::StepRange()
45 StepRange::StepRange(const StepRange& stepRange)
46 : m_maximum(stepRange.m_maximum)
47 , m_minimum(stepRange.m_minimum)
48 , m_step(stepRange.m_step
    [all...]
RangeInputType.cpp 50 #include "core/html/forms/StepRange.h"
123 StepRange RangeInputType::createStepRange(AnyStepHandling anyStepHandling) const
125 DEFINE_STATIC_LOCAL(const StepRange::StepDescription, stepDescription, (rangeDefaultStep, rangeDefaultStepBase, rangeStepScaleFactor));
133 return StepRange(minimum, minimum, maximum, step, stepDescription);
136 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr));
137 return StepRange(minimum, minimum, maximum, step, stepDescription);
194 StepRange stepRange(createStepRange(RejectAny));
199 const Decimal step = equalIgnoringCase(element().fastGetAttribute(stepAttr), "any") ? (stepRange.maximum() - stepRange.minimum()) / 100 : stepRange.step()
    [all...]
BaseMultipleFieldsDateAndTimeInputType.cpp 508 setMillisecondToDateComponents(layoutParameters.stepRange.minimum().toDouble(), &date);
571 StepRange stepRange = createStepRange(AnyIsDefaultStep);
573 || !stepRange.minimum().remainder(static_cast<int>(msPerMinute)).isZero()
574 || !stepRange.step().remainder(static_cast<int>(msPerMinute)).isZero();
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeEditElement.h 30 #include "core/html/forms/StepRange.h"
40 class StepRange;
68 const StepRange stepRange;
75 LayoutParameters(Locale& locale, const StepRange& stepRange)
77 , stepRange(stepRange)
SliderThumbElement.cpp 40 #include "core/html/forms/StepRange.h"
57 const StepRange stepRange(element->createStepRange(RejectAny));
58 const Decimal oldValue = parseToDecimalForNumberType(element->value(), stepRange.defaultValue());
59 return stepRange.proportionFromValue(stepRange.clampValue(oldValue));
287 StepRange stepRange(input->createStepRange(RejectAny));
288 Decimal value = stepRange.clampValue(stepRange.valueFromProportion(fraction))
    [all...]
DateTimeEditElement.cpp 67 inline const StepRange& stepRange() const { return m_parameters.stepRange; }
137 || !stepRange().minimum().remainder(static_cast<int>(msPerSecond)).isZero()
138 || !stepRange().step().remainder(static_cast<int>(msPerSecond)).isZero();
359 Decimal hourPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerDay) / static_cast<int>(msPerHour)).floor();
360 return hourPartOfMinimum == m_dateValue.hour() && stepRange().step().remainder(decimalMsPerDay).isZero();
369 return stepRange().minimum().abs().remainder(decimalMsPerSecond) == m_dateValue.millisecond() && stepRange().step().remainder(decimalMsPerSecond).isZero();
378 Decimal minutePartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerHour) / static_cast<int>(msPerMinute)).floor()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
DecimalTest.cpp 55 // Simulate WebCore/html/StepRange
95 DecimalStepRange stepRange(fromString(minimum), fromString(maximum), fromString(step));
98 value -= stepRange.step;
99 value = stepRange.clampValue(value);
106 DecimalStepRange stepRange(fromString(minimum), fromString(maximum), fromString(step));
109 value += stepRange.step;
110 value = stepRange.clampValue(value);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLInputElement.cpp 294 StepRange HTMLInputElement::createStepRange(AnyStepHandling anyStepHandling) const
    [all...]

Completed in 329 milliseconds