OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stepRange
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/html/
InputType.cpp
306
StepRange
stepRange
(createStepRange(RejectAny));
307
return numericValue >=
stepRange
.minimum() && numericValue <=
stepRange
.maximum();
319
StepRange
stepRange
(createStepRange(RejectAny));
320
return numericValue <
stepRange
.minimum() || numericValue >
stepRange
.maximum();
379
StepRange
stepRange
(createStepRange(RejectAny))
[
all
...]
StepRange.cpp
22
#include "core/html/
StepRange
.h"
35
StepRange
::
StepRange
()
44
StepRange
::
StepRange
(const
StepRange
&
stepRange
)
45
: m_maximum(
stepRange
.m_maximum)
46
, m_minimum(
stepRange
.m_minimum)
47
, m_step(
stepRange
.m_step
[
all
...]
RangeInputType.cpp
51
#include "core/html/
StepRange
.h"
122
StepRange
RangeInputType::createStepRange(AnyStepHandling anyStepHandling) const
124
DEFINE_STATIC_LOCAL(const
StepRange
::StepDescription, stepDescription, (rangeDefaultStep, rangeDefaultStepBase, rangeStepScaleFactor));
132
return
StepRange
(minimum, minimum, maximum, step, stepDescription);
135
const Decimal step =
StepRange
::parseStep(anyStepHandling, stepDescription, element()->fastGetAttribute(stepAttr));
136
return
StepRange
(minimum, minimum, maximum, step, stepDescription);
195
StepRange
stepRange
(createStepRange(RejectAny));
200
const Decimal step = equalIgnoringCase(element()->fastGetAttribute(stepAttr), "any") ? (
stepRange
.maximum() -
stepRange
.minimum()) / 100 : stepRange.step()
[
all
...]
BaseMultipleFieldsDateAndTimeInputType.cpp
505
setMillisecondToDateComponents(layoutParameters.
stepRange
.minimum().toDouble(), &date);
574
StepRange
stepRange
= createStepRange(AnyIsDefaultStep);
576
|| !
stepRange
.minimum().remainder(static_cast<int>(msPerMinute)).isZero()
577
|| !
stepRange
.step().remainder(static_cast<int>(msPerMinute)).isZero();
HTMLInputElement.cpp
324
StepRange
HTMLInputElement::createStepRange(AnyStepHandling anyStepHandling) const
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeEditElement.h
30
#include "core/html/
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/
StepRange
.h"
56
const
StepRange
stepRange
(element->createStepRange(RejectAny));
57
const Decimal oldValue = parseToDecimalForNumberType(element->value(),
stepRange
.defaultValue());
58
return
stepRange
.proportionFromValue(
stepRange
.clampValue(oldValue));
290
StepRange
stepRange
(input->createStepRange(RejectAny));
291
Decimal value =
stepRange
.clampValue(
stepRange
.valueFromProportion(fraction))
[
all
...]
DateTimeEditElement.cpp
68
inline const
StepRange
&
stepRange
() const { return m_parameters.
stepRange
; }
138
|| !
stepRange
().minimum().remainder(static_cast<int>(msPerSecond)).isZero()
139
|| !
stepRange
().step().remainder(static_cast<int>(msPerSecond)).isZero();
360
Decimal hourPartOfMinimum = (
stepRange
().minimum().abs().remainder(decimalMsPerDay) / static_cast<int>(msPerHour)).floor();
361
return hourPartOfMinimum == m_dateValue.hour() &&
stepRange
().step().remainder(decimalMsPerDay).isZero();
370
return
stepRange
().minimum().abs().remainder(decimalMsPerSecond) == m_dateValue.millisecond() &&
stepRange
().step().remainder(decimalMsPerSecond).isZero();
379
Decimal minutePartOfMinimum = (
stepRange
().minimum().abs().remainder(decimalMsPerHour) / static_cast<int>(msPerMinute)).floor()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
DecimalTest.cpp
54
// Simulate WebCore/html/
StepRange
94
DecimalStepRange
stepRange
(fromString(minimum), fromString(maximum), fromString(step));
97
value -=
stepRange
.step;
98
value =
stepRange
.clampValue(value);
105
DecimalStepRange
stepRange
(fromString(minimum), fromString(maximum), fromString(step));
108
value +=
stepRange
.step;
109
value =
stepRange
.clampValue(value);
[
all
...]
Completed in 1279 milliseconds