Searched defs:step (Results 51 - 75 of 440) sorted by path

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DNumberInputType.cpp167 const Decimal step = parseToDecimalForNumberType(stepString, 1); local
168 ASSERT(step.isFinite());
170 RealNumberRenderSize size = calculateRenderSize(minimum).max(calculateRenderSize(maximum).max(calculateRenderSize(step)));
H A DRangeInputType.cpp126 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); local
127 return StepRange(stepBase, minimum, maximum, step, stepDescription);
188 // FIXME: We can't use stepUp() for the step value "any". So, we increase
190 const Decimal step = equalIgnoringCase(element().fastGetAttribute(stepAttr), "any") ? (stepRange.maximum() - stepRange.minimum()) / 100 : stepRange.step(); local
191 const Decimal bigStep = std::max((stepRange.maximum() - stepRange.minimum()) / 10, step);
201 newValue = current + step;
203 newValue = current - step;
205 newValue = isVertical ? current + step : current - step;
[all...]
H A DStepRange.cpp53 StepRange::StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription& stepDescription) argument
56 , m_step(step.isFinite() ? step : 1)
59 , m_hasStep(step.isFinite())
88 // Rounds inRangeValue to stepBase + N * step.
112 Decimal step = parseToDecimalForNumberType(stepString); local
113 if (!step.isFinite() || step <= 0)
118 step *= stepDescription.stepScaleFactor;
122 step
[all...]
H A DStepRange.h73 StepRange(const Decimal& stepBase, const Decimal& minimum, const Decimal& maximum, const Decimal& step, const StepDescription&);
80 Decimal step() const { return m_step; } function in class:blink::StepRange
84 // Clamp the middle value according to the step
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DDateTimeEditElement.cpp139 || !stepRange().step().remainder(static_cast<int>(msPerSecond)).isZero();
161 DateTimeNumericFieldElement::Step step = createStep(msPerHour, msPerHour * 12); local
162 RefPtrWillBeRawPtr<DateTimeFieldElement> field = DateTimeHour11FieldElement::create(document, m_editElement, m_hour23Range, step);
172 DateTimeNumericFieldElement::Step step = createStep(msPerHour, msPerHour * 12); local
173 RefPtrWillBeRawPtr<DateTimeFieldElement> field = DateTimeHour12FieldElement::create(document, m_editElement, m_hour23Range, step);
183 DateTimeNumericFieldElement::Step step = createStep(msPerHour, msPerDay); local
184 RefPtrWillBeRawPtr<DateTimeFieldElement> field = DateTimeHour23FieldElement::create(document, m_editElement, m_hour23Range, step);
194 DateTimeNumericFieldElement::Step step = createStep(msPerHour, msPerDay); local
195 RefPtrWillBeRawPtr<DateTimeFieldElement> field = DateTimeHour24FieldElement::create(document, m_editElement, m_hour23Range, step);
205 DateTimeNumericFieldElement::Step step local
257 DateTimeNumericFieldElement::Step step = createStep(msPerSecond, msPerMinute); local
273 DateTimeNumericFieldElement::Step step = createStep(1, msPerSecond); local
[all...]
H A DDateTimeFieldElements.cpp122 DateTimeHourFieldElementBase::DateTimeHourFieldElementBase(Document& document, FieldOwner& fieldOwner, const Range& range, const Range& hardLimits, const Step& step) argument
123 : DateTimeNumericFieldElement(document, fieldOwner, range, hardLimits, "--", step)
157 DateTimeHour11FieldElement::DateTimeHour11FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
158 : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(0, 11), step)
162 PassRefPtrWillBeRawPtr<DateTimeHour11FieldElement> DateTimeHour11FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) argument
175 RefPtrWillBeRawPtr<DateTimeHour11FieldElement> field = adoptRefWillBeNoop(new DateTimeHour11FieldElement(document, fieldOwner, range, step));
198 DateTimeHour12FieldElement::DateTimeHour12FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
199 : DateTimeHourFieldElementBase(document, fieldOwner, range, Range(1, 12), step)
203 PassRefPtrWillBeRawPtr<DateTimeHour12FieldElement> DateTimeHour12FieldElement::create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) argument
223 RefPtrWillBeRawPtr<DateTimeHour12FieldElement> field = adoptRefWillBeNoop(new DateTimeHour12FieldElement(document, fieldOwner, range, step));
241 DateTimeHour23FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
246 create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) argument
277 DateTimeHour24FieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
282 create(Document& document, FieldOwner& fieldOwner, const Range& hour23Range, const Step& step) argument
324 DateTimeMillisecondFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
329 create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
365 DateTimeMinuteFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
370 create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
447 DateTimeSecondFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
452 create(Document& document, FieldOwner& fieldOwner, const Range& range, const Step& step) argument
[all...]
H A DDateTimeNumericFieldElement.cpp52 DateTimeNumericFieldElement::DateTimeNumericFieldElement(Document& document, FieldOwner& fieldOwner, const Range& range, const Range& hardLimits, const String& placeholder, const DateTimeNumericFieldElement::Step& step) argument
57 , m_step(step)
61 ASSERT(m_step.step);
228 n = n / m_step.step * m_step.step;
230 n = -((-n + m_step.step - 1) / m_step.step * m_step.step);
238 n = (n + m_step.step - 1) / m_step.step * m_ste
[all...]
H A DDateTimeNumericFieldElement.h49 Step(int step = 1, int stepBase = 0) : step(step), stepBase(stepBase) { }
50 int step; member in struct:blink::DateTimeNumericFieldElement::Step
H A DSpinButtonElement.cpp228 void SpinButtonElement::step(int amount) function in class:blink::SpinButtonElement
245 step(m_upDownState == Up ? 1 : -1);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineTextBox.cpp723 static void adjustStepToDecorationLength(float& step, float& controlPointDistance, float length) argument
725 ASSERT(step > 0);
730 unsigned stepCount = static_cast<unsigned>(length / step);
735 float uncoveredLength = length - (stepCount * step - (stepCount - 1));
737 step += adjustment;
746 * step
766 * step
785 float step = 2 * std::max<float>(2, strokeThickness); local
804 adjustStepToDecorationLength(step, controlPointDistance, y2 - y1);
808 for (float y = y1; y + 2 * step <
[all...]
H A DRenderGeometryMap.cpp67 // If container is the root RenderView (step 0) we want to apply its fixed position offset.
256 RenderGeometryMapStep& step = m_mapping[m_insertionPosition]; local
257 step.m_offset = offsetFromContainer;
258 step.m_offsetForFixedPosition = offsetForFixedPosition;
260 stepInserted(step);
271 RenderGeometryMapStep& step = m_mapping[m_insertionPosition]; local
272 step.m_offsetForFixedPosition = offsetForFixedPosition;
275 step.m_transform = adoptPtr(new TransformationMatrix(t));
277 step.m_offset = LayoutSize(t.e(), t.f());
279 stepInserted(step);
298 stepInserted(const RenderGeometryMapStep& step) argument
312 stepRemoved(const RenderGeometryMapStep& step) argument
[all...]
H A DRenderVTTCue.cpp69 bool RenderVTTCue::initializeLayoutParameters(InlineFlowBox* firstLineBox, LayoutUnit& step, LayoutUnit& position) argument
75 // 1. Horizontal: Let step be the height of the first line box in boxes.
76 // Vertical: Let step be the width of the first line box in boxes.
77 step = m_cue->getWritingDirection() == VTTCue::Horizontal ? firstLineBox->height() : firstLineBox->width();
79 // 2. If step is zero, then jump to the step labeled done positioning below.
80 if (!step)
90 // 5. Let position be the result of multiplying step and line position.
91 position = step * linePosition;
94 // bounding box of the boxes in boxes, then increase position by step
178 moveBoxesByStep(LayoutUnit step) argument
193 switchDirection(bool& switched, LayoutUnit& step) argument
216 LayoutUnit step; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathPath.cpp139 Step* step = m_steps[i]; local
143 bool needToCheckForDuplicateNodes = !nodes.subtreesAreDisjoint() || (step->axis() != Step::ChildAxis && step->axis() != Step::SelfAxis
144 && step->axis() != Step::DescendantAxis && step->axis() != Step::DescendantOrSelfAxis && step->axis() != Step::AttributeAxis);
150 if (nodes.subtreesAreDisjoint() && (step->axis() == Step::ChildAxis || step->axis() == Step::SelfAxis))
155 step->evaluate(context, nodes[j], *matches);
173 void LocationPath::appendStep(Step* step) argument
190 insertFirstStep(Step* step) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
H A DSQLiteStatement.cpp86 int SQLiteStatement::step() function in class:blink::SQLiteStatement
98 WTF_LOG(SQLDatabase, "SQL - step - %s", m_query.ascii().data());
126 if (step() != SQLITE_DONE) {
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimalTest.cpp60 Decimal step; member in class:DecimalStepRange
62 DecimalStepRange(const Decimal& minimum, const Decimal& maximum, const Decimal& step) argument
65 , step(step)
71 const Decimal result = minimum + ((value - minimum) / step).round() * step;
73 return result > maximum ? result - step : result;
93 protected: Decimal stepDown(const String& minimum, const String& maximum, const String& step, const String& valueString, int numberOfStepTimes) argument
95 DecimalStepRange stepRange(fromString(minimum), fromString(maximum), fromString(step));
98 value -= stepRange.step;
104 stepUp(const String& minimum, const String& maximum, const String& step, const String& valueString, int numberOfStepTimes) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/animation/
H A DTimingFunction.cpp131 builder.append("step-");
208 const StepsTimingFunction& step = toStepsTimingFunction(lhs); local
209 return (step == rhs);
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioFIFO.h52 // Update the FIFO index by the step, with appropriate wrapping around the endpoint.
53 int updateIndex(int index, int step) { return (index + step) % m_fifoLength; } argument
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollAnimator.cpp52 bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float delta) argument
55 float newPos = clampScrollPosition(orientation, currentPos + step * delta);
H A DScrollAnimatorNone.cpp224 bool ScrollAnimatorNone::PerAxisData::updateDataFromParameters(float step, float delta, float scrollableSize, double currentTime, Parameters* parameters) argument
226 float pixelDelta = step * delta;
397 bool ScrollAnimatorNone::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float delta) argument
400 return ScrollAnimator::scroll(orientation, granularity, step, delta);
415 return ScrollAnimator::scroll(orientation, granularity, step, delta);
420 return ScrollAnimator::scroll(orientation, granularity, step, delta);
426 bool needToScroll = data.updateDataFromParameters(step, delta, scrollableSize, WTF::monotonicallyIncreasingTime(), &parameters);
H A DScrollableArea.cpp139 float step = 0; local
142 step = lineStep(orientation);
145 step = pageStep(orientation);
148 step = documentStep(orientation);
152 step = pixelStep(orientation);
159 return scrollAnimator()->scroll(orientation, granularity, step, delta);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DScrollAnimatorNoneTest.cpp226 bool updateDataFromParameters(float step, float multiplier, float scrollableSize, double currentTime, ScrollAnimatorNone::Parameters*);
235 void curveTestInner(ScrollAnimatorNone::Curve, double step, double time);
263 bool ScrollAnimatorNoneTest::updateDataFromParameters(float step, float multiplier, float scrollableSize, double currentTime, ScrollAnimatorNone::Parameters* parameters) argument
265 if (step * multiplier)
266 m_scrollingDown = (step * multiplier > 0);
271 bool result = m_data->updateDataFromParameters(step, multiplier, scrollableSize, currentTime, parameters);
284 if (step * multiplier) {
353 void ScrollAnimatorNoneTest::curveTestInner(ScrollAnimatorNone::Curve curve, double step, double time) argument
361 for (double t = step ; t <= time ; t += step) {
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDateMath.cpp200 int step; local
202 if (d < (step = 31))
204 step += (leapYear ? 29 : 28);
205 if (d < step)
207 if (d < (step += 31))
209 if (d < (step += 30))
211 if (d < (step += 31))
213 if (d < (step += 30))
215 if (d < (step += 31))
217 if (d < (step
238 int step; local
[all...]
H A DDequeTest.cpp48 int step = from < to ? 1 : -1; local
49 for (int i = from; i != to + step; i += step) {
71 int step = from < to ? 1 : -1;
72 for (int i = from; i != to + step; i += step) {
/external/chromium_org/third_party/WebKit/public/web/
H A DWebDateTimeChooserParams.h62 double step; member in struct:blink::WebDateTimeChooserParams
73 , step(0)

Completed in 552 milliseconds

1234567891011>>