distance 87 Source/core/animation/AnimatableColorTest.cpp EXPECT_NEAR(13.0 / 255, AnimatableValue::distance(first.get(), second.get()), 0.00000001); distance 97 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_DOUBLE_EQ(3.75, AnimatableValue::distance(first.get(), second.get())); distance 98 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_DOUBLE_EQ(0.75, AnimatableValue::distance(second.get(), third.get())); distance 99 Source/core/animation/AnimatableDoubleTest.cpp EXPECT_DOUBLE_EQ(4.5, AnimatableValue::distance(third.get(), first.get())); distance 49 Source/core/animation/AnimatableValue.h static double distance(const AnimatableValue* from, const AnimatableValue* to); distance 1084 Source/core/css/CSSGradientValue.cpp float distance = distanceToClosestCorner(secondPoint, size, corner); distance 1086 Source/core/css/CSSGradientValue.cpp secondRadius = distance; distance 1101 Source/core/css/CSSGradientValue.cpp float distance = distanceToFarthestCorner(secondPoint, size, corner); distance 1103 Source/core/css/CSSGradientValue.cpp secondRadius = distance; distance 670 Source/core/editing/EditorCommand.cpp unsigned distance = verticalScrollDistance(frame); distance 671 Source/core/editing/EditorCommand.cpp if (!distance) distance 673 Source/core/editing/EditorCommand.cpp return frame.selection().modify(FrameSelection::AlterationMove, distance, FrameSelection::DirectionDown, distance 679 Source/core/editing/EditorCommand.cpp unsigned distance = verticalScrollDistance(frame); distance 680 Source/core/editing/EditorCommand.cpp if (!distance) distance 682 Source/core/editing/EditorCommand.cpp return frame.selection().modify(FrameSelection::AlterationExtend, distance, FrameSelection::DirectionDown, distance 688 Source/core/editing/EditorCommand.cpp unsigned distance = verticalScrollDistance(frame); distance 689 Source/core/editing/EditorCommand.cpp if (!distance) distance 691 Source/core/editing/EditorCommand.cpp return frame.selection().modify(FrameSelection::AlterationMove, distance, FrameSelection::DirectionUp, distance 697 Source/core/editing/EditorCommand.cpp unsigned distance = verticalScrollDistance(frame); distance 698 Source/core/editing/EditorCommand.cpp if (!distance) distance 700 Source/core/editing/EditorCommand.cpp return frame.selection().modify(FrameSelection::AlterationExtend, distance, FrameSelection::DirectionUp, distance 98 Source/core/frame/History.cpp void History::go(ExecutionContext* context, int distance) distance 111 Source/core/frame/History.cpp m_frame->navigationScheduler().scheduleHistoryNavigation(distance); distance 57 Source/core/frame/History.h void go(ExecutionContext*, int distance); distance 746 Source/core/page/FocusController.cpp if (candidate.distance == maxDistance()) distance 772 Source/core/page/FocusController.cpp if (candidate.distance < closest.distance) distance 61 Source/core/page/SpatialNavigation.cpp , distance(maxDistance()) distance 624 Source/core/page/SpatialNavigation.cpp candidate.distance = 0; distance 673 Source/core/page/SpatialNavigation.cpp float distance = euclidianDistance + sameAxisDistance + 2 * otherAxisDistance; distance 674 Source/core/page/SpatialNavigation.cpp candidate.distance = roundf(distance); distance 105 Source/core/page/SpatialNavigation.h , distance(maxDistance()) distance 127 Source/core/page/SpatialNavigation.h long long distance; distance 79 Source/core/page/TouchDisambiguation.cpp IntSize distance = boundingBox.differenceToPoint(touchPoint); distance 80 Source/core/page/TouchDisambiguation.cpp score *= max((padding - abs(distance.width())) * reciprocalPadding, 0.f); distance 81 Source/core/page/TouchDisambiguation.cpp score *= max((padding - abs(distance.height())) * reciprocalPadding, 0.f); distance 191 Source/core/rendering/svg/RenderSVGInlineText.cpp float distance = powf(fragmentRect.x() - absolutePoint.x(), 2) + distance 194 Source/core/rendering/svg/RenderSVGInlineText.cpp if (distance < closestDistance) { distance 195 Source/core/rendering/svg/RenderSVGInlineText.cpp closestDistance = distance; distance 30 Source/core/svg/ColorDistance.h static float distance(const Color& fromColor, const Color& toColor); distance 98 Source/core/svg/SVGAnimatedColor.cpp return ColorDistance::distance(fromColor, toColor); distance 394 Source/core/svg/SVGAnimationElement.cpp float distance = calculateDistance(m_values[n], m_values[n + 1]); distance 395 Source/core/svg/SVGAnimationElement.cpp if (distance < 0) distance 397 Source/core/svg/SVGAnimationElement.cpp totalDistance += distance; distance 398 Source/core/svg/SVGAnimationElement.cpp keyTimesForPaced.append(distance); distance 59 Source/core/svg/SVGPathElement.h PassRefPtr<SVGPointTearOff> getPointAtLength(float distance); distance 60 Source/core/svg/SVGPathElement.h unsigned getPathSegAtLength(float distance); distance 39 Source/core/svg/SVGTransformDistance.h float distance() const; distance 353 Source/core/svg/SVGTransformList.cpp return SVGTransformDistance(at(0), toList->at(0)).distance(); distance 52 Source/platform/audio/Distance.cpp double DistanceEffect::gain(double distance) distance 55 Source/platform/audio/Distance.cpp distance = min(distance, m_maxDistance); distance 59 Source/platform/audio/Distance.cpp distance = max(distance, m_refDistance); distance 63 Source/platform/audio/Distance.cpp return linearGain(distance); distance 65 Source/platform/audio/Distance.cpp return inverseGain(distance); distance 67 Source/platform/audio/Distance.cpp return exponentialGain(distance); distance 73 Source/platform/audio/Distance.cpp double DistanceEffect::linearGain(double distance) distance 77 Source/platform/audio/Distance.cpp return (1.0 - m_rolloffFactor * (distance - m_refDistance) / (m_maxDistance - m_refDistance)); distance 80 Source/platform/audio/Distance.cpp double DistanceEffect::inverseGain(double distance) distance 82 Source/platform/audio/Distance.cpp return m_refDistance / (m_refDistance + m_rolloffFactor * (distance - m_refDistance)); distance 85 Source/platform/audio/Distance.cpp double DistanceEffect::exponentialGain(double distance) distance 87 Source/platform/audio/Distance.cpp return pow(distance / m_refDistance, -m_rolloffFactor); distance 50 Source/platform/audio/Distance.h double gain(double distance); distance 70 Source/platform/audio/Distance.h double linearGain(double distance); distance 71 Source/platform/audio/Distance.h double inverseGain(double distance); distance 72 Source/platform/audio/Distance.h double exponentialGain(double distance); distance 161 Source/platform/graphics/PathTraversalState.cpp float distance = distanceLine(m_current, m_start); distance 163 Source/platform/graphics/PathTraversalState.cpp return distance; distance 174 Source/platform/graphics/PathTraversalState.cpp float distance = distanceLine(m_current, point); distance 176 Source/platform/graphics/PathTraversalState.cpp return distance; distance 181 Source/platform/graphics/PathTraversalState.cpp float distance = curveLength<QuadraticBezier>(*this, QuadraticBezier(m_current, newControl, newEnd)); distance 189 Source/platform/graphics/PathTraversalState.cpp return distance; distance 194 Source/platform/graphics/PathTraversalState.cpp float distance = curveLength<CubicBezier>(*this, CubicBezier(m_current, newControl1, newControl2, newEnd)); distance 202 Source/platform/graphics/PathTraversalState.cpp return distance; distance 91 Source/platform/graphics/StrokeData.cpp int distance = length - 2 * static_cast<int>(m_thickness); distance 95 Source/platform/graphics/StrokeData.cpp int numDashes = distance / dashLength; distance 96 Source/platform/graphics/StrokeData.cpp int remainder = distance % dashLength;