/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
D | BasicShapes.cpp | 53 void BasicShapeRectangle::path(Path& path, const FloatRect& boundingBox) in path() argument 58 floatValueForLength(m_x, boundingBox.width()) + boundingBox.x(), in path() 59 floatValueForLength(m_y, boundingBox.height()) + boundingBox.y(), in path() 60 floatValueForLength(m_width, boundingBox.width()), in path() 61 floatValueForLength(m_height, boundingBox.height()) in path() 64 floatValueForLength(m_cornerRadiusX, boundingBox.width()), in path() 65 floatValueForLength(m_cornerRadiusY, boundingBox.height()) in path() 85 void BasicShapeCircle::path(Path& path, const FloatRect& boundingBox) in path() argument 88 …float diagonal = sqrtf((boundingBox.width() * boundingBox.width() + boundingBox.height() * boundin… in path() 89 float centerX = floatValueForLength(m_centerX, boundingBox.width()); in path() [all …]
|
D | RenderStyle.cpp | 872 void RenderStyle::applyTransform(TransformationMatrix& transform, const FloatRect& boundingBox, App… in applyTransform() argument 877 float offsetX = transformOriginX().type() == Percent ? boundingBox.x() : 0; in applyTransform() 878 float offsetY = transformOriginY().type() == Percent ? boundingBox.y() : 0; in applyTransform() 881 … transform.translate3d(floatValueForLength(transformOriginX(), boundingBox.width(), 0) + offsetX, in applyTransform() 882 floatValueForLength(transformOriginY(), boundingBox.height(), 0) + offsetY, in applyTransform() 888 transformOperations[i]->apply(transform, boundingBox.size()); in applyTransform() 891 … transform.translate3d(-floatValueForLength(transformOriginX(), boundingBox.width(), 0) - offsetX, in applyTransform() 892 -floatValueForLength(transformOriginY(), boundingBox.height(), 0) - offsetY, in applyTransform()
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
D | display_options.js | 721 var boundingBox = {left: 0, right: 0, top: 0, bottom: 0}; variable 724 boundingBox.left = Math.min(boundingBox.left, display.x); 725 boundingBox.right = Math.max( 726 boundingBox.right, display.x + display.width); 727 boundingBox.top = Math.min(boundingBox.top, display.y); 728 boundingBox.bottom = Math.max( 729 boundingBox.bottom, display.y + display.height); 735 var areaWidth = boundingBox.right - boundingBox.left + maxWidth; 736 var areaHeight = boundingBox.bottom - boundingBox.top + maxHeight; 748 x: Math.floor((boundingBox.right + boundingBox.left) * [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | PolygonShape.h | 63 : m_vertex1(FloatPoint(polygon.boundingBox().x(), minLogicalIntervalTop) + offset) in OffsetPolygonEdge() 64 , m_vertex2(FloatPoint(polygon.boundingBox().maxX(), minLogicalIntervalTop) + offset) in OffsetPolygonEdge() 93 …BoundingBox() const OVERRIDE { return static_cast<LayoutRect>(shapeMarginBounds().boundingBox()); } in shapeMarginLogicalBoundingBox() 94 …oundingBox() const OVERRIDE { return static_cast<LayoutRect>(shapePaddingBounds().boundingBox()); } in shapePaddingLogicalBoundingBox()
|
D | PolygonShape.cpp | 453 const FloatRect boundingBox = polygon.boundingBox(); in firstIncludedIntervalLogicalTop() local 454 if (minIntervalWidth > boundingBox.width()) in firstIncludedIntervalLogicalTop() 457 float minY = std::max(boundingBox.y(), minIntervalTop); in firstIncludedIntervalLogicalTop() 460 if (maxY > boundingBox.maxY()) in firstIncludedIntervalLogicalTop() 464 polygon.overlappingEdges(minIntervalTop, boundingBox.maxY(), edges); in firstIncludedIntervalLogicalTop()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | ViewportAnchor.cpp | 61 if (node && area(node->boundingBox()) > maxNodeArea) { in findNonEmptyAnchorNode() 67 while (node && node->boundingBox().isEmpty()) in findNonEmptyAnchorNode() 102 m_anchorNodeBounds = node->boundingBox(); in setAnchor() 112 const LayoutRect currentNodeBounds = m_anchorNode->boundingBox(); in computeOrigin()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGRenderingContext.cpp | 277 FloatRect boundingBox = m_object->objectBoundingBox(); in bufferForeground() local 282 IntSize expandedBoundingBox = expandedIntSize(boundingBox.size()); in bufferForeground() 290 …if ((imageBuffer = m_paintInfo->context->createCompatibleBuffer(expandedIntSize(boundingBox.size()… in bufferForeground() 292 bufferedRenderingContext->translate(-boundingBox.x(), -boundingBox.y()); in bufferForeground() 300 m_paintInfo->context->drawImageBuffer(imageBuffer.get(), boundingBox); in bufferForeground()
|
D | RenderSVGImage.cpp | 132 FloatRect boundingBox = repaintRectInLocalCoordinates(); in paint() local 133 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) in paint() 154 paintOutline(childPaintInfo, IntRect(boundingBox)); in paint()
|
D | RenderSVGInlineText.cpp | 130 FloatRect boundingBox; in floatLinesBoundingBox() local 132 boundingBox.unite(box->calculateBoundaries()); in floatLinesBoundingBox() 133 return boundingBox; in floatLinesBoundingBox()
|
D | RenderSVGShape.cpp | 250 FloatRect boundingBox = repaintRectInLocalCoordinates(); in paint() local 251 if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) in paint() 300 paintOutline(childPaintInfo, IntRect(boundingBox)); in paint()
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | FloatQuad.h | 75 bool isEmpty() const { return boundingBox().isEmpty(); } in isEmpty() 107 FloatRect boundingBox() const; 110 return enclosingIntRect(boundingBox()); in enclosingBoundingBox()
|
D | FloatPolygon.h | 62 FloatRect boundingBox() const { return m_boundingBox; } in boundingBox() function
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | TouchDisambiguation.cpp | 71 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument 73 if (boundingBox.isEmpty()) in scoreTouchTarget() 79 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()
|
D | TouchAdjustment.cpp | 57 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); } in boundingBox() function in WebCore::TouchAdjustment::SubtargetGeometry 320 IntRect rect = subtarget.boundingBox(); in zoomableIntersectionQuotient() 343 IntRect rect = subtarget.boundingBox(); in hybridDistanceFunction() 391 IntRect contentBounds = geom.boundingBox(); in snapTo() 449 targetArea = it->boundingBox(); in findNodeWithLowestDistanceMetric() 459 targetArea = it->boundingBox(); in findNodeWithLowestDistanceMetric()
|
D | PrintContext.cpp | 298 IntRect boundingBox = renderer->absoluteBoundingBoxRect(); in outputLinkedDestinations() local 299 if (pageRect.intersects(boundingBox)) { in outputLinkedDestinations() 300 IntPoint point = boundingBox.minXMinYCorner(); in outputLinkedDestinations()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderNamedFlowThread.cpp | 622 LayoutRect boundingBox; in getRanges() local 624 boundingBox = toRenderInline(renderer)->linesBoundingBox(); in getRanges() 626 boundingBox = toRenderText(renderer)->linesBoundingBox(); in getRanges() 628 boundingBox = toRenderBox(renderer)->frameRect(); in getRanges() 630 boundingBox.move(toRenderBox(renderer)->relativePositionLogicalOffset()); in getRanges() 637 boundingBox.moveBy(logicalOffsetFromTop); in getRanges() 639 … LayoutUnit logicalTopForRenderer = region->logicalTopOfFlowThreadContentRect(boundingBox); in getRanges() 640 … LayoutUnit logicalBottomForRenderer = region->logicalBottomOfFlowThreadContentRect(boundingBox); in getRanges()
|
D | RenderInline.h | 157 IntRect boundingBox = linesBoundingBox(); in borderBoundingBox() local 158 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); in borderBoundingBox()
|
D | HitTestLocation.cpp | 69 m_boundingBox = enclosingIntRect(quad.boundingBox()); in HitTestLocation() 129 m_boundingBox = enclosingIntRect(m_transformedRect.boundingBox()); in move()
|
D | RenderGeometryMap.cpp | 162 result = transformState.lastPlanarQuad().boundingBox(); in mapToContainer() 174 …dResult = lastRenderer->localToContainerQuad(rect, container, m_mapCoordinatesFlags).boundingBox(); in mapToContainer() 178 …SSERT(enclosingIntRect(rendererMappedResult) == enclosingIntRect(FloatQuad(result).boundingBox())); in mapToContainer()
|
D | HitTestLocation.h | 67 IntRect boundingBox() const { return m_boundingBox; } in boundingBox() function
|
D | RenderGeometryMap.h | 91 return mapToContainer(rect, 0).boundingBox(); in absoluteRect()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | LinkHighlightTest.cpp | 221 …IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent.y - touchEvent.data.t… in TEST() local 222 …findGoodTouchTargets(boundingBox, webViewImpl->mainFrameImpl()->frame(), goodTargets, highlightNod… in TEST()
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | SimpleFontDataMac.mm | 372 FloatRect boundingBox; 373 …boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation(… 374 boundingBox.setY(-boundingBox.maxY()); 376 boundingBox.setWidth(boundingBox.width() + m_syntheticBoldOffset); 378 return boundingBox;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorOverlay.cpp | 153 …IntRect boundingBox = pixelSnappedIntRect(containingView->contentsToRootView(renderer->absoluteBou… in buildNodeQuads() local 154 boundingBox.move(mainView->scrollOffset()); in buildNodeQuads() 553 …IntRect boundingBox = pixelSnappedIntRect(containingView->contentsToRootView(renderer->absoluteBou… in drawNodeHighlight() local 555 …adjustForAbsoluteZoom(modelObject->pixelSnappedOffsetWidth(), modelObject) : boundingBox.width())); in drawNodeHighlight() 556 …justForAbsoluteZoom(modelObject->pixelSnappedOffsetHeight(), modelObject) : boundingBox.height())); in drawNodeHighlight()
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
D | AXSlider.cpp | 151 …->node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->boundingBox(); in elementRect()
|