/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
H A D | NumberInputType.cpp | 167 const Decimal step = parseToDecimalForNumberType(stepString, 1); local 168 ASSERT(step.isFinite()); 170 RealNumberRenderSize size = calculateRenderSize(minimum).max(calculateRenderSize(maximum).max(calculateRenderSize(step)));
|
H A D | RangeInputType.cpp | 126 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 D | StepRange.cpp | 53 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 D | StepRange.h | 73 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 D | DateTimeEditElement.cpp | 139 || !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 D | DateTimeFieldElements.cpp | 122 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 D | DateTimeNumericFieldElement.cpp | 52 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 D | DateTimeNumericFieldElement.h | 49 Step(int step = 1, int stepBase = 0) : step(step), stepBase(stepBase) { } 50 int step; member in struct:blink::DateTimeNumericFieldElement::Step
|
H A D | SpinButtonElement.cpp | 228 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 D | InlineTextBox.cpp | 723 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 D | RenderGeometryMap.cpp | 67 // 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 D | RenderVTTCue.cpp | 69 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 D | XPathPath.cpp | 139 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 D | compiler.jar | META-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 D | SQLiteStatement.cpp | 86 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 D | DecimalTest.cpp | 60 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 D | TimingFunction.cpp | 131 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 D | AudioFIFO.h | 52 // 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 D | ScrollAnimator.cpp | 52 bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float delta) argument 55 float newPos = clampScrollPosition(orientation, currentPos + step * delta);
|
H A D | ScrollAnimatorNone.cpp | 224 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(), ¶meters);
|
H A D | ScrollableArea.cpp | 139 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 D | ScrollAnimatorNoneTest.cpp | 226 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 D | DateMath.cpp | 200 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 D | DequeTest.cpp | 48 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 D | WebDateTimeChooserParams.h | 62 double step; member in struct:blink::WebDateTimeChooserParams 73 , step(0)
|