width 557 Source/bindings/v8/SerializedScriptValue.cpp void writeImageData(uint32_t width, uint32_t height, const uint8_t* pixelData, uint32_t pixelDataLength) width 560 Source/bindings/v8/SerializedScriptValue.cpp doWriteUint32(width); width 1315 Source/bindings/v8/SerializedScriptValue.cpp m_writer.writeImageData(imageData->width(), imageData->height(), pixelArray->data(), pixelArray->length()); width 1927 Source/bindings/v8/SerializedScriptValue.cpp uint32_t width; width 1930 Source/bindings/v8/SerializedScriptValue.cpp if (!doReadUint32(&width)) width 1938 Source/bindings/v8/SerializedScriptValue.cpp RefPtrWillBeRawPtr<ImageData> imageData = ImageData::create(IntSize(width, height)); width 277 Source/core/accessibility/AXMediaControls.cpp if (!m_renderer->style()->width().value()) width 1247 Source/core/accessibility/AXNodeObject.cpp boundingBox.setSize(LayoutSize(parentRect.width(), LayoutUnit(std::min(10.0f, parentRect.height().toFloat())))); width 341 Source/core/accessibility/AXObject.cpp if (bounds.size().width() > bounds.size().height()) width 343 Source/core/accessibility/AXObject.cpp if (bounds.size().height() > bounds.size().width()) width 470 Source/core/accessibility/AXObject.cpp return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + rect.height() / 2)); width 755 Source/core/accessibility/AXObject.cpp 0, scrollVisibleRect.width()); width 720 Source/core/accessibility/AXRenderObject.cpp if (image->height() <= 1 || image->width() <= 1) width 726 Source/core/accessibility/AXRenderObject.cpp return imageSize.height() <= 1 || imageSize.width() <= 1; width 736 Source/core/accessibility/AXRenderObject.cpp if (canvas->height() <= 1 || canvas->width() <= 1) width 1273 Source/core/accessibility/AXRenderObject.cpp return IntPoint(bounds.x() + (bounds.width() / 2), bounds.y() - (bounds.height() / 2)); width 178 Source/core/accessibility/AXTable.cpp if (cell->width() < 1 || cell->height() < 1) width 40 Source/core/animation/AnimatableLengthSize.cpp AnimatableValue::interpolate(this->width(), lengthSize->width(), fraction), width 48 Source/core/animation/AnimatableLengthSize.cpp AnimatableValue::add(this->width(), lengthSize->width()), width 55 Source/core/animation/AnimatableLengthSize.cpp return width()->equals(lengthSize->width()) && height()->equals(lengthSize->height()); width 41 Source/core/animation/AnimatableLengthSize.h static PassRefPtrWillBeRawPtr<AnimatableLengthSize> create(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height) width 43 Source/core/animation/AnimatableLengthSize.h return adoptRefWillBeNoop(new AnimatableLengthSize(width, height)); width 45 Source/core/animation/AnimatableLengthSize.h const AnimatableValue* width() const { return m_width.get(); } width 55 Source/core/animation/AnimatableLengthSize.h AnimatableLengthSize(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height) width 56 Source/core/animation/AnimatableLengthSize.h : m_width(width) width 94 Source/core/animation/AnimatableValueTestHelper.cpp PrintTo(*(animLengthSize.width()), os); width 153 Source/core/animation/css/CSSAnimatableValueFactory.cpp createFromLength(lengthSize.width(), style), width 502 Source/core/animation/css/CSSAnimatableValueFactory.cpp return createFromLength(style.width(), style); width 299 Source/core/animation/css/CSSPropertyEquality.cpp return a.width() == b.width(); width 273 Source/core/css/BasicShapeFunctions.cpp float offset = floatValueForLength(centerX.length(), boxSize.width()); width 274 Source/core/css/BasicShapeFunctions.cpp p.setX(centerX.direction() == BasicShapeCenterCoordinate::TopLeft ? offset : boxSize.width() - offset); width 342 Source/core/css/CSSBasicShapes.cpp static inline void updateCornerRadiusWidthAndHeight(CSSPrimitiveValue* corner, String& width, String& height) width 348 Source/core/css/CSSBasicShapes.cpp width = radius->first() ? radius->first()->cssText() : String("0"); width 73 Source/core/css/CSSCanvasValue.cpp return IntSize(elt->width(), elt->height()); width 651 Source/core/css/CSSComputedStyleDeclaration.cpp if (radius.width().type() == Percent) width 652 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(cssValuePool().createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); width 654 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValueForLength(radius.width(), style)); width 674 Source/core/css/CSSComputedStyleDeclaration.cpp bool showHorizontalBottomLeft = style.borderTopRightRadius().width() != style.borderBottomLeftRadius().width(); width 675 Source/core/css/CSSComputedStyleDeclaration.cpp bool showHorizontalBottomRight = showHorizontalBottomLeft || (style.borderBottomRightRadius().width() != style.borderTopLeftRadius().width()); width 676 Source/core/css/CSSComputedStyleDeclaration.cpp bool showHorizontalTopRight = showHorizontalBottomRight || (style.borderTopRightRadius().width() != style.borderTopLeftRadius().width()); width 1324 Source/core/css/CSSComputedStyleDeclaration.cpp return zoomAdjustedPixelValueForLength(fillSize.size.width(), style); width 1327 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValueForLength(fillSize.size.width(), style)); width 2297 Source/core/css/CSSComputedStyleDeclaration.cpp return zoomAdjustedPixelValue(sizingBox(renderer).width(), *style); width 2299 Source/core/css/CSSComputedStyleDeclaration.cpp return zoomAdjustedPixelValueForLength(style->width(), *style); width 2525 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValue(minimumValueForLength(style->perspectiveOriginX(), box.width()), *style)); width 2574 Source/core/css/CSSComputedStyleDeclaration.cpp list->append(zoomAdjustedPixelValue(minimumValueForLength(style->transformOriginX(), box.width()), *style)); width 128 Source/core/css/CSSCrossfadeValue.cpp return IntSize(fromImageSize.width() * inversePercentage + toImageSize.width() * percentage, width 397 Source/core/css/CSSGradientValue.cpp int edgeDistance = isHorizontal ? size.width() : size.height(); width 416 Source/core/css/CSSGradientValue.cpp return size.width(); width 600 Source/core/css/CSSGradientValue.cpp secondPoint.set(size.width(), 0); width 611 Source/core/css/CSSGradientValue.cpp firstPoint.set(size.width(), 0); width 626 Source/core/css/CSSGradientValue.cpp float halfWidth = size.width() / 2; width 666 Source/core/css/CSSGradientValue.cpp secondPoint.setX(size.width() - firstPoint.x()); width 674 Source/core/css/CSSGradientValue.cpp secondPoint.setX(size.width() - firstPoint.x()); width 681 Source/core/css/CSSGradientValue.cpp float rise = size.width(); width 693 Source/core/css/CSSGradientValue.cpp firstPoint.setX(size.width() - secondPoint.x()); width 921 Source/core/css/CSSGradientValue.cpp FloatPoint topRight(size.width(), 0); width 927 Source/core/css/CSSGradientValue.cpp FloatPoint bottomRight(size.width(), size.height()); width 954 Source/core/css/CSSGradientValue.cpp FloatPoint topRight(size.width(), 0); width 960 Source/core/css/CSSGradientValue.cpp FloatPoint bottomRight(size.width(), size.height()); width 989 Source/core/css/CSSGradientValue.cpp return sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio))); width 999 Source/core/css/CSSGradientValue.cpp firstPoint.setX(size.width() / 2); width 1005 Source/core/css/CSSGradientValue.cpp secondPoint.setX(size.width() / 2); width 1018 Source/core/css/CSSGradientValue.cpp float width = size.width(); width 1020 Source/core/css/CSSGradientValue.cpp secondRadius = resolveRadius(m_endHorizontalSize.get(), conversionData, &width); width 1059 Source/core/css/CSSGradientValue.cpp float xDist = min(secondPoint.x(), size.width() - secondPoint.x()); width 1071 Source/core/css/CSSGradientValue.cpp float xDist = max(secondPoint.x(), size.width() - secondPoint.x()); width 1090 Source/core/css/CSSGradientValue.cpp float xDist = min(secondPoint.x(), size.width() - secondPoint.x()); width 1107 Source/core/css/CSSGradientValue.cpp float xDist = max(secondPoint.x(), size.width() - secondPoint.x()); width 396 Source/core/css/CSSPrimitiveValue.cpp m_value.pair = Pair::create(create(lengthSize.width()), create(lengthSize.height()), Pair::KeepIdenticalValues).leakRef(); width 174 Source/core/css/MediaQueryEvaluator.cpp static bool compareAspectRatioValue(CSSValue* value, int width, int height, MediaFeaturePrefix op) width 178 Source/core/css/MediaQueryEvaluator.cpp return compareValue(width * static_cast<int>(aspectRatio->denominatorValue()), height * static_cast<int>(aspectRatio->numeratorValue()), op); width 231 Source/core/css/MediaQueryEvaluator.cpp int width = mediaValues.viewportWidth(); width 236 Source/core/css/MediaQueryEvaluator.cpp if (width > height) // Square viewport is portrait. width 242 Source/core/css/MediaQueryEvaluator.cpp return height >= 0 && width >= 0; width 420 Source/core/css/MediaQueryEvaluator.cpp int width = mediaValues.viewportWidth(); width 424 Source/core/css/MediaQueryEvaluator.cpp && compareValue(width, length, op); width 427 Source/core/css/MediaQueryEvaluator.cpp return width; width 27 Source/core/css/MediaValues.cpp int viewportWidth = frame->view()->layoutSize(IncludeScrollbars).width(); width 41 Source/core/css/MediaValues.cpp int deviceWidth = static_cast<int>(screenRect(frame->view()).width()); width 125 Source/core/css/resolver/AnimatedStyleBuilder.cpp animatableValueToLength(animatableLengthSize->width(), state, range), width 75 Source/core/css/resolver/StyleAdjuster.cpp if (style->width().isIntrinsicOrAuto()) { width 317 Source/core/css/resolver/StyleAdjuster.cpp if (style->width().isFixed()) width 119 Source/core/css/resolver/StyleBuilderConverter.cpp float width = radiusWidth.value(); width 121 Source/core/css/resolver/StyleBuilderConverter.cpp ASSERT(width >= 0 && height >= 0); width 122 Source/core/css/resolver/StyleBuilderConverter.cpp if (width <= 0 || height <= 0) width 376 Source/core/css/resolver/StyleBuilderCustom.cpp static bool getPageSizeFromName(CSSPrimitiveValue* pageSizeName, CSSPrimitiveValue* pageOrientation, Length& width, Length& height) width 400 Source/core/css/resolver/StyleBuilderCustom.cpp width = a5Width; width 404 Source/core/css/resolver/StyleBuilderCustom.cpp width = a4Width; width 408 Source/core/css/resolver/StyleBuilderCustom.cpp width = a3Width; width 412 Source/core/css/resolver/StyleBuilderCustom.cpp width = b5Width; width 416 Source/core/css/resolver/StyleBuilderCustom.cpp width = b4Width; width 420 Source/core/css/resolver/StyleBuilderCustom.cpp width = letterWidth; width 424 Source/core/css/resolver/StyleBuilderCustom.cpp width = legalWidth; width 428 Source/core/css/resolver/StyleBuilderCustom.cpp width = ledgerWidth; width 438 Source/core/css/resolver/StyleBuilderCustom.cpp std::swap(width, height); width 455 Source/core/css/resolver/StyleBuilderCustom.cpp Length width; width 470 Source/core/css/resolver/StyleBuilderCustom.cpp width = first->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0)); width 475 Source/core/css/resolver/StyleBuilderCustom.cpp if (!getPageSizeFromName(first, second, width, height)) width 489 Source/core/css/resolver/StyleBuilderCustom.cpp width = height = primitiveValue->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0)); width 506 Source/core/css/resolver/StyleBuilderCustom.cpp if (!getPageSizeFromName(primitiveValue, 0, width, height)) width 516 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setPageSize(LengthSize(width, height)); width 1521 Source/core/css/resolver/StyleBuilderCustom.cpp float width = 0; width 1531 Source/core/css/resolver/StyleBuilderCustom.cpp width = CSSPrimitiveValue::create(result, CSSPrimitiveValue::CSS_EMS)->computeLength<float>(state.cssToLengthConversionData()); width 1535 Source/core/css/resolver/StyleBuilderCustom.cpp width = primitiveValue->computeLength<float>(state.cssToLengthConversionData()); width 1538 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setTextStrokeWidth(width); width 189 Source/core/css/resolver/ViewportStyleResolver.cpp float width = view ? view->width() : 0; width 192 Source/core/css/resolver/ViewportStyleResolver.cpp Length result = primitiveValue->convertToLength<AnyConversion>(CSSToLengthConversionData(documentStyle, documentStyle, width, height, 1.0f)); width 49 Source/core/dom/ClientRect.h float width() const { return m_rect.width(); } width 1964 Source/core/dom/Document.cpp int width = pageSize.width(); width 1970 Source/core/dom/Document.cpp if (width < height) width 1971 Source/core/dom/Document.cpp std::swap(width, height); width 1974 Source/core/dom/Document.cpp if (width > height) width 1975 Source/core/dom/Document.cpp std::swap(width, height); width 1979 Source/core/dom/Document.cpp ASSERT(size.width().isFixed()); width 1981 Source/core/dom/Document.cpp width = valueForLength(size.width(), 0); width 1988 Source/core/dom/Document.cpp pageSize = IntSize(width, height); width 1992 Source/core/dom/Document.cpp marginTop = style->marginTop().isAuto() ? marginTop : intValueForLength(style->marginTop(), width); width 1993 Source/core/dom/Document.cpp marginRight = style->marginRight().isAuto() ? marginRight : intValueForLength(style->marginRight(), width); width 1994 Source/core/dom/Document.cpp marginBottom = style->marginBottom().isAuto() ? marginBottom : intValueForLength(style->marginBottom(), width); width 1995 Source/core/dom/Document.cpp marginLeft = style->marginLeft().isAuto() ? marginLeft : intValueForLength(style->marginLeft(), width); width 4755 Source/core/dom/Document.cpp void Document::getCSSCanvasContext(const String& type, const String& name, int width, int height, bool& is2d, RefPtr<CanvasRenderingContext2D>& context2d, bool& is3d, RefPtr<WebGLRenderingContext>& context3d) width 4758 Source/core/dom/Document.cpp element.setSize(IntSize(width, height)); width 857 Source/core/dom/Document.h void getCSSCanvasContext(const String& type, const String& name, int width, int height, bool&, RefPtr<CanvasRenderingContext2D>&, bool&, RefPtr<WebGLRenderingContext>&); width 620 Source/core/dom/Element.cpp return adjustForAbsoluteZoom(view->layoutSize().width(), renderView); width 829 Source/core/dom/Position.cpp return o->style()->isHorizontalWritingMode() ? rect.height() : rect.width(); width 58 Source/core/dom/ViewportDescription.cpp return initialViewportSize.width() * length.getFloatValue() / 100.0f; width 64 Source/core/dom/ViewportDescription.cpp return initialViewportSize.width(); width 129 Source/core/dom/ViewportDescription.cpp float extendWidth = initialViewportSize.width() / extendZoom; width 147 Source/core/dom/ViewportDescription.cpp resultWidth = compareIgnoringAuto(resultMinWidth, compareIgnoringAuto(resultMaxWidth, initialViewportSize.width(), min), max); width 156 Source/core/dom/ViewportDescription.cpp resultWidth = initialViewportSize.width(); width 158 Source/core/dom/ViewportDescription.cpp resultWidth = resultHeight * (initialViewportSize.width() / initialViewportSize.height()); width 163 Source/core/dom/ViewportDescription.cpp if (!initialViewportSize.width()) width 166 Source/core/dom/ViewportDescription.cpp resultHeight = resultWidth * initialViewportSize.height() / initialViewportSize.width(); width 172 Source/core/dom/ViewportDescription.cpp resultZoom = initialViewportSize.width() / resultWidth; width 1074 Source/core/editing/Editor.cpp startCaretRect.width() + extraWidthToEndOfLine, width 276 Source/core/fetch/ImageResource.cpp LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); width 279 Source/core/fetch/ImageResource.cpp ASSERT(multiplier != 1.0f || (imageSize.width().fraction() == 0.0f && imageSize.height().fraction() == 0.0f)); width 91 Source/core/fetch/ImageResourceTest.cpp ASSERT_EQ(cachedImage->image()->width(), 1); width 117 Source/core/fetch/ResourceLoadPriorityOptimizer.cpp screenArea += static_cast<uint32_t>(screenRect.width() * screenRect.height()); width 268 Source/core/frame/DOMWindow.cpp ASSERT(std::isfinite(screen.width())); width 272 Source/core/frame/DOMWindow.cpp ASSERT(std::isfinite(window.width())); width 280 Source/core/frame/DOMWindow.cpp if (!std::isnan(pendingChanges.width())) width 281 Source/core/frame/DOMWindow.cpp window.setWidth(pendingChanges.width()); width 287 Source/core/frame/DOMWindow.cpp if (window.width()) width 288 Source/core/frame/DOMWindow.cpp window.setWidth(min(max(minimumSize.width(), window.width()), screen.width())); width 293 Source/core/frame/DOMWindow.cpp window.setX(max(screen.x(), min(window.x(), screen.maxX() - window.width()))); width 1089 Source/core/frame/DOMWindow.cpp return lroundf(host->chrome().windowRect().width() * host->deviceScaleFactor()); width 1090 Source/core/frame/DOMWindow.cpp return static_cast<int>(host->chrome().windowRect().width()); width 1122 Source/core/frame/DOMWindow.cpp return adjustForAbsoluteZoom(view->visibleContentRect(IncludeScrollbars).width(), m_frame->pageZoomFactor()); width 1463 Source/core/frame/DOMWindow.cpp void DOMWindow::resizeTo(float width, float height) const width 1473 Source/core/frame/DOMWindow.cpp FloatSize dest = FloatSize(width, height); width 244 Source/core/frame/DOMWindow.h void resizeTo(float width, float height) const; width 371 Source/core/frame/FrameView.cpp if (newRect.width() != oldRect.width()) { width 396 Source/core/frame/FrameView.cpp viewportConstrainedVisibleContentSizeChanged(newRect.width() != oldRect.width(), newRect.height() != oldRect.height()); width 491 Source/core/frame/FrameView.cpp IntPoint maxScrollExtent(contentsSize().width() - scrollOrigin().x(), contentsSize().height() - scrollOrigin().y()); width 946 Source/core/frame/FrameView.cpp m_size = LayoutSize(layoutSize().width(), layoutSize().height()); width 955 Source/core/frame/FrameView.cpp if (!renderView()->style()->isHorizontalWritingMode() || oldSize.width() != m_size.width()) width 996 Source/core/frame/FrameView.cpp updateOverflowStatus(layoutSize().width() < contentsWidth(), layoutSize().height() < contentsHeight()); width 1362 Source/core/frame/FrameView.cpp if (style->width().isFixed() && (style->left().isAuto() || style->right().isAuto())) width 1629 Source/core/frame/FrameView.cpp int centeringOffsetX = (rect.width() - bounds.width()) / 2; width 2206 Source/core/frame/FrameView.cpp resize(frameRect().width(), m_minAutoSize.height()); width 2220 Source/core/frame/FrameView.cpp int width = renderView->minPreferredLogicalWidth(); width 2227 Source/core/frame/FrameView.cpp IntSize newSize(width, height); width 2233 Source/core/frame/FrameView.cpp if (newSize.width() > m_maxAutoSize.width()) { width 2247 Source/core/frame/FrameView.cpp newSize.setWidth(newSize.width() + localVerticalScrollbar->width()); width 2258 Source/core/frame/FrameView.cpp if (newSize.width() > m_maxAutoSize.width()) { width 2259 Source/core/frame/FrameView.cpp newSize.setWidth(m_maxAutoSize.width()); width 2273 Source/core/frame/FrameView.cpp if (m_didRunAutosize && size.height() <= m_maxAutoSize.height() && size.width() <= m_maxAutoSize.width() width 2274 Source/core/frame/FrameView.cpp && !m_frame->document()->loadEventFinished() && (newSize.height() < size.height() || newSize.width() < size.width())) width 2277 Source/core/frame/FrameView.cpp resize(newSize.width(), newSize.height()); width 2459 Source/core/frame/FrameView.cpp if ((contentsSize.height() <= visibleContentSize.height() && contentsSize.width() <= visibleContentSize.width())) width 2893 Source/core/frame/FrameView.cpp ASSERT(minSize.width() <= maxSize.width()); width 2927 Source/core/frame/FrameView.cpp float pageLogicalWidth = renderView->style()->isHorizontalWritingMode() ? pageSize.width() : pageSize.height(); width 2928 Source/core/frame/FrameView.cpp float pageLogicalHeight = renderView->style()->isHorizontalWritingMode() ? pageSize.height() : pageSize.width(); width 2943 Source/core/frame/FrameView.cpp LayoutUnit docLogicalWidth = horizontalWritingMode ? documentRect.width() : documentRect.height(); width 2945 Source/core/frame/FrameView.cpp FloatSize expectedPageSize(std::min<float>(documentRect.width().toFloat(), pageSize.width() * maximumShrinkFactor), std::min<float>(documentRect.height().toFloat(), pageSize.height() * maximumShrinkFactor)); width 2946 Source/core/frame/FrameView.cpp FloatSize maxPageSize = m_frame->resizePageRectsKeepingRatio(FloatSize(originalPageSize.width(), originalPageSize.height()), expectedPageSize); width 2947 Source/core/frame/FrameView.cpp pageLogicalWidth = horizontalWritingMode ? maxPageSize.width() : maxPageSize.height(); width 2948 Source/core/frame/FrameView.cpp pageLogicalHeight = horizontalWritingMode ? maxPageSize.height() : maxPageSize.width(); width 2958 Source/core/frame/FrameView.cpp LayoutUnit docLogicalHeight = horizontalWritingMode ? updatedDocumentRect.height() : updatedDocumentRect.width(); width 3144 Source/core/frame/FrameView.cpp ts << " (rect " << m_trackedRepaintRects[i].x() << " " << m_trackedRepaintRects[i].y() << " " << m_trackedRepaintRects[i].width() << " " << m_trackedRepaintRects[i].height() << ")\n"; width 539 Source/core/frame/FrameView.h m_visuallyNonEmptyPixelCount += size.width() * size.height(); width 25 Source/core/frame/ImageBitmap.cpp max(rect.width(), -rect.width()), width 32 Source/core/frame/ImageBitmap.cpp if (!intersectRect.width() || !intersectRect.height()) width 45 Source/core/frame/ImageBitmap.cpp IntRect srcRect = intersection(cropRect, IntRect(0, 0, image->width(), image->height())); width 49 Source/core/frame/ImageBitmap.cpp if (!srcRect.width() || !srcRect.height()) width 105 Source/core/frame/ImageBitmap.cpp if (srcRect.width() > 0 && srcRect.height() > 0) width 197 Source/core/frame/ImageBitmap.cpp ASSERT((m_imageElement || m_bitmap || !m_bitmapRect.width() || !m_bitmapRect.height()) && (!m_imageElement || !m_bitmap)); width 215 Source/core/frame/ImageBitmap.cpp newDstRect.scale(dstRect->width() / srcRect->width() * intersectRect.width() / m_bitmapRect.width(), width 224 Source/core/frame/ImageBitmap.cpp return FloatSize(width(), height()); width 38 Source/core/frame/ImageBitmap.h int width() const { return m_cropRect.width(); } width 95 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageElement.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); width 96 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width() / 2, m_bitmap.height() / 2)); width 97 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width() / 2, -m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); width 98 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width(), -m_bitmap.height(), m_bitmap.width(), m_bitmap.height())); width 149 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageInteriorCrop.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); width 151 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageNoCrop.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); width 152 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop2 = ImageBitmap::create(imageInteriorCrop.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); width 153 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageExteriorCrop.get(), IntRect(-m_bitmap.width() / 2, -m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); width 154 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageOutsideCrop.get(), IntRect(-m_bitmap.width(), -m_bitmap.height(), m_bitmap.width(), m_bitmap.height())); width 191 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmap = ImageBitmap::create(image.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); width 215 Source/core/frame/ImageBitmapTest.cpp RefPtrWillBeRawPtr<ImageBitmap> imageBitmapFromCanvas = ImageBitmap::create(canvasElement.get(), IntRect(0, 0, canvasElement->width(), canvasElement->height())); width 205 Source/core/frame/LocalFrame.cpp ASSERT(fabs(originalSize.width()) > numeric_limits<float>::epsilon()); width 206 Source/core/frame/LocalFrame.cpp float ratio = originalSize.height() / originalSize.width(); width 207 Source/core/frame/LocalFrame.cpp resultSize.setWidth(floorf(expectedSize.width())); width 208 Source/core/frame/LocalFrame.cpp resultSize.setHeight(floorf(resultSize.width() * ratio)); width 211 Source/core/frame/LocalFrame.cpp float ratio = originalSize.width() / originalSize.height(); width 551 Source/core/frame/LocalFrame.cpp paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); width 580 Source/core/frame/LocalFrame.cpp paintingRect.setWidth(paintingRect.width() * deviceScaleFactor); width 212 Source/core/frame/PinchViewport.cpp int xPosition = isHorizontal ? 0 : m_innerViewportContainerLayer->size().width() - overlayScrollbarThickness; width 214 Source/core/frame/PinchViewport.cpp int width = isHorizontal ? m_innerViewportContainerLayer->size().width() - overlayScrollbarThickness : overlayScrollbarThickness; width 219 Source/core/frame/PinchViewport.cpp scrollbarGraphicsLayer->setSize(IntSize(width, height)); width 220 Source/core/frame/PinchViewport.cpp scrollbarGraphicsLayer->setContentsRect(IntRect(0, 0, width, height)); width 253 Source/core/frame/PinchViewport.cpp return (orientation == HorizontalScrollbar) ? scrollDimensions.width() : scrollDimensions.height(); width 84 Source/core/frame/PinchViewport.h virtual int visibleWidth() const OVERRIDE { return visibleRect().width(); }; width 65 Source/core/frame/Screen.cpp return lroundf(screenRect(m_frame->view()).width() * host->deviceScaleFactor()); width 66 Source/core/frame/Screen.cpp return static_cast<unsigned>(screenRect(m_frame->view()).width()); width 119 Source/core/frame/Screen.cpp return lroundf(screenAvailableRect(m_frame->view()).width() * host->deviceScaleFactor()); width 120 Source/core/frame/Screen.cpp return static_cast<unsigned>(screenAvailableRect(m_frame->view()).width()); width 55 Source/core/frame/Screen.h unsigned width() const; width 50 Source/core/frame/SmartClip.cpp if (rect.width() > 0 && !result.width()) width 84 Source/core/frame/SmartClip.cpp result.append(String::number(m_rect.width())); width 130 Source/core/html/HTMLAreaElement.cpp LayoutUnit width = size.width(); width 149 Source/core/html/HTMLAreaElement.cpp path.moveTo(FloatPoint(minimumValueForLength(m_coords[0], width).toFloat(), minimumValueForLength(m_coords[1], height).toFloat())); width 151 Source/core/html/HTMLAreaElement.cpp path.addLineTo(FloatPoint(minimumValueForLength(m_coords[i * 2], width).toFloat(), minimumValueForLength(m_coords[i * 2 + 1], height).toFloat())); width 158 Source/core/html/HTMLAreaElement.cpp float r = min(minimumValueForLength(radius, width).toFloat(), minimumValueForLength(radius, height).toFloat()); width 159 Source/core/html/HTMLAreaElement.cpp path.addEllipse(FloatRect(minimumValueForLength(m_coords[0], width).toFloat() - r, minimumValueForLength(m_coords[1], height).toFloat() - r, 2 * r, 2 * r)); width 164 Source/core/html/HTMLAreaElement.cpp float x0 = minimumValueForLength(m_coords[0], width).toFloat(); width 166 Source/core/html/HTMLAreaElement.cpp float x1 = minimumValueForLength(m_coords[2], width).toFloat(); width 172 Source/core/html/HTMLAreaElement.cpp path.addRect(FloatRect(0, 0, width.toFloat(), height.toFloat())); width 215 Source/core/html/HTMLCanvasElement.cpp FloatRect r = mapRect(rect, FloatRect(0, 0, size().width(), size().height()), destRect); width 273 Source/core/html/HTMLCanvasElement.cpp toWebGLRenderingContext(m_context.get())->reshape(width(), height()); width 429 Source/core/html/HTMLCanvasElement.cpp if (size.width() * size.height() < settings->minimumAccelerated2dCanvasSize()) width 473 Source/core/html/HTMLCanvasElement.cpp if (deviceSize.width() * deviceSize.height() > MaxCanvasArea) width 476 Source/core/html/HTMLCanvasElement.cpp if (deviceSize.width() > MaxSkiaDim || deviceSize.height() > MaxSkiaDim) width 479 Source/core/html/HTMLCanvasElement.cpp if (!deviceSize.width() || !deviceSize.height()) width 541 Source/core/html/HTMLCanvasElement.cpp checkedExternallyAllocatedMemory *= width(); width 606 Source/core/html/HTMLCanvasElement.cpp toCanvasRenderingContext2D(m_context.get())->clearRect(0, 0, width(), height()); width 659 Source/core/html/HTMLCanvasElement.cpp if (!width() || !height()) { width 690 Source/core/html/HTMLCanvasElement.cpp return FloatSize(width(), height()); width 75 Source/core/html/HTMLCanvasElement.h int width() const { return size().width(); } width 90 Source/core/html/HTMLCanvasElement.h setWidth(newSize.width()); width 214 Source/core/html/HTMLFrameElementBase.cpp return renderBox()->width(); width 39 Source/core/html/HTMLFrameElementBase.h int width(); width 78 Source/core/html/HTMLImageElement.cpp PassRefPtr<HTMLImageElement> HTMLImageElement::createForJSConstructor(Document& document, int width, int height) width 81 Source/core/html/HTMLImageElement.cpp if (width) width 82 Source/core/html/HTMLImageElement.cpp image->setWidth(width); width 255 Source/core/html/HTMLImageElement.cpp int width = getAttribute(widthAttr).toInt(&ok); width 257 Source/core/html/HTMLImageElement.cpp return width; width 261 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).width(); width 301 Source/core/html/HTMLImageElement.cpp return m_imageLoader.image()->imageSizeForRenderer(renderer(), 1.0f).width(); width 41 Source/core/html/HTMLImageElement.h static PassRefPtr<HTMLImageElement> createForJSConstructor(Document&, int width, int height); width 45 Source/core/html/HTMLImageElement.h int width(bool ignorePendingStylesheets = false); width 461 Source/core/html/HTMLInputElement.cpp if (const Attribute* width = getAttributeItem(widthAttr)) width 462 Source/core/html/HTMLInputElement.cpp attributeChanged(widthAttr, width->value()); width 1766 Source/core/html/HTMLInputElement.cpp return m_inputType->width(); width 1774 Source/core/html/HTMLInputElement.cpp void HTMLInputElement::setWidth(unsigned width) width 1776 Source/core/html/HTMLInputElement.cpp setUnsignedIntegralAttribute(widthAttr, width); width 251 Source/core/html/HTMLInputElement.h unsigned width() const; width 63 Source/core/html/HTMLLinkElement.cpp int width = 0; width 75 Source/core/html/HTMLLinkElement.cpp width = charactersToInt(value + start, i - start); width 89 Source/core/html/HTMLLinkElement.cpp iconSizes.append(IntSize(width, height)); width 112 Source/core/html/HTMLLinkElement.cpp iconSizes.append(IntSize(width, height)); width 23 Source/core/html/HTMLLinkElementSizesAttributeTest.cpp EXPECT_EQ(32, sizes[0].width()); width 31 Source/core/html/HTMLLinkElementSizesAttributeTest.cpp EXPECT_EQ(32, sizes[0].width()); width 39 Source/core/html/HTMLLinkElementSizesAttributeTest.cpp EXPECT_EQ(32, sizes[0].width()); width 41 Source/core/html/HTMLLinkElementSizesAttributeTest.cpp EXPECT_EQ(16, sizes[1].width()); width 43 Source/core/html/HTMLLinkElementSizesAttributeTest.cpp EXPECT_EQ(128, sizes[2].width()); width 300 Source/core/html/HTMLMetaElement-in.cpp const Length& width = parseViewportValueAsLength(keyString, valueString); width 301 Source/core/html/HTMLMetaElement-in.cpp if (width.isAuto()) width 304 Source/core/html/HTMLMetaElement-in.cpp description->maxWidth = width; width 77 Source/core/html/HTMLTableColElement.cpp int newWidth = width().toInt(); width 78 Source/core/html/HTMLTableColElement.cpp if (newWidth != col->width()) width 40 Source/core/html/HTMLTableColElement.h const AtomicString& width() const; width 139 Source/core/html/HTMLVideoElement.cpp return player()->naturalSize().width(); width 41 Source/core/html/ImageData.cpp dataSize *= size.width(); width 52 Source/core/html/ImageData.cpp dataSize *= size.width(); width 64 Source/core/html/ImageData.cpp PassRefPtrWillBeRawPtr<ImageData> ImageData::create(unsigned width, unsigned height, ExceptionState& exceptionState) width 70 Source/core/html/ImageData.cpp if (!width || !height) { width 71 Source/core/html/ImageData.cpp exceptionState.throwDOMException(IndexSizeError, String::format("The source %s is zero or not a number.", width ? "height" : "width")); width 76 Source/core/html/ImageData.cpp dataSize *= width; width 83 Source/core/html/ImageData.cpp RefPtrWillBeRawPtr<ImageData> imageData = adoptRefWillBeNoop(new ImageData(IntSize(width, height))); width 88 Source/core/html/ImageData.cpp PassRefPtrWillBeRawPtr<ImageData> ImageData::create(Uint8ClampedArray* data, unsigned width, unsigned height, ExceptionState& exceptionState) width 98 Source/core/html/ImageData.cpp if (!width) { width 113 Source/core/html/ImageData.cpp if (length % width) { width 118 Source/core/html/ImageData.cpp height = length / width; width 119 Source/core/html/ImageData.cpp } else if (height != length / width) { width 124 Source/core/html/ImageData.cpp return adoptRefWillBeNoop(new ImageData(IntSize(width, height), data)); width 129 Source/core/html/ImageData.cpp , m_data(Uint8ClampedArray::createUninitialized(size.width() * size.height() * 4)) width 138 Source/core/html/ImageData.cpp ASSERT_WITH_SECURITY_IMPLICATION(static_cast<unsigned>(size.width() * size.height() * 4) <= m_data->length()); width 47 Source/core/html/ImageData.h static PassRefPtrWillBeRawPtr<ImageData> create(unsigned width, unsigned height, ExceptionState&); width 48 Source/core/html/ImageData.h static PassRefPtrWillBeRawPtr<ImageData> create(Uint8ClampedArray*, unsigned width, unsigned height, ExceptionState&); width 51 Source/core/html/ImageData.h int width() const { return m_size.width(); } width 114 Source/core/html/ImageDocument.cpp result.append(String::number(size.width())); width 148 Source/core/html/ImageDocument.cpp if (size.width()) { width 227 Source/core/html/ImageDocument.cpp LayoutSize windowSize = LayoutSize(view->width(), view->height()); width 229 Source/core/html/ImageDocument.cpp float widthScale = windowSize.width().toFloat() / imageSize.width().toFloat(); width 243 Source/core/html/ImageDocument.cpp m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); width 265 Source/core/html/ImageDocument.cpp int scrollX = static_cast<int>(x / scale - (float)frame()->view()->width() / 2); width 296 Source/core/html/ImageDocument.cpp m_imageElement->setWidth(imageSize.width()); width 317 Source/core/html/ImageDocument.cpp LayoutSize windowSize = LayoutSize(view->width(), view->height()); width 319 Source/core/html/ImageDocument.cpp return imageSize.width() <= windowSize.width() && imageSize.height() <= windowSize.height(); width 39 Source/core/html/TextMetrics.h float width() const { return m_width; } width 52 Source/core/html/canvas/CanvasPathMethods.cpp if (boundRect.width() || boundRect.height()) width 306 Source/core/html/canvas/CanvasPathMethods.cpp void CanvasPathMethods::rect(float x, float y, float width, float height) width 311 Source/core/html/canvas/CanvasPathMethods.cpp if (!std::isfinite(x) || !std::isfinite(y) || !std::isfinite(width) || !std::isfinite(height)) width 314 Source/core/html/canvas/CanvasPathMethods.cpp if (!width && !height) { width 319 Source/core/html/canvas/CanvasPathMethods.cpp m_path.addRect(FloatRect(x, y, width, height)); width 51 Source/core/html/canvas/CanvasPathMethods.h void rect(float x, float y, float width, float height); width 72 Source/core/html/canvas/CanvasPathMethods.h static void rect(CanvasPathMethods& object, float x, float y, float width, float height) width 73 Source/core/html/canvas/CanvasPathMethods.h { object.rect(x, y, width, height); } width 446 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setLineWidth(float width) width 448 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!(std::isfinite(width) && width > 0)) width 450 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (state().m_lineWidth == width) width 453 Source/core/html/canvas/CanvasRenderingContext2D.cpp modifiableState().m_lineWidth = width; width 457 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->setStrokeThickness(width); width 521 Source/core/html/canvas/CanvasRenderingContext2D.cpp return state().m_shadowOffset.width(); width 528 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (state().m_shadowOffset.width() == x) width 945 Source/core/html/canvas/CanvasRenderingContext2D.cpp static bool validateRectForCanvas(float& x, float& y, float& width, float& height) width 947 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!std::isfinite(x) | !std::isfinite(y) | !std::isfinite(width) | !std::isfinite(height)) width 950 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!width && !height) width 953 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (width < 0) { width 954 Source/core/html/canvas/CanvasRenderingContext2D.cpp width = -width; width 955 Source/core/html/canvas/CanvasRenderingContext2D.cpp x -= width; width 1259 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::clearRect(float x, float y, float width, float height) width 1261 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!validateRectForCanvas(x, y, width, height)) width 1268 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); width 1301 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::fillRect(float x, float y, float width, float height) width 1303 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!validateRectForCanvas(x, y, width, height)) width 1322 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); width 1342 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::strokeRect(float x, float y, float width, float height) width 1344 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!validateRectForCanvas(x, y, width, height)) width 1361 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); width 1372 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur) width 1374 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, Color::transparent); width 1377 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, const String& color) width 1382 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, rgba); width 1385 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float grayLevel) width 1387 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, makeRGBA32FromFloats(grayLevel, grayLevel, grayLevel, 1)); width 1390 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, const String& color, float alpha) width 1395 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, colorWithOverrideAlpha(rgba, alpha)); width 1398 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float grayLevel, float alpha) width 1400 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, makeRGBA32FromFloats(grayLevel, grayLevel, grayLevel, alpha)); width 1403 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float r, float g, float b, float a) width 1405 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, makeRGBA32FromFloats(r, g, b, a)); width 1408 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float c, float m, float y, float k, float a) width 1410 Source/core/html/canvas/CanvasRenderingContext2D.cpp setShadow(FloatSize(width, height), blur, makeRGBAFromCMYKA(c, m, y, k, a)); width 1455 Source/core/html/canvas/CanvasRenderingContext2D.cpp max(rect.width(), -rect.width()), width 1465 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatSize scale(dstRect->size().width() / srcRect->size().width(), dstRect->size().height() / srcRect->size().height()); width 1467 Source/core/html/canvas/CanvasRenderingContext2D.cpp scaledSrcLocation.scale(scale.width(), scale.height()); width 1474 Source/core/html/canvas/CanvasRenderingContext2D.cpp dstRect->scale(scale.width(), scale.height()); width 1493 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawImage(imageSource, x, y, destRectSize.width(), destRectSize.height(), exceptionState); width 1497 Source/core/html/canvas/CanvasRenderingContext2D.cpp float x, float y, float width, float height, ExceptionState& exceptionState) width 1502 Source/core/html/canvas/CanvasRenderingContext2D.cpp drawImage(imageSource, 0, 0, sourceRectSize.width(), sourceRectSize.height(), x, y, width, height, exceptionState); width 1530 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!image || !image->width() || !image->height()) width 1594 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height())); width 1625 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect canvasRect(0, 0, canvas()->width(), canvas()->height()); width 1740 Source/core/html/canvas/CanvasRenderingContext2D.cpp exceptionState.throwDOMException(InvalidStateError, String::format("The canvas %s is 0.", imageSource->sourceSize().width() ? "height" : "width")); width 1852 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (size.width() < 1) width 1888 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (logicalRect.width() < 1) width 1913 Source/core/html/canvas/CanvasRenderingContext2D.cpp putImageData(data, dx, dy, 0, 0, data->width(), data->height(), exceptionState); width 1952 Source/core/html/canvas/CanvasRenderingContext2D.cpp clipRect.intersect(IntRect(0, 0, data->width(), data->height())); width 1962 Source/core/html/canvas/CanvasRenderingContext2D.cpp buffer->putByteArray(Unmultiplied, data->data(), IntSize(data->width(), data->height()), sourceRect, IntPoint(destOffset)); width 2143 Source/core/html/canvas/CanvasRenderingContext2D.cpp metrics->setWidth(font.width(textRun)); width 2228 Source/core/html/canvas/CanvasRenderingContext2D.cpp float fontWidth = font.width(TextRun(normalizedText, 0, 0, TextRun::AllowTrailingExpansion, direction, override)); width 2231 Source/core/html/canvas/CanvasRenderingContext2D.cpp float width = useMaxWidth ? maxWidth : fontWidth; width 2241 Source/core/html/canvas/CanvasRenderingContext2D.cpp location.setX(location.x() - width / 2); width 2244 Source/core/html/canvas/CanvasRenderingContext2D.cpp location.setX(location.x() - width); width 2254 Source/core/html/canvas/CanvasRenderingContext2D.cpp width + fontMetrics.height(), width 2268 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->scale(FloatSize((fontWidth > 0 ? (width / fontWidth) : 0), 1)); width 172 Source/core/html/canvas/CanvasRenderingContext2D.h void clearRect(float x, float y, float width, float height); width 173 Source/core/html/canvas/CanvasRenderingContext2D.h void fillRect(float x, float y, float width, float height); width 174 Source/core/html/canvas/CanvasRenderingContext2D.h void strokeRect(float x, float y, float width, float height); width 176 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur); width 177 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, const String& color); width 178 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, float grayLevel); width 179 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, const String& color, float alpha); width 180 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, float grayLevel, float alpha); width 181 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, float r, float g, float b, float a); width 182 Source/core/html/canvas/CanvasRenderingContext2D.h void setShadow(float width, float height, float blur, float c, float m, float y, float k, float a); width 187 Source/core/html/canvas/CanvasRenderingContext2D.h void drawImage(CanvasImageSource*, float x, float y, float width, float height, ExceptionState&); width 202 Source/core/html/canvas/CanvasRenderingContext2D.h PassRefPtrWillBeRawPtr<ImageData> createImageData(float width, float height, ExceptionState&) const; width 48 Source/core/html/canvas/WebGLFramebuffer.cpp virtual GLsizei width() const OVERRIDE; width 76 Source/core/html/canvas/WebGLFramebuffer.cpp return m_renderbuffer->width(); width 148 Source/core/html/canvas/WebGLFramebuffer.cpp virtual GLsizei width() const OVERRIDE; width 395 Source/core/html/canvas/WebGLFramebuffer.cpp if (!attachedObject->width() || !attachedObject->height()) { width 466 Source/core/html/canvas/WebGLFramebuffer.cpp return attachment->width(); width 493 Source/core/html/canvas/WebGLFramebuffer.cpp GLsizei width = 0, height = 0; width 521 Source/core/html/canvas/WebGLFramebuffer.cpp width = attachment->width(); width 524 Source/core/html/canvas/WebGLFramebuffer.cpp if (width != attachment->width() || height != attachment->height()) { width 535 Source/core/html/canvas/WebGLFramebuffer.cpp if (!width || !height) { width 46 Source/core/html/canvas/WebGLFramebuffer.h virtual GLsizei width() const = 0; width 47 Source/core/html/canvas/WebGLRenderbuffer.h void setSize(GLsizei width, GLsizei height) width 49 Source/core/html/canvas/WebGLRenderbuffer.h m_width = width; width 52 Source/core/html/canvas/WebGLRenderbuffer.h GLsizei width() const { return m_width; } width 871 Source/core/html/canvas/WebGLRenderingContextBase.cpp int width, height; width 872 Source/core/html/canvas/WebGLRenderingContextBase.cpp RefPtr<Uint8ClampedArray> imageDataPixels = m_drawingBuffer->paintRenderingResultsToImageData(width, height); width 881 Source/core/html/canvas/WebGLRenderingContextBase.cpp return ImageData::create(IntSize(width, height), imageDataPixels); width 884 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::reshape(int width, int height) width 897 Source/core/html/canvas/WebGLRenderingContextBase.cpp width = clamp(width, 1, maxWidth); width 909 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_drawingBuffer->reset(IntSize(width, height)); width 920 Source/core/html/canvas/WebGLRenderingContextBase.cpp return m_drawingBuffer->size().width(); width 1335 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, ArrayBufferView* data) width 1350 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateCompressedTexDimensions("compressedTexImage2D", NotTexSubImage2D, target, level, width, height, internalformat)) width 1352 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateCompressedTexFuncData("compressedTexImage2D", width, height, internalformat, data)) width 1359 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (level && WebGLTexture::isNPOT(width, height)) { width 1364 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->compressedTexImage2D(target, level, internalformat, width, height, width 1366 Source/core/html/canvas/WebGLRenderingContextBase.cpp tex->setLevelInfo(target, level, internalformat, width, height, GL_UNSIGNED_BYTE); width 1369 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, ArrayBufferView* data) width 1379 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateCompressedTexFuncData("compressedTexSubImage2D", width, height, format, data)) width 1391 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateCompressedTexSubDimensions("compressedTexSubImage2D", target, level, xoffset, yoffset, width, height, format, tex)) width 1395 Source/core/html/canvas/WebGLRenderingContextBase.cpp width, height, format, data->byteLength(), data->baseAddress()); width 1407 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) width 1411 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateTexFuncParameters("copyTexImage2D", NotTexSubImage2D, target, level, internalformat, width, height, border, internalformat, GL_UNSIGNED_BYTE)) width 1422 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!isGLES2NPOTStrict() && level && WebGLTexture::isNPOT(width, height)) { width 1433 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->copyTexImage2D(target, level, internalformat, x, y, width, height, border); width 1435 Source/core/html/canvas/WebGLRenderingContextBase.cpp tex->setLevelInfo(target, level, internalformat, width, height, GL_UNSIGNED_BYTE); width 1438 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) width 1447 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateSize("copyTexSubImage2D", xoffset, yoffset) || !validateSize("copyTexSubImage2D", width, height)) width 1451 Source/core/html/canvas/WebGLRenderingContextBase.cpp maxX += width; width 1476 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); width 2945 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::lineWidth(GLfloat width) width 2949 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->lineWidth(width); width 3008 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView* pixels) width 3056 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, m_packAlignment, &totalBytesRequired, &padding); width 3071 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->readPixels(x, y, width, height, format, type, data); width 3080 Source/core/html/canvas/WebGLRenderingContextBase.cpp for (GLsizei ix = 0; ix < width; ++ix) { width 3090 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) width 3102 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateSize("renderbufferStorage", width, height)) width 3110 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->renderbufferStorage(target, internalformat, width, height); width 3112 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_renderbufferBinding->setSize(width, height); width 3117 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->renderbufferStorage(target, GL_DEPTH24_STENCIL8_OES, width, height); width 3124 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->renderbufferStorage(target, GL_DEPTH_COMPONENT16, width, height); width 3126 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->renderbufferStorage(target, GL_STENCIL_INDEX8, width, height); width 3128 Source/core/html/canvas/WebGLRenderingContextBase.cpp emulatedStencilBuffer->setSize(width, height); width 3131 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_renderbufferBinding->setSize(width, height); width 3148 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::scissor(GLint x, GLint y, GLsizei width, GLsizei height) width 3152 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateSize("scissor", width, height)) width 3154 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->scissor(x, y, width, height); width 3266 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::texImage2DBase(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels, ExceptionState& exceptionState) width 3271 Source/core/html/canvas/WebGLRenderingContextBase.cpp ASSERT(validateTexFuncParameters("texImage2D", NotTexSubImage2D, target, level, internalformat, width, height, border, format, type)); width 3273 Source/core/html/canvas/WebGLRenderingContextBase.cpp ASSERT(!level || !WebGLTexture::isNPOT(width, height)); width 3275 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->texImage2D(target, level, convertTexInternalFormat(internalformat, type), width, height, border, format, type, pixels); width 3276 Source/core/html/canvas/WebGLRenderingContextBase.cpp tex->setLevelInfo(target, level, internalformat, width, height, type); width 3309 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateTexFunc(const char* functionName, TexFuncValidationFunctionType functionType, TexFuncValidationSourceType sourceType, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLint xoffset, GLint yoffset) width 3311 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateTexFuncParameters(functionName, functionType, target, level, internalformat, width, height, border, format, type)) width 3319 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (level && WebGLTexture::isNPOT(width, height)) { width 3335 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (xoffset + width < 0 || yoffset + height < 0) { width 3339 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (xoffset + width > texture->getWidth(target, level) || yoffset + height > texture->getHeight(target, level)) { width 3352 Source/core/html/canvas/WebGLRenderingContextBase.cpp PassRefPtr<Image> WebGLRenderingContextBase::drawImageIntoBuffer(Image* image, int width, int height, const char* functionName) width 3354 Source/core/html/canvas/WebGLRenderingContextBase.cpp IntSize size(width, height); width 3362 Source/core/html/canvas/WebGLRenderingContextBase.cpp IntRect destRect(0, 0, size.width(), size.height()); width 3368 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLsizei width, GLsizei height, GLint border, width 3371 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !validateTexFuncData("texImage2D", level, width, height, format, type, pixels, NullAllowed) width 3372 Source/core/html/canvas/WebGLRenderingContextBase.cpp || !validateTexFunc("texImage2D", NotTexSubImage2D, SourceArrayBufferView, target, level, internalformat, width, height, border, format, type, 0, 0)) width 3378 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!WebGLImageConversion::extractTextureData(width, height, format, type, m_unpackAlignment, m_unpackFlipY, m_unpackPremultiplyAlpha, data, tempData)) width 3385 Source/core/html/canvas/WebGLRenderingContextBase.cpp texImage2DBase(target, level, internalformat, width, height, border, format, type, data, exceptionState); width 3393 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !pixels || !validateTexFunc("texImage2D", NotTexSubImage2D, SourceImageData, target, level, internalformat, pixels->width(), pixels->height(), 0, format, type, 0, 0)) width 3409 Source/core/html/canvas/WebGLRenderingContextBase.cpp texImage2DBase(target, level, internalformat, pixels->width(), pixels->height(), 0, format, type, needConversion ? data.data() : pixels->data()->data(), exceptionState); width 3422 Source/core/html/canvas/WebGLRenderingContextBase.cpp imageForRender = drawImageIntoBuffer(imageForRender.get(), image->width(), image->height(), "texImage2D"); width 3424 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!imageForRender || !validateTexFunc("texImage2D", NotTexSubImage2D, SourceHTMLImageElement, target, level, internalformat, imageForRender->width(), imageForRender->height(), 0, format, type, 0, 0)) width 3433 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !validateHTMLCanvasElement("texImage2D", canvas, exceptionState) || !validateTexFunc("texImage2D", NotTexSubImage2D, SourceHTMLCanvasElement, target, level, internalformat, canvas->width(), canvas->height(), 0, format, type, 0, 0)) width 3447 Source/core/html/canvas/WebGLRenderingContextBase.cpp texture->setLevelInfo(target, level, internalformat, canvas->width(), canvas->height(), type); width 3455 Source/core/html/canvas/WebGLRenderingContextBase.cpp texture->setLevelInfo(target, level, internalformat, canvas->width(), canvas->height(), type); width 3476 Source/core/html/canvas/WebGLRenderingContextBase.cpp IntRect destRect(0, 0, size.width(), size.height()); width 3554 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::texSubImage2DBase(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels, ExceptionState& exceptionState) width 3558 Source/core/html/canvas/WebGLRenderingContextBase.cpp ASSERT(validateTexFuncParameters("texSubImage2D", TexSubImage2D, target, level, format, width, height, 0, format, type)); width 3566 Source/core/html/canvas/WebGLRenderingContextBase.cpp ASSERT((xoffset + width) >= 0); width 3568 Source/core/html/canvas/WebGLRenderingContextBase.cpp ASSERT(tex->getWidth(target, level) >= (xoffset + width)); width 3572 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); width 3606 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLsizei width, GLsizei height, width 3609 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !validateTexFuncData("texSubImage2D", level, width, height, format, type, pixels, NullNotAllowed) width 3610 Source/core/html/canvas/WebGLRenderingContextBase.cpp || !validateTexFunc("texSubImage2D", TexSubImage2D, SourceArrayBufferView, target, level, format, width, height, 0, format, type, xoffset, yoffset)) width 3616 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!WebGLImageConversion::extractTextureData(width, height, format, type, width 3627 Source/core/html/canvas/WebGLRenderingContextBase.cpp texSubImage2DBase(target, level, xoffset, yoffset, width, height, format, type, data, exceptionState); width 3635 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (isContextLost() || !pixels || !validateTexFunc("texSubImage2D", TexSubImage2D, SourceImageData, target, level, format, pixels->width(), pixels->height(), 0, format, type, xoffset, yoffset)) width 3652 Source/core/html/canvas/WebGLRenderingContextBase.cpp texSubImage2DBase(target, level, xoffset, yoffset, pixels->width(), pixels->height(), format, type, needConversion ? data.data() : pixels->data()->data(), exceptionState); width 3665 Source/core/html/canvas/WebGLRenderingContextBase.cpp imageForRender = drawImageIntoBuffer(imageForRender.get(), image->width(), image->height(), "texSubImage2D"); width 3667 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!imageForRender || !validateTexFunc("texSubImage2D", TexSubImage2D, SourceHTMLImageElement, target, level, format, imageForRender->width(), imageForRender->height(), 0, format, type, xoffset, yoffset)) width 3677 Source/core/html/canvas/WebGLRenderingContextBase.cpp || !validateTexFunc("texSubImage2D", TexSubImage2D, SourceHTMLCanvasElement, target, level, format, canvas->width(), canvas->height(), 0, format, type, xoffset, yoffset)) width 4119 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::viewport(GLint x, GLint y, GLsizei width, GLsizei height) width 4123 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateSize("viewport", width, height)) width 4125 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context->viewport(x, y, width, height); width 4638 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum target, GLint level, GLsizei width, GLsizei height) width 4640 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (width < 0 || height < 0) { width 4647 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (width > (m_maxTextureSize >> level) || height > (m_maxTextureSize >> level)) { width 4658 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (functionType != TexSubImage2D && width != height) { width 4664 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (width > (m_maxCubeMapTextureSize >> level)) { width 4677 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type) width 4685 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateTexFuncDimensions(functionName, functionType, target, level, width, height)) width 4701 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateTexFuncData(const char* functionName, GLint level, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView* pixels, NullDisposition disposition) width 4750 Source/core/html/canvas/WebGLRenderingContextBase.cpp GLenum error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, m_unpackAlignment, &totalBytesRequired, 0); width 4757 Source/core/html/canvas/WebGLRenderingContextBase.cpp error = WebGLImageConversion::computeImageSizeInBytes(format, type, width, height, 1, &totalBytesRequired, 0); width 4774 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateCompressedTexFuncData(const char* functionName, GLsizei width, GLsizei height, GLenum format, ArrayBufferView* pixels) width 4780 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (width < 0 || height < 0) { width 4794 Source/core/html/canvas/WebGLRenderingContextBase.cpp int numBlocksAcross = (width + kBlockWidth - 1) / kBlockWidth; width 4806 Source/core/html/canvas/WebGLRenderingContextBase.cpp int numBlocksAcross = (width + kBlockWidth - 1) / kBlockWidth; width 4814 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 8; width 4820 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 16; width 4826 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = max(width, 8) * max(height, 8) / 2; width 4832 Source/core/html/canvas/WebGLRenderingContextBase.cpp bytesRequired = max(width, 8) * max(height, 8) / 4; width 4848 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateCompressedTexDimensions(const char* functionName, TexFuncValidationFunctionType functionType, GLenum target, GLint level, GLsizei width, GLsizei height, GLenum format) width 4850 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateTexFuncDimensions(functionName, functionType, target, level, width, height)) width 4860 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool widthValid = (level && width == 1) || (level && width == 2) || !(width % kBlockWidth); width 4873 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateCompressedTexSubDimensions(const char* functionName, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, WebGLTexture* tex) width 4891 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (width - xoffset > tex->getWidth(target, level) width 4896 Source/core/html/canvas/WebGLRenderingContextBase.cpp return validateCompressedTexDimensions(functionName, TexSubImage2D, target, level, width, height, format); width 5531 Source/core/html/canvas/WebGLRenderingContextBase.cpp return IntSize(clamp(canvas()->width(), 1, m_maxViewportDims[0]), width 139 Source/core/html/canvas/WebGLRenderingContextBase.h void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, ArrayBufferView* data); width 140 Source/core/html/canvas/WebGLRenderingContextBase.h void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, ArrayBufferView* data); width 142 Source/core/html/canvas/WebGLRenderingContextBase.h void copyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); width 143 Source/core/html/canvas/WebGLRenderingContextBase.h void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); width 220 Source/core/html/canvas/WebGLRenderingContextBase.h void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView* pixels); width 221 Source/core/html/canvas/WebGLRenderingContextBase.h void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); width 223 Source/core/html/canvas/WebGLRenderingContextBase.h void scissor(GLint x, GLint y, GLsizei width, GLsizei height); width 233 Source/core/html/canvas/WebGLRenderingContextBase.h GLsizei width, GLsizei height, GLint border, width 248 Source/core/html/canvas/WebGLRenderingContextBase.h GLsizei width, GLsizei height, width 310 Source/core/html/canvas/WebGLRenderingContextBase.h void viewport(GLint x, GLint y, GLsizei width, GLsizei height); width 332 Source/core/html/canvas/WebGLRenderingContextBase.h void reshape(int width, int height); width 389 Source/core/html/canvas/WebGLRenderingContextBase.h PassRefPtr<Image> drawImageIntoBuffer(Image*, int width, int height, const char* functionName); width 682 Source/core/html/canvas/WebGLRenderingContextBase.h void texImage2DBase(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels, ExceptionState&); width 684 Source/core/html/canvas/WebGLRenderingContextBase.h void texSubImage2DBase(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels, ExceptionState&); width 737 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateTexFunc(const char* functionName, TexFuncValidationFunctionType, TexFuncValidationSourceType, GLenum target, GLint level, GLenum internalformat, GLsizei width, width 742 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateTexFuncDimensions(const char* functionName, TexFuncValidationFunctionType, GLenum target, GLint level, GLsizei width, GLsizei height); width 746 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateTexFuncParameters(const char* functionName, TexFuncValidationFunctionType, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type); width 756 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateTexFuncData(const char* functionName, GLint level, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView* pixels, NullDisposition); width 766 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateCompressedTexFuncData(const char* functionName, GLsizei width, GLsizei height, GLenum format, ArrayBufferView* pixels); width 773 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateCompressedTexDimensions(const char* functionName, TexFuncValidationFunctionType, GLenum target, GLint level, GLsizei width, GLsizei height, GLenum format); width 777 Source/core/html/canvas/WebGLRenderingContextBase.h bool validateCompressedTexSubDimensions(const char* functionName, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, WebGLTexture*); width 141 Source/core/html/canvas/WebGLTexture.cpp void WebGLTexture::setLevelInfo(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type) width 150 Source/core/html/canvas/WebGLTexture.cpp m_info[index][level].setInfo(internalFormat, width, height, type); width 163 Source/core/html/canvas/WebGLTexture.cpp GLsizei width = info0.width; width 165 Source/core/html/canvas/WebGLTexture.cpp GLint levelCount = computeLevelCount(width, height); width 167 Source/core/html/canvas/WebGLTexture.cpp width = std::max(1, width >> 1); width 170 Source/core/html/canvas/WebGLTexture.cpp info.setInfo(info0.internalFormat, width, height, info0.type); width 199 Source/core/html/canvas/WebGLTexture.cpp return info->width; width 218 Source/core/html/canvas/WebGLTexture.cpp bool WebGLTexture::isNPOT(GLsizei width, GLsizei height) width 220 Source/core/html/canvas/WebGLTexture.cpp ASSERT(width >= 0 && height >= 0); width 221 Source/core/html/canvas/WebGLTexture.cpp if (!width || !height) width 223 Source/core/html/canvas/WebGLTexture.cpp if ((width & (width - 1)) || (height & (height - 1))) width 285 Source/core/html/canvas/WebGLTexture.cpp || info.width != first.width || info.height != first.height width 293 Source/core/html/canvas/WebGLTexture.cpp GLint WebGLTexture::computeLevelCount(GLsizei width, GLsizei height) width 296 Source/core/html/canvas/WebGLTexture.cpp GLsizei n = std::max(width, height); width 317 Source/core/html/canvas/WebGLTexture.cpp if (isNPOT(m_info[ii][0].width, m_info[ii][0].height)) { width 325 Source/core/html/canvas/WebGLTexture.cpp GLint levelCount = computeLevelCount(first.width, first.height); width 332 Source/core/html/canvas/WebGLTexture.cpp || info0.width != first.width || info0.height != first.height width 334 Source/core/html/canvas/WebGLTexture.cpp || (m_info.size() > 1 && info0.width != info0.height)) { width 340 Source/core/html/canvas/WebGLTexture.cpp GLsizei width = info0.width; width 343 Source/core/html/canvas/WebGLTexture.cpp width = std::max(1, width >> 1); width 347 Source/core/html/canvas/WebGLTexture.cpp || info.width != width || info.height != height width 55 Source/core/html/canvas/WebGLTexture.h void setLevelInfo(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum type); width 76 Source/core/html/canvas/WebGLTexture.h static GLint computeLevelCount(GLsizei width, GLsizei height); width 89 Source/core/html/canvas/WebGLTexture.h , width(0) width 99 Source/core/html/canvas/WebGLTexture.h width = w; width 106 Source/core/html/canvas/WebGLTexture.h GLsizei width; width 217 Source/core/html/forms/ImageInputType.cpp unsigned width; width 218 Source/core/html/forms/ImageInputType.cpp if (parseHTMLNonNegativeInteger(element->fastGetAttribute(widthAttr), width)) width 219 Source/core/html/forms/ImageInputType.cpp return width; width 225 Source/core/html/forms/ImageInputType.cpp return imageLoader->image()->imageSizeForRenderer(element->renderer(), 1).width(); width 63 Source/core/html/forms/ImageInputType.h virtual unsigned width() const OVERRIDE; width 217 Source/core/html/forms/InputType.h virtual unsigned width() const; width 403 Source/core/html/parser/HTMLParserIdioms.cpp String attemptStaticStringCreation(const UChar* characters, size_t size, CharacterWidth width) width 408 Source/core/html/parser/HTMLParserIdioms.cpp if (width == Likely8Bit) width 410 Source/core/html/parser/HTMLParserIdioms.cpp else if (width == Force8Bit) width 121 Source/core/html/parser/HTMLParserIdioms.h inline static String attemptStaticStringCreation(const Vector<UChar, inlineCapacity>& vector, CharacterWidth width) width 123 Source/core/html/parser/HTMLParserIdioms.h return attemptStaticStringCreation(vector.data(), vector.size(), width); width 498 Source/core/html/shadow/DateTimeEditElement.cpp float width = 0; width 506 Source/core/html/shadow/DateTimeEditElement.cpp width += static_cast<DateTimeFieldElement*>(childElement)->maximumWidth(style->font()); width 510 Source/core/html/shadow/DateTimeEditElement.cpp width += style->font().width(childElement->textContent()); width 513 Source/core/html/shadow/DateTimeEditElement.cpp style->setWidth(Length(ceilf(width), Fixed)); width 78 Source/core/html/shadow/DateTimeNumericFieldElement.cpp float maximumWidth = font.width(m_placeholder); width 79 Source/core/html/shadow/DateTimeNumericFieldElement.cpp maximumWidth = std::max(maximumWidth, font.width(formatValue(maximum()))); width 80 Source/core/html/shadow/DateTimeNumericFieldElement.cpp maximumWidth = std::max(maximumWidth, font.width(value())); width 67 Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp float maximumWidth = font.width(visibleEmptyValue()); width 69 Source/core/html/shadow/DateTimeSymbolicFieldElement.cpp maximumWidth = std::max(maximumWidth, font.width(m_symbols[index])); width 664 Source/core/html/shadow/MediaControlElements.cpp float smallestDimension = std::min(m_videoDisplaySize.size().height(), m_videoDisplaySize.size().width()); width 134 Source/core/html/shadow/MeterShadowElement.cpp void MeterValueElement::setWidthPercentage(double width) width 136 Source/core/html/shadow/MeterShadowElement.cpp setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); width 88 Source/core/html/shadow/ProgressShadowElement.cpp void ProgressValueElement::setWidthPercentage(double width) width 90 Source/core/html/shadow/ProgressShadowElement.cpp setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); width 172 Source/core/html/shadow/SliderThumbElement.cpp availableExtent -= isVertical ? thumb->height() : thumb->width(); width 276 Source/core/html/shadow/SliderThumbElement.cpp trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); width 277 Source/core/html/shadow/SliderThumbElement.cpp position = offset.x() - renderBox()->width() / 2 - trackBoundingBox.x() + inputBoundingBox.x(); width 186 Source/core/html/track/vtt/VTTRegion.cpp m_width = region->width(); width 63 Source/core/html/track/vtt/VTTRegion.h double width() const { return m_width; } width 1229 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::highlightRect(ErrorString*, int x, int y, int width, int height, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) width 1231 Source/core/inspector/InspectorDOMAgent.cpp OwnPtr<FloatQuad> quad = adoptPtr(new FloatQuad(FloatRect(x, y, width, height))); width 1418 Source/core/inspector/InspectorDOMAgent.cpp .setWidth(modelObject ? adjustForAbsoluteZoom(modelObject->pixelSnappedOffsetWidth(), modelObject) : boundingBox.width()) width 140 Source/core/inspector/InspectorDOMAgent.h virtual void highlightRect(ErrorString*, int x, int y, int width, int height, const RefPtr<JSONObject>* color, const RefPtr<JSONObject>* outlineColor) OVERRIDE; width 86 Source/core/inspector/InspectorLayerTreeAgent.cpp .setWidth(rect.width); width 104 Source/core/inspector/InspectorLayerTreeAgent.cpp blink::WebRect webRect(webLayer->position().x, webLayer->position().y, webLayer->bounds().width, webLayer->bounds().height); width 117 Source/core/inspector/InspectorLayerTreeAgent.cpp .setWidth(webLayer->bounds().width) width 208 Source/core/inspector/InspectorLayerTreeAgent.cpp .setWidth(rect.width()) width 172 Source/core/inspector/InspectorOverlay.cpp contentBox.setWidth(contentBox.width() + renderBox->verticalScrollbarWidth()); width 176 Source/core/inspector/InspectorOverlay.cpp contentBox.width() + renderBox->paddingLeft() + renderBox->paddingRight(), contentBox.height() + renderBox->paddingTop() + renderBox->paddingBottom()); width 178 Source/core/inspector/InspectorOverlay.cpp paddingBox.width() + renderBox->borderLeft() + renderBox->borderRight(), paddingBox.height() + renderBox->borderTop() + renderBox->borderBottom()); width 180 Source/core/inspector/InspectorOverlay.cpp borderBox.width() + renderBox->marginWidth(), borderBox.height() + renderBox->marginHeight()); width 187 Source/core/inspector/InspectorOverlay.cpp borderBox.width() - renderInline->borderLeft() - renderInline->borderRight(), borderBox.height() - renderInline->borderTop() - renderInline->borderBottom()); width 189 Source/core/inspector/InspectorOverlay.cpp paddingBox.width() - renderInline->paddingLeft() - renderInline->paddingRight(), paddingBox.height() - renderInline->paddingTop() - renderInline->paddingBottom()); width 192 Source/core/inspector/InspectorOverlay.cpp borderBox.width() + renderInline->marginWidth(), borderBox.height()); width 265 Source/core/inspector/InspectorOverlay.cpp view->paint(&context, IntRect(0, 0, view->width(), view->height())); width 489 Source/core/inspector/InspectorOverlay.cpp result->setNumber("width", size.width()); width 548 Source/core/inspector/InspectorOverlay.cpp elementInfo->setString("nodeWidth", String::number(modelObject ? adjustForAbsoluteZoom(modelObject->pixelSnappedOffsetWidth(), modelObject) : boundingBox.width())); width 115 Source/core/inspector/InspectorPageAgent.cpp bool anyDeviceMetricsOverrideEnabled(int width, int height, double deviceScaleFactor) width 117 Source/core/inspector/InspectorPageAgent.cpp return width || height || deviceScaleFactor; width 685 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::setDeviceMetricsOverride(ErrorString* errorString, int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optionalTextAutosizing, const double* optionalFontScaleFactor) width 692 Source/core/inspector/InspectorPageAgent.cpp if (width < 0 || height < 0 || width > maxDimension || height > maxDimension) { width 697 Source/core/inspector/InspectorPageAgent.cpp if (!width ^ !height) { width 713 Source/core/inspector/InspectorPageAgent.cpp if (anyDeviceMetricsOverrideEnabled(width, height, deviceScaleFactor) && !settings.acceleratedCompositingEnabled()) { width 719 Source/core/inspector/InspectorPageAgent.cpp if (!deviceMetricsChanged(width, height, deviceScaleFactor, emulateViewport, fitWindow, fontScaleFactor, textAutosizing)) width 722 Source/core/inspector/InspectorPageAgent.cpp m_state->setLong(PageAgentState::pageAgentScreenWidthOverride, width); width 730 Source/core/inspector/InspectorPageAgent.cpp updateViewMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow, fontScaleFactor, textAutosizing); width 733 Source/core/inspector/InspectorPageAgent.cpp bool InspectorPageAgent::deviceMetricsChanged(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing) width 744 Source/core/inspector/InspectorPageAgent.cpp return width != currentWidth || height != currentHeight || deviceScaleFactor != currentDeviceScaleFactor || emulateViewport != currentEmulateViewport || fitWindow != currentFitWindow || fontScaleFactor != currentFontScaleFactor || textAutosizing != currentTextAutosizing; width 1133 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::updateViewMetrics(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizingEnabled) width 1135 Source/core/inspector/InspectorPageAgent.cpp bool enabled = anyDeviceMetricsOverrideEnabled(width, height, deviceScaleFactor); width 1141 Source/core/inspector/InspectorPageAgent.cpp m_client->overrideDeviceMetrics(width, height, static_cast<float>(deviceScaleFactor), emulateViewport, fitWindow); width 105 Source/core/inspector/InspectorPageAgent.h virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, const bool* optionalTextAutosizing, const double* optionalFontScaleFactor) OVERRIDE; width 166 Source/core/inspector/InspectorPageAgent.h bool deviceMetricsChanged(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizing); width 167 Source/core/inspector/InspectorPageAgent.h void updateViewMetrics(int width, int height, double deviceScaleFactor, bool emulateViewport, bool fitWindow, double fontScaleFactor, bool textAutosizingEnabled); width 101 Source/core/page/CreateWindow.cpp windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width())); width 808 Source/core/page/DragController.cpp if (image->size().height() * image->size().width() <= MaxOriginalImageArea width 818 Source/core/page/DragController.cpp float scale = newSize.width() / (float)originalSize.width(); width 838 Source/core/page/DragController.cpp IntPoint dragImageOffset(-size.width() / 2, -LinkDragBorderInset); width 914 Source/core/page/EventHandler.cpp HitTestResult result(point, padding.height(), padding.width(), padding.height(), padding.width()); width 1169 Source/core/page/EventHandler.cpp if (size.width() > maximumCursorSize || size.height() > maximumCursorSize) width 2634 Source/core/page/EventHandler.cpp bool horizontalScroll = scroll(ScrollLeft, granularity, node, &stopNode, delta.width()); width 2659 Source/core/page/EventHandler.cpp scaledDelta.width(), scaledDelta.height(), width 2660 Source/core/page/EventHandler.cpp scaledDelta.width() / tickDivisor, scaledDelta.height() / tickDivisor, width 2765 Source/core/page/EventHandler.cpp bestClickableNodeForTouchPoint(gestureEvent.position(), IntSize(gestureEvent.area().width() / 2, gestureEvent.area().height() / 2), adjustedPoint, targetNode); width 2770 Source/core/page/EventHandler.cpp bestContextMenuNodeForTouchPoint(gestureEvent.position(), IntSize(gestureEvent.area().width() / 2, gestureEvent.area().height() / 2), adjustedPoint, targetNode); width 3248 Source/core/page/EventHandler.cpp return abs(delta.width()) >= threshold || abs(delta.height()) >= threshold; width 760 Source/core/page/FocusController.cpp LayoutUnit x = intersectionRect.x() + intersectionRect.width() / 2; width 394 Source/core/page/FrameTree.cpp printf("LocalFrame %p %dx%d\n", frame, view ? view->width() : 0, view ? view->height() : 0); width 107 Source/core/page/PagePopupClient.cpp addProperty("width", rect.width(), data); width 72 Source/core/page/PrintContext.cpp FloatSize pageSize = m_frame->resizePageRectsKeepingRatio(FloatSize(printRect.width(), printRect.height()), FloatSize(documentRect.width(), documentRect.height())); width 73 Source/core/page/PrintContext.cpp float pageWidth = pageSize.width(); width 102 Source/core/page/PrintContext.cpp int pageWidth = pageSizeInPixels.width(); width 107 Source/core/page/PrintContext.cpp int docLogicalHeight = isHorizontal ? docRect.height() : docRect.width(); width 162 Source/core/page/PrintContext.cpp void PrintContext::begin(float width, float height) width 167 Source/core/page/PrintContext.cpp FloatSize originalPageSize = FloatSize(width, height); width 168 Source/core/page/PrintContext.cpp FloatSize minLayoutSize = m_frame->resizePageRectsKeepingRatio(originalPageSize, FloatSize(width * printingMinimumShrinkFactor, height * printingMinimumShrinkFactor)); width 188 Source/core/page/PrintContext.cpp float shrinkToFitScaleFactor = (useViewWidth ? availablePaperSize.width() : availablePaperSize.height()) / viewLogicalWidth; width 192 Source/core/page/PrintContext.cpp void PrintContext::spoolPage(GraphicsContext& ctx, int pageNumber, float width) width 196 Source/core/page/PrintContext.cpp float scale = width / pageRect.width(); width 250 Source/core/page/PrintContext.cpp printContext.begin(pageRect.width(), pageRect.height()); width 252 Source/core/page/PrintContext.cpp scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); width 329 Source/core/page/PrintContext.cpp return String::number(style->pageSize().width().value()) + ' ' + String::number(style->pageSize().height().value()); width 339 Source/core/page/PrintContext.cpp String PrintContext::pageSizeAndMarginsInPixels(LocalFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) width 341 Source/core/page/PrintContext.cpp IntSize pageSize(width, height); width 344 Source/core/page/PrintContext.cpp return "(" + String::number(pageSize.width()) + ", " + String::number(pageSize.height()) + ") " + width 354 Source/core/page/PrintContext.cpp printContext.begin(pageRect.width(), pageRect.height()); width 357 Source/core/page/PrintContext.cpp scaledPageSize.scale(frame->view()->contentsSize().width() / pageRect.width()); width 370 Source/core/page/PrintContext.cpp printContext.begin(pageSizeInPixels.width(), pageSizeInPixels.height()); width 375 Source/core/page/PrintContext.cpp const float pageWidth = pageSizeInPixels.width(); width 64 Source/core/page/PrintContext.h void begin(float width, float height = 0); width 67 Source/core/page/PrintContext.h void spoolPage(GraphicsContext& ctx, int pageNumber, float width); width 78 Source/core/page/PrintContext.h static String pageSizeAndMarginsInPixels(LocalFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft); width 246 Source/core/page/SpatialNavigation.cpp return curRect.x() - targetRect.maxX() > viewSize.width(); width 248 Source/core/page/SpatialNavigation.cpp return targetRect.x() - curRect.maxX() > viewSize.width(); width 310 Source/core/page/SpatialNavigation.cpp containerViewportRect.setWidth(containerViewportRect.width() + ScrollableArea::pixelsPerLineStep()); width 313 Source/core/page/SpatialNavigation.cpp containerViewportRect.setWidth(containerViewportRect.width() + ScrollableArea::pixelsPerLineStep()); width 415 Source/core/page/SpatialNavigation.cpp if ((a.width() + 2 * deflateFactor > 0) && (a.height() + 2 * deflateFactor > 0)) width 418 Source/core/page/SpatialNavigation.cpp if ((b.width() + 2 * deflateFactor > 0) && (b.height() + 2 * deflateFactor > 0)) width 490 Source/core/page/SpatialNavigation.cpp return offset.width() > 0; width 494 Source/core/page/SpatialNavigation.cpp return rect.width() + offset.width() < size.width(); width 529 Source/core/page/SpatialNavigation.cpp rect.setWidth(rect.width() - node->renderer()->style()->borderLeftWidth() - node->renderer()->style()->borderRightWidth()); width 700 Source/core/page/SpatialNavigation.cpp LayoutRect virtualRectForDirection(FocusType type, const LayoutRect& startingRect, LayoutUnit width) width 705 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setX(virtualStartingRect.maxX() - width); width 706 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setWidth(width); width 709 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setY(virtualStartingRect.maxY() - width); width 710 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setHeight(width); width 713 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setWidth(width); width 716 Source/core/page/SpatialNavigation.cpp virtualStartingRect.setHeight(width); width 147 Source/core/page/SpatialNavigation.h LayoutRect virtualRectForDirection(FocusType, const LayoutRect& startingRect, LayoutUnit width = 0); width 351 Source/core/page/TouchAdjustment.cpp int maxOverlapWidth = std::min(touchRect.width(), rect.width()); width 80 Source/core/page/TouchDisambiguation.cpp score *= max((padding - abs(distance.width())) * reciprocalPadding, 0.f); width 95 Source/core/page/TouchDisambiguation.cpp int touchPointPadding = ceil(max(touchBox.width(), touchBox.height()) * 0.5); width 143 Source/core/page/WindowFeatures.cpp width = value; width 185 Source/core/page/WindowFeatures.cpp width = floatFeature(features, "dialogwidth", 100, screenAvailableRect.width(), 620); // default here came from frame size of dialog in MacIE width 188 Source/core/page/WindowFeatures.cpp x = floatFeature(features, "dialogleft", screenAvailableRect.x(), screenAvailableRect.maxX() - width, -1); width 195 Source/core/page/WindowFeatures.cpp x = screenAvailableRect.x() + (screenAvailableRect.width() - width) / 2; width 62 Source/core/page/WindowFeatures.h float width; width 125 Source/core/plugins/PluginOcclusionSupport.cpp IntSize size(renderer->width(), renderer->height()); width 185 Source/core/rendering/AutoTableLayout.cpp Length tw = table->style()->width(); width 189 Source/core/rendering/AutoTableLayout.cpp cb->style()->width().isAuto() && !cb->isOutOfFlowPositioned()) width 194 Source/core/rendering/AutoTableLayout.cpp (cb->style()->width().isAuto() || cb->style()->width().isPercent())) { width 196 Source/core/rendering/AutoTableLayout.cpp if (cell->colSpan() > 1 || cell->table()->style()->width().isAuto()) width 51 Source/core/rendering/ColumnInfo.h void setDesiredColumnWidth(LayoutUnit width) { m_desiredColumnWidth = width; } width 33 Source/core/rendering/EllipsisBox.h int width, int height, int x, int y, bool firstLine, bool isVertical, InlineBox* markupBox) width 34 Source/core/rendering/EllipsisBox.h : InlineBox(obj, FloatPoint(x, y), width, firstLine, true, false, false, isVertical, 0, 0, parent) width 244 Source/core/rendering/FastTextAutosizer.cpp return block->style() && block->style()->width().isSpecified(); width 494 Source/core/rendering/FastTextAutosizer.cpp m_frameWidth = horizontalWritingMode ? frameSize.width() : frameSize.height(); width 497 Source/core/rendering/FastTextAutosizer.cpp m_layoutWidth = horizontalWritingMode ? layoutSize.width() : layoutSize.height(); width 636 Source/core/rendering/FastTextAutosizer.cpp data.m_packedStyleProperties |= (style->width().type() << 11); width 641 Source/core/rendering/FastTextAutosizer.cpp data.m_width = style->width().getFloatValue(); width 278 Source/core/rendering/FilterEffectRenderer.cpp IntSize logicalSize(m_sourceDrawingRegion.width(), m_sourceDrawingRegion.height()); width 68 Source/core/rendering/FloatingObjects.h LayoutUnit width() const { return m_frameRect.width(); } width 73 Source/core/rendering/FloatingObjects.h void setWidth(LayoutUnit width) { ASSERT(!isInPlacedTree()); m_frameRect.setWidth(width); } width 114 Source/core/rendering/InlineBox.cpp renderer().renderName(), &renderer(), x(), y(), width(), height(), width 128 Source/core/rendering/InlineBox.cpp return isHorizontal() ? toRenderBox(renderer()).height().toFloat() : toRenderBox(renderer()).width().toFloat(); width 324 Source/core/rendering/InlineBox.cpp return FloatPoint(block.width() - width() - x(), y()); width 201 Source/core/rendering/InlineBox.h float width() const { return isHorizontal() ? logicalWidth() : hasVirtualLogicalHeight() ? virtualLogicalHeight() : logicalHeight(); } width 203 Source/core/rendering/InlineBox.h FloatSize size() const { return FloatSize(width(), height()); } width 204 Source/core/rendering/InlineBox.h float right() const { return left() + width(); } width 79 Source/core/rendering/InlineFlowBox.cpp int snappedMaxX = lroundf(x() + width()); width 1060 Source/core/rendering/InlineFlowBox.cpp LayoutUnit width = frameRect.width(); width 1068 Source/core/rendering/InlineFlowBox.cpp LayoutUnit& logicalHeight = isHorizontal() ? height : width; width 1075 Source/core/rendering/InlineFlowBox.cpp LayoutRect rect(minX, minY, width, height); width 1183 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); width 1209 Source/core/rendering/InlineFlowBox.cpp LayoutUnit stripWidth = isHorizontal() ? totalLogicalWidth : static_cast<LayoutUnit>(width()); width 1213 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); width 1235 Source/core/rendering/InlineFlowBox.cpp LayoutUnit logicalHeight = isHorizontal() ? rect.height() : rect.width(); width 1259 Source/core/rendering/InlineFlowBox.cpp clipRect.setWidth(paintRect.width() + outsets.left()); width 1262 Source/core/rendering/InlineFlowBox.cpp clipRect.setWidth(clipRect.width() + outsets.right()); width 1265 Source/core/rendering/InlineFlowBox.cpp clipRect.setWidth(paintRect.width() + outsets.left() + outsets.right()); width 1336 Source/core/rendering/InlineFlowBox.cpp LayoutUnit stripWidth = isHorizontal() ? totalLogicalWidth : frameRect.width(); width 1408 Source/core/rendering/InlineFlowBox.cpp LayoutUnit stripWidth = isHorizontal() ? totalLogicalWidth : frameRect.width(); width 283 Source/core/rendering/InlineFlowBox.h return FloatRect(m_topLeft.x(), lineTop.toFloat(), width(), (lineBottom - lineTop).toFloat()); width 221 Source/core/rendering/InlineTextBox.cpp LayoutUnit logicalWidth = r.width(); width 228 Source/core/rendering/InlineTextBox.cpp LayoutUnit width = isHorizontal() ? logicalWidth : selHeight; width 231 Source/core/rendering/InlineTextBox.cpp return LayoutRect(topPoint, LayoutSize(width, height)); width 307 Source/core/rendering/InlineTextBox.cpp float widthOfVisibleText = toRenderText(renderer()).width(m_start, offset, textPos(), flowIsLTR ? LTR : RTL, isFirstLineStyle()); width 506 Source/core/rendering/InlineTextBox.cpp LayoutUnit widthOfVisibleText = toRenderText(renderer()).width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); width 705 Source/core/rendering/InlineTextBox.cpp FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2, boxOrigin.y() + font.fontMetrics().ascent()) : textOrigin; width 739 Source/core/rendering/InlineTextBox.cpp FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2, boxOrigin.y() + font.fontMetrics().ascent()) : textOrigin; width 1074 Source/core/rendering/InlineTextBox.cpp static void paintAppliedDecoration(GraphicsContext* context, FloatPoint start, float width, float doubleOffset, int wavyOffsetFactor, width 1082 Source/core/rendering/InlineTextBox.cpp strokeWavyTextDecoration(context, start + FloatPoint(0, doubleOffset * wavyOffsetFactor), start + FloatPoint(width, doubleOffset * wavyOffsetFactor), thickness); width 1089 Source/core/rendering/InlineTextBox.cpp context->drawLineForText(start, width, isPrinting); width 1092 Source/core/rendering/InlineTextBox.cpp context->drawLineForText(start + FloatPoint(0, doubleOffset), width, isPrinting); width 1105 Source/core/rendering/InlineTextBox.cpp float width = m_logicalWidth; width 1107 Source/core/rendering/InlineTextBox.cpp width = toRenderText(renderer()).width(m_start, m_truncation, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); width 1109 Source/core/rendering/InlineTextBox.cpp localOrigin.move(m_logicalWidth - width, 0); width 1144 Source/core/rendering/InlineTextBox.cpp FloatRect clipRect(localOrigin, FloatSize(width, baseline + 2)); width 1147 Source/core/rendering/InlineTextBox.cpp FloatRect shadowRect(localOrigin, FloatSize(width, baseline + 2)); width 1179 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin + FloatPoint(0, underlineOffset), width, doubleOffset, 1, underline, textDecorationThickness, antialiasDecoration, isPrinting); width 1182 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin, width, -doubleOffset, 1, overline, textDecorationThickness, antialiasDecoration, isPrinting); width 1186 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin + FloatPoint(0, lineThroughOffset), width, doubleOffset, 0, linethrough, textDecorationThickness, antialiasDecoration, isPrinting); width 1214 Source/core/rendering/InlineTextBox.cpp float width = m_logicalWidth; // how much line to draw width 1241 Source/core/rendering/InlineTextBox.cpp width = markerRect.width(); width 1269 Source/core/rendering/InlineTextBox.cpp pt->drawLineForDocumentMarker(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + underlineOffset), width, lineStyleForMarkerType(marker->type())); width 1361 Source/core/rendering/InlineTextBox.cpp float width = m_logicalWidth; // how much line to draw width 1368 Source/core/rendering/InlineTextBox.cpp start = toRenderText(renderer()).width(m_start, paintStart - m_start, textPos(), isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); width 1379 Source/core/rendering/InlineTextBox.cpp width = toRenderText(renderer()).width(paintStart, paintEnd - paintStart, textPos() + start, isLeftToRightDirection() ? LTR : RTL, isFirstLineStyle()); width 1393 Source/core/rendering/InlineTextBox.cpp width -= 2; width 1397 Source/core/rendering/InlineTextBox.cpp ctx->drawLineForText(FloatPoint(boxOrigin.x() + start, boxOrigin.y() + logicalHeight() - lineThickness), width, textRenderer().document().printing()); width 114 Source/core/rendering/InlineTextBox.h virtual FloatRect calculateBoundaries() const OVERRIDE { return FloatRect(x(), y(), width(), height()); } width 88 Source/core/rendering/LayoutState.cpp m_pageOffset = LayoutSize(m_layoutOffset.width() + (!isFlipped ? renderer.borderLeft() + renderer.paddingLeft() : renderer.borderRight() + renderer.paddingRight()), width 170 Source/core/rendering/LayoutState.cpp return m_layoutOffset.width() + childLogicalOffset - m_pageOffset.width(); width 84 Source/core/rendering/LayoutState.h m_layoutDeltaXSaturated |= m_layoutDelta.width() == LayoutUnit::max() || m_layoutDelta.width() == LayoutUnit::min(); width 43 Source/core/rendering/RenderBR.h virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, TextDirection, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const OVERRIDE { return 0; } width 44 Source/core/rendering/RenderBR.h virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; } width 1353 Source/core/rendering/RenderBlock.cpp blockRect.setX(currentBlock->width() - blockRect.maxX()); width 1831 Source/core/rendering/RenderBlock.cpp ruleRect.setX(width() - ruleRect.maxX()); width 1902 Source/core/rendering/RenderBlock.cpp LayoutUnit blockDelta = (isHorizontalWritingMode() ? colRect.height() : colRect.width()); width 2256 Source/core/rendering/RenderBlock.cpp paintInfo->context->clipOut(IntRect(offset.x() + r->x(), offset.y() + r->y(), r->width(), r->height())); width 2262 Source/core/rendering/RenderBlock.cpp return isHorizontalWritingMode() ? offsetFromBlock.height() : offsetFromBlock.width(); width 2267 Source/core/rendering/RenderBlock.cpp return isHorizontalWritingMode() ? offsetFromBlock.width() : offsetFromBlock.height(); width 2276 Source/core/rendering/RenderBlock.cpp result = LayoutRect(logicalRect.y(), logicalRect.x(), logicalRect.height(), logicalRect.width()); width 2289 Source/core/rendering/RenderBlock.cpp LayoutRect flippedBlockRect(offsetFromRootBlock.width(), offsetFromRootBlock.height(), width(), height()); width 2346 Source/core/rendering/RenderBlock.cpp if (relOffset.width() || relOffset.height()) width 2381 Source/core/rendering/RenderBlock.cpp result.unite(toRenderBlock(curr)->selectionGaps(rootBlock, rootBlockPhysicalPosition, LayoutSize(offsetFromRootBlock.width() + curr->x(), offsetFromRootBlock.height() + curr->y()), width 2858 Source/core/rendering/RenderBlock.cpp m_currLogicalTopOffset -= (m_isHorizontal ? m_colRect.height() : m_colRect.width()) * m_direction; width 3208 Source/core/rendering/RenderBlock.cpp void RenderBlock::setDesiredColumnCountAndWidth(int count, LayoutUnit width) width 3227 Source/core/rendering/RenderBlock.cpp info->setDesiredColumnWidth(width); width 3303 Source/core/rendering/RenderBlock.cpp LayoutRect gapAndColumnRect(colRect.x() - halfColGap, colRect.y(), colRect.width() + colGap, colRect.height()); width 3333 Source/core/rendering/RenderBlock.cpp logicalOffset += colInfo->progressionAxis() == ColumnInfo::InlineAxis ? colRect.height() : colRect.width(); width 3335 Source/core/rendering/RenderBlock.cpp LayoutRect gapAndColumnRect(colRect.x(), colRect.y() - halfColGap, colRect.width(), colRect.height() + colGap); width 3347 Source/core/rendering/RenderBlock.cpp point.move(gapAndColumnRect.width(), 0); width 3365 Source/core/rendering/RenderBlock.cpp logicalOffset += colInfo->progressionAxis() == ColumnInfo::InlineAxis ? colRect.width() : colRect.height(); width 3817 Source/core/rendering/RenderBlock.cpp return direction == HorizontalLine ? height() + m_marginBox.bottom() : width() + m_marginBox.left(); width 4373 Source/core/rendering/RenderBlock.cpp right = max(right, x + obj->x() + obj->width()); width 4490 Source/core/rendering/RenderBlock.cpp width(), height() + collapsedMarginBefore() + collapsedMarginAfter())); width 4506 Source/core/rendering/RenderBlock.cpp width().toFloat(), (height() + collapsedMarginBefore() + collapsedMarginAfter()).toFloat()); width 4510 Source/core/rendering/RenderBlock.cpp quads.append(RenderBox::localToAbsoluteQuad(FloatRect(0, 0, width().toFloat(), height().toFloat()), 0 /* mode */, wasFixed)); width 4566 Source/core/rendering/RenderBlock.cpp LayoutRect caretRect = localCaretRectForEmptyElement(width(), textIndentOffset()); width 4570 Source/core/rendering/RenderBlock.cpp *extraWidthToEndOfLine = width() - caretRect.maxX(); width 4604 Source/core/rendering/RenderBlock.cpp LayoutRect rect(additionalOffset.x(), additionalOffset.y() - topMargin, width(), height() + topMargin + bottomMargin); width 4607 Source/core/rendering/RenderBlock.cpp } else if (width() && height()) width 4614 Source/core/rendering/RenderBlock.cpp LayoutRect rect(additionalOffset.x() + curr->x(), additionalOffset.y() + top, curr->width(), bottom - top); width 4645 Source/core/rendering/RenderBlock.cpp LayoutRect rect(layerOffset.x() + curr->x(), layerOffset.y() + top, curr->width(), bottom - top); width 4678 Source/core/rendering/RenderBlock.cpp LayoutUnit firstPageLogicalTop = isHorizontalWritingMode() ? renderView->layoutState()->pageOffset().height() : renderView->layoutState()->pageOffset().width(); width 4679 Source/core/rendering/RenderBlock.cpp LayoutUnit blockLogicalTop = isHorizontalWritingMode() ? renderView->layoutState()->layoutOffset().height() : renderView->layoutState()->layoutOffset().width(); width 4864 Source/core/rendering/RenderBlock.cpp return isHorizontalWritingMode() ? offsetDelta.height() : offsetDelta.width(); width 234 Source/core/rendering/RenderBlock.h LayoutUnit logicalWidthForChild(const RenderBox* child) const { return isHorizontalWritingMode() ? child->width() : child->height(); } width 235 Source/core/rendering/RenderBlock.h LayoutUnit logicalHeightForChild(const RenderBox* child) const { return isHorizontalWritingMode() ? child->height() : child->width(); } width 634 Source/core/rendering/RenderBlockFlow.cpp if (childOffset.width() || childOffset.height()) { width 1780 Source/core/rendering/RenderBlockFlow.cpp LayoutUnit childLogicalWidthAtOldLogicalTopOffset = isHorizontalWritingMode() ? borderBox.width() : borderBox.height(); width 1791 Source/core/rendering/RenderBlockFlow.cpp LayoutUnit childLogicalWidthAtNewLogicalTopOffset = isHorizontalWritingMode() ? borderBox.width() : borderBox.height(); width 2047 Source/core/rendering/RenderBlockFlow.cpp LayoutRect floatBox(offsetFromRootBlock.width() + xPositionForFloatIncludingMargin(floatingObject), width 2049 Source/core/rendering/RenderBlockFlow.cpp floatingObject->renderer()->width(), floatingObject->renderer()->height()); width 2103 Source/core/rendering/RenderBlockFlow.cpp return LayoutPoint(point.x() + width() - child->renderer()->width() - 2 * xPositionForFloatIncludingMargin(child), point.y()); width 2578 Source/core/rendering/RenderBlockFlow.cpp LayoutUnit floatRight = floatLeft + floatingObject->renderer()->width(); width 126 Source/core/rendering/RenderBlockFlow.h LayoutUnit logicalWidthForFloat(const FloatingObject* floatingObject) const { return isHorizontalWritingMode() ? floatingObject->width() : floatingObject->height(); } width 127 Source/core/rendering/RenderBlockFlow.h LayoutUnit logicalHeightForFloat(const FloatingObject* floatingObject) const { return isHorizontalWritingMode() ? floatingObject->height() : floatingObject->width(); } width 128 Source/core/rendering/RenderBlockFlow.h LayoutSize logicalSizeForFloat(const FloatingObject* floatingObject) const { return isHorizontalWritingMode() ? LayoutSize(floatingObject->width(), floatingObject->height()) : LayoutSize(floatingObject->height(), floatingObject->width()); } width 315 Source/core/rendering/RenderBlockFlow.h , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(), f->width() + f->marginWidth(), f->height() + f->marginHeight())) width 463 Source/core/rendering/RenderBlockLineLayout.cpp if (wordMeasurement.width <=0 || wordMeasurement.startOffset == wordMeasurement.endOffset) width 471 Source/core/rendering/RenderBlockLineLayout.cpp measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, run->direction(), lineInfo.isFirstLine()); width 475 Source/core/rendering/RenderBlockLineLayout.cpp measuredWidth += wordMeasurement.width; width 490 Source/core/rendering/RenderBlockLineLayout.cpp measuredWidth = renderer->width(run->m_start, run->m_stop - run->m_start, xPos, run->direction(), lineInfo.isFirstLine(), &fallbackFonts, &glyphOverflow); width 1343 Source/core/rendering/RenderBlockLineLayout.cpp float spaceWidth = font.width(RenderBlockFlow::constructTextRun(t, font, &space, 1, t->style(), LTR)); width 1785 Source/core/rendering/RenderBlockLineLayout.cpp LayoutSize newSize(floatingBox->width() + floatingBox->marginWidth(), floatingBox->height() + floatingBox->marginHeight()); width 1794 Source/core/rendering/RenderBlockLineLayout.cpp : max(floats[floatIndex].rect.width(), newSize.width()); width 2105 Source/core/rendering/RenderBlockLineLayout.cpp int firstLineEllipsisWidth = firstLineFont.width(constructTextRun(this, firstLineFont, &horizontalEllipsis, 1, firstLineStyle(), ellipsisDirection)); width 2106 Source/core/rendering/RenderBlockLineLayout.cpp int ellipsisWidth = (font == firstLineFont) ? firstLineEllipsisWidth : font.width(constructTextRun(this, font, &horizontalEllipsis, 1, style(), ellipsisDirection)); width 2128 Source/core/rendering/RenderBlockLineLayout.cpp LayoutUnit width = firstLine ? firstLineEllipsisWidth : ellipsisWidth; width 2130 Source/core/rendering/RenderBlockLineLayout.cpp if (curr->lineCanAccommodateEllipsis(ltr, blockEdge, lineBoxEdge, width)) { width 2131 Source/core/rendering/RenderBlockLineLayout.cpp float totalLogicalWidth = curr->placeEllipsis(ellipsisStr, ltr, blockLeftEdge, blockRightEdge, width.toFloat()); width 2147 Source/core/rendering/RenderBlockLineLayout.cpp bool RenderBlockFlow::positionNewFloatOnLine(FloatingObject* newFloat, FloatingObject* lastFloatFromPreviousLine, LineInfo& lineInfo, LineWidth& width) width 2152 Source/core/rendering/RenderBlockLineLayout.cpp width.shrinkAvailableWidthForNewFloatIfNeeded(newFloat); width 340 Source/core/rendering/RenderBox.cpp return width() - borderLeft() - borderRight() - verticalScrollbarWidth(); width 380 Source/core/rendering/RenderBox.cpp LayoutUnit width = std::max(LayoutUnit(style->minWidth().value()), LayoutUnit(style->width().value())); width 382 Source/core/rendering/RenderBox.cpp width = std::min(LayoutUnit(style->maxWidth().value()), width); width 384 Source/core/rendering/RenderBox.cpp LayoutUnit borderLeft = style->borderLeft().nonZero() ? style->borderLeft().width() : 0; width 385 Source/core/rendering/RenderBox.cpp LayoutUnit borderRight = style->borderRight().nonZero() ? style->borderRight().width() : 0; width 387 Source/core/rendering/RenderBox.cpp return width + borderLeft + borderRight + style->paddingLeft().value() + style->paddingRight().value(); width 538 Source/core/rendering/RenderBox.cpp quads.append(localToAbsoluteQuad(FloatRect(0, 0, width().toFloat(), height().toFloat()), 0 /* mode */, wasFixed)); width 634 Source/core/rendering/RenderBox.cpp result.move(-box.width() - reflectionOffset(), 0); width 637 Source/core/rendering/RenderBox.cpp result.move(box.width() + reflectionOffset(), 0); width 648 Source/core/rendering/RenderBox.cpp return valueForLength(style()->boxReflect()->offset(), borderBoxRect().width()); width 667 Source/core/rendering/RenderBox.cpp result.setX(box.x() - reflectionOffset() - box.width() + (box.maxX() - r.maxX())); width 838 Source/core/rendering/RenderBox.cpp return IntSize(adjustedScrollDelta(delta.width()), adjustedScrollDelta(delta.height())); width 858 Source/core/rendering/RenderBox.cpp if (abs(delta.width()) <= ScrollView::noPanScrollRadius) // at the center we let the space for the icon width 983 Source/core/rendering/RenderBox.cpp void RenderBox::setOverrideLogicalContentWidth(LayoutUnit width) width 985 Source/core/rendering/RenderBox.cpp ASSERT(width >= 0); width 986 Source/core/rendering/RenderBox.cpp ensureRareData().m_overrideLogicalContentWidth = width; width 1068 Source/core/rendering/RenderBox.cpp LayoutUnit RenderBox::adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const width 1072 Source/core/rendering/RenderBox.cpp return width + bordersPlusPadding; width 1073 Source/core/rendering/RenderBox.cpp return max(width, bordersPlusPadding); width 1084 Source/core/rendering/RenderBox.cpp LayoutUnit RenderBox::adjustContentBoxLogicalWidthForBoxSizing(LayoutUnit width) const width 1087 Source/core/rendering/RenderBox.cpp width -= borderAndPaddingLogicalWidth(); width 1088 Source/core/rendering/RenderBox.cpp return max<LayoutUnit>(0, width); width 1171 Source/core/rendering/RenderBox.cpp if (contextScaling.width() > 1) width 1319 Source/core/rendering/RenderBox.cpp if (!childBox->width() || !childBox->height()) width 1357 Source/core/rendering/RenderBox.cpp if (childLocalRect.maxY() > childBox->height() || childLocalRect.maxX() > childBox->width()) width 1595 Source/core/rendering/RenderBox.cpp rw = layerRenderer->width(); width 1600 Source/core/rendering/RenderBox.cpp max(layerRenderer->width() + layerRenderer->marginWidth() + layerRenderer->borderLeft() + layerRenderer->borderRight(), rw), width 1709 Source/core/rendering/RenderBox.cpp LayoutUnit c = valueForLength(style()->clipLeft(), borderBoxRect.width()); width 1715 Source/core/rendering/RenderBox.cpp clipRect.contract(width() - valueForLength(style()->clipRight(), width()), 0); width 1852 Source/core/rendering/RenderBox.cpp transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform); width 1858 Source/core/rendering/RenderBox.cpp transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform); width 2979 Source/core/rendering/RenderBox.cpp return containingBlock->isHorizontalWritingMode() ? viewportRect.width() : viewportRect.height(); width 3019 Source/core/rendering/RenderBox.cpp return containingBlock->isHorizontalWritingMode() ? viewportRect.height() : viewportRect.width(); width 3044 Source/core/rendering/RenderBox.cpp heightResult = boundingBox.width(); width 3061 Source/core/rendering/RenderBox.cpp staticPosition += toRenderBox(curr)->relativePositionOffset().width(); width 3080 Source/core/rendering/RenderBox.cpp staticPosition -= toRenderBox(curr)->relativePositionOffset().width(); width 3984 Source/core/rendering/RenderBox.cpp rect.move(LayoutSize(width() - caretWidth, 0)); width 4006 Source/core/rendering/RenderBox.cpp *extraWidthToEndOfLine = x() + width() - rect.maxX(); width 4096 Source/core/rendering/RenderBox.cpp LayoutUnit dist = difference.width() * difference.width() + difference.height() * difference.height(); width 4115 Source/core/rendering/RenderBox.cpp return style()->width().isAuto(); width 4368 Source/core/rendering/RenderBox.cpp return direction == HorizontalLine ? m_marginBox.top() + height() + m_marginBox.bottom() : m_marginBox.right() + width() + m_marginBox.left(); width 4376 Source/core/rendering/RenderBox.cpp int result = direction == HorizontalLine ? m_marginBox.top() + height() + m_marginBox.bottom() : m_marginBox.right() + width() + m_marginBox.left(); width 4416 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); width 4468 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); width 4490 Source/core/rendering/RenderBox.cpp LayoutRect rect(left, top, width() - left - right, height() - top - bottom); width 4538 Source/core/rendering/RenderBox.cpp return LayoutPoint(point.x() + width() - child->width() - (2 * child->x()), point.y()); width 4549 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); width 4563 Source/core/rendering/RenderBox.cpp return isHorizontalWritingMode() ? LayoutPoint(position.x(), height() - position.y()) : LayoutPoint(width() - position.x(), position.y()); width 4577 Source/core/rendering/RenderBox.cpp return isHorizontalWritingMode() ? LayoutSize(offset.width(), height() - offset.height()) : LayoutSize(width() - offset.width(), offset.height()); width 4584 Source/core/rendering/RenderBox.cpp return isHorizontalWritingMode() ? FloatPoint(position.x(), height() - position.y()) : FloatPoint(width() - position.x(), position.y()); width 4595 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); width 92 Source/core/rendering/RenderBox.h LayoutUnit width() const { return m_frameRect.width(); } width 105 Source/core/rendering/RenderBox.h void setWidth(LayoutUnit width) { m_frameRect.setWidth(width); } width 112 Source/core/rendering/RenderBox.h LayoutUnit logicalWidth() const { return style()->isHorizontalWritingMode() ? width() : height(); } width 113 Source/core/rendering/RenderBox.h LayoutUnit logicalHeight() const { return style()->isHorizontalWritingMode() ? height() : width(); } width 244 Source/core/rendering/RenderBox.h virtual LayoutUnit offsetWidth() const OVERRIDE { return width(); } width 371 Source/core/rendering/RenderBox.h LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(LayoutUnit width) const; width 373 Source/core/rendering/RenderBox.h LayoutUnit adjustContentBoxLogicalWidthForBoxSizing(LayoutUnit width) const; width 436 Source/core/rendering/RenderBox.h LayoutUnit intrinsicLogicalWidth() const { return style()->isHorizontalWritingMode() ? intrinsicSize().width() : intrinsicSize().height(); } width 437 Source/core/rendering/RenderBox.h LayoutUnit intrinsicLogicalHeight() const { return style()->isHorizontalWritingMode() ? intrinsicSize().height() : intrinsicSize().width(); } width 449 Source/core/rendering/RenderBox.h LayoutUnit computeReplacedLogicalWidthUsing(Length width) const; width 522 Source/core/rendering/RenderBox.h LayoutUnit oldWidth = width(); width 525 Source/core/rendering/RenderBox.h if (oldWidth != width()) width 311 Source/core/rendering/RenderBoxModelObject.cpp constraints.setLeftOffset(floatValueForLength(style()->left(), constrainingRect.width())); width 316 Source/core/rendering/RenderBoxModelObject.cpp constraints.setRightOffset(floatValueForLength(style()->right(), constrainingRect.width())); width 462 Source/core/rendering/RenderBoxModelObject.cpp return getBackgroundRoundedRect(shrinkRectByOnePixel(context, borderRect), box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge); width 467 Source/core/rendering/RenderBoxModelObject.cpp return getBackgroundRoundedRect(borderRect, box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge); width 561 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect border = isBorderFill ? backgroundRoundedRectAdjustedForBleedAvoidance(context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge) : getBackgroundRoundedRect(rect, box, boxSize.width(), boxSize.height(), includeLeftEdge, includeRightEdge); width 605 Source/core/rendering/RenderBoxModelObject.cpp scrolledPaintRect.width() - bLeft - bRight - (includePadding ? pLeft + pRight : LayoutUnit()), width 743 Source/core/rendering/RenderBoxModelObject.cpp return ceilf(height * intrinsicRatio.width() / intrinsicRatio.height()); width 746 Source/core/rendering/RenderBoxModelObject.cpp static inline int resolveHeightForRatio(int width, const FloatSize& intrinsicRatio) width 748 Source/core/rendering/RenderBoxModelObject.cpp return ceilf(width * intrinsicRatio.height() / intrinsicRatio.width()); width 756 Source/core/rendering/RenderBoxModelObject.cpp return IntSize(size.width(), useHeight); width 770 Source/core/rendering/RenderBoxModelObject.cpp int solutionHeight = resolveHeightForRatio(size.width(), intrinsicRatio); width 771 Source/core/rendering/RenderBoxModelObject.cpp if (solutionWidth <= size.width()) { width 775 Source/core/rendering/RenderBoxModelObject.cpp int areaTwo = size.width() * solutionHeight; width 777 Source/core/rendering/RenderBoxModelObject.cpp return IntSize(size.width(), solutionHeight); width 787 Source/core/rendering/RenderBoxModelObject.cpp return IntSize(size.width(), solutionHeight); width 794 Source/core/rendering/RenderBoxModelObject.cpp return IntSize(positioningAreaSize.width(), positioningAreaSize.height()); width 807 Source/core/rendering/RenderBoxModelObject.cpp int resolvedWidth = static_cast<int>(round(positioningAreaSize.width() * intrinsicWidth.percent() / 100)); width 813 Source/core/rendering/RenderBoxModelObject.cpp IntSize minimumSize(resolvedSize.width() > 0 ? 1 : 0, resolvedSize.height() > 0 ? 1 : 0); width 825 Source/core/rendering/RenderBoxModelObject.cpp if (resolvedSize.width() > 0 || resolvedSize.height() > 0) width 826 Source/core/rendering/RenderBoxModelObject.cpp return resolveAgainstIntrinsicWidthOrHeightAndRatio(positioningAreaSize, intrinsicRatio, resolvedSize.width(), resolvedSize.height()); width 841 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setWidth(positioningAreaSize.width() - tileSize.width() <= 1 ? tileSize.width().ceil() : tileSize.width().floor()); width 856 Source/core/rendering/RenderBoxModelObject.cpp Length layerWidth = fillLayer->size().size.width(); width 862 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setWidth(valueForLength(layerWidth, positioningAreaSize.width())); width 875 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setWidth(imageIntrinsicSize.width() * tileSize.height() / imageIntrinsicSize.height()); width 877 Source/core/rendering/RenderBoxModelObject.cpp if (imageIntrinsicSize.width()) width 878 Source/core/rendering/RenderBoxModelObject.cpp tileSize.setHeight(imageIntrinsicSize.height() * tileSize.width() / imageIntrinsicSize.width()); width 897 Source/core/rendering/RenderBoxModelObject.cpp float horizontalScaleFactor = imageIntrinsicSize.width() width 898 Source/core/rendering/RenderBoxModelObject.cpp ? static_cast<float>(positioningAreaSize.width()) / imageIntrinsicSize.width() : 1; width 902 Source/core/rendering/RenderBoxModelObject.cpp return IntSize(max(1l, lround(imageIntrinsicSize.width() * scaleFactor)), max(1l, lround(imageIntrinsicSize.height() * scaleFactor))); width 914 Source/core/rendering/RenderBoxModelObject.cpp m_destRect.setWidth(m_tileSize.width() + min(xOffset, 0)); width 1043 Source/core/rendering/RenderBoxModelObject.cpp int availableWidth = positioningAreaSize.width() - geometry.tileSize().width(); width 1047 Source/core/rendering/RenderBoxModelObject.cpp if (backgroundRepeatX == RoundFill && positioningAreaSize.width() > 0 && fillTileSize.width() > 0) { width 1048 Source/core/rendering/RenderBoxModelObject.cpp long nrTiles = max(1l, lroundf((float)positioningAreaSize.width() / fillTileSize.width())); width 1051 Source/core/rendering/RenderBoxModelObject.cpp fillTileSize.setHeight(fillTileSize.height() * positioningAreaSize.width() / (nrTiles * fillTileSize.width())); width 1054 Source/core/rendering/RenderBoxModelObject.cpp fillTileSize.setWidth(positioningAreaSize.width() / nrTiles); width 1056 Source/core/rendering/RenderBoxModelObject.cpp geometry.setPhaseX(geometry.tileSize().width() ? geometry.tileSize().width() - roundToInt(computedXPosition + left) % geometry.tileSize().width() : 0); width 1064 Source/core/rendering/RenderBoxModelObject.cpp if (fillLayer->size().size.width().isAuto() && backgroundRepeatX != RoundFill) { width 1065 Source/core/rendering/RenderBoxModelObject.cpp fillTileSize.setWidth(fillTileSize.width() * positioningAreaSize.height() / (nrTiles * fillTileSize.height())); width 1075 Source/core/rendering/RenderBoxModelObject.cpp geometry.setPhaseX(geometry.tileSize().width() ? geometry.tileSize().width() - roundToInt(computedXPosition + left) % geometry.tileSize().width() : 0); width 1077 Source/core/rendering/RenderBoxModelObject.cpp } else if (backgroundRepeatX == SpaceFill && fillTileSize.width() > 0) { width 1078 Source/core/rendering/RenderBoxModelObject.cpp int space = getSpace(positioningAreaSize.width(), geometry.tileSize().width()); width 1079 Source/core/rendering/RenderBoxModelObject.cpp int actualWidth = geometry.tileSize().width() + space; width 1097 Source/core/rendering/RenderBoxModelObject.cpp geometry.setSpaceSize(IntSize(geometry.spaceSize().width(), 0)); width 1104 Source/core/rendering/RenderBoxModelObject.cpp geometry.setSpaceSize(IntSize(geometry.spaceSize().width(), space)); width 1113 Source/core/rendering/RenderBoxModelObject.cpp geometry.setSpaceSize(IntSize(geometry.spaceSize().width(), 0)); width 1156 Source/core/rendering/RenderBoxModelObject.cpp int imageWidth = imageSize.width(); width 1169 Source/core/rendering/RenderBoxModelObject.cpp int rightWidth = computeBorderImageSide(ninePieceImage.borderSlices().right(), style->borderRightWidth(), rightSlice, borderImageRect.width()); width 1171 Source/core/rendering/RenderBoxModelObject.cpp int leftWidth = computeBorderImageSide(ninePieceImage.borderSlices().left(), style->borderLeftWidth(), leftSlice, borderImageRect.width()); width 1179 Source/core/rendering/RenderBoxModelObject.cpp float borderSideScaleFactor = min((float)borderImageRect.width() / borderSideWidth, (float)borderImageRect.height() / borderSideHeight); width 1191 Source/core/rendering/RenderBoxModelObject.cpp bool drawMiddle = ninePieceImage.fill() && (imageWidth - leftSlice - rightSlice) > 0 && (borderImageRect.width() - leftWidth - rightWidth) > 0 width 1196 Source/core/rendering/RenderBoxModelObject.cpp float destinationWidth = borderImageRect.width() - leftWidth - rightWidth; width 1301 Source/core/rendering/RenderBoxModelObject.cpp : width(edgeWidth) width 1312 Source/core/rendering/RenderBoxModelObject.cpp : width(0) width 1320 Source/core/rendering/RenderBoxModelObject.cpp bool shouldRender() const { return isPresent && width && hasVisibleColorAndStyle(); } width 1324 Source/core/rendering/RenderBoxModelObject.cpp if (!isPresent || isTransparent || (width * scale) < 2 || color.hasAlpha() || style == BHIDDEN) width 1331 Source/core/rendering/RenderBoxModelObject.cpp return width >= 5 * scale; // The outer band needs to be >= 2px wide at unit scale. width 1346 Source/core/rendering/RenderBoxModelObject.cpp int usedWidth() const { return isPresent ? width : 0; } width 1362 Source/core/rendering/RenderBoxModelObject.cpp int width; width 1382 Source/core/rendering/RenderBoxModelObject.cpp topRightRect.setX(boundingRect.maxX() - topRightRect.width()); width 1392 Source/core/rendering/RenderBoxModelObject.cpp bottomRightRect.setX(boundingRect.maxX() - bottomRightRect.width()); width 1558 Source/core/rendering/RenderBoxModelObject.cpp ASSERT(edgeToRender.width); width 1576 Source/core/rendering/RenderBoxModelObject.cpp float thickness = max(max(edgeToRender.width, adjacentEdge1.width), adjacentEdge2.width); width 1577 Source/core/rendering/RenderBoxModelObject.cpp drawBoxSideFromPath(graphicsContext, outerBorder.rect(), *path, edges, edgeToRender.width, thickness, side, style, width 1596 Source/core/rendering/RenderBoxModelObject.cpp mitreAdjacentSide1 ? adjacentEdge1.width : 0, mitreAdjacentSide2 ? adjacentEdge2.width : 0, antialias); width 1603 Source/core/rendering/RenderBoxModelObject.cpp int width = edges[side].width; width 1606 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setHeight(width); width 1608 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftYEdgeTo(sideRect.maxY() - width); width 1610 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setWidth(width); width 1612 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftXEdgeTo(sideRect.maxX() - width); width 1634 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setHeight(edges[BSTop].width + innerBorderAdjustment.y()); width 1642 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftYEdgeTo(sideRect.maxY() - edges[BSBottom].width - innerBorderAdjustment.y()); width 1650 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setWidth(edges[BSLeft].width + innerBorderAdjustment.x()); width 1658 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftXEdgeTo(sideRect.maxX() - edges[BSRight].width - innerBorderAdjustment.x()); width 1756 Source/core/rendering/RenderBoxModelObject.cpp if (currEdge.width != edges[firstVisibleEdge].width) width 1813 Source/core/rendering/RenderBoxModelObject.cpp innerThirdRect.setWidth(innerThirdRect.width() - innerWidth); width 1814 Source/core/rendering/RenderBoxModelObject.cpp outerThirdRect.setWidth(outerThirdRect.width() - outerWidth); width 2045 Source/core/rendering/RenderBoxModelObject.cpp FloatPoint centerPoint(innerRect.location().x().toFloat() + innerRect.width().toFloat() / 2, innerRect.location().y().toFloat() + innerRect.height().toFloat() / 2); width 2071 Source/core/rendering/RenderBoxModelObject.cpp quad[1].x() + innerBorder.radii().topLeft().width(), width 2082 Source/core/rendering/RenderBoxModelObject.cpp quad[2].x() - innerBorder.radii().topRight().width(), width 2100 Source/core/rendering/RenderBoxModelObject.cpp quad[1].x() + innerBorder.radii().topLeft().width(), width 2111 Source/core/rendering/RenderBoxModelObject.cpp quad[2].x() + innerBorder.radii().bottomLeft().width(), width 2129 Source/core/rendering/RenderBoxModelObject.cpp quad[1].x() + innerBorder.radii().bottomLeft().width(), width 2140 Source/core/rendering/RenderBoxModelObject.cpp quad[2].x() - innerBorder.radii().bottomRight().width(), width 2158 Source/core/rendering/RenderBoxModelObject.cpp quad[1].x() - innerBorder.radii().topRight().width(), width 2169 Source/core/rendering/RenderBoxModelObject.cpp quad[2].x() - innerBorder.radii().bottomRight().width(), width 2227 Source/core/rendering/RenderBoxModelObject.cpp int width; width 2231 Source/core/rendering/RenderBoxModelObject.cpp width = sideRect.height() - edges[BSBottom].width; width 2232 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setHeight(width); width 2235 Source/core/rendering/RenderBoxModelObject.cpp width = sideRect.height() - edges[BSTop].width; width 2236 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftYEdgeTo(sideRect.maxY() - width); width 2239 Source/core/rendering/RenderBoxModelObject.cpp width = sideRect.width() - edges[BSRight].width; width 2240 Source/core/rendering/RenderBoxModelObject.cpp sideRect.setWidth(width); width 2243 Source/core/rendering/RenderBoxModelObject.cpp width = sideRect.width() - edges[BSLeft].width; width 2244 Source/core/rendering/RenderBoxModelObject.cpp sideRect.shiftXEdgeTo(sideRect.maxX() - width); width 2264 Source/core/rendering/RenderBoxModelObject.cpp overshoot = newRadii.topLeft().width() + newRadii.topRight().width() - newRect.width(); width 2266 Source/core/rendering/RenderBoxModelObject.cpp ASSERT(!(newRadii.topLeft().width() && newRadii.topRight().width())); width 2267 Source/core/rendering/RenderBoxModelObject.cpp newRect.setWidth(newRect.width() + overshoot); width 2268 Source/core/rendering/RenderBoxModelObject.cpp if (!newRadii.topLeft().width()) width 2279 Source/core/rendering/RenderBoxModelObject.cpp overshoot = newRadii.bottomLeft().width() + newRadii.bottomRight().width() - newRect.width(); width 2281 Source/core/rendering/RenderBoxModelObject.cpp ASSERT(!(newRadii.bottomLeft().width() && newRadii.bottomRight().width())); width 2282 Source/core/rendering/RenderBoxModelObject.cpp newRect.setWidth(newRect.width() + overshoot); width 2283 Source/core/rendering/RenderBoxModelObject.cpp if (!newRadii.bottomLeft().width()) width 2305 Source/core/rendering/RenderBoxModelObject.cpp maxRadii = max(newRadii.topLeft().width(), newRadii.bottomLeft().width()); width 2306 Source/core/rendering/RenderBoxModelObject.cpp if (maxRadii > newRect.width()) width 2320 Source/core/rendering/RenderBoxModelObject.cpp maxRadii = max(newRadii.topRight().width(), newRadii.bottomRight().width()); width 2321 Source/core/rendering/RenderBoxModelObject.cpp if (maxRadii > newRect.width()) { width 2322 Source/core/rendering/RenderBoxModelObject.cpp newRect.move(newRect.width() - maxRadii, 0); width 2377 Source/core/rendering/RenderBoxModelObject.cpp float axisScale = (i == BSTop || i == BSBottom) ? contextScale.height() : contextScale.width(); width 2637 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect RenderBoxModelObject::localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIndentOffset) width 2676 Source/core/rendering/RenderBoxModelObject.cpp LayoutUnit maxX = width - borderRight() - paddingRight(); width 2749 Source/core/rendering/RenderBoxModelObject.cpp transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform); width 2779 Source/core/rendering/RenderBoxModelObject.cpp t.translateRight(adjustmentForSkippedAncestor.width().toFloat(), adjustmentForSkippedAncestor.height().toFloat()); width 277 Source/core/rendering/RenderBoxModelObject.h LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIndentOffset); width 113 Source/core/rendering/RenderButton.cpp return LayoutRect(additionalOffset.x() + borderLeft(), additionalOffset.y() + borderTop(), width() - borderLeft() - borderRight(), height() - borderTop() - borderBottom()); width 66 Source/core/rendering/RenderCombineText.cpp return RenderText::width(from, length, font, xPosition, direction, fallbackFonts, glyphOverflow); width 105 Source/core/rendering/RenderCombineText.cpp m_combinedTextWidth = originalFont().width(run); width 119 Source/core/rendering/RenderCombineText.cpp float runWidth = compressedFont.width(run); width 42 Source/core/rendering/RenderCombineText.h virtual float width(unsigned from, unsigned length, const Font&, float xPosition, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const OVERRIDE; width 202 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp LayoutUnit width = child->minPreferredLogicalWidth() + margin; width 203 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp minLogicalWidth = max(width, minLogicalWidth); width 205 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp width = child->maxPreferredLogicalWidth() + margin; width 206 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp maxLogicalWidth = max(width, maxLogicalWidth); width 231 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if (style()->width().isFixed() && style()->width().value() > 0) width 232 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->width().value()); width 373 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if (relayoutChildren || (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent()))) width 480 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp xPos += child->width() + child->marginRight(); width 672 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if (!haveLineClamp && (relayoutChildren || (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent())))) width 699 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp childX += child->marginLeft() + max<LayoutUnit>(0, (contentWidth() - (child->width() + child->marginWidth())) / 2); width 705 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp childX += contentWidth() - child->marginRight() - child->width(); width 711 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp childX += contentWidth() - child->marginRight() - child->width(); width 886 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if (relayoutChildren || (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent())) width 946 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp totalWidth = anchorBox->logicalWidth() + font.width(RenderBlockFlow::constructTextRun(this, font, ellipsisAndSpace, 2, style(), style()->direction())); width 949 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp totalWidth = font.width(RenderBlockFlow::constructTextRun(this, font, &horizontalEllipsis, 1, style(), style()->direction())); width 984 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp if ((child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent())) width 1019 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp LayoutUnit width = contentWidthForChild(child); width 1028 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp return max<LayoutUnit>(0, maxWidth - width); width 1044 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp LayoutUnit width = contentWidthForChild(child); width 1054 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp LayoutUnit allowedShrinkage = min<LayoutUnit>(0, minWidth - width); width 152 Source/core/rendering/RenderEmbeddedObject.cpp float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2); width 178 Source/core/rendering/RenderEmbeddedObject.cpp textWidth = font.width(run); width 181 Source/core/rendering/RenderEmbeddedObject.cpp float x = (contentRect.size().width() / 2 - replacementTextRect.size().width() / 2) + contentRect.location().x(); width 234 Source/core/rendering/RenderEmbeddedObject.cpp childBox->style()->setWidth(Length(newSize.width(), Fixed)); width 157 Source/core/rendering/RenderFieldset.cpp LayoutUnit xOff = (legend->x() > 0) ? LayoutUnit() : (legend->width() - borderLeft()) / 2; width 158 Source/core/rendering/RenderFieldset.cpp paintRect.setWidth(paintRect.width() - xOff); width 180 Source/core/rendering/RenderFieldset.cpp graphicsContext->clipOut(pixelSnappedIntRect(paintRect.x() + legend->x(), clipTop, legend->width(), clipHeight)); width 183 Source/core/rendering/RenderFieldset.cpp LayoutUnit clipWidth = max(static_cast<LayoutUnit>(style()->borderLeftWidth()), legend->width()); width 208 Source/core/rendering/RenderFieldset.cpp LayoutUnit xOff = (legend->x() > 0) ? LayoutUnit() : (legend->width() - borderLeft()) / 2; width 98 Source/core/rendering/RenderFileUploadControl.cpp width() - borderLeft() - borderRight(), height() - borderBottom() - borderTop() + buttonShadowHeight)); width 119 Source/core/rendering/RenderFileUploadControl.cpp float textWidth = font.width(textRun); width 157 Source/core/rendering/RenderFileUploadControl.cpp float minDefaultLabelWidth = defaultWidthNumChars * font.width(constructTextRun(renderer, font, characterAsString, style(), TextRun::AllowTrailingExpansion)); width 160 Source/core/rendering/RenderFileUploadControl.cpp float defaultLabelWidth = font.width(constructTextRun(renderer, font, label, style(), TextRun::AllowTrailingExpansion)); width 166 Source/core/rendering/RenderFileUploadControl.cpp if (!style()->width().isPercent()) width 177 Source/core/rendering/RenderFileUploadControl.cpp if (style()->width().isFixed() && style()->width().value() > 0) width 178 Source/core/rendering/RenderFileUploadControl.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->width().value()); width 378 Source/core/rendering/RenderFlexibleBox.cpp flexLength = isHorizontalFlow() ? child->style()->width() : child->style()->height(); width 392 Source/core/rendering/RenderFlexibleBox.cpp return isHorizontalFlow() ? child->height() : child->width(); width 397 Source/core/rendering/RenderFlexibleBox.cpp return isHorizontalFlow() ? child->width() : child->height(); width 402 Source/core/rendering/RenderFlexibleBox.cpp return isHorizontalFlow() ? height() : width(); width 407 Source/core/rendering/RenderFlexibleBox.cpp return isHorizontalFlow() ? width() : height(); width 574 Source/core/rendering/RenderFlowThread.cpp setOffsetFromLogicalTopOfFirstRegion(currentBoxDescendant, currentBoxDescendant->isHorizontalWritingMode() ? offsetDelta.height() : offsetDelta.width()); width 607 Source/core/rendering/RenderFlowThread.cpp return currentBoxDescendant->isHorizontalWritingMode() ? offsetDelta.height() : offsetDelta.width(); width 611 Source/core/rendering/RenderFlowThread.cpp LayoutRect blockRect(0, 0, currentBlock->width(), currentBlock->height()); width 626 Source/core/rendering/RenderFlowThread.cpp blockRect.setX(currentBlock->width() - blockRect.maxX()); width 93 Source/core/rendering/RenderFrameSet.cpp if (borderRect.width() >= 3) { width 113 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(borderRect.location(), IntSize(width(), 1)), borderStartEdgeColor()); width 114 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(IntPoint(borderRect.x(), borderRect.maxY() - 1), IntSize(width(), 1)), borderEndEdgeColor()); width 151 Source/core/rendering/RenderFrameSet.cpp paintRowBorder(paintInfo, pixelSnappedIntRect(LayoutRect(adjustedPaintOffset.x(), adjustedPaintOffset.y() + yPos, width(), borderThickness))); width 467 Source/core/rendering/RenderFrameSet.cpp layOutAxis(m_cols, frameSet()->colLengths(), width() - (cols - 1) * borderThickness); width 513 Source/core/rendering/RenderFrameSet.cpp int width = m_cols.m_sizes[c]; width 516 Source/core/rendering/RenderFrameSet.cpp if (width != child->width() || height != child->height()) { width 517 Source/core/rendering/RenderFrameSet.cpp child->setWidth(width); width 523 Source/core/rendering/RenderFrameSet.cpp xPos += width + borderThickness; width 175 Source/core/rendering/RenderFullScreen.cpp if (style->width().isAuto()) width 176 Source/core/rendering/RenderFullScreen.cpp style->setWidth(Length(frameRect.width(), Fixed)); width 94 Source/core/rendering/RenderGeometryMap.cpp transformState.move(currentStep.m_offset.width(), currentStep.m_offset.height(), accumulate); width 142 Source/core/rendering/RenderGeometryMap.cpp fprintf(stderr, "RenderGeometryMap::dumpSteps accumulatedOffset=%d,%d\n", m_accumulatedOffset.width().toInt(), m_accumulatedOffset.height().toInt()); width 144 Source/core/rendering/RenderGeometryMap.cpp fprintf(stderr, " [%d] %s: offset=%d,%d", i, m_mapping[i].m_renderer->debugName().ascii().data(), m_mapping[i].m_offset.width().toInt(), m_mapping[i].m_offset.height().toInt()); width 91 Source/core/rendering/RenderHTMLCanvas.cpp LayoutSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effectiveZoom()); width 113 Source/core/rendering/RenderImage.cpp return IntSize(paddingWidth + imageSize.width() * style()->effectiveZoom(), paddingHeight + imageSize.height() * style()->effectiveZoom()); width 133 Source/core/rendering/RenderImage.cpp IntSize paddedTextSize(paddingWidth + min(ceilf(font.width(RenderBlockFlow::constructTextRun(this, font, m_altText, style()))), maxAltTextWidth), paddingHeight + min(font.fontMetrics().height(), maxAltTextHeight)); width 197 Source/core/rendering/RenderImage.cpp IntSize containerSize(containerRect.width(), containerRect.height()); width 226 Source/core/rendering/RenderImage.cpp imageSizeChanged = width() != newWidth || height() != newHeight; width 324 Source/core/rendering/RenderImage.cpp if (m_imageResource->errorOccurred() && !image->isNull() && usableWidth >= image->width() && usableHeight >= image->height()) { width 332 Source/core/rendering/RenderImage.cpp LayoutUnit centerX = (usableWidth - imageSize.width()) / 2; width 354 Source/core/rendering/RenderImage.cpp float textWidth = font.width(textRun); width 460 Source/core/rendering/RenderImage.cpp if (!m_imageResource->hasImage() || m_imageResource->errorOccurred() || alignedRect.width() <= 0 || alignedRect.height() <= 0) width 463 Source/core/rendering/RenderImage.cpp RefPtr<Image> img = m_imageResource->image(alignedRect.width(), alignedRect.height()); width 475 Source/core/rendering/RenderImage.cpp context->drawImage(m_imageResource->image(alignedRect.width(), alignedRect.height()).get(), alignedRect, compositeOperator, shouldRespectImageOrientation()); width 64 Source/core/rendering/RenderImageResourceStyleImage.cpp PassRefPtr<Image> RenderImageResourceStyleImage::image(int width, int height) const width 69 Source/core/rendering/RenderImageResourceStyleImage.cpp return m_styleImage->image(m_renderer, IntSize(width, height)); width 49 Source/core/rendering/RenderImageResourceStyleImage.h virtual PassRefPtr<Image> image(int width = 0, int height = 0) const OVERRIDE; width 565 Source/core/rendering/RenderInline.cpp yield(FloatRect(currBox->inlineBoxWrapper()->x() - currBox->marginLeft(), logicalTop, (currBox->width() + currBox->marginWidth()).toFloat(), logicalHeight)); width 870 Source/core/rendering/RenderInline.cpp float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastLineBox()->logicalBottom() - x; width 872 Source/core/rendering/RenderInline.cpp result = enclosingIntRect(FloatRect(x, y, width, height)); width 1178 Source/core/rendering/RenderInline.cpp transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform); width 1184 Source/core/rendering/RenderInline.cpp transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform); width 1461 Source/core/rendering/RenderInline.cpp LayoutSize(thisline.width() + offset, thisline.height() + offset)); width 1464 Source/core/rendering/RenderInline.cpp IntRect pixelSnappedLastLine = pixelSnappedIntRect(paintOffset.x() + lastline.x(), 0, lastline.width(), 0); width 1465 Source/core/rendering/RenderInline.cpp IntRect pixelSnappedNextLine = pixelSnappedIntRect(paintOffset.x() + nextline.x(), 0, nextline.width(), 0); width 143 Source/core/rendering/RenderInline.h virtual LayoutUnit offsetWidth() const OVERRIDE FINAL { return linesBoundingBox().width(); } width 159 Source/core/rendering/RenderInline.h return IntRect(0, 0, boundingBox.width(), boundingBox.height()); width 70 Source/core/rendering/RenderInputSpeech.cpp LayoutUnit buttonSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), rect.height())); width 74 Source/core/rendering/RenderInputSpeech.cpp LayoutRect buttonRect(object->offsetFromAncestorContainer(inputRenderBox).width(), width 1039 Source/core/rendering/RenderLayer.cpp const float boxWidth = borderBox.width(); width 1066 Source/core/rendering/RenderLayer.cpp return FloatPoint(floatValueForLength(style->perspectiveOriginX(), borderBox.width().toFloat()), floatValueForLength(style->perspectiveOriginY(), borderBox.height().toFloat())); width 2676 Source/core/rendering/RenderLayer.cpp newTransform.translateRight(roundToInt(offset.width()), roundToInt(offset.height())); width 2694 Source/core/rendering/RenderLayer.cpp transform.translateRight(roundToInt(childOffset.x() + offset.width()), roundToInt(childOffset.y() + offset.height())); width 2708 Source/core/rendering/RenderLayer.cpp LayoutUnit blockDelta = isHorizontal ? colRect.height() : colRect.width(); width 3222 Source/core/rendering/RenderLayer.cpp LayoutUnit blockDelta = (isHorizontal ? colRect.height() : colRect.width()); width 3233 Source/core/rendering/RenderLayer.cpp LayoutUnit blockDelta = (isHorizontal ? colRect.height() : colRect.width()); width 3266 Source/core/rendering/RenderLayer.cpp newTransform.translateRight(offset.width(), offset.height()); width 3279 Source/core/rendering/RenderLayer.cpp newTransformState->translate(offset.width(), offset.height(), HitTestingTransformState::AccumulateTransform); width 3734 Source/core/rendering/RenderLayer.cpp if (toRenderBox(child)->width() > 0 || toRenderBox(child)->height() > 0) width 97 Source/core/rendering/RenderLayerScrollableArea.cpp scrollAnimator()->setCurrentPosition(FloatPoint(m_scrollOffset.width(), m_scrollOffset.height())); width 194 Source/core/rendering/RenderLayerScrollableArea.cpp scrollRect.move(verticalScrollbarStart(0, m_box->width()), m_box->borderTop()); width 261 Source/core/rendering/RenderLayerScrollableArea.cpp horizontalThickness = verticalScrollbar->width(); width 267 Source/core/rendering/RenderLayerScrollableArea.cpp horizontalThickness = verticalScrollbar->width(); width 339 Source/core/rendering/RenderLayerScrollableArea.cpp return (orientation == HorizontalScrollbar) ? scrollDimensions.width() : scrollDimensions.height(); width 450 Source/core/rendering/RenderLayerScrollableArea.cpp verticalScrollbarWidth = (verticalScrollbar() && !verticalScrollbar()->isOverlayScrollbar()) ? verticalScrollbar()->width() : 0; width 455 Source/core/rendering/RenderLayerScrollableArea.cpp IntSize(max(0, layer()->size().width() - verticalScrollbarWidth), max(0, layer()->size().height() - horizontalScrollbarHeight))); width 465 Source/core/rendering/RenderLayerScrollableArea.cpp return layer()->size().width(); width 538 Source/core/rendering/RenderLayerScrollableArea.cpp return snapSizeToPixel(m_overflowRect.width(), m_box->clientLeft() + m_box->x()); width 652 Source/core/rendering/RenderLayerScrollableArea.cpp horizontalScrollbar->setProportion(clientWidth, overflowRect().width()); width 764 Source/core/rendering/RenderLayerScrollableArea.cpp int x = std::max(std::min(scrollOffset.width(), maxX), 0); width 778 Source/core/rendering/RenderLayerScrollableArea.cpp borderBoxRect.width() - (m_box->borderLeft() + m_box->borderRight()) - scrollCorner.width(), width 791 Source/core/rendering/RenderLayerScrollableArea.cpp m_vBar->width(), width 799 Source/core/rendering/RenderLayerScrollableArea.cpp return maxX - m_box->borderRight() - m_vBar->width(); width 806 Source/core/rendering/RenderLayerScrollableArea.cpp x += m_vBar ? m_vBar->width() : resizerCornerRect(m_box->pixelSnappedBorderBoxRect(), ResizerForPointer).width(); width 813 Source/core/rendering/RenderLayerScrollableArea.cpp return IntSize(verticalScrollbarStart(0, m_box->width()), m_box->borderTop()); width 919 Source/core/rendering/RenderLayerScrollableArea.cpp return m_vBar->width(); width 1100 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutRect vBarRect(verticalScrollbarStart(0, m_box->width()), width 1102 Source/core/rendering/RenderLayerScrollableArea.cpp m_vBar->width(), width 1110 Source/core/rendering/RenderLayerScrollableArea.cpp resizeControlSize = max(resizeControlRect.width(), 0); width 1114 Source/core/rendering/RenderLayerScrollableArea.cpp m_box->width() - (m_box->borderLeft() + m_box->borderRight()) - (m_vBar ? m_vBar->width() : resizeControlSize), width 1139 Source/core/rendering/RenderLayerScrollableArea.cpp corner.move(-corner.width() * expandRatio, -corner.height() * expandRatio); width 1140 Source/core/rendering/RenderLayerScrollableArea.cpp corner.expand(corner.width() * expandRatio, corner.height() * expandRatio); width 1201 Source/core/rendering/RenderLayerScrollableArea.cpp largerCorner.setSize(IntSize(largerCorner.width() + 1, largerCorner.height() + 1)); width 1288 Source/core/rendering/RenderLayerScrollableArea.cpp context->translate(resizerCornerRect.x() + cornerResizerSize.width(), resizerCornerRect.y() + resizerCornerRect.height() - cornerResizerSize.height()); width 1344 Source/core/rendering/RenderLayerScrollableArea.cpp newOffset.setWidth(newOffset.width() / zoomFactor); width 1347 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutSize currentSize = LayoutSize(m_box->width() / zoomFactor, m_box->height() / zoomFactor); width 1351 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutSize adjustedOldOffset = LayoutSize(oldOffset.width() / zoomFactor, oldOffset.height() / zoomFactor); width 1353 Source/core/rendering/RenderLayerScrollableArea.cpp newOffset.setWidth(-newOffset.width()); width 1354 Source/core/rendering/RenderLayerScrollableArea.cpp adjustedOldOffset.setWidth(-adjustedOldOffset.width()); width 1362 Source/core/rendering/RenderLayerScrollableArea.cpp if (resize != RESIZE_VERTICAL && difference.width()) { width 1368 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutUnit baseWidth = m_box->width() - (isBoxSizingBorder ? LayoutUnit() : m_box->borderAndPaddingWidth()); width 1370 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::CSS_PX); width 112 Source/core/rendering/RenderLayerScrollableArea.h int scrollXOffset() const { return m_scrollOffset.width() + scrollOrigin().x(); } width 127 Source/core/rendering/RenderListBox.cpp float width = 0; width 151 Source/core/rendering/RenderListBox.cpp float textWidth = itemFont.width(textRun); width 152 Source/core/rendering/RenderListBox.cpp width = max(width, textWidth); width 155 Source/core/rendering/RenderListBox.cpp m_optionsWidth = static_cast<int>(ceilf(width)); width 215 Source/core/rendering/RenderListBox.cpp if (!style()->width().isPercent()) width 226 Source/core/rendering/RenderListBox.cpp if (style()->width().isFixed() && style()->width().value() > 0) width 227 Source/core/rendering/RenderListBox.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->width().value()); width 368 Source/core/rendering/RenderListBox.cpp scrollbarLeft = width() - borderRight() - verticalScrollbarWidth(); width 394 Source/core/rendering/RenderListBox.cpp float textWidth = itemFont.width(textRun); width 395 Source/core/rendering/RenderListBox.cpp offset.setWidth(itemBoudingBox.width() - textWidth - optionsSpacingHorizontal); width 397 Source/core/rendering/RenderListBox.cpp float textWidth = itemFont.width(textRun); width 398 Source/core/rendering/RenderListBox.cpp offset.setWidth((itemBoudingBox.width() - textWidth) / 2); width 508 Source/core/rendering/RenderListBox.cpp if (offset.width() < borderLeft() + paddingLeft() + rightScrollbarOffset width 509 Source/core/rendering/RenderListBox.cpp || offset.width() > width() - borderRight() - paddingRight() - leftScrollbarOffset) width 671 Source/core/rendering/RenderListBox.cpp return m_vBar && !m_vBar->isOverlayScrollbar() ? m_vBar->width() : 0; width 756 Source/core/rendering/RenderListBox.cpp scrollRect.move(width() - borderRight() - scrollbar->width(), borderTop()); width 841 Source/core/rendering/RenderListBox.cpp return width(); width 405 Source/core/rendering/RenderListItem.cpp LayoutRect markerRect(markerLogicalLeft + lineOffset, blockOffset, m_marker->width(), m_marker->height()); width 1122 Source/core/rendering/RenderListMarker.cpp return LayoutRect(0, newLogicalTop, width(), root.selectionHeight()); width 1313 Source/core/rendering/RenderListMarker.cpp context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0)); width 1316 Source/core/rendering/RenderListMarker.cpp context->drawText(font, textRunPaintInfo, textOrigin + IntSize(font.width(suffixRun), 0)); width 1328 Source/core/rendering/RenderListMarker.cpp setWidth(m_image->imageSize(this, style()->effectiveZoom()).width()); width 1354 Source/core/rendering/RenderListMarker.cpp if (width() != m_image->imageSize(this, style()->effectiveZoom()).width() || height() != m_image->imageSize(this, style()->effectiveZoom()).height() || m_image->errorOccurred()) width 1483 Source/core/rendering/RenderListMarker.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = style()->isHorizontalWritingMode() ? imageSize.width() : imageSize.height(); width 1498 Source/core/rendering/RenderListMarker.cpp logicalWidth = font.width(m_text); // no suffix for these types width 1583 Source/core/rendering/RenderListMarker.cpp LayoutUnit itemWidth = font.width(m_text); width 1585 Source/core/rendering/RenderListMarker.cpp LayoutUnit suffixSpaceWidth = font.width(RenderBlockFlow::constructTextRun(this, font, suffixSpace, 2, style(), style()->direction())); width 1708 Source/core/rendering/RenderListMarker.cpp return IntRect(0, 0, m_image->imageSize(this, style()->effectiveZoom()).width(), m_image->imageSize(this, style()->effectiveZoom()).height()); width 1716 Source/core/rendering/RenderListMarker.cpp relativeRect = IntRect(0, 0, font.width(m_text), font.fontMetrics().height()); width 1809 Source/core/rendering/RenderListMarker.cpp int itemWidth = font.width(m_text); width 1811 Source/core/rendering/RenderListMarker.cpp int suffixSpaceWidth = font.width(RenderBlockFlow::constructTextRun(this, font, suffixSpace, 2, style(), style()->direction())); width 1817 Source/core/rendering/RenderListMarker.cpp relativeRect.setX(width() - relativeRect.x() - relativeRect.width()); width 1840 Source/core/rendering/RenderListMarker.cpp LayoutRect rect(0, root.selectionTop() - y(), width(), root.selectionHeight()); width 127 Source/core/rendering/RenderMarquee.cpp contentWidth = width() - contentWidth; width 71 Source/core/rendering/RenderMedia.cpp controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed)); width 148 Source/core/rendering/RenderMediaControls.cpp int endOffset = rect.width() - endPosition; width 219 Source/core/rendering/RenderMediaControls.cpp int startPosition = int(start * rect.width() / duration); width 220 Source/core/rendering/RenderMediaControls.cpp int currentPosition = int(currentTime * rect.width() / duration); width 221 Source/core/rendering/RenderMediaControls.cpp int endPosition = int(end * rect.width() / duration); width 225 Source/core/rendering/RenderMediaControls.cpp int addWidth = thumbCenter * (1.0 - 2.0 * currentPosition / rect.width()); width 288 Source/core/rendering/RenderMediaControls.cpp float positionWidth = volume * (rect.width() - (zoomLevel * thumbCenter)); width 388 Source/core/rendering/RenderMediaControls.cpp int width = 0; width 394 Source/core/rendering/RenderMediaControls.cpp width = mediaSliderThumbWidth; width 398 Source/core/rendering/RenderMediaControls.cpp width = mediaVolumeSliderThumbWidth; width 404 Source/core/rendering/RenderMediaControls.cpp style->setWidth(Length(static_cast<int>(width * zoomLevel), Fixed)); width 182 Source/core/rendering/RenderMenuList.cpp optionWidth += style()->font().width(text); width 185 Source/core/rendering/RenderMenuList.cpp maxOptionWidth = max(maxOptionWidth, style()->font().width(text)); width 188 Source/core/rendering/RenderMenuList.cpp int width = static_cast<int>(ceilf(maxOptionWidth)); width 189 Source/core/rendering/RenderMenuList.cpp if (m_optionsWidth == width) width 192 Source/core/rendering/RenderMenuList.cpp m_optionsWidth = width; width 288 Source/core/rendering/RenderMenuList.cpp if (!style()->width().isPercent()) width 297 Source/core/rendering/RenderMenuList.cpp if (style()->width().isFixed() && style()->width().value() > 0) width 298 Source/core/rendering/RenderMenuList.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->width().value()); width 59 Source/core/rendering/RenderMeter.cpp setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height()); width 72 Source/core/rendering/RenderMeter.cpp computedValues.m_extent = isHorizontalWritingMode() ? frameSize.height() : frameSize.width(); width 291 Source/core/rendering/RenderMultiColumnSet.cpp LayoutUnit logicalHeightInColumns = flowThread()->isHorizontalWritingMode() ? flowThreadPortionRect().height() : flowThreadPortionRect().width(); width 341 Source/core/rendering/RenderMultiColumnSet.cpp portionRect = LayoutRect(portionRect.x(), portionRect.y() + index * computedColumnHeight(), portionRect.width(), computedColumnHeight()); width 57 Source/core/rendering/RenderMultiColumnSet.h void setComputedColumnWidthAndCount(LayoutUnit width, unsigned count) width 59 Source/core/rendering/RenderMultiColumnSet.h m_computedColumnWidth = width; width 620 Source/core/rendering/RenderObject.cpp if (object->style()->width().isIntrinsicOrAuto() || object->style()->height().isIntrinsicOrAuto() || object->style()->height().isPercent()) width 854 Source/core/rendering/RenderObject.cpp if (layer->sizeLength().width().isPercent() || layer->sizeLength().height().isPercent()) width 856 Source/core/rendering/RenderObject.cpp if (img->isGeneratedImage() && (layer->sizeLength().width().isAuto() || layer->sizeLength().height().isAuto())) width 1373 Source/core/rendering/RenderObject.cpp r.x(), r.y(), r.width(), r.height(), invalidationReasonToString(invalidationReason)).ascii().data())); width 1573 Source/core/rendering/RenderObject.cpp repaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldBounds.x(), oldBounds.y(), oldBounds.width(), deltaTop), invalidationReason); width 1575 Source/core/rendering/RenderObject.cpp repaintUsingContainer(repaintContainer, pixelSnappedIntRect(newBounds.x(), newBounds.y(), newBounds.width(), -deltaTop), invalidationReason); width 1579 Source/core/rendering/RenderObject.cpp repaintUsingContainer(repaintContainer, pixelSnappedIntRect(newBounds.x(), oldBounds.maxY(), newBounds.width(), deltaBottom), invalidationReason); width 1581 Source/core/rendering/RenderObject.cpp repaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldBounds.x(), newBounds.maxY(), oldBounds.width(), -deltaBottom), invalidationReason); width 1592 Source/core/rendering/RenderObject.cpp LayoutUnit width = absoluteValue(newBounds.width() - oldBounds.width()); width 1593 Source/core/rendering/RenderObject.cpp if (width) { width 1598 Source/core/rendering/RenderObject.cpp LayoutUnit boxWidth = isBox() ? toRenderBox(this)->width() : LayoutUnit(); width 1599 Source/core/rendering/RenderObject.cpp LayoutUnit minInsetRightShadowExtent = min<LayoutUnit>(-insetShadowExtent.right(), min<LayoutUnit>(newBounds.width(), oldBounds.width())); width 1600 Source/core/rendering/RenderObject.cpp LayoutUnit borderWidth = max<LayoutUnit>(borderRight, max<LayoutUnit>(valueForLength(style()->borderTopRightRadius().width(), boxWidth), valueForLength(style()->borderBottomRightRadius().width(), boxWidth))); width 1603 Source/core/rendering/RenderObject.cpp LayoutRect rightRect(newBounds.x() + min(newBounds.width(), oldBounds.width()) - decorationsLeftWidth, width 1605 Source/core/rendering/RenderObject.cpp width + decorationsLeftWidth + decorationsRightWidth, width 1609 Source/core/rendering/RenderObject.cpp rightRect.setWidth(min(rightRect.width(), right - rightRect.x())); width 1626 Source/core/rendering/RenderObject.cpp max(newBounds.width(), oldBounds.width()), width 2313 Source/core/rendering/RenderObject.cpp transform.translate(offsetInContainer.width().toFloat(), offsetInContainer.height().toFloat()); width 3085 Source/core/rendering/RenderObject.cpp FloatRect localBounds(FloatPoint(), FloatSize(box->width().toFloat(), box->height().toFloat())); width 89 Source/core/rendering/RenderOverflow.h m_layoutOverflow.setX(maxX - m_layoutOverflow.width()); width 48 Source/core/rendering/RenderOverflowTest.cpp << rect.width().toFloat() << ", " width 54 Source/core/rendering/RenderRegionSet.cpp setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height())); width 324 Source/core/rendering/RenderReplaced.cpp constrainedSize.setWidth(RenderBox::computeReplacedLogicalHeight() * intrinsicSize.width() / intrinsicSize.height()); width 325 Source/core/rendering/RenderReplaced.cpp constrainedSize.setHeight(RenderBox::computeReplacedLogicalWidth() * intrinsicSize.height() / intrinsicSize.width()); width 341 Source/core/rendering/RenderReplaced.cpp if (!intrinsicSize.width() || !intrinsicSize.height()) width 350 Source/core/rendering/RenderReplaced.cpp if (objectFit != ObjectFitScaleDown || finalRect.width() <= intrinsicSize.width()) width 362 Source/core/rendering/RenderReplaced.cpp LayoutUnit xOffset = minimumValueForLength(style()->objectPosition().x(), contentRect.width() - finalRect.width()); width 380 Source/core/rendering/RenderReplaced.cpp intrinsicRatio = intrinsicSize.width() / intrinsicSize.height(); width 398 Source/core/rendering/RenderReplaced.cpp bool hasIntrinsicWidth = !isPercentageIntrinsicSize && constrainedSize.width() > 0; width 402 Source/core/rendering/RenderReplaced.cpp return computeReplacedLogicalWidthRespectingMinMaxWidth(constrainedSize.width(), shouldComputePreferred); width 438 Source/core/rendering/RenderReplaced.cpp logicalWidth = max<LayoutUnit>(0, logicalWidth - (marginStart + marginEnd + (width() - clientWidth()))); width 440 Source/core/rendering/RenderReplaced.cpp logicalWidth = logicalWidth * constrainedSize.width() / 100; width 447 Source/core/rendering/RenderReplaced.cpp return computeReplacedLogicalWidthRespectingMinMaxWidth(constrainedSize.width(), shouldComputePreferred); width 586 Source/core/rendering/RenderReplaced.cpp return LayoutRect(0, newLogicalTop, width(), root.selectionHeight()); width 70 Source/core/rendering/RenderReplica.cpp m_minPreferredLogicalWidth = parentBox()->width(); width 53 Source/core/rendering/RenderScrollbar.cpp int width = 0; width 58 Source/core/rendering/RenderScrollbar.cpp width = part->width(); width 61 Source/core/rendering/RenderScrollbar.cpp width = this->width(); width 65 Source/core/rendering/RenderScrollbar.cpp setFrameRect(IntRect(0, 0, width, height)); width 181 Source/core/rendering/RenderScrollbar.cpp int oldThickness = isHorizontal ? height() : width(); width 186 Source/core/rendering/RenderScrollbar.cpp newThickness = isHorizontal ? part->height() : part->width(); width 190 Source/core/rendering/RenderScrollbar.cpp setFrameRect(IntRect(location(), IntSize(isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height()))); width 285 Source/core/rendering/RenderScrollbar.cpp return IntRect(location(), IntSize(isHorizontal ? partRenderer->pixelSnappedWidth() : width(), isHorizontal ? height() : partRenderer->pixelSnappedHeight())); width 287 Source/core/rendering/RenderScrollbar.cpp return IntRect(isHorizontal ? x() + width() - partRenderer->pixelSnappedWidth() : x(), width 289 Source/core/rendering/RenderScrollbar.cpp isHorizontal ? partRenderer->pixelSnappedWidth() : width(), width 294 Source/core/rendering/RenderScrollbar.cpp return IntRect(isHorizontal ? x() + previousButton.width() : x(), width 296 Source/core/rendering/RenderScrollbar.cpp isHorizontal ? partRenderer->pixelSnappedWidth() : width(), width 301 Source/core/rendering/RenderScrollbar.cpp return IntRect(isHorizontal ? x() + width() - followingButton.width() - partRenderer->pixelSnappedWidth() : x(), width 303 Source/core/rendering/RenderScrollbar.cpp isHorizontal ? partRenderer->pixelSnappedWidth() : width(), width 319 Source/core/rendering/RenderScrollbar.cpp return IntRect(x() + startLength, y(), width() - totalLength, height()); width 328 Source/core/rendering/RenderScrollbar.cpp return IntRect(x(), y() + startLength, width(), height() - totalLength); width 342 Source/core/rendering/RenderScrollbar.cpp rect.setWidth(rect.width() - partRenderer->marginWidth()); width 356 Source/core/rendering/RenderScrollbar.cpp return orientation() == HorizontalScrollbar ? partRenderer->width() : partRenderer->height(); width 73 Source/core/rendering/RenderScrollbarPart.cpp setWidth(m_scrollbar->width()); width 87 Source/core/rendering/RenderScrollbarPart.cpp setWidth(m_scrollbar->width()); width 105 Source/core/rendering/RenderScrollbarPart.cpp int visibleSize = m_scrollbar->owningRenderer()->width() - m_scrollbar->owningRenderer()->style()->borderLeftWidth() - m_scrollbar->owningRenderer()->style()->borderRightWidth(); width 106 Source/core/rendering/RenderScrollbarPart.cpp int w = calcScrollbarThicknessUsing(MainOrPreferredSize, style()->width(), visibleSize); width 180 Source/core/rendering/RenderScrollbarPart.cpp setWidth(rect.width()); width 47 Source/core/rendering/RenderScrollbarTheme.cpp beforeSize = firstButton.width() + secondButton.width(); width 48 Source/core/rendering/RenderScrollbarTheme.cpp afterSize = thirdButton.width() + fourthButton.width(); width 60 Source/core/rendering/RenderScrollbarTheme.cpp return (startSize + endSize) <= (scrollbar->orientation() == HorizontalScrollbar ? scrollbar->width() : scrollbar->height()); width 58 Source/core/rendering/RenderSlider.cpp if (!style()->width().isPercent()) width 67 Source/core/rendering/RenderSlider.cpp if (style()->width().isFixed() && style()->width().value() > 0) width 68 Source/core/rendering/RenderSlider.cpp m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(style()->width().value()); width 585 Source/core/rendering/RenderTable.cpp repaintRectangle(LayoutRect(visualOverflowRect().x(), movedSectionLogicalTop, visualOverflowRect().width(), visualOverflowRect().maxY() - movedSectionLogicalTop)); width 625 Source/core/rendering/RenderTable.cpp int rightBorderOverflow = width() + outerBorderRight() - borderRight(); width 728 Source/core/rendering/RenderTable.cpp rect.setWidth(rect.width() - captionLogicalHeight); width 995 Source/core/rendering/RenderTable.cpp borderWidth = tableStartBorder.width(); width 1003 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, columnAdjoiningBorder.width()); width 1013 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, sectionAdjoiningBorder.width()); width 1026 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, startCellAdjoiningBorder.width()); width 1028 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, firstRowAdjoiningBorder.width()); width 1049 Source/core/rendering/RenderTable.cpp borderWidth = tableEndBorder.width(); width 1058 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, columnAdjoiningBorder.width()); width 1068 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, sectionAdjoiningBorder.width()); width 1081 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, endCellAdjoiningBorder.width()); width 1083 Source/core/rendering/RenderTable.cpp borderWidth = max(borderWidth, firstRowAdjoiningBorder.width()); width 1128 Source/core/rendering/RenderTable.cpp borderWidth = max<int>(borderWidth, tb.width() / 2); width 1147 Source/core/rendering/RenderTable.cpp borderWidth = max<int>(borderWidth, (tb.width() + 1) / 2); width 1162 Source/core/rendering/RenderTable.cpp borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 0 : 1)) / 2; width 1189 Source/core/rendering/RenderTable.cpp borderWidth = (tb.width() + (style()->isLeftToRightDirection() ? 1 : 0)) / 2; width 1402 Source/core/rendering/RenderTable.cpp rect.setWidth(width()); width 361 Source/core/rendering/RenderTableCell.cpp LayoutRect r(-location.x(), -location.y(), location.x() + max(width() + right, visualOverflowRect().maxX()), location.y() + max(height() + bottom, visualOverflowRect().maxY())); width 463 Source/core/rendering/RenderTableCell.cpp if (border1.width() != border2.width()) width 464 Source/core/rendering/RenderTableCell.cpp return border1.width() < border2.width() ? -1 : 1; width 975 Source/core/rendering/RenderTableCell.cpp return (border.width() + ((styleForCellFlow()->isLeftToRightDirection() ^ outer) ? 1 : 0)) / 2; // Give the extra pixel to top and left. width 983 Source/core/rendering/RenderTableCell.cpp return (border.width() + ((styleForCellFlow()->isLeftToRightDirection() ^ outer) ? 0 : 1)) / 2; width 991 Source/core/rendering/RenderTableCell.cpp return (border.width() + ((styleForCellFlow()->isFlippedBlocksWritingMode() ^ outer) ? 0 : 1)) / 2; // Give the extra pixel to top and left. width 999 Source/core/rendering/RenderTableCell.cpp return (border.width() + ((styleForCellFlow()->isFlippedBlocksWritingMode() ^ outer) ? 1 : 0)) / 2; width 1128 Source/core/rendering/RenderTableCell.cpp int topWidth = topVal.width(); width 1129 Source/core/rendering/RenderTableCell.cpp int bottomWidth = bottomVal.width(); width 1130 Source/core/rendering/RenderTableCell.cpp int leftWidth = leftVal.width(); width 1131 Source/core/rendering/RenderTableCell.cpp int rightWidth = rightVal.width(); width 1135 Source/core/rendering/RenderTableCell.cpp paintRect.width() + leftWidth / 2 + (rightWidth + 1) / 2, width 1195 Source/core/rendering/RenderTableCell.cpp width() - borderLeft() - borderRight(), height() - borderTop() - borderBottom()); width 1005 Source/core/rendering/RenderTableSection.cpp if (childOffset.width() || childOffset.height()) { width 1092 Source/core/rendering/RenderTableSection.cpp borderWidth = sb.width(); width 1097 Source/core/rendering/RenderTableSection.cpp if (rb.style() > BHIDDEN && rb.width() > borderWidth) width 1098 Source/core/rendering/RenderTableSection.cpp borderWidth = rb.width(); width 1114 Source/core/rendering/RenderTableSection.cpp if (gb.style() > BHIDDEN && gb.width() > borderWidth) width 1115 Source/core/rendering/RenderTableSection.cpp borderWidth = gb.width(); width 1116 Source/core/rendering/RenderTableSection.cpp if (cb.style() > BHIDDEN && cb.width() > borderWidth) width 1117 Source/core/rendering/RenderTableSection.cpp borderWidth = cb.width(); width 1122 Source/core/rendering/RenderTableSection.cpp if (cb.style() > BHIDDEN && cb.width() > borderWidth) width 1123 Source/core/rendering/RenderTableSection.cpp borderWidth = cb.width(); width 1147 Source/core/rendering/RenderTableSection.cpp borderWidth = sb.width(); width 1153 Source/core/rendering/RenderTableSection.cpp if (gb.style() > BHIDDEN && gb.width() > borderWidth) width 1154 Source/core/rendering/RenderTableSection.cpp borderWidth = gb.width(); width 1170 Source/core/rendering/RenderTableSection.cpp if (cb.style() > BHIDDEN && cb.width() > borderWidth) width 1171 Source/core/rendering/RenderTableSection.cpp borderWidth = cb.width(); width 1172 Source/core/rendering/RenderTableSection.cpp if (rb.style() > BHIDDEN && rb.width() > borderWidth) width 1173 Source/core/rendering/RenderTableSection.cpp borderWidth = rb.width(); width 340 Source/core/rendering/RenderText.cpp r.setWidth(box->width()); width 371 Source/core/rendering/RenderText.cpp r.setWidth(selectionRect.width().toFloat()); width 454 Source/core/rendering/RenderText.cpp r.setWidth(selectionRect.width().toFloat()); width 772 Source/core/rendering/RenderText.cpp return f.width(run, fallbackFonts, glyphOverflow); width 821 Source/core/rendering/RenderText.cpp float spaceWidth = font.width(RenderBlockFlow::constructTextRun(this, font, &space, 1, style(), direction)); width 895 Source/core/rendering/RenderText.cpp return font.width(RenderBlockFlow::constructTextRun(renderer, font, style->hyphenString().string(), style, direction)); width 1045 Source/core/rendering/RenderText.cpp cachedWordTrailingSpaceWidth[textDirection] = f.width(RenderBlockFlow::constructTextRun(this, f, &space, 1, styleToUse, textDirection)) + wordSpacing; width 1122 Source/core/rendering/RenderText.cpp currMaxWidth += f.width(run); width 1497 Source/core/rendering/RenderText.cpp return width(from, len, style(firstLine)->font(), xPos, textDirection, fallbackFonts, glyphOverflow); width 1531 Source/core/rendering/RenderText.cpp w = f.width(run, fallbackFonts, glyphOverflow); width 1557 Source/core/rendering/RenderText.cpp float width = isHorizontal ? logicalRightSide - logicalLeftSide : lastTextBox()->logicalBottom() - x; width 1559 Source/core/rendering/RenderText.cpp result = enclosingIntRect(FloatRect(x, y, width, height)); width 87 Source/core/rendering/RenderText.h virtual float width(unsigned from, unsigned len, const Font&, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; width 88 Source/core/rendering/RenderText.h virtual float width(unsigned from, unsigned len, float xPos, TextDirection, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; width 230 Source/core/rendering/RenderTextControl.cpp return font.width(textRun); width 82 Source/core/rendering/RenderTextControlSingleLine.cpp contentsRect.setX((width() - contentsRect.width()) / 2); width 187 Source/core/rendering/RenderTextControlSingleLine.cpp placeholderBox->style()->setWidth(Length(innerTextSize.width() - placeholderBox->borderAndPaddingWidth(), Fixed)); width 170 Source/core/rendering/RenderTheme.cpp LengthSize controlSize = m_platformTheme->controlSize(part, style->font().fontDescription(), LengthSize(style->width(), style->height()), style->effectiveZoom()); width 171 Source/core/rendering/RenderTheme.cpp if (controlSize.width() != style->width()) width 172 Source/core/rendering/RenderTheme.cpp style->setWidth(controlSize.width()); width 178 Source/core/rendering/RenderTheme.cpp if (minControlSize.width() != style->minWidth()) width 179 Source/core/rendering/RenderTheme.cpp style->setMinWidth(minControlSize.width()); width 888 Source/core/rendering/RenderTheme.cpp int thumbWidth = thumbStyle->width().intValue(); width 911 Source/core/rendering/RenderTheme.cpp tickRect.setWidth(floor(tickSize.width() * zoomFactor)); width 914 Source/core/rendering/RenderTheme.cpp tickRegionSideMargin = trackBounds.x() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0; width 915 Source/core/rendering/RenderTheme.cpp tickRegionWidth = trackBounds.width() - thumbSize.width(); width 918 Source/core/rendering/RenderTheme.cpp tickRect.setHeight(floor(tickSize.width() * zoomFactor)); width 919 Source/core/rendering/RenderTheme.cpp tickRect.setX(floor(rect.x() + rect.width() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); width 920 Source/core/rendering/RenderTheme.cpp tickRegionSideMargin = trackBounds.y() + (thumbSize.width() - tickSize.width() * zoomFactor) / 2.0; width 921 Source/core/rendering/RenderTheme.cpp tickRegionWidth = trackBounds.height() - thumbSize.width(); width 1099 Source/core/rendering/RenderTheme.cpp String RenderTheme::fileListNameForWidth(Locale& locale, const FileList* fileList, const Font& font, int width) const width 1101 Source/core/rendering/RenderTheme.cpp if (width <= 0) width 1111 Source/core/rendering/RenderTheme.cpp return StringTruncator::rightTruncate(locale.queryString(blink::WebLocalizedString::MultipleFileUploadText, String::number(fileList->length())), width, font, StringTruncator::EnableRoundingHacks); width 1114 Source/core/rendering/RenderTheme.cpp return StringTruncator::centerTruncate(string, width, font, StringTruncator::EnableRoundingHacks); width 1168 Source/core/rendering/RenderTheme.cpp if (style->width().isIntrinsicOrAuto()) width 1169 Source/core/rendering/RenderTheme.cpp style->setWidth(Length(size.width(), Fixed)); width 1185 Source/core/rendering/RenderTheme.cpp unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); width 1199 Source/core/rendering/RenderTheme.cpp if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) width 1204 Source/core/rendering/RenderTheme.cpp size.setWidth(size.width() * zoomLevel); width 1227 Source/core/rendering/RenderTheme.cpp unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); width 1241 Source/core/rendering/RenderTheme.cpp if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) width 1246 Source/core/rendering/RenderTheme.cpp size.setWidth(size.width() * zoomLevel); width 194 Source/core/rendering/RenderTheme.h virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, int width) const; width 79 Source/core/rendering/RenderThemeChromiumAndroid.cpp style->setWidth(Length(size.width(), Fixed)); width 80 Source/core/rendering/RenderThemeChromiumAndroid.cpp style->setMinWidth(Length(size.width(), Fixed)); width 94 Source/core/rendering/RenderThemeChromiumAndroid.cpp return scrollbarSize.width(); width 214 Source/core/rendering/RenderThemeChromiumDefault.cpp style->setWidth(Length(size.width() * zoomLevel, Fixed)); width 218 Source/core/rendering/RenderThemeChromiumDefault.cpp style->setHeight(Length(size.width() * zoomLevel, Fixed)); width 257 Source/core/rendering/RenderThemeChromiumDefault.cpp unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); width 271 Source/core/rendering/RenderThemeChromiumDefault.cpp if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) width 276 Source/core/rendering/RenderThemeChromiumDefault.cpp size.setWidth(size.width() * zoomLevel); width 294 Source/core/rendering/RenderThemeChromiumDefault.cpp if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) width 299 Source/core/rendering/RenderThemeChromiumDefault.cpp size.setWidth(size.width() * zoomLevel); width 344 Source/core/rendering/RenderThemeChromiumDefault.cpp const int right = rect.x() + rect.width(); width 389 Source/core/rendering/RenderThemeChromiumDefault.cpp const int right = rect.x() + rect.width(); width 432 Source/core/rendering/RenderThemeChromiumDefault.cpp unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); width 457 Source/core/rendering/RenderThemeChromiumDefault.cpp unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); width 472 Source/core/rendering/RenderThemeChromiumDefault.cpp style->setWidth(Length(size.width(), Fixed)); width 473 Source/core/rendering/RenderThemeChromiumDefault.cpp style->setMinWidth(Length(size.width(), Fixed)); width 499 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.progressBar.valueRectWidth = valueRect.width(); width 127 Source/core/rendering/RenderThemeChromiumMac.h virtual String fileListNameForWidth(Locale&, const FileList*, const Font&, int width) const OVERRIDE; width 146 Source/core/rendering/RenderThemeChromiumSkia.cpp IntRect center(const IntRect& original, int width, int height) width 148 Source/core/rendering/RenderThemeChromiumSkia.cpp width = std::min(original.width(), width); width 150 Source/core/rendering/RenderThemeChromiumSkia.cpp int x = original.x() + (original.width() - width) / 2; width 153 Source/core/rendering/RenderThemeChromiumSkia.cpp return IntRect(x, y, width, height); width 159 Source/core/rendering/RenderThemeChromiumSkia.cpp if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto()) width 235 Source/core/rendering/RenderThemeChromiumSkia.cpp LayoutUnit cancelButtonSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), r.height())); width 239 Source/core/rendering/RenderThemeChromiumSkia.cpp LayoutRect cancelButtonRect(cancelButtonObject->offsetFromAncestorContainer(inputRenderBox).width(), width 253 Source/core/rendering/RenderThemeChromiumSkia.cpp style->setWidth(Length(emptySize.width(), Fixed)); width 280 Source/core/rendering/RenderThemeChromiumSkia.cpp LayoutUnit magnifierSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), r.height())); width 284 Source/core/rendering/RenderThemeChromiumSkia.cpp LayoutRect magnifierRect(magnifierObject->offsetFromAncestorContainer(inputRenderBox).width(), width 434 Source/core/rendering/RenderThemeChromiumSkia.cpp int dx = rect.width() * renderProgress->position(); width 441 Source/core/rendering/RenderThemeChromiumSkia.cpp int valueWidth = rect.width() / progressActivityBlocks; width 442 Source/core/rendering/RenderThemeChromiumSkia.cpp int movableWidth = rect.width() - valueWidth; width 474 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->translate(2 * rect.x() + rect.width(), 0); width 194 Source/core/rendering/RenderTreeAsText.cpp r = IntRect(text.firstRunX(), text.firstRunY(), linesBox.width(), linesBox.height()); width 200 Source/core/rendering/RenderTreeAsText.cpp r = IntRect(0, 0, inlineFlow.linesBoundingBox().width(), inlineFlow.linesBoundingBox().height()); width 207 Source/core/rendering/RenderTreeAsText.cpp r = LayoutRect(cell.x(), cell.y() + cell.intrinsicPaddingBefore(), cell.width(), cell.height() - cell.intrinsicPaddingBefore() - cell.intrinsicPaddingAfter()); width 576 Source/core/rendering/RenderTreeAsText.cpp paintDirtyRect.setWidth(max<LayoutUnit>(paintDirtyRect.width(), rootLayer->renderBox()->layoutOverflowRect().maxX())); width 712 Source/core/rendering/RenderTreeAsText.cpp printContext.begin(toRenderBox(renderer)->width().toFloat()); width 79 Source/core/rendering/RenderVTTCue.cpp step = m_cue->getWritingDirection() == VTTCue::Horizontal ? firstLineBox->height() : firstLineBox->width(); width 98 Source/core/rendering/RenderVTTCue.cpp position -= width(); width 106 Source/core/rendering/RenderVTTCue.cpp position += m_cue->getWritingDirection() == VTTCue::Horizontal ? parentBlock->height() : parentBlock->width(); width 157 Source/core/rendering/RenderVTTCue.cpp LayoutUnit right = left + firstLineBox->width(); width 173 Source/core/rendering/RenderVTTCue.cpp LayoutUnit parentWidth = containingBlock()->width(); width 116 Source/core/rendering/RenderVideo.cpp return LayoutSize(defaultSize().width(), 1); width 201 Source/core/rendering/RenderView.cpp bool relayoutChildren = !shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); width 838 Source/core/rendering/RenderView.cpp int width = 0; width 840 Source/core/rendering/RenderView.cpp width = m_frameView->layoutSize(scrollbarInclusion).width(); width 842 Source/core/rendering/RenderView.cpp return width; width 121 Source/core/rendering/RenderView.h return (delta.width() == m_layoutState->layoutDelta().width() || m_layoutState->layoutDeltaXSaturated()) && (delta.height() == m_layoutState->layoutDelta().height() || m_layoutState->layoutDeltaYSaturated()); width 339 Source/core/rendering/RootInlineBox.cpp logicalRect.move(renderer().isHorizontalWritingMode() ? offsetFromRootBlock : LayoutSize(offsetFromRootBlock.height(), offsetFromRootBlock.width())); width 341 Source/core/rendering/RootInlineBox.cpp if (isPreviousBoxSelected && gapRect.width() > 0 && gapRect.height() > 0) { width 64 Source/core/rendering/RootInlineBox.h void setPaginatedLineWidth(LayoutUnit width) { ensureLineFragmentationData()->m_paginatedLineWidth = width; } width 63 Source/core/rendering/ScrollAlignment.cpp LayoutRect exposeRectX(exposeRect.x(), visibleRect.y(), exposeRect.width(), visibleRect.height()); width 64 Source/core/rendering/ScrollAlignment.cpp LayoutUnit intersectWidth = intersection(visibleRect, exposeRectX).width(); width 65 Source/core/rendering/ScrollAlignment.cpp if (intersectWidth == exposeRect.width() || intersectWidth >= MIN_INTERSECT_FOR_REVEAL) { width 70 Source/core/rendering/ScrollAlignment.cpp } else if (intersectWidth == visibleRect.width()) { width 86 Source/core/rendering/ScrollAlignment.cpp if ((exposeRect.maxX() > visibleRect.maxX() && exposeRect.width() < visibleRect.width()) width 87 Source/core/rendering/ScrollAlignment.cpp || (exposeRect.maxX() < visibleRect.maxX() && exposeRect.width() > visibleRect.width())) { width 97 Source/core/rendering/ScrollAlignment.cpp x = exposeRect.maxX() - visibleRect.width(); width 99 Source/core/rendering/ScrollAlignment.cpp x = exposeRect.x() + (exposeRect.width() - visibleRect.width()) / 2; width 105 Source/core/rendering/ScrollAlignment.cpp LayoutRect exposeRectY(visibleRect.x(), exposeRect.y(), visibleRect.width(), exposeRect.height()); width 58 Source/core/rendering/TextAutosizer.cpp , width(0) width 67 Source/core/rendering/TextAutosizer.cpp float width; width 138 Source/core/rendering/TextAutosizer.cpp podForHash.packedStyleProperties |= (style->width().type() << 11); width 143 Source/core/rendering/TextAutosizer.cpp podForHash.width = style->width().getFloatValue(); width 255 Source/core/rendering/TextAutosizer.cpp int logicalWindowWidth = isHorizontalWritingMode(writingMode) ? windowInfo.windowSize.width() : windowInfo.windowSize.height(); width 256 Source/core/rendering/TextAutosizer.cpp int logicalLayoutWidth = isHorizontalWritingMode(writingMode) ? windowInfo.minLayoutSize.width() : windowInfo.minLayoutSize.height(); width 759 Source/core/rendering/compositing/CompositedLayerMapping.cpp relativeCompositingBounds.width() ? (layerBounds.x() - relativeCompositingBounds.x() + transformOrigin.x()) / relativeCompositingBounds.width() : 0.5f, width 1683 Source/core/rendering/compositing/CompositedLayerMapping.cpp origin.setX(floatValueForLength(style->transformOriginX(), borderBox.width())); width 1694 Source/core/rendering/compositing/CompositedLayerMapping.cpp float boxWidth = borderBox.width(); width 50 Source/core/rendering/line/BreakingContextInlineHeaders.h , width(0) width 57 Source/core/rendering/line/BreakingContextInlineHeaders.h float width; width 503 Source/core/rendering/line/BreakingContextInlineHeaders.h if (wordMeasurements[i].width > 0) width 504 Source/core/rendering/line/BreakingContextInlineHeaders.h return wordMeasurements[i].width; width 512 Source/core/rendering/line/BreakingContextInlineHeaders.h return font.width(RenderBlockFlow::constructTextRun(renderer, font, width 526 Source/core/rendering/line/BreakingContextInlineHeaders.h return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); width 532 Source/core/rendering/line/BreakingContextInlineHeaders.h return font.width(run, fallbackFonts, &glyphOverflow); width 602 Source/core/rendering/line/BreakingContextInlineHeaders.h font.width(RenderBlockFlow::constructTextRun( width 668 Source/core/rendering/line/BreakingContextInlineHeaders.h wordMeasurement.width = additionalTmpW + wordSpacingForWordMeasurement; width 708 Source/core/rendering/line/BreakingContextInlineHeaders.h if (m_lineBreak.offset() && m_lineBreak.offset() != (unsigned)wordMeasurement.endOffset && !wordMeasurement.width) { width 711 Source/core/rendering/line/BreakingContextInlineHeaders.h wordMeasurement.width = charWidth; width 757 Source/core/rendering/line/BreakingContextInlineHeaders.h wordSpacingForWordMeasurement = (applyWordSpacing && wordMeasurement.width) ? wordSpacing : 0; width 780 Source/core/rendering/line/BreakingContextInlineHeaders.h wordSpacingForWordMeasurement = (applyWordSpacing && wordMeasurements.last().width) ? wordSpacing : 0; width 820 Source/core/rendering/line/BreakingContextInlineHeaders.h wordMeasurement.width = m_ignoringSpaces ? 0 : additionalTmpW + wordSpacingForWordMeasurement; width 31 Source/core/rendering/line/LineBreaker.cpp FloatingObject* lastFloatFromPreviousLine, LineWidth& width) width 42 Source/core/rendering/line/LineBreaker.cpp m_block->positionNewFloatOnLine(m_block->insertFloatingObject(toRenderBox(object)), lastFloatFromPreviousLine, lineInfo, width); width 68 Source/core/rendering/line/LineBreaker.cpp LineWidth width(*m_block, lineInfo.isFirstLine(), requiresIndent(lineInfo.isFirstLine(), lineInfo.previousLineBrokeCleanly(), m_block->style())); width 70 Source/core/rendering/line/LineBreaker.cpp skipLeadingWhitespace(resolver, lineInfo, lastFloatFromPreviousLine, width); width 75 Source/core/rendering/line/LineBreaker.cpp BreakingContext context(resolver, lineInfo, width, renderTextInfo, lastFloatFromPreviousLine, appliedStartWidth, m_block); width 90 Source/core/rendering/shapes/PolygonShape.cpp if (!edgeDelta.width()) width 93 Source/core/rendering/shapes/PolygonShape.cpp return FloatSize(0, (edgeDelta.width() > 0 ? 1 : -1)); width 95 Source/core/rendering/shapes/PolygonShape.cpp return FloatSize(-edgeDelta.height() / edgeLength, edgeDelta.width() / edgeLength); width 117 Source/core/rendering/shapes/RasterShape.cpp m_bounds.unite(IntRect(intervalAtY.x1(), y, intervalAtY.width(), 1)); width 128 Source/core/rendering/shapes/RasterShape.cpp int maxShapeMarginInt = std::max(m_marginRectSize.width(), m_marginRectSize.height()) * sqrtf(2); width 51 Source/core/rendering/shapes/RectangleShape.cpp float boundsWidth = width() + shapeMargin() * 2; width 58 Source/core/rendering/shapes/RectangleShape.h float rx() const { return m_radii.width(); } width 62 Source/core/rendering/shapes/RectangleShape.h float width() const { return m_bounds.width(); } width 51 Source/core/rendering/shapes/Shape.cpp ASSERT(bounds.rect().width() >= 0 && bounds.rect().height() >= 0); width 63 Source/core/rendering/shapes/Shape.cpp ASSERT(radii.width() >= 0 && radii.height() >= 0); width 64 Source/core/rendering/shapes/Shape.cpp return adoptPtr(new RectangleShape(FloatRect(center.x() - radii.width(), center.y() - radii.height(), radii.width()*2, radii.height()*2), radii)); width 77 Source/core/rendering/shapes/Shape.cpp return FloatRect(rect.y(), logicalBoxHeight - rect.maxX(), rect.height(), rect.width()); width 102 Source/core/rendering/shapes/Shape.cpp float boxWidth = horizontalWritingMode ? logicalBoxSize.width().toFloat() : logicalBoxSize.height().toFloat(); width 103 Source/core/rendering/shapes/Shape.cpp float boxHeight = horizontalWritingMode ? logicalBoxSize.height().toFloat() : logicalBoxSize.width().toFloat(); width 192 Source/core/rendering/shapes/Shape.cpp ASSERT(static_cast<unsigned>(imageRect.width() * imageRect.height() * 4) == pixelArray->length()); width 199 Source/core/rendering/shapes/Shape.cpp for (int x = 0; x < imageRect.width(); ++x, pixelArrayOffset += 4) { width 204 Source/core/rendering/shapes/Shape.cpp } else if (startX != -1 && (!alphaAboveThreshold || x == imageRect.width() - 1)) { width 220 Source/core/rendering/shapes/Shape.cpp FloatRect rect(0, 0, roundedRect.rect().width(), roundedRect.rect().height()); width 79 Source/core/rendering/shapes/ShapeInfo.h LayoutUnit shapeLogicalWidth() const { return computedShapeLogicalBoundingBox().width(); } width 50 Source/core/rendering/shapes/ShapeInterval.h T width() const { return m_x2 - m_x1; } width 99 Source/core/rendering/style/BasicShapes.cpp return floatValueForLength(m_radius.value(), hypotf(boxSize.width(), boxSize.height()) / sqrtf(2)); width 104 Source/core/rendering/style/BasicShapes.cpp return std::min(std::min(center.x(), boxSize.width() - center.x()), std::min(center.y(), boxSize.height() - center.y())); width 107 Source/core/rendering/style/BasicShapes.cpp return std::max(std::max(center.x(), boxSize.width() - center.x()), std::max(center.y(), boxSize.height() - center.y())); width 159 Source/core/rendering/style/BasicShapes.cpp float radiusX = floatValueForRadiusInBox(m_radiusX, center.x(), boundingBox.width()); width 200 Source/core/rendering/style/BasicShapes.cpp path.moveTo(FloatPoint(floatValueForLength(m_values.at(0), boundingBox.width()) + boundingBox.x(), width 203 Source/core/rendering/style/BasicShapes.cpp path.addLineTo(FloatPoint(floatValueForLength(m_values.at(i), boundingBox.width()) + boundingBox.x(), width 242 Source/core/rendering/style/BasicShapes.cpp return FloatSize(floatValueForLength(lengthSize.width(), boundingBox.width()), width 249 Source/core/rendering/style/BasicShapes.cpp float left = floatValueForLength(m_left, boundingBox.width()); width 255 Source/core/rendering/style/BasicShapes.cpp std::max<float>(boundingBox.width() - left - floatValueForLength(m_right, boundingBox.width()), 0), width 52 Source/core/rendering/style/BorderData.h if (!m_topLeft.width().isZero()) width 54 Source/core/rendering/style/BorderData.h if (!m_topRight.width().isZero()) width 56 Source/core/rendering/style/BorderData.h if (!m_bottomLeft.width().isZero()) width 58 Source/core/rendering/style/BorderData.h if (!m_bottomRight.width().isZero()) width 67 Source/core/rendering/style/BorderData.h return m_left.width(); width 74 Source/core/rendering/style/BorderData.h return m_right.width(); width 81 Source/core/rendering/style/BorderData.h return m_top.width(); width 88 Source/core/rendering/style/BorderData.h return m_bottom.width(); width 48 Source/core/rendering/style/BorderValue.h return width() && (!checkStyle || m_style != BNONE); width 89 Source/core/rendering/style/BorderValue.h unsigned width() const { return m_width; } width 47 Source/core/rendering/style/CollapsedBorderValue.h , m_width(border.nonZero() ? border.width() : 0) width 54 Source/core/rendering/style/CollapsedBorderValue.h unsigned width() const { return m_style > BHIDDEN ? m_width : 0; } width 63 Source/core/rendering/style/CollapsedBorderValue.h return width() == o.width() && style() == o.style() && precedence() == o.precedence(); width 341 Source/core/rendering/style/RenderStyle.cpp static bool positionedObjectMovedOnly(const LengthBox& a, const LengthBox& b, const Length& width) width 360 Source/core/rendering/style/RenderStyle.cpp if (width.isIntrinsicOrAuto() width 386 Source/core/rendering/style/RenderStyle.cpp if (m_box->width() != other.m_box->width() width 583 Source/core/rendering/style/RenderStyle.cpp && positionedObjectMovedOnly(surround->offset, other.surround->offset, m_box->width()) width 910 Source/core/rendering/style/RenderStyle.cpp transform.translate3d(floatValueForLength(transformOriginX(), boundingBox.width()) + offsetX, width 920 Source/core/rendering/style/RenderStyle.cpp transform.translate3d(-floatValueForLength(transformOriginX(), boundingBox.width()) - offsetX, width 939 Source/core/rendering/style/RenderStyle.cpp IntSize(valueForLength(border.topLeft().width(), size.width()), width 941 Source/core/rendering/style/RenderStyle.cpp IntSize(valueForLength(border.topRight().width(), size.width()), width 943 Source/core/rendering/style/RenderStyle.cpp IntSize(valueForLength(border.bottomLeft().width(), size.width()), width 945 Source/core/rendering/style/RenderStyle.cpp IntSize(valueForLength(border.bottomRight().width(), size.width()), width 995 Source/core/rendering/style/RenderStyle.cpp borderRect.width() - leftWidth - rightWidth, width 1640 Source/core/rendering/style/RenderStyle.cpp radiiSum = radii.topLeft().width() + radii.topRight().width(); // Casts to avoid integer overflow. width 1641 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.width()) width 1642 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.width() / radiiSum, factor); width 1645 Source/core/rendering/style/RenderStyle.cpp radiiSum = radii.bottomLeft().width() + radii.bottomRight().width(); width 1646 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.width()) width 1647 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.width() / radiiSum, factor); width 478 Source/core/rendering/style/RenderStyle.h const Length& width() const { return m_box->width(); } width 485 Source/core/rendering/style/RenderStyle.h const Length& logicalWidth() const { return isHorizontalWritingMode() ? width() : height(); } width 486 Source/core/rendering/style/RenderStyle.h const Length& logicalHeight() const { return isHorizontalWritingMode() ? height() : width(); } width 538 Source/core/rendering/style/RenderStyle.h return m_background->outline().width(); width 1046 Source/core/rendering/style/RenderStyle.h setBorderRadius(LengthSize(Length(s.width(), Fixed), Length(s.height(), Fixed))); width 165 Source/core/rendering/style/SVGRenderStyle.cpp if (stroke->width != other->stroke->width width 213 Source/core/rendering/style/SVGRenderStyle.h if (!(stroke->width == obj)) width 214 Source/core/rendering/style/SVGRenderStyle.h stroke.access()->width = obj; width 331 Source/core/rendering/style/SVGRenderStyle.h PassRefPtr<SVGLength> strokeWidth() const { return stroke->width; } width 73 Source/core/rendering/style/SVGRenderStyleDefs.cpp , width(SVGRenderStyle::initialStrokeWidth()) width 89 Source/core/rendering/style/SVGRenderStyleDefs.cpp , width(other.width->clone()) width 103 Source/core/rendering/style/SVGRenderStyleDefs.cpp return *width == *other.width width 150 Source/core/rendering/style/SVGRenderStyleDefs.h RefPtr<SVGLength> width; width 70 Source/core/rendering/style/ShadowList.cpp rect.setWidth(rect.width() - shadowLeft + shadowRight); width 46 Source/core/rendering/style/StyleBoxData.h const Length& width() const { return m_width; } width 52 Source/core/rendering/style/StyleGeneratedImage.cpp LayoutUnit width = fixedSize.width() * multiplier; width 56 Source/core/rendering/style/StyleGeneratedImage.cpp if (fixedSize.width() > 0) width 57 Source/core/rendering/style/StyleGeneratedImage.cpp width = max<LayoutUnit>(1, width); width 62 Source/core/rendering/style/StyleGeneratedImage.cpp return LayoutSize(width, height); width 72 Source/core/rendering/style/StyleGeneratedImage.cpp intrinsicWidth = Length(size.width(), Fixed); width 53 Source/core/rendering/style/StyleMultiColData.h return m_rule.width(); width 67 Source/core/rendering/svg/RenderSVGEllipse.cpp if (m_radii.isZero() || m_radii.width() < 0 || m_radii.height() < 0) width 70 Source/core/rendering/svg/RenderSVGEllipse.cpp m_fillBoundingBox = FloatRect(m_center.x() - m_radii.width(), m_center.y() - m_radii.height(), 2 * m_radii.width(), 2 * m_radii.height()); width 131 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrXOuter = center.x() / (m_radii.width() + halfStrokeWidth); width 136 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrXInner = center.x() / (m_radii.width() - halfStrokeWidth); width 150 Source/core/rendering/svg/RenderSVGEllipse.cpp float xrX = center.x() / m_radii.width(); width 105 Source/core/rendering/svg/RenderSVGForeignObject.cpp setWidth(static_cast<int>(roundf(m_viewport.width()))); width 138 Source/core/rendering/svg/RenderSVGForeignObject.cpp m_viewport = FloatRect(viewportLocation, FloatSize(foreign->width()->currentValue()->value(lengthContext), foreign->height()->currentValue()->value(lengthContext))); width 67 Source/core/rendering/svg/RenderSVGImage.cpp m_objectBoundingBox = FloatRect(image->x()->currentValue()->value(lengthContext), image->y()->currentValue()->value(lengthContext), image->width()->currentValue()->value(lengthContext), image->height()->currentValue()->value(lengthContext)); width 166 Source/core/rendering/svg/RenderSVGImage.cpp FloatRect srcRect(0, 0, image->width(), image->height()); width 187 Source/core/rendering/svg/RenderSVGInlineText.cpp FloatRect fragmentRect(fragment.x, fragment.y - baseline, fragment.width, fragment.height); width 65 Source/core/rendering/svg/RenderSVGRect.cpp FloatSize boundingBoxSize(rect->width()->currentValue()->value(lengthContext), rect->height()->currentValue()->value(lengthContext)); width 68 Source/core/rendering/svg/RenderSVGRect.cpp if (boundingBoxSize.isZero() || boundingBoxSize.width() < 0 || boundingBoxSize.height() < 0) width 133 Source/core/rendering/svg/RenderSVGResourceClipper.cpp transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); width 244 Source/core/rendering/svg/RenderSVGResourceClipper.cpp contentTransformation.scaleNonUniform(targetBoundingBox.width(), targetBoundingBox.height()); width 338 Source/core/rendering/svg/RenderSVGResourceClipper.cpp transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); width 372 Source/core/rendering/svg/RenderSVGResourceClipper.cpp transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); width 108 Source/core/rendering/svg/RenderSVGResourceFilter.cpp scaledSize.scale(filterScale.width(), filterScale.height()); width 109 Source/core/rendering/svg/RenderSVGResourceFilter.cpp float scaledArea = scaledSize.width() * scaledSize.height(); width 181 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterElement->filterResX()->currentValue()->value() / filterData->boundaries.width(), width 195 Source/core/rendering/svg/RenderSVGResourceFilter.cpp absoluteDrawingRegion.scale(filterScale.width(), filterScale.height()); width 203 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterData->shearFreeAbsoluteTransform.scale(filterScale.width(), filterScale.height()); width 230 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterElement->filterResX()->currentValue()->value() / size.width(), width 236 Source/core/rendering/svg/RenderSVGResourceFilter.cpp resizeMatrix.scale(1 / filterResScale.width(), 1 / filterResScale.height()); width 97 Source/core/rendering/svg/RenderSVGResourceGradient.cpp gradientData->userspaceTransform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); width 171 Source/core/rendering/svg/RenderSVGResourceMarker.cpp return marker->viewBoxToViewTransform(m_viewport.width(), m_viewport.height()); width 121 Source/core/rendering/svg/RenderSVGResourceMasker.cpp contentTransformation.scaleNonUniform(targetBoundingBox.width(), targetBoundingBox.height()); width 186 Source/core/rendering/svg/RenderSVGResourceMasker.cpp transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height()); width 115 Source/core/rendering/svg/RenderSVGResourcePattern.cpp patternData->transform.scale(tileBoundaries.width() / tileImageSize.width(), tileBoundaries.height() / tileImageSize.height()); width 208 Source/core/rendering/svg/RenderSVGResourcePattern.cpp return SVGLengthContext::resolveRectangle(patternElement, attributes.patternUnits(), objectBoundingBox, attributes.x(), attributes.y(), attributes.width(), attributes.height()); width 222 Source/core/rendering/svg/RenderSVGResourcePattern.cpp if (patternBoundaries.width() <= 0 || patternBoundaries.height() <= 0) width 225 Source/core/rendering/svg/RenderSVGResourcePattern.cpp AffineTransform viewBoxCTM = SVGFitToViewBox::viewBoxToViewTransform(attributes.viewBox(), attributes.preserveAspectRatio(), patternBoundaries.width(), patternBoundaries.height()); width 231 Source/core/rendering/svg/RenderSVGResourcePattern.cpp tileImageTransform.scale(objectBoundingBox.width(), objectBoundingBox.height()); width 254 Source/core/rendering/svg/RenderSVGResourcePattern.cpp tileImageContext->scale(FloatSize(unclampedImageSize.width() / absoluteTileBoundaries.width(), unclampedImageSize.height() / absoluteTileBoundaries.height())); width 257 Source/core/rendering/svg/RenderSVGResourcePattern.cpp tileImageContext->scale(FloatSize(clampedAbsoluteTileBoundaries.width() / tileBoundaries.width(), width 87 Source/core/rendering/svg/RenderSVGRoot.cpp intrinsicRatio = intrinsicSize.width() / static_cast<double>(intrinsicSize.height()); width 98 Source/core/rendering/svg/RenderSVGRoot.cpp intrinsicRatio = intrinsicSize.width() / static_cast<double>(intrinsicSize.height()); width 144 Source/core/rendering/svg/RenderSVGRoot.cpp return m_containerSize.width(); width 342 Source/core/rendering/svg/RenderSVGRoot.cpp m_localToBorderBoxTransform = AffineTransform(scale, 0, 0, scale, borderAndPadding.width() + translate.x(), borderAndPadding.height() + translate.y()) * m_localToBorderBoxTransform; width 104 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp m_localTransform.translate(m_lastTranslation.width(), m_lastTranslation.height()); width 68 Source/core/rendering/svg/RenderSVGViewportContainer.cpp m_viewport = FloatRect(svg->x()->currentValue()->value(lengthContext), svg->y()->currentValue()->value(lengthContext), svg->width()->currentValue()->value(lengthContext), svg->height()->currentValue()->value(lengthContext)); width 102 Source/core/rendering/svg/RenderSVGViewportContainer.cpp m_viewport.setWidth(useElement->width()->currentValue()->value(lengthContext)); width 140 Source/core/rendering/svg/RenderSVGViewportContainer.cpp return svg->viewBoxToViewTransform(m_viewport.width(), m_viewport.height()); width 576 Source/core/rendering/svg/SVGInlineTextBox.cpp if (fragment.width <= 0 && thickness <= 0) width 580 Source/core/rendering/svg/SVGInlineTextBox.cpp float width = fragment.width; width 586 Source/core/rendering/svg/SVGInlineTextBox.cpp width *= scalingFactor; width 594 Source/core/rendering/svg/SVGInlineTextBox.cpp path.addRect(FloatRect(decorationOrigin, FloatSize(width, thickness))); width 616 Source/core/rendering/svg/SVGInlineTextBox.cpp FloatSize textSize(fragment.width, fragment.height); width 765 Source/core/rendering/svg/SVGInlineTextBox.cpp FloatRect fragmentRect(fragment.x, fragment.y - baseline, fragment.width, fragment.height); width 105 Source/core/rendering/svg/SVGPathData.cpp float width = rect->width()->currentValue()->value(lengthContext); width 106 Source/core/rendering/svg/SVGPathData.cpp if (width < 0) width 111 Source/core/rendering/svg/SVGPathData.cpp if (!width && !height) width 125 Source/core/rendering/svg/SVGPathData.cpp path.addRoundedRect(FloatRect(x, y, width, height), FloatSize(rx, ry)); width 129 Source/core/rendering/svg/SVGPathData.cpp path.addRect(FloatRect(x, y, width, height)); width 348 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "width", element.width()->currentValue()->value(lengthContext)); width 443 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " width " << fragment.width; width 291 Source/core/rendering/svg/SVGRenderingContext.cpp IntSize bufferSize(static_cast<int>(ceil(expandedBoundingBox.width() * transform.xScale())), static_cast<int>(ceil(expandedBoundingBox.height() * transform.yScale()))); width 136 Source/core/rendering/svg/SVGRootInlineBox.cpp textBox->setLogicalWidth(boxRect.width()); width 149 Source/core/rendering/svg/SVGRootInlineBox.cpp flowBox->setLogicalWidth(boxRect.width()); width 177 Source/core/rendering/svg/SVGRootInlineBox.cpp setLogicalWidth(childRect.width()); width 55 Source/core/rendering/svg/SVGTextChunk.cpp length += fragment.width; width 66 Source/core/rendering/svg/SVGTextChunk.cpp length += fragment.x - (lastFragment->x + lastFragment->width); width 36 Source/core/rendering/svg/SVGTextFragment.h , width(0) width 68 Source/core/rendering/svg/SVGTextFragment.h float width; width 125 Source/core/rendering/svg/SVGTextLayoutEngine.cpp m_currentTextFragment.width = lastCharacterMetrics.width(); width 137 Source/core/rendering/svg/SVGTextLayoutEngine.cpp length += textMetricsValues.at(i).width(); width 138 Source/core/rendering/svg/SVGTextLayoutEngine.cpp m_currentTextFragment.width = length; width 283 Source/core/rendering/svg/SVGTextLayoutEngine.cpp , i, fragment.x, fragment.y, fragment.width, fragment.height, fragment.characterOffset, fragment.length, fragmentString.utf8().data()); width 377 Source/core/rendering/svg/SVGTextLayoutEngine.cpp if (logicalMetrics.isEmpty() || (!logicalMetrics.width() && !logicalMetrics.height())) { width 204 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp xOrientationShift = (ascentMinusDescent - metrics.width()) / 2; width 207 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp xOrientationShift = (ascentMinusDescent + metrics.width()) / 2; width 209 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp yOrientationShift = metrics.width(); width 215 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return metrics.width(); width 222 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp yOrientationShift = -metrics.width(); width 224 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp xOrientationShift = metrics.width(); width 227 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp xOrientationShift = metrics.width(); width 233 Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp return metrics.width(); width 56 Source/core/rendering/svg/SVGTextMetrics.cpp m_width = scaledFont.width(run, length, m_glyph) / scalingFactor; width 103 Source/core/rendering/svg/SVGTextMetrics.cpp SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* text, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId) width 111 Source/core/rendering/svg/SVGTextMetrics.cpp m_width = width / scalingFactor; width 40 Source/core/rendering/svg/SVGTextMetrics.h SVGTextMetrics(RenderSVGInlineText*, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId); width 47 Source/core/rendering/svg/SVGTextMetrics.h float width() const { return m_width; } width 48 Source/core/rendering/svg/SVGTextMetrics.h void setWidth(float width) { m_width = width; } width 103 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp float currentWidth = complexStartToCurrentMetrics.width() - m_totalWidth; width 104 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp if (currentWidth != metrics.width()) width 107 Source/core/rendering/svg/SVGTextMetricsBuilder.cpp m_totalWidth = complexStartToCurrentMetrics.width(); width 257 Source/core/rendering/svg/SVGTextQuery.cpp data->textLength += queryData->isVerticalText ? fragment.height : fragment.width; width 296 Source/core/rendering/svg/SVGTextQuery.cpp data->subStringLength += queryData->isVerticalText ? metrics.height() : metrics.width(); width 337 Source/core/rendering/svg/SVGTextQuery.cpp data->startPosition.move(metrics.width(), 0); width 385 Source/core/rendering/svg/SVGTextQuery.cpp data->endPosition.move(metrics.width(), 0); width 472 Source/core/rendering/svg/SVGTextQuery.cpp extent.move(metrics.width(), 0); width 476 Source/core/rendering/svg/SVGTextQuery.cpp extent.setSize(FloatSize(metrics.width(), metrics.height())); width 129 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp float advance = glyphBuffer.advanceAt(from + i).width(); width 57 Source/core/svg/PatternAttributes.h SVGLength* width() const { return m_width.get(); } width 337 Source/core/svg/SVGAnimateMotionElement.cpp return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); width 49 Source/core/svg/SVGFilterElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 49 Source/core/svg/SVGFilterPrimitiveStandardAttributes.h static SVGAnimatedLength* width(SVGFilterPrimitiveStandardAttributes& object) { return object.width(); } width 55 Source/core/svg/SVGFilterPrimitiveStandardAttributes.h SVGAnimatedLength* width() const { return m_width.get(); } width 50 Source/core/svg/SVGFitToViewBox.cpp if (!viewBoxRect.width() || !viewBoxRect.height()) width 53 Source/core/svg/SVGFitToViewBox.cpp return preserveAspectRatio->getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight); width 57 Source/core/svg/SVGFitToViewBox.h if (m_viewBox->baseValue()->width() < 0.0f) { width 37 Source/core/svg/SVGForeignObjectElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 43 Source/core/svg/SVGImageElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 55 Source/core/svg/SVGLengthContext.cpp RefPtr<SVGLength> width = passWidth; width 61 Source/core/svg/SVGLengthContext.cpp return FloatRect(x->value(lengthContext), y->value(lengthContext), width->value(lengthContext), height->value(lengthContext)); width 68 Source/core/svg/SVGLengthContext.cpp width->value(lengthContext), width 183 Source/core/svg/SVGLengthContext.cpp return value / viewportSize.width() * 100; width 204 Source/core/svg/SVGLengthContext.cpp return value * viewportSize.width(); width 59 Source/core/svg/SVGLengthContext.h return SVGLengthContext::resolveRectangle(context, type, viewport, context->x()->currentValue(), context->y()->currentValue(), context->width()->currentValue(), context->height()->currentValue()); width 62 Source/core/svg/SVGLengthContext.h static FloatRect resolveRectangle(const SVGElement*, SVGUnitTypes::SVGUnitType, const FloatRect& viewport, PassRefPtr<SVGLength> x, PassRefPtr<SVGLength> y, PassRefPtr<SVGLength> width, PassRefPtr<SVGLength> height); width 40 Source/core/svg/SVGMaskElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 420 Source/core/svg/SVGPathParser.cpp FloatPoint transformedMidPoint = pointTransform.mapPoint(FloatPoint(midPointDistance.width(), midPointDistance.height())); width 442 Source/core/svg/SVGPathParser.cpp float d = delta.width() * delta.width() + delta.height() * delta.height(); width 452 Source/core/svg/SVGPathParser.cpp centerPoint.move(-delta.height(), delta.width()); width 156 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasWidth() && element->width()->isSpecified()) width 157 Source/core/svg/SVGPatternElement.cpp attributes.setWidth(element->width()->currentValue()); width 52 Source/core/svg/SVGPatternElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 215 Source/core/svg/SVGPreserveAspectRatio.cpp float origDestWidth = destRect.width(); width 221 Source/core/svg/SVGPreserveAspectRatio.cpp float widthToHeightMultiplier = srcRect.height() / srcRect.width(); width 245 Source/core/svg/SVGPreserveAspectRatio.cpp destRect.setX(destRect.x() + origDestWidth / 2 - destRect.width() / 2); width 250 Source/core/svg/SVGPreserveAspectRatio.cpp destRect.setX(destRect.x() + origDestWidth - destRect.width()); width 259 Source/core/svg/SVGPreserveAspectRatio.cpp float widthToHeightMultiplier = srcRect.height() / srcRect.width(); width 262 Source/core/svg/SVGPreserveAspectRatio.cpp float destToSrcMultiplier = srcRect.width() / destRect.width(); width 282 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setWidth(destRect.width() * destToSrcMultiplier); width 287 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setX(srcRect.x() + imageSize.width() / 2 - srcRect.width() / 2); width 292 Source/core/svg/SVGPreserveAspectRatio.cpp srcRect.setX(srcRect.x() + imageSize.width() - srcRect.width()); width 75 Source/core/svg/SVGRect.cpp float width = 0.0f; width 77 Source/core/svg/SVGRect.cpp bool valid = parseNumber(ptr, end, x) && parseNumber(ptr, end, y) && parseNumber(ptr, end, width) && parseNumber(ptr, end, height, false); width 92 Source/core/svg/SVGRect.cpp m_value = FloatRect(x, y, width, height); width 127 Source/core/svg/SVGRect.cpp builder.append(String::number(width())); width 147 Source/core/svg/SVGRect.cpp float animatedWidth = width(); width 151 Source/core/svg/SVGRect.cpp animationElement->animateAdditiveNumber(percentage, repeatCount, fromRect->width(), toRect->width(), toAtEndOfDurationRect->width(), animatedWidth); width 59 Source/core/svg/SVGRect.h float width() const { return m_value.width(); } width 37 Source/core/svg/SVGRectElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 53 Source/core/svg/SVGRectTearOff.h float width() { return target()->width(); } width 327 Source/core/svg/SVGSVGElement.cpp if (r1.width() < 0 || r1.height() < 0 || r2.width() < 0 || r2.height() < 0) width 480 Source/core/svg/SVGSVGElement.cpp viewBoxTransform = viewBoxToViewTransform(size.width(), size.height()); width 514 Source/core/svg/SVGSVGElement.cpp transform.translate(-scrollOffset.width(), -scrollOffset.height()); width 642 Source/core/svg/SVGSVGElement.cpp return FloatSize(contentBoxRect.width() / renderer()->style()->effectiveZoom(), contentBoxRect.height() / renderer()->style()->effectiveZoom()); width 646 Source/core/svg/SVGSVGElement.cpp return FloatSize(viewportRect.width(), viewportRect.height()); width 708 Source/core/svg/SVGSVGElement.cpp return renderer()->style()->width(); width 130 Source/core/svg/SVGSVGElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 66 Source/core/svg/SVGTransformDistance.cpp m_cx = centerDistance.width(); width 72 Source/core/svg/SVGTransformDistance.cpp m_transform.translate(translationDistance.width(), translationDistance.height()); width 76 Source/core/svg/SVGTransformDistance.cpp float scaleX = toSVGTransform->scale().width() - fromSVGTransform->scale().width(); width 141 Source/core/svg/SVGTransformDistance.cpp transform->setScale(scale.width(), scale.height()); width 176 Source/core/svg/SVGTransformDistance.cpp newTransform->setScale(scale.width(), scale.height()); width 53 Source/core/svg/SVGUseElement.h SVGAnimatedLength* width() const { return m_width.get(); } width 127 Source/core/svg/SVGViewSpec.cpp float width = 0.0f; width 129 Source/core/svg/SVGViewSpec.cpp if (!(parseNumber(ptr, end, x) && parseNumber(ptr, end, y) && parseNumber(ptr, end, width) && parseNumber(ptr, end, height, false))) width 131 Source/core/svg/SVGViewSpec.cpp updateViewBox(FloatRect(x, y, width, height)); width 170 Source/core/svg/graphics/SVGImage.cpp return IntSize(static_cast<int>(ceilf(currentSize.width())), static_cast<int>(ceilf(currentSize.height()))); width 193 Source/core/svg/graphics/SVGImage.cpp adjustedSrcSize.scale(roundedContainerSize.width() / containerSize.width(), roundedContainerSize.height() / containerSize.height()); width 224 Source/core/svg/graphics/SVGImage.cpp ASSERT(imageBufferScale.width()); width 227 Source/core/svg/graphics/SVGImage.cpp FloatSize scaleWithoutCTM(scale.width() / imageBufferScale.width(), scale.height() / imageBufferScale.height()); width 230 Source/core/svg/graphics/SVGImage.cpp imageBufferSize.scale(imageBufferScale.width(), imageBufferScale.height()); width 241 Source/core/svg/graphics/SVGImage.cpp scaledSrcRect.scale(imageBufferScale.width(), imageBufferScale.height()); width 264 Source/core/svg/graphics/SVGImage.cpp FloatSize scale(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height()); width 268 Source/core/svg/graphics/SVGImage.cpp FloatSize topLeftOffset(srcRect.location().x() * scale.width(), srcRect.location().y() * scale.height()); width 178 Source/core/svg/graphics/filters/SVGFEImage.cpp ts << " image-size=\"" << imageSize.width() << "x" << imageSize.height() << "\"]\n"; width 40 Source/core/svg/graphics/filters/SVGFilter.cpp value *= m_targetBoundingBox.width(); width 305 Source/core/testing/InternalSettings.cpp void InternalSettings::setTextAutosizingWindowSizeOverride(int width, int height, ExceptionState& exceptionState) width 308 Source/core/testing/InternalSettings.cpp settings()->setTextAutosizingWindowSizeOverride(IntSize(width, height)); width 102 Source/core/testing/InternalSettings.h void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionState&); width 947 Source/core/testing/Internals.cpp constraints.fitToContentsWidth(constraints.layoutSize.width(), availableWidth); width 952 Source/core/testing/Internals.cpp builder.append(String::number(constraints.layoutSize.width())); width 1130 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) width 1139 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); width 1140 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); width 1152 Source/core/testing/Internals.cpp Node* Internals::touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) width 1161 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); width 1162 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); width 1170 Source/core/testing/Internals.cpp PassRefPtrWillBeRawPtr<DOMPoint> Internals::touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) width 1179 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); width 1180 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); width 1192 Source/core/testing/Internals.cpp Node* Internals::touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) width 1201 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); width 1202 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); width 1210 Source/core/testing/Internals.cpp PassRefPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document* document, ExceptionState& exceptionState) width 1219 Source/core/testing/Internals.cpp IntSize radius(width / 2, height / 2); width 1220 Source/core/testing/Internals.cpp IntPoint point(x + radius.width(), y + radius.height()); width 1364 Source/core/testing/Internals.cpp if (rects[i].x + rects[i].width == rects[j].x) { width 1365 Source/core/testing/Internals.cpp rects[i].width += rects[j].width; width 1368 Source/core/testing/Internals.cpp } else if (rects[i].x == rects[j].x + rects[j].width) { width 1370 Source/core/testing/Internals.cpp rects[i].width += rects[j].width; width 1374 Source/core/testing/Internals.cpp } else if (rects[i].x == rects[j].x && rects[i].width == rects[j].width) { width 2005 Source/core/testing/Internals.cpp String Internals::pageSizeAndMarginsInPixels(int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft, ExceptionState& exceptionState) const width 2012 Source/core/testing/Internals.cpp return PrintContext::pageSizeAndMarginsInPixels(frame(), pageNumber, width, height, marginTop, marginRight, marginBottom, marginLeft); width 2238 Source/core/testing/Internals.cpp result.appendNumber(size.width()); width 174 Source/core/testing/Internals.h PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&); width 175 Source/core/testing/Internals.h Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document*, ExceptionState&); width 176 Source/core/testing/Internals.h PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document*, ExceptionState&); width 177 Source/core/testing/Internals.h Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, long height, Document*, ExceptionState&); width 178 Source/core/testing/Internals.h PassRefPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document*, ExceptionState&); width 81 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, image, 0, 0, s.width(), s.height(), exceptionState); width 120 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, video, 0, 0, s.width(), s.height(), exceptionState); width 172 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, canvas, 0, 0, canvas->width(), canvas->height(), exceptionState); width 231 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, data, 0, 0, data->width(), data->height(), exceptionState); width 250 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, bitmap, 0, 0, bitmap->width(), bitmap->height(), exceptionState); width 341 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!image->width() || !image->height()) { width 345 Source/modules/imagebitmap/ImageBitmapFactories.cpp if (!m_cropRect.width() && !m_cropRect.height()) { width 92 Source/platform/DragImage.cpp if (!skBitmap.allocN32Pixels(sizeRespectingOrientation.width(), sizeRespectingOrientation.height())) width 140 Source/platform/DragImage.cpp IntSize labelSize(labelFont.width(labelRun), labelFont.fontMetrics().ascent() + labelFont.fontMetrics().descent()); width 142 Source/platform/DragImage.cpp if (labelSize.width() > kMaxDragLabelStringWidth) { width 148 Source/platform/DragImage.cpp IntSize imageSize(labelSize.width() + kDragLabelBorderX * 2, labelSize.height() + kDragLabelBorderY * 2); width 151 Source/platform/DragImage.cpp urlStringSize.setWidth(urlFont.width(urlRun)); width 154 Source/platform/DragImage.cpp if (urlStringSize.width() > kMaxDragLabelStringWidth) { width 158 Source/platform/DragImage.cpp imageSize.setWidth(std::max(labelSize.width(), urlStringSize.width()) + kDragLabelBorderX * 2); width 179 Source/platform/DragImage.cpp urlString = StringTruncator::centerTruncate(urlString, imageSize.width() - (kDragLabelBorderX * 2.0f), urlFont, StringTruncator::EnableRoundingHacks); width 186 Source/platform/DragImage.cpp label = StringTruncator::rightTruncate(label, imageSize.width() - (kDragLabelBorderX * 2.0f), labelFont, StringTruncator::EnableRoundingHacks); width 192 Source/platform/DragImage.cpp float textWidth = urlFont.width(textRun); width 193 Source/platform/DragImage.cpp int availableWidth = imageSize.width() - kDragLabelBorderX * 2; width 219 Source/platform/DragImage.cpp if (srcSize.width() > maxSize.width()) { width 220 Source/platform/DragImage.cpp widthResizeRatio = maxSize.width() / static_cast<float>(srcSize.width()); width 237 Source/platform/DragImage.cpp float scaleX = srcSize.width() / static_cast<float>(originalSize.width()); width 249 Source/platform/DragImage.cpp int imageWidth = scaleX * m_bitmap.width(); width 261 Source/platform/DragImage.cpp for (int column = 0; column < m_bitmap.width(); ++column) { width 48 Source/platform/DragImage.h IntSize size() const { return IntSize(m_bitmap.width(), m_bitmap.height()); } width 66 Source/platform/DragImageTest.cpp EXPECT_TRUE(bitmap.allocN32Pixels(size.width(), size.height())); width 120 Source/platform/DragImageTest.cpp EXPECT_EQ(1, size.width()); width 165 Source/platform/DragImageTest.cpp EXPECT_EQ(testImage->size().width(), expectedImage->size().width()); width 129 Source/platform/LengthFunctions.cpp return FloatSize(floatValueForLength(lengthSize.width(), boxSize.width()), floatValueForLength(lengthSize.height(), boxSize.height())); width 34 Source/platform/LengthSize.h LengthSize(Length width, Length height) width 35 Source/platform/LengthSize.h : m_width(width) width 45 Source/platform/LengthSize.h void setWidth(Length width) { m_width = width; } width 46 Source/platform/LengthSize.h Length width() const { return m_width; } width 52 Source/platform/OverscrollTheme.cpp IntRect(m_overhangShadow->width() / 2, m_overhangShadow->height() / 2, 1, 1)); width 61 Source/platform/OverscrollTheme.cpp static_cast<int>(rootContentLayer->position().x()) - m_overhangShadow->width() / 2, width 63 Source/platform/OverscrollTheme.cpp static_cast<int>(rootContentLayer->size().width()) + m_overhangShadow->width() - 1, width 57 Source/platform/Widget.h int width() const { return frameRect().width(); } width 64 Source/platform/Widget.h IntRect boundsRect() const { return IntRect(0, 0, width(), height()); } width 68 Source/platform/Widget.h void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); } width 75 Source/platform/exported/WebImageSkia.cpp const int frameArea = frameSize.width() * frameSize.height(); width 76 Source/platform/exported/WebImageSkia.cpp if (frameArea < (desiredSize.width * desiredSize.height)) width 151 Source/platform/exported/WebImageSkia.cpp return WebSize(m_bitmap.width(), m_bitmap.height()); width 59 Source/platform/exported/WebScrollbarThemeClientImpl.cpp return size().width(); width 49 Source/platform/exported/WebScrollbarThemeClientImpl.h virtual int width() const OVERRIDE; width 185 Source/platform/fonts/Font.cpp return width(run); width 707 Source/platform/fonts/Font.cpp return bounds.x() + bounds.width() / 2; width 715 Source/platform/fonts/Font.cpp return glyphBuffer.advanceAt(i).width() / 2; width 740 Source/platform/fonts/Font.cpp float advance = glyphBuffer.advanceAt(i).width() - middleOfLastGlyph + middleOfNextGlyph; width 98 Source/platform/fonts/Font.h float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; width 99 Source/platform/fonts/Font.h float width(const TextRun&, int& charsConsumed, Glyph& glyphId) const; width 56 Source/platform/fonts/GlyphBuffer.h void setWidth(CGFloat width) { this->CGSize::width = width; } width 57 Source/platform/fonts/GlyphBuffer.h CGFloat width() const { return this->CGSize::width; } width 97 Source/platform/fonts/GlyphBuffer.h void add(Glyph glyph, const SimpleFontData* font, float width) width 103 Source/platform/fonts/GlyphBuffer.h CGSize advance = { width, 0 }; width 106 Source/platform/fonts/GlyphBuffer.h m_advances.append(FloatSize(width, 0)); width 123 Source/platform/fonts/GlyphBuffer.h void expandLastAdvance(float width) width 127 Source/platform/fonts/GlyphBuffer.h lastAdvance.setWidth(lastAdvance.width() + width); width 124 Source/platform/fonts/SimpleFontData.cpp float width = widthForGlyph(m_spaceGlyph); width 125 Source/platform/fonts/SimpleFontData.cpp m_spaceWidth = width; width 129 Source/platform/fonts/SimpleFontData.cpp m_adjustedSpaceWidth = m_treatAsFixedPitch ? ceilf(width) : roundf(width); width 261 Source/platform/fonts/SimpleFontData.h if (bounds.width() != cGlyphSizeUnknown) width 277 Source/platform/fonts/SimpleFontData.h float width = m_glyphToWidthMap.metricsForGlyph(glyph); width 278 Source/platform/fonts/SimpleFontData.h if (width != cGlyphSizeUnknown) width 279 Source/platform/fonts/SimpleFontData.h return width; width 282 Source/platform/fonts/SimpleFontData.h width = m_customFontData->widthForSVGGlyph(glyph, m_platformData.size()); width 286 Source/platform/fonts/SimpleFontData.h width = m_verticalData->advanceHeight(this, glyph) + m_syntheticBoldOffset; width 288 Source/platform/fonts/SimpleFontData.h width = m_verticalData->advanceHeight(this, glyph); width 292 Source/platform/fonts/SimpleFontData.h width = platformWidthForGlyph(glyph); width 294 Source/platform/fonts/SimpleFontData.h m_glyphToWidthMap.setMetricsForGlyph(glyph, width); width 295 Source/platform/fonts/SimpleFontData.h return width; width 115 Source/platform/fonts/WidthIterator.cpp widthDifference -= advances[i].width(); width 135 Source/platform/fonts/WidthIterator.cpp widthDifference += advances[i].width(); width 170 Source/platform/fonts/WidthIterator.cpp float width; width 172 Source/platform/fonts/WidthIterator.cpp width = m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar + widthSinceLastRounding); width 174 Source/platform/fonts/WidthIterator.cpp width = fontData->widthForGlyph(glyph); width 177 Source/platform/fonts/WidthIterator.cpp width *= m_run.horizontalGlyphStretch(); width 183 Source/platform/fonts/WidthIterator.cpp if (m_run.applyWordRounding() && width == fontData->spaceWidth() && (fontData->pitch() == FixedPitch || glyph == fontData->spaceGlyph())) width 184 Source/platform/fonts/WidthIterator.cpp width = fontData->adjustedSpaceWidth(); width 187 Source/platform/fonts/WidthIterator.cpp if (fontData != lastFontData && width) { width 207 Source/platform/fonts/WidthIterator.cpp if (width && m_font->fontDescription().letterSpacing()) width 208 Source/platform/fonts/WidthIterator.cpp width += m_font->fontDescription().letterSpacing(); width 235 Source/platform/fonts/WidthIterator.cpp width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); width 244 Source/platform/fonts/WidthIterator.cpp width += m_font->fontDescription().wordSpacing(); width 252 Source/platform/fonts/WidthIterator.cpp glyphBuffer->size() ? glyphBuffer->advanceAt(glyphBuffer->size() - 1).width() : 0, width 253 Source/platform/fonts/WidthIterator.cpp width))); width 268 Source/platform/fonts/WidthIterator.cpp float oldWidth = width; width 273 Source/platform/fonts/WidthIterator.cpp width = ceilf(width); width 277 Source/platform/fonts/WidthIterator.cpp m_runWidthSoFar += width; width 287 Source/platform/fonts/WidthIterator.cpp float totalWidth = widthSinceLastRounding + width; width 289 Source/platform/fonts/WidthIterator.cpp width += widthSinceLastRounding - totalWidth; width 293 Source/platform/fonts/WidthIterator.cpp widthSinceLastRounding += width; width 297 Source/platform/fonts/WidthIterator.cpp glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width)); width 299 Source/platform/fonts/WidthIterator.cpp lastRoundingWidth = width - oldWidth; width 304 Source/platform/fonts/WidthIterator.cpp m_lastGlyphOverflow = max<float>(0, bounds.maxX() - width); width 337 Source/platform/fonts/WidthIterator.cpp bool WidthIterator::advanceOneCharacter(float& width, GlyphBuffer& glyphBuffer) width 343 Source/platform/fonts/WidthIterator.cpp w += glyphBuffer.advanceAt(i).width(); width 344 Source/platform/fonts/WidthIterator.cpp width = w; width 47 Source/platform/fonts/WidthIterator.h bool advanceOneCharacter(float& width, GlyphBuffer&); width 145 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp currentWidth += glyphBuffer.advanceAt(from + glyphIndex).width(); width 164 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp x += SkFloatToScalar(adv[i].width()); width 83 Source/platform/fonts/harfbuzz/HarfBuzzFaceCoreText.cpp extents->width = floatToHarfBuzzPosition(cgRect.size.width); width 144 Source/platform/fonts/harfbuzz/HarfBuzzFaceCoreText.cpp GlyphBufferAdvance HarfBuzzShaper::createGlyphBufferAdvance(float width, float height) width 146 Source/platform/fonts/harfbuzz/HarfBuzzFaceCoreText.cpp return CGSizeMake(width, height); width 67 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* width, hb_glyph_extents_t* extents) width 77 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp if (width) width 78 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp *width = SkiaScalarToHarfBuzzPosition(skWidth); width 83 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp extents->width = SkiaScalarToHarfBuzzPosition(skBounds.width()); width 238 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp GlyphBufferAdvance HarfBuzzShaper::createGlyphBufferAdvance(float width, float height) width 240 Source/platform/fonts/harfbuzz/HarfBuzzFaceSkia.cpp return GlyphBufferAdvance(width, height); width 925 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp m_totalWidth += currentRun->width(); width 1045 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp float nextX = currentX + m_harfBuzzRuns[i]->width(); width 1047 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp if (offsetForRun >= 0 && offsetForRun <= m_harfBuzzRuns[i]->width()) { width 1056 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp float nextX = currentX + m_harfBuzzRuns[i]->width(); width 1058 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp if (offsetForRun >= 0 && offsetForRun <= m_harfBuzzRuns[i]->width()) { width 1082 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp currentX -= m_harfBuzzRuns[i]->width(); width 1099 Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp currentX += m_harfBuzzRuns[i]->width(); width 82 Source/platform/fonts/harfbuzz/HarfBuzzShaper.h void setWidth(float width) { m_width = width; } width 102 Source/platform/fonts/harfbuzz/HarfBuzzShaper.h float width() { return m_width; } width 132 Source/platform/fonts/mac/ComplexTextController.cpp CGFloat adjustedAdvance = m_adjustedAdvances[offsetIntoAdjustedGlyphs + j].width; width 171 Source/platform/fonts/mac/ComplexTextController.cpp CGFloat width = m_adjustedAdvances[offsetIntoAdjustedGlyphs + firstGlyphBeforeCluster].width; width 172 Source/platform/fonts/mac/ComplexTextController.cpp clusterWidth += width; width 173 Source/platform/fonts/mac/ComplexTextController.cpp x += width; width 178 Source/platform/fonts/mac/ComplexTextController.cpp clusterWidth += m_adjustedAdvances[offsetIntoAdjustedGlyphs + firstGlyphAfterCluster].width; width 483 Source/platform/fonts/mac/ComplexTextController.cpp m_runWidthSoFar += adjustedAdvance.width; width 486 Source/platform/fonts/mac/ComplexTextController.cpp m_runWidthSoFar += adjustedAdvance.width; width 488 Source/platform/fonts/mac/ComplexTextController.cpp m_runWidthSoFar += adjustedAdvance.width * (m_characterInCurrentGlyph - oldCharacterInCurrentGlyph) / (glyphEndOffset - glyphStartOffset); width 560 Source/platform/fonts/mac/ComplexTextController.cpp advance.width = m_font.tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_totalWidth + widthSinceLastCommit); width 562 Source/platform/fonts/mac/ComplexTextController.cpp advance.width = 0; width 566 Source/platform/fonts/mac/ComplexTextController.cpp float roundedAdvanceWidth = roundf(advance.width); width 568 Source/platform/fonts/mac/ComplexTextController.cpp advance.width = roundedAdvanceWidth; width 570 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += fontData->syntheticBoldOffset(); width 578 Source/platform/fonts/mac/ComplexTextController.cpp advance.width = fontData->adjustedSpaceWidth(); width 583 Source/platform/fonts/mac/ComplexTextController.cpp if (advance.width && m_font.fontDescription().letterSpacing()) width 584 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += m_font.fontDescription().letterSpacing(); width 599 Source/platform/fonts/mac/ComplexTextController.cpp m_adjustedAdvances.last().width += expansionAtThisOpportunity; width 604 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += !m_run.applyWordRounding() ? m_expansionPerOpportunity : roundf(previousExpansion) - roundf(m_expansion); width 612 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += m_font.fontDescription().wordSpacing(); width 622 Source/platform/fonts/mac/ComplexTextController.cpp advance.width = ceilCGFloat(advance.width); width 627 Source/platform/fonts/mac/ComplexTextController.cpp CGFloat totalWidth = widthSinceLastCommit + advance.width; width 631 Source/platform/fonts/mac/ComplexTextController.cpp advance.width += extraWidth; width 634 Source/platform/fonts/mac/ComplexTextController.cpp m_adjustedAdvances[m_lastRoundingGlyph - 1].width += extraWidth; width 642 Source/platform/fonts/mac/ComplexTextController.cpp widthSinceLastCommit += advance.width; width 658 Source/platform/fonts/mac/ComplexTextController.cpp glyphOrigin.x += advance.width; width 129 Source/platform/fonts/mac/FontMac.cpp x += SkFloatToScalar(adv[i].width()); width 526 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp float width = widthFUnit * sizePerUnit; width 527 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp outXYArray[0] = -width / 2; width 247 Source/platform/fonts/skia/SimpleFontDataSkia.cpp SkScalar width = paint.measureText(&glyph, 2); width 249 Source/platform/fonts/skia/SimpleFontDataSkia.cpp width = SkScalarRoundToInt(width); width 250 Source/platform/fonts/skia/SimpleFontDataSkia.cpp return SkScalarToFloat(width); width 77 Source/platform/geometry/FloatPoint.cpp m_x += size.width(); width 58 Source/platform/geometry/FloatPoint.h explicit FloatPoint(const FloatSize& size) : m_x(size.width()), m_y(size.height()) { } width 81 Source/platform/geometry/FloatPoint.h m_x += a.width(); width 87 Source/platform/geometry/FloatPoint.h m_x += a.width(); width 149 Source/platform/geometry/FloatPoint.h a.move(b.width(), b.height()); width 161 Source/platform/geometry/FloatPoint.h a.move(-b.width(), -b.height()); width 167 Source/platform/geometry/FloatPoint.h return FloatPoint(a.x() + b.width(), a.y() + b.height()); width 182 Source/platform/geometry/FloatPoint.h return FloatPoint(a.x() - b.width(), a.y() - b.height()); width 39 Source/platform/geometry/FloatPolygon.cpp return a.width() * b.height() - a.height() * b.width(); width 53 Source/platform/geometry/FloatQuad.cpp return a.width() * b.width() + a.height() * b.height(); width 58 Source/platform/geometry/FloatQuad.cpp return a.width() * b.height() - a.height() * b.width(); width 129 Source/platform/geometry/FloatQuad.cpp if (vector.width() >= 0) width 223 Source/platform/geometry/FloatQuad.cpp transformedQuad.scale(radii.height(), radii.width()); width 226 Source/platform/geometry/FloatQuad.cpp return transformedQuad.intersectsCircle(originPoint, radii.height() * radii.width()); width 156 Source/platform/geometry/FloatQuad.h a.move(-b.width(), -b.height()); width 49 Source/platform/geometry/FloatRect.cpp FloatRect::FloatRect(const SkRect& r) : m_location(r.fLeft, r.fTop), m_size(r.width(), r.height()) width 53 Source/platform/geometry/FloatRect.cpp FloatRect FloatRect::narrowPrecision(double x, double y, double width, double height) width 55 Source/platform/geometry/FloatRect.cpp return FloatRect(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y), narrowPrecisionToFloat(width), narrowPrecisionToFloat(height)); width 61 Source/platform/geometry/FloatRect.cpp && isWithinIntRange(width()) && isWithinIntRange(height()) width 154 Source/platform/geometry/FloatRect.cpp m_size.setWidth(width() * sx); width 259 Source/platform/geometry/FloatRect.cpp if (!srcRect.width() || !srcRect.height()) width 262 Source/platform/geometry/FloatRect.cpp float widthScale = destRect.width() / srcRect.width(); width 266 Source/platform/geometry/FloatRect.cpp r.width() * widthScale, r.height() * heightScale); width 59 Source/platform/geometry/FloatRect.h FloatRect(float x, float y, float width, float height) width 60 Source/platform/geometry/FloatRect.h : m_location(FloatPoint(x, y)), m_size(FloatSize(width, height)) { } width 65 Source/platform/geometry/FloatRect.h static FloatRect narrowPrecision(double x, double y, double width, double height); width 75 Source/platform/geometry/FloatRect.h float maxX() const { return x() + width(); } width 77 Source/platform/geometry/FloatRect.h float width() const { return m_size.width(); } width 82 Source/platform/geometry/FloatRect.h void setWidth(float width) { m_size.setWidth(width); } width 89 Source/platform/geometry/FloatRect.h FloatPoint center() const { return FloatPoint(x() + width() / 2, y() + height() / 2); } width 104 Source/platform/geometry/FloatRect.h setWidth(std::max(0.0f, width() - delta)); width 109 Source/platform/geometry/FloatRect.h setWidth(std::max(0.0f, width() + delta)); width 124 Source/platform/geometry/FloatRect.h FloatPoint maxXMinYCorner() const { return FloatPoint(m_location.x() + m_size.width(), m_location.y()); } // typically topRight width 126 Source/platform/geometry/FloatRect.h FloatPoint maxXMaxYCorner() const { return FloatPoint(m_location.x() + m_size.width(), m_location.y() + m_size.height()); } // typically bottomRight width 148 Source/platform/geometry/FloatRect.h m_size.setWidth(m_size.width() + dx + dx); width 208 Source/platform/geometry/FloatRect.h a.setWidth(a.width() + b.width()); width 37 Source/platform/geometry/FloatRoundedRect.cpp FloatRoundedRect::FloatRoundedRect(float x, float y, float width, float height) width 38 Source/platform/geometry/FloatRoundedRect.cpp : m_rect(x, y, width, height) width 66 Source/platform/geometry/FloatRoundedRect.cpp if (!m_topLeft.width() || !m_topLeft.height()) width 69 Source/platform/geometry/FloatRoundedRect.cpp if (!m_topRight.width() || !m_topRight.height()) width 72 Source/platform/geometry/FloatRoundedRect.cpp if (!m_bottomLeft.width() || !m_bottomLeft.height()) width 75 Source/platform/geometry/FloatRoundedRect.cpp if (!m_bottomRight.width() || !m_bottomRight.height()) width 82 Source/platform/geometry/FloatRoundedRect.cpp if (m_topLeft.width() > 0 && m_topLeft.height() > 0) { width 83 Source/platform/geometry/FloatRoundedRect.cpp m_topLeft.setWidth(std::max<float>(0, m_topLeft.width() + leftWidth)); width 86 Source/platform/geometry/FloatRoundedRect.cpp if (m_topRight.width() > 0 && m_topRight.height() > 0) { width 87 Source/platform/geometry/FloatRoundedRect.cpp m_topRight.setWidth(std::max<float>(0, m_topRight.width() + rightWidth)); width 90 Source/platform/geometry/FloatRoundedRect.cpp if (m_bottomLeft.width() > 0 && m_bottomLeft.height() > 0) { width 91 Source/platform/geometry/FloatRoundedRect.cpp m_bottomLeft.setWidth(std::max<float>(0, m_bottomLeft.width() + leftWidth)); width 94 Source/platform/geometry/FloatRoundedRect.cpp if (m_bottomRight.width() > 0 && m_bottomRight.height() > 0) { width 95 Source/platform/geometry/FloatRoundedRect.cpp m_bottomRight.setWidth(std::max<float>(0, m_bottomRight.width() + rightWidth)); width 103 Source/platform/geometry/FloatRoundedRect.cpp return cornerRect.width() * sqrt(1 - (y * y) / (cornerRect.height() * cornerRect.height())); width 85 Source/platform/geometry/FloatRoundedRect.h FloatRoundedRect(float x, float y, float width, float height); width 103 Source/platform/geometry/FloatRoundedRect.h return FloatRect(m_rect.x(), m_rect.y(), m_radii.topLeft().width(), m_radii.topLeft().height()); width 107 Source/platform/geometry/FloatRoundedRect.h return FloatRect(m_rect.maxX() - m_radii.topRight().width(), m_rect.y(), m_radii.topRight().width(), m_radii.topRight().height()); width 111 Source/platform/geometry/FloatRoundedRect.h return FloatRect(m_rect.x(), m_rect.maxY() - m_radii.bottomLeft().height(), m_radii.bottomLeft().width(), m_radii.bottomLeft().height()); width 115 Source/platform/geometry/FloatRoundedRect.h return FloatRect(m_rect.maxX() - m_radii.bottomRight().width(), m_rect.maxY() - m_radii.bottomRight().height(), m_radii.bottomRight().width(), m_radii.bottomRight().height()); width 43 Source/platform/geometry/FloatRoundedRectTest.cpp << size.width() << ", " width 52 Source/platform/geometry/FloatRoundedRectTest.cpp << rect.width() << ", " width 41 Source/platform/geometry/FloatSize.cpp : m_width(size.width().toFloat()) width 61 Source/platform/geometry/FloatSize.cpp FloatSize FloatSize::narrowPrecision(double width, double height) width 63 Source/platform/geometry/FloatSize.cpp return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height)); width 50 Source/platform/geometry/FloatSize.h FloatSize(float width, float height) : m_width(width), m_height(height) { } width 51 Source/platform/geometry/FloatSize.h FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } width 54 Source/platform/geometry/FloatSize.h static FloatSize narrowPrecision(double width, double height); width 56 Source/platform/geometry/FloatSize.h float width() const { return m_width; } width 59 Source/platform/geometry/FloatSize.h void setWidth(float width) { m_width = width; } width 68 Source/platform/geometry/FloatSize.h void expand(float width, float height) width 70 Source/platform/geometry/FloatSize.h m_width += width; width 120 Source/platform/geometry/FloatSize.h a.setWidth(a.width() + b.width()); width 127 Source/platform/geometry/FloatSize.h a.setWidth(a.width() - b.width()); width 134 Source/platform/geometry/FloatSize.h return FloatSize(a.width() + b.width(), a.height() + b.height()); width 139 Source/platform/geometry/FloatSize.h return FloatSize(a.width() - b.width(), a.height() - b.height()); width 144 Source/platform/geometry/FloatSize.h return FloatSize(-size.width(), -size.height()); width 149 Source/platform/geometry/FloatSize.h return FloatSize(a.width() * b, a.height() * b); width 154 Source/platform/geometry/FloatSize.h return FloatSize(a * b.width(), a * b.height()); width 159 Source/platform/geometry/FloatSize.h return a.width() == b.width() && a.height() == b.height(); width 164 Source/platform/geometry/FloatSize.h return a.width() != b.width() || a.height() != b.height(); width 169 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(roundf(p.width())), clampToInteger(roundf(p.height()))); width 174 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height()))); width 179 Source/platform/geometry/FloatSize.h return IntSize(clampToInteger(ceilf(p.width())), clampToInteger(ceilf(p.height()))); width 184 Source/platform/geometry/FloatSize.h return IntPoint(clampToInteger(floorf(p.width())), clampToInteger(floorf(p.height()))); width 47 Source/platform/geometry/IntPoint.h explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { } width 57 Source/platform/geometry/IntPoint.h void move(const IntSize& s) { move(s.width(), s.height()); } width 106 Source/platform/geometry/IntPoint.h a.move(b.width(), b.height()); width 112 Source/platform/geometry/IntPoint.h a.move(-b.width(), -b.height()); width 118 Source/platform/geometry/IntPoint.h return IntPoint(a.x() + b.width(), a.y() + b.height()); width 133 Source/platform/geometry/IntPoint.h return IntPoint(a.x() - b.width(), a.y() - b.height()); width 39 Source/platform/geometry/IntRect.cpp , m_size(clampToInteger(r.width()), clampToInteger(r.height())) width 45 Source/platform/geometry/IntRect.cpp , m_size(r.width(), r.height()) width 108 Source/platform/geometry/IntRect.cpp if (!other.width() && !other.height()) width 110 Source/platform/geometry/IntRect.cpp if (!width() && !height()) { width 130 Source/platform/geometry/IntRect.cpp m_size.setWidth((int)(width() * s)); width 55 Source/platform/geometry/IntRect.h IntRect(int x, int y, int width, int height) width 56 Source/platform/geometry/IntRect.h : m_location(IntPoint(x, y)), m_size(IntSize(width, height)) { } width 69 Source/platform/geometry/IntRect.h int maxX() const { return x() + width(); } width 71 Source/platform/geometry/IntRect.h int width() const { return m_size.width(); } width 76 Source/platform/geometry/IntRect.h void setWidth(int width) { m_size.setWidth(width); } width 83 Source/platform/geometry/IntRect.h IntPoint center() const { return IntPoint(x() + width() / 2, y() + height() / 2); } width 98 Source/platform/geometry/IntRect.h setWidth(std::max(0, width() - delta)); width 103 Source/platform/geometry/IntRect.h setWidth(std::max(0, width() + delta)); width 118 Source/platform/geometry/IntRect.h IntPoint maxXMinYCorner() const { return IntPoint(m_location.x() + m_size.width(), m_location.y()); } // typically topRight width 120 Source/platform/geometry/IntRect.h IntPoint maxXMaxYCorner() const { return IntPoint(m_location.x() + m_size.width(), m_location.y() + m_size.height()); } // typically bottomRight width 138 Source/platform/geometry/IntRect.h m_size.setWidth(m_size.width() + dx + dx); width 45 Source/platform/geometry/IntSize.h IntSize(int width, int height) : m_width(width), m_height(height) { } width 47 Source/platform/geometry/IntSize.h int width() const { return m_width; } width 50 Source/platform/geometry/IntSize.h void setWidth(int width) { m_width = width; } width 58 Source/platform/geometry/IntSize.h void expand(int width, int height) width 60 Source/platform/geometry/IntSize.h m_width += width; width 94 Source/platform/geometry/IntSize.h if (m_width < minimumSize.width()) width 95 Source/platform/geometry/IntSize.h m_width = minimumSize.width(); width 131 Source/platform/geometry/IntSize.h a.setWidth(a.width() + b.width()); width 138 Source/platform/geometry/IntSize.h a.setWidth(a.width() - b.width()); width 145 Source/platform/geometry/IntSize.h return IntSize(a.width() + b.width(), a.height() + b.height()); width 150 Source/platform/geometry/IntSize.h return IntSize(a.width() - b.width(), a.height() - b.height()); width 155 Source/platform/geometry/IntSize.h return IntSize(-size.width(), -size.height()); width 160 Source/platform/geometry/IntSize.h return a.width() == b.width() && a.height() == b.height(); width 165 Source/platform/geometry/IntSize.h return a.width() != b.width() || a.height() != b.height(); width 30 Source/platform/geometry/IntSizeHash.h static unsigned hash(const WebCore::IntSize& key) { return pairIntHash(key.width(), key.height()); } width 43 Source/platform/geometry/IntSizeHash.h static bool isDeletedValue(const WebCore::IntSize& value) { return value.width() == -1 && value.height() == -1; } width 46 Source/platform/geometry/LayoutPoint.h explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { } width 56 Source/platform/geometry/LayoutPoint.h void move(const LayoutSize& s) { move(s.width(), s.height()); } width 91 Source/platform/geometry/LayoutPoint.h a.move(b.width(), b.height()); width 97 Source/platform/geometry/LayoutPoint.h a.move(-b.width(), -b.height()); width 103 Source/platform/geometry/LayoutPoint.h return LayoutPoint(a.x() + b.width(), a.y() + b.height()); width 118 Source/platform/geometry/LayoutPoint.h return LayoutPoint(a.x() - b.width(), a.y() - b.height()); width 138 Source/platform/geometry/LayoutPoint.h return LayoutPoint(size.width(), size.height()); width 143 Source/platform/geometry/LayoutPoint.h return LayoutPoint(p.width(), p.height()); width 163 Source/platform/geometry/LayoutPoint.h return IntPoint(size.width().round(), size.height().round()); width 183 Source/platform/geometry/LayoutPoint.h return IntSize(snapSizeToPixel(s.width(), p.x()), snapSizeToPixel(s.height(), p.y())); width 95 Source/platform/geometry/LayoutRect.cpp if (!other.width() && !other.height()) width 97 Source/platform/geometry/LayoutRect.cpp if (!width() && !height()) { width 48 Source/platform/geometry/LayoutRect.h LayoutRect(LayoutUnit x, LayoutUnit y, LayoutUnit width, LayoutUnit height) width 49 Source/platform/geometry/LayoutRect.h : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { } width 60 Source/platform/geometry/LayoutRect.h IntSize pixelSnappedSize() const { return IntSize(snapSizeToPixel(m_size.width(), m_location.x()), snapSizeToPixel(m_size.height(), m_location.y())); } width 67 Source/platform/geometry/LayoutRect.h LayoutUnit maxX() const { return x() + width(); } width 69 Source/platform/geometry/LayoutRect.h LayoutUnit width() const { return m_size.width(); } width 74 Source/platform/geometry/LayoutRect.h int pixelSnappedWidth() const { return snapSizeToPixel(width(), x()); } width 76 Source/platform/geometry/LayoutRect.h int pixelSnappedMaxX() const { return (m_location.x() + m_size.width()).round(); } width 81 Source/platform/geometry/LayoutRect.h void setWidth(LayoutUnit width) { m_size.setWidth(width); } width 88 Source/platform/geometry/LayoutRect.h LayoutPoint center() const { return LayoutPoint(x() + width() / 2, y() + height() / 2); } width 113 Source/platform/geometry/LayoutRect.h setWidth(std::max<LayoutUnit>(0, width() - delta)); width 118 Source/platform/geometry/LayoutRect.h setWidth(std::max<LayoutUnit>(0, width() + delta)); width 133 Source/platform/geometry/LayoutRect.h LayoutPoint maxXMinYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_location.y()); } // typically topRight width 135 Source/platform/geometry/LayoutRect.h LayoutPoint maxXMaxYCorner() const { return LayoutPoint(m_location.x() + m_size.width(), m_location.y() + m_size.height()); } // typically bottomRight width 153 Source/platform/geometry/LayoutRect.h m_size.setWidth(m_size.width() + dx + dx); width 206 Source/platform/geometry/LayoutRect.h snapSizeToPixel(rect.width(), rect.x()), width 213 Source/platform/geometry/LayoutRect.h inline IntRect pixelSnappedIntRect(LayoutUnit left, LayoutUnit top, LayoutUnit width, LayoutUnit height) width 215 Source/platform/geometry/LayoutRect.h return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, top)); width 50 Source/platform/geometry/LayoutSize.h LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } width 51 Source/platform/geometry/LayoutSize.h LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } width 53 Source/platform/geometry/LayoutSize.h explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } width 55 Source/platform/geometry/LayoutSize.h LayoutUnit width() const { return m_width; } width 58 Source/platform/geometry/LayoutSize.h void setWidth(LayoutUnit width) { m_width = width; } width 66 Source/platform/geometry/LayoutSize.h void expand(LayoutUnit width, LayoutUnit height) width 68 Source/platform/geometry/LayoutSize.h m_width += width; width 72 Source/platform/geometry/LayoutSize.h void shrink(LayoutUnit width, LayoutUnit height) width 74 Source/platform/geometry/LayoutSize.h m_width -= width; width 109 Source/platform/geometry/LayoutSize.h if (m_width < minimumSize.width()) width 110 Source/platform/geometry/LayoutSize.h m_width = minimumSize.width(); width 123 Source/platform/geometry/LayoutSize.h float widthScale = width().toFloat() / aspectRatio.width().toFloat(); width 125 Source/platform/geometry/LayoutSize.h return LayoutSize(height() * aspectRatio.width() / aspectRatio.height(), height()); width 126 Source/platform/geometry/LayoutSize.h return LayoutSize(width(), width() * aspectRatio.height() / aspectRatio.width()); width 140 Source/platform/geometry/LayoutSize.h a.setWidth(a.width() + b.width()); width 147 Source/platform/geometry/LayoutSize.h a.setWidth(a.width() - b.width()); width 154 Source/platform/geometry/LayoutSize.h return LayoutSize(a.width() + b.width(), a.height() + b.height()); width 159 Source/platform/geometry/LayoutSize.h return LayoutSize(a.width() - b.width(), a.height() - b.height()); width 164 Source/platform/geometry/LayoutSize.h return LayoutSize(-size.width(), -size.height()); width 169 Source/platform/geometry/LayoutSize.h return a.width() == b.width() && a.height() == b.height(); width 174 Source/platform/geometry/LayoutSize.h return a.width() != b.width() || a.height() != b.height(); width 179 Source/platform/geometry/LayoutSize.h return IntSize(s.width().floor(), s.height().floor()); width 184 Source/platform/geometry/LayoutSize.h return IntSize(s.width().round(), s.height().round()); width 59 Source/platform/geometry/Region.cpp int width = *(segment + 1) - x; width 61 Source/platform/geometry/Region.cpp rects.append(IntRect(x, y, width, height)); width 120 Source/platform/geometry/Region.cpp totalArea += (rect.width() * rect.height()); width 374 Source/platform/geometry/Region.cpp m_segments[i] += offset.width(); width 547 Source/platform/geometry/Region.cpp printf("Bounds: (%d, %d, %d, %d)\n", m_bounds.x(), m_bounds.y(), m_bounds.width(), m_bounds.height()); width 50 Source/platform/geometry/RoundedRect.cpp if (!m_topLeft.width() || !m_topLeft.height()) width 53 Source/platform/geometry/RoundedRect.cpp if (!m_topRight.width() || !m_topRight.height()) width 56 Source/platform/geometry/RoundedRect.cpp if (!m_bottomLeft.width() || !m_bottomLeft.height()) width 59 Source/platform/geometry/RoundedRect.cpp if (!m_bottomRight.width() || !m_bottomRight.height()) width 66 Source/platform/geometry/RoundedRect.cpp if (m_topLeft.width() > 0 && m_topLeft.height() > 0) { width 67 Source/platform/geometry/RoundedRect.cpp m_topLeft.setWidth(max<int>(0, m_topLeft.width() + leftWidth)); width 70 Source/platform/geometry/RoundedRect.cpp if (m_topRight.width() > 0 && m_topRight.height() > 0) { width 71 Source/platform/geometry/RoundedRect.cpp m_topRight.setWidth(max<int>(0, m_topRight.width() + rightWidth)); width 74 Source/platform/geometry/RoundedRect.cpp if (m_bottomLeft.width() > 0 && m_bottomLeft.height() > 0) { width 75 Source/platform/geometry/RoundedRect.cpp m_bottomLeft.setWidth(max<int>(0, m_bottomLeft.width() + leftWidth)); width 78 Source/platform/geometry/RoundedRect.cpp if (m_bottomRight.width() > 0 && m_bottomRight.height() > 0) { width 79 Source/platform/geometry/RoundedRect.cpp m_bottomRight.setWidth(max<int>(0, m_bottomRight.width() + rightWidth)); width 91 Source/platform/geometry/RoundedRect.cpp if (m_rect.width() < m_rect.height()) width 92 Source/platform/geometry/RoundedRect.cpp factor = old.width() ? (float)m_rect.width() / old.width() : int(0); width 137 Source/platform/geometry/RoundedRect.cpp RoundedRect::RoundedRect(int x, int y, int width, int height) width 138 Source/platform/geometry/RoundedRect.cpp : m_rect(x, y, width, height) width 157 Source/platform/geometry/RoundedRect.cpp int minX = m_rect.x() + max(m_radii.topLeft().width(), m_radii.bottomLeft().width()); width 159 Source/platform/geometry/RoundedRect.cpp int maxX = m_rect.maxX() - max(m_radii.topRight().width(), m_radii.bottomRight().width()); width 176 Source/platform/geometry/RoundedRect.cpp return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width() width 177 Source/platform/geometry/RoundedRect.cpp && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width() width 184 Source/platform/geometry/RoundedRect.cpp int maxRadiusWidth = std::max(m_radii.topLeft().width() + m_radii.topRight().width(), m_radii.bottomLeft().width() + m_radii.bottomRight().width()); width 191 Source/platform/geometry/RoundedRect.cpp float widthRatio = static_cast<float>(m_rect.width()) / maxRadiusWidth; width 204 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.x(), m_rect.y(), topLeft.width(), topLeft.height()); width 206 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.x() + topLeft.width(), m_rect.y() + topLeft.height()); width 207 Source/platform/geometry/RoundedRect.cpp FloatSize size(topLeft.width(), topLeft.height()); width 215 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height()); width 217 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.maxX() - topRight.width(), m_rect.y() + topRight.height()); width 218 Source/platform/geometry/RoundedRect.cpp FloatSize size(topRight.width(), topRight.height()); width 226 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.x(), m_rect.maxY() - bottomLeft.height(), bottomLeft.width(), bottomLeft.height()); width 228 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.x() + bottomLeft.width(), m_rect.maxY() - bottomLeft.height()); width 229 Source/platform/geometry/RoundedRect.cpp FloatSize size(bottomLeft.width(), bottomLeft.height()); width 237 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height(), bottomRight.width(), bottomRight.height()); width 239 Source/platform/geometry/RoundedRect.cpp FloatPoint center(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height()); width 240 Source/platform/geometry/RoundedRect.cpp FloatSize size(bottomRight.width(), bottomRight.height()); width 79 Source/platform/geometry/RoundedRect.h RoundedRect(int x, int y, int width, int height); width 47 Source/platform/geometry/RoundedRectTest.cpp << rect.width() << ", " width 56 Source/platform/geometry/TransformState.cpp m_accumulatedTransform->translateRight(offset.width().toDouble(), offset.height().toDouble()); width 58 Source/platform/geometry/TransformState.cpp m_accumulatedTransform->translate(offset.width().toDouble(), offset.height().toDouble()); width 40 Source/platform/geometry/cg/FloatRectCG.cpp return CGRectMake(x(), y(), width(), height()); width 34 Source/platform/geometry/cg/FloatSizeCG.cpp FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height) width 35 Source/platform/geometry/cg/IntRectCG.cpp return CGRectMake(x(), y(), width(), height()); width 33 Source/platform/geometry/cg/IntSizeCG.cpp IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) width 66 Source/platform/graphics/BitmapImage.cpp , m_size(nativeImage->bitmap().width(), nativeImage->bitmap().height()) width 268 Source/platform/graphics/BitmapImage.cpp normSrcRect.intersect(FloatRect(0, 0, bm->bitmap().width(), bm->bitmap().height())); width 290 Source/platform/graphics/BitmapImage.cpp normDstRect = FloatRect(normDstRect.x(), normDstRect.y(), normDstRect.height(), normDstRect.width()); width 393 Source/platform/graphics/BitmapImage.cpp return size().width() != 1 || size().height() != 1 || frameCount() > 1; width 597 Source/platform/graphics/BitmapImage.cpp if (frame && size().width() == 1 && size().height() == 1) { width 61 Source/platform/graphics/Canvas2DLayerBridge.cpp info.fWidth = size.width(); width 364 Source/platform/graphics/Canvas2DLayerBridge.cpp IntSize size(m_canvas->getTopDevice()->width(), m_canvas->getTopDevice()->height()); width 66 Source/platform/graphics/CrossfadeGeneratedImage.cpp static_cast<float>(m_crossfadeSize.width()) / fromImageSize.width(), width 77 Source/platform/graphics/CrossfadeGeneratedImage.cpp static_cast<float>(m_crossfadeSize.width()) / toImageSize.width(), width 94 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height())); width 215 Source/platform/graphics/DeferredImageDecoder.cpp m_frameGenerator = ImageFrameGenerator::create(SkISize::Make(m_actualDecoder->decodedSize().width(), m_actualDecoder->decodedSize().height()), m_data, m_allDataReceived, !isSingleFrame); width 278 Source/platform/graphics/DeferredImageDecoder.cpp ASSERT(decodedSize.width() > 0); width 282 Source/platform/graphics/DeferredImageDecoder.cpp info.fWidth = decodedSize.width(); width 299 Source/platform/graphics/DeferredImageDecoder.cpp ASSERT(decodedSize.width() > 0); width 303 Source/platform/graphics/DeferredImageDecoder.cpp info.fWidth = decodedSize.width(); width 154 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); width 210 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(1, image->bitmap().width()); width 312 Source/platform/graphics/DeferredImageDecoderTest.cpp EXPECT_EQ(m_decodedSize.width(), image->bitmap().width()); width 91 Source/platform/graphics/DrawLooperBuilder.cpp info.fOffset.set(offset.width(), offset.height()); width 41 Source/platform/graphics/GradientGeneratedImage.cpp destContext->scale(FloatSize(destRect.width() / srcRect.width(), destRect.height() / srcRect.height())); width 50 Source/platform/graphics/GradientGeneratedImage.cpp float stepX = srcRect.width() + repeatSpacing.width(); width 52 Source/platform/graphics/GradientGeneratedImage.cpp int firstColumn = static_cast<int>(floorf((((destRect.x() - phase.x()) / scale.width()) - srcRect.x()) / srcRect.width())); width 55 Source/platform/graphics/GradientGeneratedImage.cpp float dstX = (srcRect.x() + i * stepX) * scale.width() + phase.x(); width 62 Source/platform/graphics/GradientGeneratedImage.cpp float dstMaxX = dstX + srcRect.width() * scale.width(); width 74 Source/platform/graphics/GradientGeneratedImage.cpp visibleSrcRect.setX((tileDstRect.x() - phase.x()) / scale.width() - i * stepX); width 75 Source/platform/graphics/GradientGeneratedImage.cpp visibleSrcRect.setWidth(tileDstRect.width() / scale.width()); width 301 Source/platform/graphics/GraphicsContext.cpp if (!color.alpha() || (!offset.width() && !offset.height() && !blur)) { width 496 Source/platform/graphics/GraphicsContext.cpp m_canvas = displayList->picture()->beginRecording(recordingRect.width(), recordingRect.height(), width 600 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawFocusRing(const Path& focusRingPath, int width, int offset, const Color& color) width 611 Source/platform/graphics/GraphicsContext.cpp drawOuterPath(focusRingPath.skPath(), paint, width); width 612 Source/platform/graphics/GraphicsContext.cpp drawInnerPath(focusRingPath.skPath(), paint, width); width 615 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color) width 639 Source/platform/graphics/GraphicsContext.cpp drawOuterPath(path, paint, width); width 640 Source/platform/graphics/GraphicsContext.cpp drawInnerPath(path, paint, width); width 674 Source/platform/graphics/GraphicsContext.cpp holeRect.move(-max(shadowOffset.width(), 0) - shadowBlur, 0); width 675 Source/platform/graphics/GraphicsContext.cpp holeRect.setWidth(holeRect.width() + max(shadowOffset.width(), 0) + shadowBlur); width 682 Source/platform/graphics/GraphicsContext.cpp holeRect.setWidth(holeRect.width() - min(shadowOffset.width(), 0) + shadowBlur); width 722 Source/platform/graphics/GraphicsContext.cpp int width = roundf(strokeThickness()); width 728 Source/platform/graphics/GraphicsContext.cpp int length = SkScalarRoundToInt(disp.width() + disp.height()); width 735 Source/platform/graphics/GraphicsContext.cpp r1.set(p1.x(), p1.y(), p1.x() + width, p1.y() + width); width 736 Source/platform/graphics/GraphicsContext.cpp r2.set(p2.x(), p2.y(), p2.x() + width, p2.y() + width); width 739 Source/platform/graphics/GraphicsContext.cpp r1.offset(-width / 2, 0); width 740 Source/platform/graphics/GraphicsContext.cpp r2.offset(-width / 2, -width); width 742 Source/platform/graphics/GraphicsContext.cpp r1.offset(0, -width / 2); width 743 Source/platform/graphics/GraphicsContext.cpp r2.offset(-width, -width / 2); width 751 Source/platform/graphics/GraphicsContext.cpp adjustLineToPixelBoundaries(p1, p2, width, penStyle); width 760 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawLineForDocumentMarker(const FloatPoint& pt, float width, DocumentMarkerLineStyle style) width 856 Source/platform/graphics/GraphicsContext.cpp int rowPixels = misspellBitmap[index]->width(); width 857 Source/platform/graphics/GraphicsContext.cpp float widthMod = fmodf(width * deviceScaleFactor, rowPixels); width 859 Source/platform/graphics/GraphicsContext.cpp width -= widthMod / deviceScaleFactor; width 879 Source/platform/graphics/GraphicsContext.cpp rect.set(originX, originY, originX + WebCoreFloatToSkScalar(width) * deviceScaleFactor, originY + SkIntToScalar(misspellBitmap[index]->height())); width 890 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawLineForText(const FloatPoint& pt, float width, bool printing) width 895 Source/platform/graphics/GraphicsContext.cpp if (width <= 0) width 910 Source/platform/graphics/GraphicsContext.cpp r.fRight = r.fLeft + WebCoreFloatToSkScalar(width); width 921 Source/platform/graphics/GraphicsContext.cpp drawLine(IntPoint(pt.x(), y), IntPoint(pt.x() + width, y)); width 1007 Source/platform/graphics/GraphicsContext.cpp currPoint.move(font.width(subrun), 0); width 1122 Source/platform/graphics/GraphicsContext.cpp SkRect rect = SkRect::MakeXYWH(x, y, info.width(), info.height()); width 1155 Source/platform/graphics/GraphicsContext.cpp SkRect rect = SkRect::MakeXYWH(left, top, bitmap.width(), bitmap.height()); width 1334 Source/platform/graphics/GraphicsContext.cpp if (topLeft.width() + topRight.width() > rect.width() width 1335 Source/platform/graphics/GraphicsContext.cpp || bottomLeft.width() + bottomRight.width() > rect.width() width 1391 Source/platform/graphics/GraphicsContext.cpp bool validW = r.width() > 0; width 1576 Source/platform/graphics/GraphicsContext.cpp if (size.width() == 1.0f && size.height() == 1.0f) width 1581 Source/platform/graphics/GraphicsContext.cpp m_canvas->scale(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height())); width 1719 Source/platform/graphics/GraphicsContext.cpp IntSize scaledSize(static_cast<int>(ceil(size.width() * transform.xScale())), static_cast<int>(ceil(size.height() * transform.yScale()))); width 1722 Source/platform/graphics/GraphicsContext.cpp SkImageInfo info = SkImageInfo::MakeN32(size.width(), size.height(), alphaType); width 1730 Source/platform/graphics/GraphicsContext.cpp buffer->context()->scale(FloatSize(static_cast<float>(scaledSize.width()) / size.width(), width 1758 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawOuterPath(const SkPath& path, SkPaint& paint, int width) width 1762 Source/platform/graphics/GraphicsContext.cpp paint.setStrokeWidth(width); width 1763 Source/platform/graphics/GraphicsContext.cpp paint.setPathEffect(new SkCornerPathEffect((width - 1) * 0.5f))->unref(); width 1771 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawInnerPath(const SkPath& path, SkPaint& paint, int width) width 1775 Source/platform/graphics/GraphicsContext.cpp paint.setStrokeWidth(width * 0.5f); width 1782 Source/platform/graphics/GraphicsContext.cpp radii[SkRRect::kUpperLeft_Corner].set(SkIntToScalar(topLeft.width()), width 1784 Source/platform/graphics/GraphicsContext.cpp radii[SkRRect::kUpperRight_Corner].set(SkIntToScalar(topRight.width()), width 1786 Source/platform/graphics/GraphicsContext.cpp radii[SkRRect::kLowerRight_Corner].set(SkIntToScalar(bottomRight.width()), width 1788 Source/platform/graphics/GraphicsContext.cpp radii[SkRRect::kLowerLeft_Corner].set(SkIntToScalar(bottomLeft.width()), width 1838 Source/platform/graphics/GraphicsContext.cpp for (int x = 0; x < bitmap->width() + 8; x += 8) { width 1839 Source/platform/graphics/GraphicsContext.cpp int count = std::min(bitmap->width() - x, 8); width 1858 Source/platform/graphics/GraphicsContext.cpp for (int x = 0; x < bitmap->width(); x++) { width 304 Source/platform/graphics/GraphicsContext.h void drawLineForText(const FloatPoint&, float width, bool printing); width 309 Source/platform/graphics/GraphicsContext.h void drawLineForDocumentMarker(const FloatPoint&, float width, DocumentMarkerLineStyle); width 335 Source/platform/graphics/GraphicsContext.h void drawFocusRing(const Vector<IntRect>&, int width, int offset, const Color&); width 336 Source/platform/graphics/GraphicsContext.h void drawFocusRing(const Path&, int width, int offset, const Color&); width 363 Source/platform/graphics/GraphicsContext.h void translate(const FloatSize& size) { translate(size.width(), size.height()); } width 45 Source/platform/graphics/GraphicsContextRecorder.cpp SkCanvas* canvas = m_picture->beginRecording(size.width(), size.height()); width 177 Source/platform/graphics/GraphicsContextRecorder.cpp return ImageBuffer::create(IntSize(m_picture->width(), m_picture->height()), m_isCertainlyOpaque ? Opaque : NonOpaque); width 44 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(a.width(), b.width()); \ width 61 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < bitmap.width(); ++x) { \ width 522 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < opaqueBitmap.width(); ++x) width 531 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < alphaBitmap.width(); ++x) width 685 Source/platform/graphics/GraphicsContextTest.cpp int width = 200, height = 200; width 687 Source/platform/graphics/GraphicsContextTest.cpp ASSERT_TRUE(bitmap.allocN32Pixels(width, height)); width 690 Source/platform/graphics/GraphicsContextTest.cpp SkRect textRect = SkRect::MakeWH(width, height); width 763 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < opaqueBitmap.width(); ++x) width 769 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < alphaBitmap.width(); ++x) width 815 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < opaqueBitmap.width(); ++x) width 821 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < alphaBitmap.width(); ++x) width 867 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < opaqueBitmap.width(); ++x) width 873 Source/platform/graphics/GraphicsContextTest.cpp for (int x = 0; x < alphaBitmap.width(); ++x) width 387 Source/platform/graphics/GraphicsLayer.cpp contentsLayer->setBounds(IntSize(m_contentsRect.width(), m_contentsRect.height())); width 561 Source/platform/graphics/GraphicsLayer.cpp ts << "(bounds " << m_size.width() << " " << m_size.height() << ")\n"; width 672 Source/platform/graphics/GraphicsLayer.cpp ts << repaintRectMap().get(this)[i].width() << " "; width 806 Source/platform/graphics/GraphicsLayer.cpp if (clampedSize.width() < 0 || clampedSize.height() < 0) width 146 Source/platform/graphics/GraphicsLayerTest.cpp return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()); width 108 Source/platform/graphics/Image.cpp if (norm.width() < 0) { width 109 Source/platform/graphics/Image.cpp norm.setX(norm.x() + norm.width()); width 110 Source/platform/graphics/Image.cpp norm.setWidth(-norm.width()); width 136 Source/platform/graphics/Image.cpp intrinsicTileSize.setWidth(scaledTileSize.width()); width 140 Source/platform/graphics/Image.cpp FloatSize scale(scaledTileSize.width() / intrinsicTileSize.width(), width 143 Source/platform/graphics/Image.cpp FloatSize actualTileSize(scaledTileSize.width() + repeatSpacing.width(), scaledTileSize.height() + repeatSpacing.height()); width 145 Source/platform/graphics/Image.cpp oneTileRect.setX(destRect.x() + fmodf(fmodf(-srcPoint.x(), actualTileSize.width()) - actualTileSize.width(), actualTileSize.width())); width 152 Source/platform/graphics/Image.cpp visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width()); width 154 Source/platform/graphics/Image.cpp visibleSrcRect.setWidth(destRect.width() / scale.width()); width 187 Source/platform/graphics/Image.cpp float hRepetitions = std::max(1.0f, roundf(dstRect.width() / (tileScaleFactor.width() * srcRect.width()))); width 188 Source/platform/graphics/Image.cpp tileScaleFactor.setWidth(dstRect.width() / (srcRect.width() * hRepetitions)); width 203 Source/platform/graphics/Image.cpp float hPhase = tileScaleFactor.width() * srcRect.x(); width 205 Source/platform/graphics/Image.cpp float scaledTileWidth = tileScaleFactor.width() * srcRect.width(); width 208 Source/platform/graphics/Image.cpp hPhase -= (dstRect.width() - scaledTileWidth) / 2; width 236 Source/platform/graphics/Image.cpp intrinsicWidth = Length(intrinsicRatio.width(), Fixed); width 86 Source/platform/graphics/Image.h int width() const { return size().width(); } width 289 Source/platform/graphics/ImageBuffer.cpp for (int x = 0; x < size.width(); ++x) { width 313 Source/platform/graphics/ImageBuffer.cpp float area = 4.0f * rect.width() * rect.height(); width 317 Source/platform/graphics/ImageBuffer.cpp RefPtr<Uint8ClampedArray> result = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); width 321 Source/platform/graphics/ImageBuffer.cpp || rect.maxX() > size.width() width 326 Source/platform/graphics/ImageBuffer.cpp SkImageInfo info = SkImageInfo::Make(rect.width(), rect.height(), kRGBA_8888_SkColorType, alphaType); width 328 Source/platform/graphics/ImageBuffer.cpp context->readPixels(info, result->data(), 4 * rect.width(), rect.x(), rect.y()); width 335 Source/platform/graphics/ImageBuffer.cpp return Uint8ClampedArray::create(rect.width() * rect.height() * 4); width 342 Source/platform/graphics/ImageBuffer.cpp return Uint8ClampedArray::create(rect.width() * rect.height() * 4); width 351 Source/platform/graphics/ImageBuffer.cpp ASSERT(sourceRect.width() > 0); width 357 Source/platform/graphics/ImageBuffer.cpp ASSERT(destX < m_surface->size().width()); width 368 Source/platform/graphics/ImageBuffer.cpp const size_t srcBytesPerRow = 4 * sourceSize.width(); width 371 Source/platform/graphics/ImageBuffer.cpp SkImageInfo info = SkImageInfo::Make(sourceRect.width(), sourceRect.height(), kRGBA_8888_SkColorType, alphaType); width 235 Source/platform/graphics/ImageDecodingStore.h , m_size(SkISize::Make(m_cachedDecoder->decodedSize().width(), m_cachedDecoder->decodedSize().height())) width 239 Source/platform/graphics/ImageDecodingStore.h virtual size_t memoryUsageInBytes() const OVERRIDE { return m_size.width() * m_size.height() * 4; } width 248 Source/platform/graphics/ImageDecodingStore.h return std::make_pair(generator, SkISize::Make(decoder->decodedSize().width(), decoder->decodedSize().height())); width 164 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(cachedImage->bitmap().width() == scaledSize.width()); width 235 Source/platform/graphics/ImageFrameGenerator.cpp TRACE_EVENT2("webkit", "ImageFrameGenerator::decode", "width", m_fullSize.width(), "height", m_fullSize.height()); width 300 Source/platform/graphics/ImageFrameGenerator.cpp ASSERT(fullSizeBitmap.width() == m_fullSize.width() && fullSizeBitmap.height() == m_fullSize.height()); width 95 Source/platform/graphics/ImageFrameGeneratorTest.cpp if (!bitmap.allocN32Pixels(size.width(), size.height())) width 59 Source/platform/graphics/ImageLayerChromiumTest.cpp EXPECT_TRUE(bitmap.allocN32Pixels(size.width(), size.height(), isOpaque)); width 36 Source/platform/graphics/ImageOrientation.cpp float w = drawnSize.width(); width 93 Source/platform/graphics/ImageSource.cpp return IntSize(size.height(), size.width()); width 67 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp IntRect top(contentRect.x(), contentRect.y(), contentRect.width(), contentRect.height() / 2); width 68 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp IntRect bottom(contentRect.x(), contentRect.y() + contentRect.height() / 2, contentRect.width(), contentRect.height() / 2); width 105 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp EXPECT_EQ(a.width, b.width); \ width 112 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp : m_skCanvas(adoptPtr(skia::CreateBitmapCanvas(canvasRect().width, canvasRect().height, false))) width 181 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp EXPECT_EQ_RECT(WebFloatRect(partialRect.x(), partialRect.y(), partialRect.width(), partialRect.height()), opaqueRect); width 194 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp EXPECT_EQ_RECT(WebFloatRect(partialRect.x(), partialRect.y(), partialRect.width(), partialRect.height()), opaqueRect); width 399 Source/platform/graphics/Path.cpp FloatSize halfSize(rect.width() / 2, rect.height() / 2); width 406 Source/platform/graphics/Path.cpp if (radius.width() < 0) width 410 Source/platform/graphics/Path.cpp radius.setHeight(radius.width()); width 412 Source/platform/graphics/Path.cpp if (radius.width() > halfSize.width()) width 413 Source/platform/graphics/Path.cpp radius.setWidth(halfSize.width()); width 426 Source/platform/graphics/Path.cpp if (rect.width() < topLeftRadius.width() + topRightRadius.width() width 427 Source/platform/graphics/Path.cpp || rect.width() < bottomLeftRadius.width() + bottomRightRadius.width() width 449 Source/platform/graphics/Path.cpp moveTo(FloatPoint(rect.x() + topLeftRadius.width(), rect.y())); width 451 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.maxX() - topRightRadius.width(), rect.y())); width 452 Source/platform/graphics/Path.cpp if (topRightRadius.width() > 0 || topRightRadius.height() > 0) width 453 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.maxX() - topRightRadius.width() * gCircleControlPoint, rect.y()), width 457 Source/platform/graphics/Path.cpp if (bottomRightRadius.width() > 0 || bottomRightRadius.height() > 0) width 459 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX() - bottomRightRadius.width() * gCircleControlPoint, rect.maxY()), width 460 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX() - bottomRightRadius.width(), rect.maxY())); width 461 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.x() + bottomLeftRadius.width(), rect.maxY())); width 462 Source/platform/graphics/Path.cpp if (bottomLeftRadius.width() > 0 || bottomLeftRadius.height() > 0) width 463 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.x() + bottomLeftRadius.width() * gCircleControlPoint, rect.maxY()), width 467 Source/platform/graphics/Path.cpp if (topLeftRadius.width() > 0 || topLeftRadius.height() > 0) width 469 Source/platform/graphics/Path.cpp FloatPoint(rect.x() + topLeftRadius.width() * gCircleControlPoint, rect.y()), width 470 Source/platform/graphics/Path.cpp FloatPoint(rect.x() + topLeftRadius.width(), rect.y())); width 482 Source/platform/graphics/Path.cpp m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(size.height())); width 73 Source/platform/graphics/StrokeData.cpp float width = m_thickness; width 85 Source/platform/graphics/StrokeData.cpp width = dashRatio * width; width 89 Source/platform/graphics/StrokeData.cpp int dashLength = static_cast<int>(width); width 41 Source/platform/graphics/UnacceleratedImageBufferSurface.cpp , m_canvas(adoptRef(SkCanvas::NewRasterN32(size.width(), size.height()))) width 50 Source/platform/graphics/filters/FEConvolveMatrix.cpp ASSERT(m_kernelSize.width() > 0); width 78 Source/platform/graphics/filters/FEConvolveMatrix.cpp ASSERT(kernelSize.width() > 0); width 265 Source/platform/graphics/filters/FEConvolveMatrix.cpp int pixel = (m_targetOffset.y() * paintingData.width + m_targetOffset.x()) * 4; width 267 Source/platform/graphics/filters/FEConvolveMatrix.cpp int xIncrease = (m_kernelSize.width() - 1) * 4; width 282 Source/platform/graphics/filters/FEConvolveMatrix.cpp int width = m_kernelSize.width(); width 298 Source/platform/graphics/filters/FEConvolveMatrix.cpp if (!--width) { width 300 Source/platform/graphics/filters/FEConvolveMatrix.cpp width = m_kernelSize.width(); width 314 Source/platform/graphics/filters/FEConvolveMatrix.cpp if (x >= 0 && x < paintingData.width && y >= 0 && y < paintingData.height) width 315 Source/platform/graphics/filters/FEConvolveMatrix.cpp return (y * paintingData.width + x) << 2; width 323 Source/platform/graphics/filters/FEConvolveMatrix.cpp else if (x >= paintingData.width) width 324 Source/platform/graphics/filters/FEConvolveMatrix.cpp x = paintingData.width - 1; width 329 Source/platform/graphics/filters/FEConvolveMatrix.cpp return (y * paintingData.width + x) << 2; width 332 Source/platform/graphics/filters/FEConvolveMatrix.cpp x += paintingData.width; width 333 Source/platform/graphics/filters/FEConvolveMatrix.cpp x %= paintingData.width; width 337 Source/platform/graphics/filters/FEConvolveMatrix.cpp return (y * paintingData.width + x) << 2; width 345 Source/platform/graphics/filters/FEConvolveMatrix.cpp int pixel = (y1 * paintingData.width + x1) * 4; width 347 Source/platform/graphics/filters/FEConvolveMatrix.cpp int width = x2 - x1; width 351 Source/platform/graphics/filters/FEConvolveMatrix.cpp int xIncrease = (paintingData.width - width) * 4; width 359 Source/platform/graphics/filters/FEConvolveMatrix.cpp for (int x = width; x > 0; --x) { width 363 Source/platform/graphics/filters/FEConvolveMatrix.cpp int width = m_kernelSize.width(); width 382 Source/platform/graphics/filters/FEConvolveMatrix.cpp if (!--width) { width 385 Source/platform/graphics/filters/FEConvolveMatrix.cpp width = m_kernelSize.width(); width 451 Source/platform/graphics/filters/FEConvolveMatrix.cpp paintingData.width = paintSize.width(); width 456 Source/platform/graphics/filters/FEConvolveMatrix.cpp int clipRight = paintSize.width() - m_kernelSize.width(); width 461 Source/platform/graphics/filters/FEConvolveMatrix.cpp int optimalThreadNumber = (absolutePaintRect().width() * absolutePaintRect().height()) / s_minimalRectDimension; width 492 Source/platform/graphics/filters/FEConvolveMatrix.cpp setOuterPixels(paintingData, 0, 0, paintSize.width(), m_targetOffset.y()); width 494 Source/platform/graphics/filters/FEConvolveMatrix.cpp setOuterPixels(paintingData, 0, clipBottom, paintSize.width(), paintSize.height()); width 497 Source/platform/graphics/filters/FEConvolveMatrix.cpp if (clipRight < paintSize.width()) width 498 Source/platform/graphics/filters/FEConvolveMatrix.cpp setOuterPixels(paintingData, clipRight, m_targetOffset.y(), paintSize.width(), clipBottom); width 501 Source/platform/graphics/filters/FEConvolveMatrix.cpp setOuterPixels(paintingData, 0, 0, paintSize.width(), paintSize.height()); width 527 Source/platform/graphics/filters/FEConvolveMatrix.cpp SkISize kernelSize(SkISize::Make(m_kernelSize.width(), m_kernelSize.height())); width 528 Source/platform/graphics/filters/FEConvolveMatrix.cpp int numElements = kernelSize.width() * kernelSize.height(); width 83 Source/platform/graphics/filters/FEConvolveMatrix.h int width; width 143 Source/platform/graphics/filters/FEDisplacementMap.cpp int stride = paintSize.width() * 4; width 146 Source/platform/graphics/filters/FEDisplacementMap.cpp for (int x = 0; x < paintSize.width(); ++x) { width 151 Source/platform/graphics/filters/FEDisplacementMap.cpp if (srcX < 0 || srcX >= paintSize.width() || srcY < 0 || srcY >= paintSize.height()) { width 68 Source/platform/graphics/filters/FEDropShadow.cpp result.inflateX(3 * kernelSize.width() * 0.5f); width 90 Source/platform/graphics/filters/FEDropShadow.cpp SkAutoTUnref<SkImageFilter> blurFilter(new SkBlurImageFilter(blurRadius.width(), blurRadius.height())); width 103 Source/platform/graphics/filters/FEDropShadow.cpp resultContext->drawBitmap(nativeImage->bitmap(), drawingRegion.x() + offset.width(), drawingRegion.y() + offset.height(), &paint); width 116 Source/platform/graphics/filters/FEGaussianBlur.cpp result.inflateX(3 * kernelSize.width() * 0.5f); width 162 Source/platform/graphics/filters/FEGaussianBlur.cpp SkRect bounds = SkRect::MakeWH(absolutePaintRect().width(), absolutePaintRect().height()); width 58 Source/platform/graphics/filters/FEGaussianBlur.h int width; width 311 Source/platform/graphics/filters/FELighting.cpp offset->setWidth(positionOffset.width()); width 313 Source/platform/graphics/filters/FELighting.cpp scale->setX(initialEffectRect.width() > 0.0f && initialEffectRect.width() > 0.0f ? absoluteEffectRect.width() / initialEffectRect.width() : 1.0f); width 319 Source/platform/graphics/filters/FELighting.cpp bool FELighting::drawLighting(Uint8ClampedArray* pixels, int width, int height) width 329 Source/platform/graphics/filters/FELighting.cpp if (width <= 2 || height <= 2) width 334 Source/platform/graphics/filters/FELighting.cpp data.widthMultipliedByPixelSize = width * cPixelSize; width 335 Source/platform/graphics/filters/FELighting.cpp data.widthDecreasedByOne = width - 1; width 367 Source/platform/graphics/filters/FELighting.cpp if (width >= 3) { width 397 Source/platform/graphics/filters/FELighting.cpp if (width >= 3 && height >= 3) { width 438 Source/platform/graphics/filters/FELighting.cpp drawLighting(srcPixelArray, absolutePaintSize.width(), absolutePaintSize.height()); width 123 Source/platform/graphics/filters/FEMorphology.cpp SkRect bounds = SkRect::MakeWH(absolutePaintRect().width(), absolutePaintRect().height()); width 58 Source/platform/graphics/filters/FEMorphology.h int width; width 81 Source/platform/graphics/filters/FETile.cpp tileImageContext->scale(FloatSize(intTileSize.width() / tileRect.width(), intTileSize.height() / tileRect.height())); width 104 Source/platform/graphics/filters/FETile.cpp result.setWidth(boundaries.width()); width 238 Source/platform/graphics/filters/FETurbulence.cpp checkNoise(noiseX.noisePositionIntegerValue, stitchData.wrapX, stitchData.width); width 270 Source/platform/graphics/filters/FETurbulence.cpp float tileWidth = paintingData.filterSize.width(); width 295 Source/platform/graphics/filters/FETurbulence.cpp stitchData.width = roundf(tileWidth * baseFrequencyX); width 296 Source/platform/graphics/filters/FETurbulence.cpp stitchData.wrapX = s_perlinNoise + stitchData.width; width 314 Source/platform/graphics/filters/FETurbulence.cpp stitchData.width *= 2; width 334 Source/platform/graphics/filters/FETurbulence.cpp int indexOfPixelChannel = startY * (filterRegion.width() << 2); width 341 Source/platform/graphics/filters/FETurbulence.cpp for (int x = 0; x < filterRegion.width(); ++x) { width 368 Source/platform/graphics/filters/FETurbulence.cpp int optimalThreadNumber = (absolutePaintRect().width() * absolutePaintRect().height()) / s_minimalRectDimension; width 406 Source/platform/graphics/filters/FETurbulence.cpp const SkISize size = SkISize::Make(filterRegion.width(), filterRegion.height()); width 88 Source/platform/graphics/filters/FETurbulence.h : width(0) width 95 Source/platform/graphics/filters/FETurbulence.h int width; // How much to subtract to wrap for stitching. width 65 Source/platform/graphics/filters/FilterEffect.cpp if (rect.width() < 0 || rect.height() < 0 width 66 Source/platform/graphics/filters/FilterEffect.cpp || (rect.height() * rect.width() > kMaxFilterArea)) width 126 Source/platform/graphics/filters/FilterEffect.cpp sourceClipRect.setWidth(boundaries.width()); width 305 Source/platform/graphics/filters/FilterEffect.cpp RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); width 313 Source/platform/graphics/filters/FilterEffect.cpp RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); width 321 Source/platform/graphics/filters/FilterEffect.cpp if (rect.x() < 0 || rect.y() < 0 || rect.maxX() > m_absolutePaintRect.width() || rect.maxY() > m_absolutePaintRect.height()) width 325 Source/platform/graphics/filters/FilterEffect.cpp if (rect.maxX() <= 0 || rect.maxY() <= 0 || rect.x() >= m_absolutePaintRect.width() || rect.y() >= m_absolutePaintRect.height()) width 335 Source/platform/graphics/filters/FilterEffect.cpp if (xEnd > m_absolutePaintRect.width()) width 336 Source/platform/graphics/filters/FilterEffect.cpp xEnd = m_absolutePaintRect.width(); width 349 Source/platform/graphics/filters/FilterEffect.cpp int destinationScanline = rect.width() * 4; width 350 Source/platform/graphics/filters/FilterEffect.cpp int sourceScanline = m_absolutePaintRect.width() * 4; width 351 Source/platform/graphics/filters/FilterEffect.cpp unsigned char *destinationPixel = destination->data() + ((yDest * rect.width()) + xDest) * 4; width 352 Source/platform/graphics/filters/FilterEffect.cpp unsigned char *sourcePixel = source->data() + ((yOrigin * m_absolutePaintRect.width()) + xOrigin) * 4; width 372 Source/platform/graphics/filters/FilterEffect.cpp m_unmultipliedImageResult = Uint8ClampedArray::createUninitialized(m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 375 Source/platform/graphics/filters/FilterEffect.cpp unsigned char* end = sourceComponent + (m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 406 Source/platform/graphics/filters/FilterEffect.cpp m_premultipliedImageResult = Uint8ClampedArray::createUninitialized(m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 409 Source/platform/graphics/filters/FilterEffect.cpp unsigned char* end = sourceComponent + (m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 443 Source/platform/graphics/filters/FilterEffect.cpp m_unmultipliedImageResult = Uint8ClampedArray::createUninitialized(m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 455 Source/platform/graphics/filters/FilterEffect.cpp m_premultipliedImageResult = Uint8ClampedArray::createUninitialized(m_absolutePaintRect.width() * m_absolutePaintRect.height() * 4); width 520 Source/platform/graphics/filters/FilterEffect.cpp subregion.setWidth(boundaries.width()); width 559 Source/platform/graphics/filters/FilterEffect.cpp rect.setWidth(boundaries.width()); width 41 Source/platform/graphics/filters/FilterOperations.cpp outset.setWidth(3 * kernelSize.width() * 0.5f); width 120 Source/platform/graphics/filters/FilterOperations.cpp FilterOutsets outsets(outsetSize.height(), outsetSize.width(), outsetSize.height(), outsetSize.width()); width 129 Source/platform/graphics/filters/FilterOperations.cpp std::max(0, outsetSize.width() + dropShadowOperation->x()), width 131 Source/platform/graphics/filters/FilterOperations.cpp std::max(0, outsetSize.width() - dropShadowOperation->x()) width 143 Source/platform/graphics/filters/FilterOperations.cpp std::max(0.0f, outsetRect.x() + outsetRect.width() - 1), width 39 Source/platform/graphics/filters/PointLightSource.h FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - offset.height(), m_position.z() * scale.z()); width 40 Source/platform/graphics/filters/SpotLightSource.h FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - offset.height(), m_position.z() * scale.z()); width 41 Source/platform/graphics/filters/SpotLightSource.h FloatPoint3D direction(m_direction.x() * scale.x() - offset.width(), m_direction.y() * scale.y() - offset.height(), m_direction.z() * scale.z()); width 181 Source/platform/graphics/gpu/DrawingBuffer.cpp readBackFramebuffer(pixels, size().width(), size().height(), ReadbackSkia, op); width 262 Source/platform/graphics/gpu/DrawingBuffer.cpp texImage2DResourceSafe(GL_TEXTURE_2D, 0, m_internalColorFormat, m_size.width(), m_size.height(), 0, m_colorFormat, GL_UNSIGNED_BYTE); width 462 Source/platform/graphics/gpu/DrawingBuffer.cpp paintFramebufferToCanvas(framebuffer, size().width(), size().height(), !m_attributes.premultipliedAlpha, imageBuffer); width 548 Source/platform/graphics/gpu/DrawingBuffer.cpp texImage2DResourceSafe(GL_TEXTURE_2D, 0, m_internalColorFormat, size.width(), size.height(), 0, m_colorFormat, GL_UNSIGNED_BYTE); width 570 Source/platform/graphics/gpu/DrawingBuffer.cpp texImage2DResourceSafe(GL_TEXTURE_2D, 0, m_internalColorFormat, size.width(), size.height(), 0, m_colorFormat, GL_UNSIGNED_BYTE); width 593 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleCHROMIUM(GL_RENDERBUFFER, m_sampleCount, m_internalRenderbufferFormat, size.width(), size.height()); width 614 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleEXT(GL_RENDERBUFFER, m_sampleCount, GL_DEPTH24_STENCIL8_OES, size.width(), size.height()); width 616 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleCHROMIUM(GL_RENDERBUFFER, m_sampleCount, GL_DEPTH24_STENCIL8_OES, size.width(), size.height()); width 618 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8_OES, size.width(), size.height()); width 627 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleEXT(GL_RENDERBUFFER, m_sampleCount, GL_DEPTH_COMPONENT16, size.width(), size.height()); width 629 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleCHROMIUM(GL_RENDERBUFFER, m_sampleCount, GL_DEPTH_COMPONENT16, size.width(), size.height()); width 631 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, size.width(), size.height()); width 639 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleEXT(GL_RENDERBUFFER, m_sampleCount, GL_STENCIL_INDEX8, size.width(), size.height()); width 641 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorageMultisampleCHROMIUM(GL_RENDERBUFFER, m_sampleCount, GL_STENCIL_INDEX8, size.width(), size.height()); width 643 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->renderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, size.width(), size.height()); width 676 Source/platform/graphics/gpu/DrawingBuffer.cpp return (max(0, size.width()) * max(0, size.height())) - (max(0, m_size.width()) * max(0, m_size.height())); width 686 Source/platform/graphics/gpu/DrawingBuffer.cpp if (adjustedSize.width() > m_maxTextureSize) width 714 Source/platform/graphics/gpu/DrawingBuffer.cpp int pixelDelta = oldestSize.width() * oldestSize.height(); width 778 Source/platform/graphics/gpu/DrawingBuffer.cpp void DrawingBuffer::commit(long x, long y, long width, long height) width 783 Source/platform/graphics/gpu/DrawingBuffer.cpp if (width < 0) width 784 Source/platform/graphics/gpu/DrawingBuffer.cpp width = m_size.width(); width 798 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->blitFramebufferCHROMIUM(x, y, width, height, x, y, width, height, GL_COLOR_BUFFER_BIT, GL_NEAREST); width 836 Source/platform/graphics/gpu/DrawingBuffer.cpp paintFramebufferToCanvas(framebuffer(), size().width(), size().height(), !m_attributes.premultipliedAlpha, imageBuffer); width 839 Source/platform/graphics/gpu/DrawingBuffer.cpp PassRefPtr<Uint8ClampedArray> DrawingBuffer::paintRenderingResultsToImageData(int& width, int& height) width 844 Source/platform/graphics/gpu/DrawingBuffer.cpp width = size().width(); width 848 Source/platform/graphics/gpu/DrawingBuffer.cpp dataSize *= width; width 853 Source/platform/graphics/gpu/DrawingBuffer.cpp RefPtr<Uint8ClampedArray> pixels = Uint8ClampedArray::createUninitialized(width * height * 4); width 856 Source/platform/graphics/gpu/DrawingBuffer.cpp readBackFramebuffer(pixels->data(), width, height, ReadbackRGBA, WebGLImageConversion::AlphaDoNothing); width 857 Source/platform/graphics/gpu/DrawingBuffer.cpp flipVertically(pixels->data(), width, height); width 862 Source/platform/graphics/gpu/DrawingBuffer.cpp void DrawingBuffer::paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) width 869 Source/platform/graphics/gpu/DrawingBuffer.cpp if (canvasBitmap.width() == width && canvasBitmap.height() == height) { width 878 Source/platform/graphics/gpu/DrawingBuffer.cpp if (m_resizingBitmap.width() != width || m_resizingBitmap.height() != height) { width 879 Source/platform/graphics/gpu/DrawingBuffer.cpp if (!m_resizingBitmap.allocN32Pixels(width, height)) width 890 Source/platform/graphics/gpu/DrawingBuffer.cpp readBackFramebuffer(pixels, width, height, ReadbackSkia, premultiplyAlpha ? WebGLImageConversion::AlphaDoPremultiply : WebGLImageConversion::AlphaDoNothing); width 891 Source/platform/graphics/gpu/DrawingBuffer.cpp flipVertically(pixels, width, height); width 898 Source/platform/graphics/gpu/DrawingBuffer.cpp dst.set(SkIntToScalar(0), SkIntToScalar(0), SkIntToScalar(canvasBitmap.width()), SkIntToScalar(canvasBitmap.height())); width 903 Source/platform/graphics/gpu/DrawingBuffer.cpp void DrawingBuffer::readBackFramebuffer(unsigned char* pixels, int width, int height, ReadbackOrder readbackOrder, WebGLImageConversion::AlphaOp op) width 907 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->readPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); width 911 Source/platform/graphics/gpu/DrawingBuffer.cpp size_t bufferSize = 4 * width * height; width 934 Source/platform/graphics/gpu/DrawingBuffer.cpp void DrawingBuffer::flipVertically(uint8_t* framebuffer, int width, int height) width 936 Source/platform/graphics/gpu/DrawingBuffer.cpp m_scanline.resize(width * 4); width 938 Source/platform/graphics/gpu/DrawingBuffer.cpp unsigned rowBytes = width * 4; width 949 Source/platform/graphics/gpu/DrawingBuffer.cpp void DrawingBuffer::texImage2DResourceSafe(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLint unpackAlignment) width 952 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->texImage2D(target, level, internalformat, width, height, border, format, type, 0); width 102 Source/platform/graphics/gpu/DrawingBuffer.h void commit(long x = 0, long y = 0, long width = -1, long height = -1); width 177 Source/platform/graphics/gpu/DrawingBuffer.h void paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer*); width 187 Source/platform/graphics/gpu/DrawingBuffer.h void readBackFramebuffer(unsigned char* pixels, int width, int height, ReadbackOrder, WebGLImageConversion::AlphaOp); width 190 Source/platform/graphics/gpu/DrawingBuffer.h void flipVertically(uint8_t* data, int width, int height); width 194 Source/platform/graphics/gpu/DrawingBuffer.h void texImage2DResourceSafe(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLint alignment = 4); width 72 Source/platform/graphics/gpu/DrawingBufferTest.cpp virtual void texImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) width 75 Source/platform/graphics/gpu/DrawingBufferTest.cpp m_textureSizes.set(m_boundTexture, IntSize(width, height)); width 1263 Source/platform/graphics/gpu/WebGLImageConversion.cpp FormatConverter(unsigned width, unsigned height, width 1265 Source/platform/graphics/gpu/WebGLImageConversion.cpp : m_width(width), m_height(height), m_srcStart(srcStart), m_dstStart(dstStart), m_srcStride(srcStride), m_dstStride(dstStride), m_success(false) width 1494 Source/platform/graphics/gpu/WebGLImageConversion.cpp GLenum WebGLImageConversion::computeImageSizeInBytes(GLenum format, GLenum type, GLsizei width, GLsizei height, GLint alignment, unsigned* imageSizeInBytes, unsigned* paddingInBytes) width 1498 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (width < 0 || height < 0) width 1503 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!width || !height) { width 1510 Source/platform/graphics/gpu/WebGLImageConversion.cpp checkedValue *= width; width 1566 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!m_nativeImage.get() || !m_nativeImage->isDataComplete() || !m_nativeImage->bitmap().width() || !m_nativeImage->bitmap().height()) width 1585 Source/platform/graphics/gpu/WebGLImageConversion.cpp m_imageWidth = m_skiaImage->bitmap().width(); width 1592 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (m_imageWidth != (unsigned)m_image->size().width() || m_imageHeight != (unsigned)m_image->size().height()) { width 1662 Source/platform/graphics/gpu/WebGLImageConversion.cpp unsigned width, width 1672 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (computeImageSizeInBytes(format, type, width, height, 1, &packedSize, 0) != GL_NO_ERROR) width 1676 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!packPixels(reinterpret_cast<const uint8_t*>(pixels), sourceFormat, width, height, sourceUnpackAlignment, format, type, alphaOp, data.data(), flipY)) width 1694 Source/platform/graphics/gpu/WebGLImageConversion.cpp int width = imageDataSize.width(); width 1699 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (computeImageSizeInBytes(format, type, width, height, 1, &packedSize, 0) != GL_NO_ERROR) width 1703 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!packPixels(imageData, DataFormatRGBA8, width, height, 0, format, type, premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing, data.data(), flipY)) width 1710 Source/platform/graphics/gpu/WebGLImageConversion.cpp unsigned width, width 1726 Source/platform/graphics/gpu/WebGLImageConversion.cpp data.resize(width * height * bytesPerPixel); width 1728 Source/platform/graphics/gpu/WebGLImageConversion.cpp if (!packPixels(static_cast<const uint8_t*>(pixels), sourceDataFormat, width, height, unpackAlignment, format, type, (premultiplyAlpha ? AlphaDoPremultiply : AlphaDoNothing), data.data(), flipY)) width 1737 Source/platform/graphics/gpu/WebGLImageConversion.cpp unsigned width, width 1746 Source/platform/graphics/gpu/WebGLImageConversion.cpp int validSrc = width * TexelBytesForFormat(sourceDataFormat); width 1751 Source/platform/graphics/gpu/WebGLImageConversion.cpp int dstStride = width * TexelBytesForFormat(dstDataFormat); width 1772 Source/platform/graphics/gpu/WebGLImageConversion.cpp FormatConverter converter(width, height, sourceData, destinationData, srcStride, dstStride); width 121 Source/platform/graphics/gpu/WebGLImageConversion.h static GLenum computeImageSizeInBytes(GLenum format, GLenum type, GLsizei width, GLsizei height, GLint alignment, unsigned* imageSizeInBytes, unsigned* paddingInBytes); width 139 Source/platform/graphics/gpu/WebGLImageConversion.h static bool packImageData(Image*, const void* pixels, GLenum format, GLenum type, bool flipY, AlphaOp, DataFormat sourceFormat, unsigned width, unsigned height, unsigned sourceUnpackAlignment, Vector<uint8_t>& data); width 152 Source/platform/graphics/gpu/WebGLImageConversion.h static bool extractTextureData(unsigned width, unsigned height, GLenum format, GLenum type, unsigned unpackAlignment, bool flipY, bool premultiplyAlpha, const void* pixels, Vector<uint8_t>& data); width 163 Source/platform/graphics/gpu/WebGLImageConversion.h static bool packPixels(const uint8_t* sourceData, DataFormat sourceDataFormat, unsigned width, unsigned height, unsigned sourceUnpackAlignment, unsigned destinationFormat, unsigned destinationType, AlphaOp, void* destinationData, bool flipY); width 41 Source/platform/graphics/skia/GaneshUtils.cpp if (!bitmap.getTexture() || bitmap.width() != size.width() || bitmap.height() != size.height()) { width 49 Source/platform/graphics/skia/GaneshUtils.cpp desc.fWidth = size.width(); width 210 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize imageSize = SkISize::Make(bitmap().width(), bitmap().height()); width 211 Source/platform/graphics/skia/NativeImageSkia.cpp SkISize scaledImageSize = SkISize::Make(clampToInteger(roundf(imageSize.width() * scaleX)), width 214 Source/platform/graphics/skia/NativeImageSkia.cpp SkRect imageRect = SkRect::MakeWH(imageSize.width(), imageSize.height()); width 215 Source/platform/graphics/skia/NativeImageSkia.cpp SkRect scaledImageRect = SkRect::MakeWH(scaledImageSize.width(), scaledImageSize.height()); width 250 Source/platform/graphics/skia/NativeImageSkia.cpp float realScaleX = screenRect.width() / srcRect.width(); width 319 Source/platform/graphics/skia/NativeImageSkia.cpp SkBitmap resizedImage = skia::ImageOperations::Resize(m_image, skia::ImageOperations::RESIZE_LANCZOS3, scaledImageSize.width(), scaledImageSize.height(), scaledImageSubset); width 361 Source/platform/graphics/skia/NativeImageSkia.cpp return destRect.width() * fabs(widthExpansion) < 1 || destRect.height() * fabs(heightExpansion) < 1; width 387 Source/platform/graphics/skia/NativeImageSkia.cpp SkScalarToFloat(srcRect.width()), SkScalarToFloat(srcRect.height()), width 388 Source/platform/graphics/skia/NativeImageSkia.cpp SkScalarToFloat(destRectTarget.width()), SkScalarToFloat(destRectTarget.height())); width 449 Source/platform/graphics/skia/NativeImageSkia.cpp normSrcRect.intersect(FloatRect(0, 0, bitmap().width(), bitmap().height())); width 457 Source/platform/graphics/skia/NativeImageSkia.cpp totalMatrix.preScale(scale.width(), scale.height()); width 465 Source/platform/graphics/skia/NativeImageSkia.cpp float destBitmapWidth = SkScalarToFloat(destRectTarget.width()); width 473 Source/platform/graphics/skia/NativeImageSkia.cpp resampling = computeResamplingMode(totalMatrix, normSrcRect.width(), normSrcRect.height(), destBitmapWidth, destBitmapHeight); width 486 Source/platform/graphics/skia/NativeImageSkia.cpp float scaleX = destBitmapWidth / normSrcRect.width(); width 499 Source/platform/graphics/skia/NativeImageSkia.cpp createBitmapWithSpace(resampled, repeatSpacing.width() * ctmScaleX, repeatSpacing.height() * ctmScaleY), width 518 Source/platform/graphics/skia/NativeImageSkia.cpp createBitmapWithSpace(srcSubset, repeatSpacing.width() * ctmScaleX, repeatSpacing.height() * ctmScaleY), width 524 Source/platform/graphics/skia/NativeImageSkia.cpp shaderTransform.setScale(scale.width(), scale.height()); width 531 Source/platform/graphics/skia/NativeImageSkia.cpp float adjustedX = phase.x() + normSrcRect.x() * scale.width(); width 572 Source/platform/graphics/skia/NativeImageSkia.cpp unsigned long long fullSize = static_cast<unsigned long long>(scaledImageSize.width()) * static_cast<unsigned long long>(scaledImageSize.height()); width 573 Source/platform/graphics/skia/NativeImageSkia.cpp unsigned long long fragmentSize = static_cast<unsigned long long>(scaledImageSubset.width()) * static_cast<unsigned long long>(scaledImageSubset.height()); width 379 Source/platform/graphics/skia/OpaqueRegionSkia.cpp long opaqueArea = (long)opaqueRect.width() * (long)opaqueRect.height(); width 380 Source/platform/graphics/skia/OpaqueRegionSkia.cpp long area = (long)rect.width() * (long)rect.height(); width 417 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if ((long)horizontal.width() * (long)horizontal.height() > (long)vertical.width() * (long)vertical.height()) width 37 Source/platform/graphics/skia/SkSizeHash.h static unsigned hash(const SkSize& key) { return pairIntHash(key.width(), key.height()); } width 56 Source/platform/graphics/skia/SkSizeHash.h return value.width() == -1 && value.height() == -1; width 61 Source/platform/graphics/skia/SkSizeHash.h static unsigned hash(const SkISize& key) { return pairIntHash(key.width(), key.height()); } width 80 Source/platform/graphics/skia/SkSizeHash.h return value.width() == -1 && value.height() == -1; width 69 Source/platform/graphics/test/MockImageDecoder.h virtual bool setSize(unsigned width, unsigned height) OVERRIDE width 71 Source/platform/graphics/test/MockImageDecoder.h ImageDecoder::setSize(width, height); width 73 Source/platform/graphics/test/MockImageDecoder.h m_frameBufferCache[0].setSize(width, height); width 120 Source/platform/graphics/test/MockImageDecoder.h return adoptPtr(new MockImageDecoderFactory(client, IntSize(decodedSize.width(), decodedSize.height()))); width 131 Source/platform/graphics/test/MockImageDecoder.h decoder->setSize(m_decodedSize.width(), m_decodedSize.height()); width 47 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) { } width 55 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) { return 0; } width 67 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { } width 97 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void compressedTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Dsizei imageSize, const void* data) { } width 98 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void compressedTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Dsizei imageSize, const void* data) { } width 99 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void copyTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border) { } width 100 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void copyTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { } width 178 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void readPixels(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, void* pixels) { } width 182 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void renderbufferStorage(WGC3Denum target, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { } width 184 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void scissor(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { } width 193 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void texImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) { } width 198 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void texSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { } width 233 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void viewport(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) { } width 277 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void texStorage2DEXT(WGC3Denum target, WGC3Dint levels, WGC3Duint internalformat, WGC3Dint width, WGC3Dint height) { } width 648 Source/platform/heap/HeapTest.cpp static const unsigned width = 7500; width 652 Source/platform/heap/HeapTest.cpp for (unsigned i = 0; i < width; i++) { width 659 Source/platform/heap/HeapTest.cpp Member<Bar> m_bars[width]; width 1675 Source/platform/heap/HeapTest.cpp unsigned width = Bars::width; width 1676 Source/platform/heap/HeapTest.cpp EXPECT_EQ(width + 1, Bar::s_live); width 1678 Source/platform/heap/HeapTest.cpp EXPECT_EQ(width + 1, Bar::s_live); width 1681 Source/platform/heap/HeapTest.cpp EXPECT_EQ(width, bars->getWidth()); width 1683 Source/platform/heap/HeapTest.cpp EXPECT_EQ(Bars::width + 1, Bar::s_live); width 119 Source/platform/image-decoders/ImageDecoder.h virtual bool setSize(unsigned width, unsigned height) width 121 Source/platform/image-decoders/ImageDecoder.h if (sizeCalculationMayOverflow(width, height)) width 123 Source/platform/image-decoders/ImageDecoder.h m_size = IntSize(width, height); width 290 Source/platform/image-decoders/ImageDecoder.h static bool sizeCalculationMayOverflow(unsigned width, unsigned height) width 292 Source/platform/image-decoders/ImageDecoder.h unsigned long long total_size = static_cast<unsigned long long>(width) width 64 Source/platform/image-decoders/ImageDecoderTest.cpp void initFrames(size_t numFrames, unsigned width = 100, unsigned height = 100) width 66 Source/platform/image-decoders/ImageDecoderTest.cpp setSize(width, height); width 69 Source/platform/image-decoders/ImageDecoderTest.cpp m_frameBufferCache[i].setOriginalFrameRect(IntRect(0, 0, width, height)); width 107 Source/platform/image-decoders/ImageFrame.cpp ASSERT(!width() && !height()); width 94 Source/platform/image-decoders/ImageFrame.h ASSERT(startX < width()); width 95 Source/platform/image-decoders/ImageFrame.h ASSERT(endX <= width()); width 200 Source/platform/image-decoders/ImageFrame.h int width() const width 202 Source/platform/image-decoders/ImageFrame.h return m_bitmap.width(); width 80 Source/platform/image-decoders/bmp/BMPImageReader.cpp if (!m_buffer->setSize(m_parent->size().width(), m_parent->size().height())) width 542 Source/platform/image-decoders/bmp/BMPImageReader.cpp if (m_coord.x() < m_parent->size().width()) width 551 Source/platform/image-decoders/bmp/BMPImageReader.cpp if ((m_coord.x() < m_parent->size().width()) || (m_isTopDown ? (m_coord.y() < (m_parent->size().height() - 1)) : (m_coord.y() > 0))) width 567 Source/platform/image-decoders/bmp/BMPImageReader.cpp if (((m_coord.x() + dx) > m_parent->size().width()) || pastEndOfImage(dy)) width 598 Source/platform/image-decoders/bmp/BMPImageReader.cpp const int endX = std::min(m_coord.x() + count, m_parent->size().width()); width 639 Source/platform/image-decoders/bmp/BMPImageReader.cpp numPixels = m_parent->size().width(); width 643 Source/platform/image-decoders/bmp/BMPImageReader.cpp if (endX > m_parent->size().width()) width 142 Source/platform/image-decoders/gif/GIFImageDecoder.cpp bool GIFImageDecoder::haveDecodedRow(size_t frameIndex, GIFRow::const_iterator rowBegin, size_t width, size_t rowNumber, unsigned repeatCount, bool writeTransparentPixels) width 153 Source/platform/image-decoders/gif/GIFImageDecoder.cpp const int xEnd = std::min(static_cast<int>(frameContext->xOffset() + width), size().width()); width 155 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (!width || (xBegin < 0) || (yBegin < 0) || (xEnd <= xBegin) || (yEnd <= yBegin)) width 312 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (frameRect.maxX() > size().width()) width 313 Source/platform/image-decoders/gif/GIFImageDecoder.cpp frameRect.setWidth(size().width() - frameRect.x()); width 361 Source/platform/image-decoders/gif/GIFImageDecoder.cpp if (!buffer->setSize(size().width(), size().height())) width 64 Source/platform/image-decoders/gif/GIFImageDecoder.h bool haveDecodedRow(size_t frameIndex, GIFRow::const_iterator rowBegin, size_t width, size_t rowNumber, unsigned repeatCount, bool writeTransparentPixels); width 151 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(16, frame->getSkBitmap().width()); width 157 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(16, frame->getSkBitmap().width()); width 179 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(16, frame->getSkBitmap().width()); width 184 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp EXPECT_EQ(16, frame->getSkBitmap().width()); width 150 Source/platform/image-decoders/gif/GIFImageReader.cpp if (!m_client->haveDecodedRow(m_frameContext->frameId(), rowBegin, m_frameContext->width(), width 204 Source/platform/image-decoders/gif/GIFImageReader.cpp const size_t width = m_frameContext->width(); width 288 Source/platform/image-decoders/gif/GIFImageReader.cpp for (; rowBegin + width <= rowIter; rowBegin += width) { width 625 Source/platform/image-decoders/gif/GIFImageReader.cpp unsigned height, width, xOffset, yOffset; width 632 Source/platform/image-decoders/gif/GIFImageReader.cpp width = GETINT16(currentComponent + 4); width 640 Source/platform/image-decoders/gif/GIFImageReader.cpp && ((m_screenHeight < height) || (m_screenWidth < width) || (m_version == 87))) { width 642 Source/platform/image-decoders/gif/GIFImageReader.cpp m_screenWidth = width; width 652 Source/platform/image-decoders/gif/GIFImageReader.cpp if (!height || !width) { width 654 Source/platform/image-decoders/gif/GIFImageReader.cpp width = m_screenWidth; width 655 Source/platform/image-decoders/gif/GIFImageReader.cpp if (!height || !width) width 671 Source/platform/image-decoders/gif/GIFImageReader.cpp currentFrame->setRect(xOffset, yOffset, width, height); width 672 Source/platform/image-decoders/gif/GIFImageReader.cpp m_screenWidth = std::max(m_screenWidth, width); width 790 Source/platform/image-decoders/gif/GIFImageReader.cpp rowBuffer.resize(m_frameContext->width() - 1 + maxBytes); width 215 Source/platform/image-decoders/gif/GIFImageReader.h void setRect(unsigned x, unsigned y, unsigned width, unsigned height) width 219 Source/platform/image-decoders/gif/GIFImageReader.h m_width = width; width 225 Source/platform/image-decoders/gif/GIFImageReader.h unsigned width() const { return m_width; } width 93 Source/platform/image-decoders/ico/ICOImageDecoder.cpp bool ICOImageDecoder::setSize(unsigned width, unsigned height) width 97 Source/platform/image-decoders/ico/ICOImageDecoder.cpp return m_frameSize.isEmpty() ? ImageDecoder::setSize(width, height) : ((IntSize(width, height) == m_frameSize) || setFailed()); width 160 Source/platform/image-decoders/ico/ICOImageDecoder.cpp const int aEntryArea = a.m_size.width() * a.m_size.height(); width 161 Source/platform/image-decoders/ico/ICOImageDecoder.cpp const int bEntryArea = b.m_size.width() * b.m_size.height(); width 292 Source/platform/image-decoders/ico/ICOImageDecoder.cpp return setSize(dirEntry.m_size.width(), dirEntry.m_size.height()); width 302 Source/platform/image-decoders/ico/ICOImageDecoder.cpp int width = static_cast<uint8_t>(m_data->data()[m_decodedOffset]); width 303 Source/platform/image-decoders/ico/ICOImageDecoder.cpp if (!width) width 304 Source/platform/image-decoders/ico/ICOImageDecoder.cpp width = 256; width 309 Source/platform/image-decoders/ico/ICOImageDecoder.cpp entry.m_size = IntSize(width, height); width 52 Source/platform/image-decoders/ico/ICOImageDecoder.h virtual bool setSize(unsigned width, unsigned height) OVERRIDE; width 613 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp bool JPEGImageDecoder::setSize(unsigned width, unsigned height) width 615 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp if (!ImageDecoder::setSize(width, height)) width 621 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp setDecodedSize(width, height); width 625 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp void JPEGImageDecoder::setDecodedSize(unsigned width, unsigned height) width 627 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp m_decodedSize = IntSize(width, height); width 632 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp size_t originalBytes = size().width() * size().height() * 4; width 700 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp int width = info->output_width; width 711 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp qcms_transform_data(reader->colorTransform(), *samples, *samples, width); width 714 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp for (int x = 0; x < width; ++pixel, ++x) width 732 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp ASSERT(info->output_width == static_cast<JDIMENSION>(m_decodedSize.width())); width 50 Source/platform/image-decoders/jpeg/JPEGImageDecoder.h virtual bool setSize(unsigned width, unsigned height) OVERRIDE; width 62 Source/platform/image-decoders/jpeg/JPEGImageDecoder.h void setDecodedSize(unsigned width, unsigned height); width 77 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp *outputWidth = frame->getSkBitmap().width(); width 302 Source/platform/image-decoders/png/PNGImageDecoder.cpp png_uint_32 width = png_get_image_width(png, info); width 306 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (width > cMaxPNGSize || height > cMaxPNGSize) { width 317 Source/platform/image-decoders/png/PNGImageDecoder.cpp bool result = setSize(width, height); width 325 Source/platform/image-decoders/png/PNGImageDecoder.cpp png_get_IHDR(png, info, &width, &height, &bitDepth, &colorType, &interlaceType, &compressionType, &filterType); width 404 Source/platform/image-decoders/png/PNGImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) { width 411 Source/platform/image-decoders/png/PNGImageDecoder.cpp m_reader->createInterlaceBuffer(colorChannels * size().width() * size().height()); width 420 Source/platform/image-decoders/png/PNGImageDecoder.cpp m_reader->createRowBuffer(colorChannels * size().width()); width 479 Source/platform/image-decoders/png/PNGImageDecoder.cpp row = interlaceBuffer + (rowIndex * colorChannels * size().width()); width 485 Source/platform/image-decoders/png/PNGImageDecoder.cpp qcms_transform_data(transform, row, m_reader->rowBuffer(), size().width()); width 493 Source/platform/image-decoders/png/PNGImageDecoder.cpp int width = size().width(); width 496 Source/platform/image-decoders/png/PNGImageDecoder.cpp for (int x = 0; x < width; ++x, pixel += colorChannels) { width 248 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp IntRect frameRect(animatedFrame.x_offset, animatedFrame.y_offset, animatedFrame.width, animatedFrame.height); width 250 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (frameRect.maxX() > size().width()) width 251 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp frameRect.setWidth(size().width() - animatedFrame.x_offset); width 272 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) width 378 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp int width; width 380 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!WebPIDecGetRGB(m_decoder, &decodedHeight, &width, 0, 0)) width 386 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ASSERT_WITH_SECURITY_IMPLICATION(width == frameRect.width()); width 401 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp qcms_transform_data_type(transform, row, row, width, QCMS_OUTPUT_RGBX); width 403 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp for (int x = 0; x < width; ++x, pixel += 4) { width 424 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp for (int x = 0; x < width; ++x) { width 442 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp for (int x = 0; x < width; ++x) { width 468 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp int width, height; width 472 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp width = features.width; width 475 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!setSize(width, height)) width 488 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp if (!buffer.setSize(size().width(), size().height())) width 508 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp m_decoderBuffer.u.RGBA.stride = size().width() * sizeof(ImageFrame::PixelData); width 210 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp int xOffset, yOffset, width, height; width 224 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(canvasWidth, frame->getSkBitmap().width()); width 228 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(frameParameters[i].width, frame->originalFrameRect().width()); width 252 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp int xOffset, yOffset, width, height; width 267 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(canvasWidth, frame->getSkBitmap().width()); width 271 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(frameParameters[i].width, frame->originalFrameRect().width()); width 295 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp int xOffset, yOffset, width, height; width 310 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(canvasWidth, frame->getSkBitmap().width()); width 314 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp EXPECT_EQ(frameParameters[i].width, frame->originalFrameRect().width()); width 146 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp cinfo.image_width = imageSize.width(); width 207 Source/platform/image-encoders/skia/JPEGImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output); width 96 Source/platform/image-encoders/skia/PNGImageEncoder.cpp png_set_IHDR(png, info, imageSize.width(), imageSize.height(), width 101 Source/platform/image-encoders/skia/PNGImageEncoder.cpp row.resize(imageSize.width() * sizeof(SkPMColor)); width 102 Source/platform/image-encoders/skia/PNGImageEncoder.cpp const size_t pixelRowStride = imageSize.width() * 4; width 105 Source/platform/image-encoders/skia/PNGImageEncoder.cpp preMultipliedBGRAtoRGBA(pixels, imageSize.width(), row.data()); width 124 Source/platform/image-encoders/skia/PNGImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char*>(bitmap.getPixels()), true, output); width 52 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp return importRGBX(picture, pixels, picture->width * 4); width 57 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp size_t pixelCount = picture->height * picture->width; width 73 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp return importRGB(picture, rgb.data(), picture->width * 3); width 96 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp if (!imageSize.width() || imageSize.width() > WEBP_MAX_DIMENSION) width 98 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp picture.width = imageSize.width(); width 125 Source/platform/image-encoders/skia/WEBPImageEncoder.cpp return encodePixels(IntSize(bitmap.width(), bitmap.height()), static_cast<unsigned char *>(bitmap.getPixels()), true, quality, output); width 84 Source/platform/scroll/FramelessScrollView.cpp clipRect.move(verticalScrollbar()->width(), 0); width 94 Source/platform/scroll/ScrollAnimator.cpp if ((deltaX < 0 && maxForwardScrollDelta.width() > 0) width 95 Source/platform/scroll/ScrollAnimator.cpp || (deltaX > 0 && maxBackwardScrollDelta.width() > 0) width 192 Source/platform/scroll/ScrollView.cpp verticalScrollbarWidth = !verticalBar->isOverlayScrollbar() ? verticalBar->width() : 0; width 196 Source/platform/scroll/ScrollView.cpp return IntSize(max(0, size.width() - verticalScrollbarWidth), width 252 Source/platform/scroll/ScrollView.cpp return orientation == HorizontalScrollbar ? scrollSize.width() : scrollSize.height(); width 373 Source/platform/scroll/ScrollView.cpp newHasHorizontalScrollbar = docSize.width() > visibleWidth(); width 374 Source/platform/scroll/ScrollView.cpp if (!scrollbarsAreOverlay && newHasHorizontalScrollbar && !m_updateScrollbarsPass && docSize.width() <= fullVisibleSize.width() && docSize.height() <= fullVisibleSize.height()) width 379 Source/platform/scroll/ScrollView.cpp if (!scrollbarsAreOverlay && newHasVerticalScrollbar && !m_updateScrollbarsPass && docSize.width() <= fullVisibleSize.width() && docSize.height() <= fullVisibleSize.height()) width 404 Source/platform/scroll/ScrollView.cpp ScrollableArea::setScrollOrigin(IntPoint(scrollOrigin().x() - m_verticalScrollbar->width(), scrollOrigin().y())); width 442 Source/platform/scroll/ScrollView.cpp IntRect hBarRect((shouldPlaceVerticalScrollbarOnLeft() && m_verticalScrollbar) ? m_verticalScrollbar->width() : 0, width 444 Source/platform/scroll/ScrollView.cpp width() - (m_verticalScrollbar ? m_verticalScrollbar->width() : 0), width 461 Source/platform/scroll/ScrollView.cpp IntRect vBarRect(shouldPlaceVerticalScrollbarOnLeft() ? 0 : (width() - m_verticalScrollbar->width()), width 463 Source/platform/scroll/ScrollView.cpp m_verticalScrollbar->width(), width 508 Source/platform/scroll/ScrollView.cpp IntRect scrollViewRect = convertToRootView(IntRect((shouldPlaceVerticalScrollbarOnLeft() && verticalScrollbar()) ? verticalScrollbar()->width() : 0, 0, visibleWidth(), visibleHeight())); width 510 Source/platform/scroll/ScrollView.cpp int verticalScrollbarWidth = (verticalScrollbar() && !hasLayerForVerticalScrollbar()) ? verticalScrollbar()->width() : 0; width 513 Source/platform/scroll/ScrollView.cpp scrollViewRect.setWidth(scrollViewRect.width() - verticalScrollbarWidth); width 544 Source/platform/scroll/ScrollView.cpp int panIconDirtySquareSizeLength = 2 * (panIconSizeLength + max(abs(scrollDelta.width()), abs(scrollDelta.height()))); // We only want to repaint what's necessary width 730 Source/platform/scroll/ScrollView.cpp graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height())); width 788 Source/platform/scroll/ScrollView.cpp if (m_horizontalScrollbar && width() - m_horizontalScrollbar->width() > 0) { width 789 Source/platform/scroll/ScrollView.cpp cornerRect.unite(IntRect(shouldPlaceVerticalScrollbarOnLeft() ? 0 : m_horizontalScrollbar->width(), width 791 Source/platform/scroll/ScrollView.cpp width() - m_horizontalScrollbar->width(), width 796 Source/platform/scroll/ScrollView.cpp cornerRect.unite(IntRect(shouldPlaceVerticalScrollbarOnLeft() ? 0 : (width() - m_verticalScrollbar->width()), width 798 Source/platform/scroll/ScrollView.cpp m_verticalScrollbar->width(), width 912 Source/platform/scroll/ScrollView.cpp ? verticalScrollbar()->width() : 0; width 920 Source/platform/scroll/ScrollView.cpp horizontalOverhangRect.setWidth(horizontalOverhangRect.width() - verticalScrollbarWidth); width 926 Source/platform/scroll/ScrollView.cpp horizontalOverhangRect.setWidth(horizontalOverhangRect.width() - verticalScrollbarWidth); width 939 Source/platform/scroll/ScrollView.cpp int width = physicalScrollX - (contentsWidth() - visibleWidth()); width 940 Source/platform/scroll/ScrollView.cpp verticalOverhangRect.setWidth(width); width 942 Source/platform/scroll/ScrollView.cpp verticalOverhangRect.setX(frameRect().maxX() - width - verticalScrollbarWidth); width 1001 Source/platform/scroll/ScrollView.cpp int horizontalScrollbarXMin = m_horizontalScrollbar->frameRect().x() + m_horizontalScrollbar->frameRect().width(); width 1007 Source/platform/scroll/ScrollView.cpp int verticalScrollbarXMax = m_verticalScrollbar->frameRect().x() + m_verticalScrollbar->frameRect().width(); width 1015 Source/platform/scroll/ScrollView.cpp return (m_horizontalScrollbar && width() - m_horizontalScrollbar->width() > 0) width 123 Source/platform/scroll/ScrollView.h virtual int visibleWidth() const OVERRIDE { return visibleContentRect().width(); } width 140 Source/platform/scroll/ScrollView.h int contentsWidth() const { return contentsSize().width(); } width 185 Source/platform/scroll/ScrollableArea.cpp boundsAndCorner.setWidth(boundsAndCorner.width() + verticalScrollbar->width()); width 408 Source/platform/scroll/ScrollableArea.cpp verticalScrollbarWidth = !verticalBar->isOverlayScrollbar() ? verticalBar->width() : 0; width 499 Source/platform/scroll/Scrollbar.cpp adjustedRect.setWidth(rect.width() - overlap); width 57 Source/platform/scroll/Scrollbar.h virtual int width() const OVERRIDE { return Widget::width(); } width 287 Source/platform/scroll/ScrollbarTheme.cpp return (scrollbar->orientation() == HorizontalScrollbar) ? constrainedTrackRect.width() : constrainedTrackRect.height(); width 307 Source/platform/scroll/ScrollbarTheme.cpp return scrollbar->orientation() == HorizontalScrollbar ? track.height() : track.width(); width 323 Source/platform/scroll/ScrollbarTheme.cpp beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), thumbPos + thumbRect.width() / 2, trackRect.height()); width 324 Source/platform/scroll/ScrollbarTheme.cpp afterThumbRect = IntRect(trackRect.x() + beforeThumbRect.width(), trackRect.y(), trackRect.maxX() - beforeThumbRect.maxX(), trackRect.height()); width 326 Source/platform/scroll/ScrollbarTheme.cpp thumbRect = IntRect(trackRect.x(), trackRect.y() + thumbPos, scrollbar->width(), thumbLength(scrollbar)); width 327 Source/platform/scroll/ScrollbarTheme.cpp beforeThumbRect = IntRect(trackRect.x(), trackRect.y(), trackRect.width(), thumbPos + thumbRect.height() / 2); width 328 Source/platform/scroll/ScrollbarTheme.cpp afterThumbRect = IntRect(trackRect.x(), trackRect.y() + beforeThumbRect.height(), trackRect.width(), trackRect.maxY() - beforeThumbRect.maxY()); width 45 Source/platform/scroll/ScrollbarThemeClient.h virtual int width() const = 0; width 69 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp return scrollbarSize.width(); width 85 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp extraParams.scrollbarTrack.trackWidth = alignRect.width(); width 150 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp return IntSize(size.width(), scrollbar->height() < 2 * size.height() ? scrollbar->height() / 2 : size.height()); width 155 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp return IntSize(scrollbar->width() < 2 * size.width() ? scrollbar->width() / 2 : size.width(), size.height()); width 166 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp return size.width(); width 51 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp return IntRect(scrollbar->x(), scrollbar->y(), size.width(), size.height()); width 63 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp x = scrollbar->x() + scrollbar->width() - size.width(); width 69 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp return IntRect(x, y, size.width(), size.height()); width 79 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp if (scrollbar->width() <= 2 * bs.width() + 1) width 81 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp return IntRect(scrollbar->x() + bs.width(), scrollbar->y(), scrollbar->width() - 2 * bs.width(), thickness); width 100 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp if (rect.height() <= 0 || rect.width() <= 0) width 120 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp FloatRect tickRect(rect.x(), yPos, rect.width(), 3); width 124 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp FloatRect tickStroke(rect.x(), yPos + 1, rect.width(), 1); width 131 Source/platform/scroll/ScrollbarThemeOverlay.cpp thumbRect.setWidth(thumbRect.width() - m_scrollbarMargin); width 58 Source/platform/text/PlatformLocale.cpp String zeroPadString(const String&, size_t width); width 59 Source/platform/text/PlatformLocale.cpp void appendNumber(int number, size_t width); width 78 Source/platform/text/PlatformLocale.cpp String DateTimeStringBuilder::zeroPadString(const String& string, size_t width) width 80 Source/platform/text/PlatformLocale.cpp if (string.length() >= width) width 83 Source/platform/text/PlatformLocale.cpp zeroPaddedStringBuilder.reserveCapacity(width); width 84 Source/platform/text/PlatformLocale.cpp for (size_t i = string.length(); i < width; ++i) width 90 Source/platform/text/PlatformLocale.cpp void DateTimeStringBuilder::appendNumber(int number, size_t width) width 92 Source/platform/text/PlatformLocale.cpp String zeroPaddedNumberString = zeroPadString(String::number(number), width); width 100 Source/platform/text/StringTruncator.cpp return renderer.width(run); width 108 Source/platform/text/StringTruncator.cpp return renderer.width(run); width 134 Source/platform/text/StringTruncator.cpp float width = stringWidth(font, stringBuffer, truncatedLength, disableRoundingHacks); width 135 Source/platform/text/StringTruncator.cpp if (width <= maxWidth) width 142 Source/platform/text/StringTruncator.cpp float widthForSmallestKnownToNotFit = width; width 170 Source/platform/text/StringTruncator.cpp width = stringWidth(font, stringBuffer, truncatedLength, disableRoundingHacks); width 171 Source/platform/text/StringTruncator.cpp if (width <= maxWidth) { width 173 Source/platform/text/StringTruncator.cpp widthForLargestKnownToFit = width; width 176 Source/platform/text/StringTruncator.cpp widthForSmallestKnownToNotFit = width; width 45 Source/platform/text/StringTruncator.h static float width(const String&, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks); width 142 Source/platform/text/TextStream.cpp return ts << "at (" << r.x() << "," << r.y() << ") size " << r.width() << "x" << r.height(); width 160 Source/platform/text/TextStream.cpp ts << "width=" << TextStream::FormatNumberRespectingIntegers(s.width()); width 169 Source/platform/text/TextStream.cpp ts << ") size " << TextStream::FormatNumberRespectingIntegers(r.width()); width 230 Source/platform/transforms/AffineTransform.cpp transform.scale(dest.width() / source.width(), dest.height() / source.height()); width 259 Source/platform/transforms/AffineTransform.cpp double width2 = size.width() * xScale(); width 267 Source/platform/transforms/AffineTransform.cpp double width2 = size.width() * xScale(); width 635 Source/platform/transforms/TransformationMatrix.cpp if (std::isinf(mappedQuadBounds.x()) && std::isinf(mappedQuadBounds.width())) width 969 Source/platform/transforms/TransformationMatrix.cpp return TransformationMatrix(to.width() / from.width(), width 46 Source/platform/transforms/TranslateTransformOperation.h double x(const FloatSize& borderBoxSize) const { return floatValueForLength(m_x, borderBoxSize.width()); } width 162 Source/web/ChromeClientImpl.cpp rect.width = m_webView->size().width; width 503 Source/web/ChromeClientImpl.cpp int dx = scrollDelta.width(); width 156 Source/web/DateTimeChooserImpl.cpp addProperty("inputWidth", static_cast<unsigned>(m_parameters.anchorRectInRootView.width()), data); width 76 Source/web/DragClientImpl.cpp WebPoint offsetPoint(offsetSize.width(), offsetSize.height()); width 94 Source/web/FindInPageCoordinates.cpp normalizedRect.scale(1 / containerRect.width(), 1 / containerRect.height()); width 116 Source/web/FindInPageCoordinates.cpp normalizedRect.scale(normalizedBoxRect.width(), normalizedBoxRect.height()); width 130 Source/web/FullscreenController.cpp WebPoint(m_exitFullscreenScrollOffset.width(), m_exitFullscreenScrollOffset.height())); width 104 Source/web/InspectorClientImpl.cpp void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) width 107 Source/web/InspectorClientImpl.cpp agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow); width 264 Source/web/LinkHighlight.cpp IntRect clipRect(IntPoint(webClipRect.x, webClipRect.y), IntSize(webClipRect.width, webClipRect.height)); width 340 Source/web/LinkHighlight.cpp m_currentGraphicsLayer->addRepaintRect(FloatRect(layer()->position().x, layer()->position().y, layer()->bounds().width, layer()->bounds().height)); width 164 Source/web/PageOverlay.cpp WebRect damagedRect(0, 0, size.width, size.height); width 87 Source/web/PageScaleConstraintsSet.cpp m_finalConstraints.fitToContentsWidth(contentsSize.width(), viewSize.width() - nonOverlayScrollbarWidth); width 102 Source/web/PageScaleConstraintsSet.cpp if (contentsSize.width() > m_lastContentsWidth width 108 Source/web/PageScaleConstraintsSet.cpp m_lastContentsWidth = contentsSize.width(); width 130 Source/web/PageScaleConstraintsSet.cpp return initialScale == -1 ? deviceSize.width() : deviceSize.width() / initialScale; width 133 Source/web/PageScaleConstraintsSet.cpp static float computeHeightByAspectRatio(float width, const FloatSize& deviceSize) width 135 Source/web/PageScaleConstraintsSet.cpp return width * (deviceSize.height() / deviceSize.width()); width 156 Source/web/PageScaleConstraintsSet.cpp float adjustedLayoutSizeWidth = m_pageDefinedConstraints.layoutSize.width(); width 202 Source/web/PageScaleConstraintsSet.cpp adjustedLayoutSizeWidth = viewSize.width() / targetDensityDPIFactor; width 128 Source/web/PopupContainer.cpp listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0)); width 131 Source/web/PopupContainer.cpp listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0)); width 139 Source/web/PopupContainer.cpp widgetRectInScreen.move(-transformOffset.width(), -(widgetRectInScreen.height() + targetControlHeight + transformOffset.height())); width 154 Source/web/PopupContainer.cpp widgetRectInScreen.move(-transformOffset.width(), -(widgetRectInScreen.height() + targetControlHeight + transformOffset.height())); width 179 Source/web/PopupContainer.cpp int rtlOffset = m_controlPosition.p2().x() - m_controlPosition.p1().x() - (m_listBox->width() + borderSize * 2); width 188 Source/web/PopupContainer.cpp IntSize targetSize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2); width 199 Source/web/PopupContainer.cpp widgetRectInScreen = chromeClient().rootViewToScreen(IntRect(popupX, popupY, targetSize.width(), targetSize.height())); width 254 Source/web/PopupContainer.cpp resize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2); width 362 Source/web/PopupContainer.cpp gc->drawRect(IntRect(tx, ty, width(), borderSize)); width 364 Source/web/PopupContainer.cpp gc->drawRect(IntRect(tx, ty + height() - borderSize, width(), borderSize)); width 365 Source/web/PopupContainer.cpp gc->drawRect(IntRect(tx + width() - borderSize, ty, borderSize, height())); width 383 Source/web/PopupContainer.cpp listBox()->setBaseWidth(max(controlSize.width() - borderSize * 2, 0)); width 410 Source/web/PopupContainer.cpp listBox()->setBaseWidth(max(m_controlSize.width() - borderSize * 2, 0)); width 352 Source/web/PopupListBox.cpp int tx = x() - scrollX() + ((shouldPlaceVerticalScrollbarOnLeft() && verticalScrollbar()) ? verticalScrollbar()->width() : 0); width 426 Source/web/PopupListBox.cpp rowRect.width() - 2 * separatorPadding, separatorHeight); width 445 Source/web/PopupListBox.cpp maxWidth = rowRect.width() - max<int>(0, m_popupClient->clientPaddingRight()); width 448 Source/web/PopupListBox.cpp maxWidth = rowRect.width() - textX; width 458 Source/web/PopupListBox.cpp textX += maxWidth - itemFont.width(textRun); width 600 Source/web/PopupListBox.cpp clipRect.move(verticalScrollbar()->width(), 0); width 744 Source/web/PopupListBox.cpp int width = 0; width 746 Source/web/PopupListBox.cpp width = itemFont.width(TextRun(text)); width 748 Source/web/PopupListBox.cpp baseWidth = max(baseWidth, width); width 819 Source/web/PopupListBox.cpp return numItems() && IntRect(0, 0, width(), height()).contains(point); width 137 Source/web/PopupListBox.h void setBaseWidth(int width) { m_baseWidth = std::min(m_maxWindowWidth, width); } width 183 Source/web/ScrollbarGroup.cpp return IntPoint(contentsSize().width() - visibleWidth(), contentsSize().height() - visibleHeight()); width 199 Source/web/ScrollbarGroup.cpp return m_horizontalScrollbar->scrollbar()->width(); width 201 Source/web/ScrollbarGroup.cpp return m_verticalScrollbar->scrollbar()->width(); width 279 Source/web/ScrollbarGroup.cpp length = m_horizontalScrollbar->scrollbar()->width(); width 539 Source/web/TextFinder.cpp float width = offset.width(); width 541 Source/web/TextFinder.cpp float currentDistanceSquared = width * width + height * height; width 50 Source/web/ViewportAnchor.cpp return rect.width() * rect.height(); width 94 Source/web/ViewportAnchor.cpp anchorOffset.scale(anchorInViewCoords.width(), anchorInViewCoords.height()); width 104 Source/web/ViewportAnchor.cpp m_anchorInNodeCoords.scale(1.f / m_anchorNodeBounds.width(), 1.f / m_anchorNodeBounds.height()); width 118 Source/web/ViewportAnchor.cpp anchorOffsetFromNode.scale(m_anchorInNodeCoords.width(), m_anchorInNodeCoords.height()); width 123 Source/web/ViewportAnchor.cpp anchorOffsetFromOrigin.scale(m_anchorInViewCoords.width(), m_anchorInViewCoords.height()); width 326 Source/web/WebDevToolsAgentImpl.cpp void WebDevToolsAgentImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) width 328 Source/web/WebDevToolsAgentImpl.cpp if (!width && !height && !deviceScaleFactor) { width 348 Source/web/WebDevToolsAgentImpl.cpp params.viewSize = WebSize(width, height); width 110 Source/web/WebDevToolsAgentImpl.h virtual void overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow) OVERRIDE; width 114 Source/web/WebFontImpl.cpp return m_font.width(run, 0); width 240 Source/web/WebFrameImpl.cpp if (!contentRenderer || !contentRenderer->width() || !contentRenderer->height() width 241 Source/web/WebFrameImpl.cpp || (contentRenderer->x() + contentRenderer->width() <= 0) || (contentRenderer->y() + contentRenderer->height() <= 0) width 292 Source/web/WebFrameImpl.cpp virtual void begin(float width, float height) width 295 Source/web/WebFrameImpl.cpp m_printedPageWidth = width; width 307 Source/web/WebFrameImpl.cpp return m_printedPageWidth / pageRect.width(); width 318 Source/web/WebFrameImpl.cpp float scale = m_printedPageWidth / pageRect.width(); width 343 Source/web/WebFrameImpl.cpp const float pageWidth = pageSizeInPixels.width(); width 405 Source/web/WebFrameImpl.cpp virtual void begin(float width, float height) width 565 Source/web/WebFrameImpl.cpp view->setScrollOffset(IntPoint(offset.width, offset.height)); width 1401 Source/web/WebFrameImpl.cpp FloatRect rect(0, 0, static_cast<float>(printParams.printContentArea.width), static_cast<float>(printParams.printContentArea.height)); width 1402 Source/web/WebFrameImpl.cpp m_printContext->begin(rect.width(), rect.height()); width 1605 Source/web/WebFrameImpl.cpp m_printContext->spoolAllPagesWithBoundaries(graphicsContext, FloatSize(pageSizeInPixels.width, pageSizeInPixels.height)); width 84 Source/web/WebInputEventConversion.cpp m_position = widget->convertFromContainingWindow(IntPoint((e.x - offset.width()) / scale, (e.y - offset.height()) / scale)); width 129 Source/web/WebInputEventConversion.cpp m_position = widget->convertFromContainingWindow(IntPoint((e.x - offset.width()) / scale, (e.y - offset.height()) / scale)); width 196 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.tap.width / scale, e.data.tap.height / scale)); width 201 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.tap.width / scale, e.data.tap.height / scale)); width 205 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.tapDown.width / scale, e.data.tapDown.height / scale)); width 209 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.showPress.width / scale, e.data.showPress.height / scale)); width 227 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.longPress.width / scale, e.data.longPress.height / scale)); width 231 Source/web/WebInputEventConversion.cpp m_area = expandedIntSize(FloatSize(e.data.longPress.width / scale, e.data.longPress.height / scale)); width 246 Source/web/WebInputEventConversion.cpp m_position = widget->convertFromContainingWindow(IntPoint((e.x - offset.width()) / scale, (e.y - offset.height()) / scale)); width 410 Source/web/WebInputEventConversion.cpp m_pos = widget->convertFromContainingWindow(IntPoint((point.position.x - offset.width()) / scale, (point.position.y - offset.height()) / scale)); width 489 Source/web/WebMediaPlayerClientImpl.cpp dest.set(rect.x(), rect.y(), rect.x() + rect.width(), rect.y() + rect.height()); width 77 Source/web/WebPagePopupImpl.cpp return FloatRect(m_popup->m_windowRectInScreen.x, m_popup->m_windowRectInScreen.y, m_popup->m_windowRectInScreen.width, m_popup->m_windowRectInScreen.height); width 102 Source/web/WebPagePopupImpl.cpp m_popup->widgetClient()->didScrollRect(scrollDelta.width(), scrollDelta.height(), intersection(scrollRect, clipRect)); width 315 Source/web/WebPagePopupImpl.cpp m_widgetClient->didInvalidateRect(IntRect(0, 0, size().width, size().height)); width 339 Source/web/WebPagePopupImpl.cpp m_windowRectInScreen = WebRect(m_windowRectInScreen.x, m_windowRectInScreen.y, newSize.width, newSize.height); width 344 Source/web/WebPagePopupImpl.cpp m_widgetClient->didInvalidateRect(WebRect(0, 0, newSize.width, newSize.height)); width 504 Source/web/WebPluginContainerImpl.cpp IntRect documentRect(x() + rect.x, y() + rect.y, rect.width, rect.height); width 507 Source/web/WebPluginContainerImpl.cpp LayoutSize padding((documentRect.width() - 1) / 2, (documentRect.height() - 1) / 2); width 905 Source/web/WebPluginContainerImpl.cpp convertToContainingWindow(IntRect(0, 0, width(), height())); width 209 Source/web/WebPluginScrollbarImpl.cpp int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height(); width 221 Source/web/WebPluginScrollbarImpl.cpp int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height(); width 182 Source/web/WebPopupMenuImpl.cpp IntRect newGeometry(0, 0, m_size.width, m_size.height); width 187 Source/web/WebPopupMenuImpl.cpp WebRect damagedRect(0, 0, m_size.width, m_size.height); width 241 Source/web/WebPopupMenuImpl.cpp m_client->didInvalidateRect(IntRect(0, 0, m_size.width, m_size.height)); width 421 Source/web/WebPopupMenuImpl.cpp int dx = scrollDelta.width(); width 48 Source/web/WebScrollbarThemePainter.cpp SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); width 568 Source/web/WebViewImpl.cpp syntheticWheel.deltaX = delta.width; width 570 Source/web/WebViewImpl.cpp syntheticWheel.wheelTicksX = delta.width / tickDivisor; width 585 Source/web/WebViewImpl.cpp syntheticGestureEvent.data.scrollUpdate.deltaX = delta.width; width 673 Source/web/WebViewImpl.cpp if (event.data.tap.width > 0 && !shouldDisableDesktopWorkarounds()) { width 679 Source/web/WebViewImpl.cpp scaledEvent.data.tap.width = event.data.tap.width / pageScaleFactor(); width 681 Source/web/WebViewImpl.cpp IntRect boundingBox(scaledEvent.x - scaledEvent.data.tap.width / 2, scaledEvent.y - scaledEvent.data.tap.height / 2, scaledEvent.data.tap.width, scaledEvent.data.tap.height); width 1003 Source/web/WebViewImpl.cpp HitTestResult result = mainFrameImpl()->frame()->eventHandler().hitTestResultAtPoint(point, hitType, IntSize(rect.width, rect.height)); width 1033 Source/web/WebViewImpl.cpp const int absoluteSourceX = source.x + scrollOffset.width(); width 1039 Source/web/WebViewImpl.cpp const int maximumRightMargin = maxSize.width - (source.width + absoluteSourceX); width 1045 Source/web/WebViewImpl.cpp const int newWidth = source.width + leftMargin + rightMargin; width 1049 Source/web/WebViewImpl.cpp ASSERT(scrollOffset.width() + newX + newWidth <= maxSize.width); width 1083 Source/web/WebViewImpl.cpp static_cast<int>(defaultMargin * rect.width / m_size.width), width 1084 Source/web/WebViewImpl.cpp static_cast<int>(minimumMargin * rect.width / m_size.width)); width 1086 Source/web/WebViewImpl.cpp scale = static_cast<float>(m_size.width) / rect.width; width 1100 Source/web/WebViewImpl.cpp float screenWidth = m_size.width / scale; width 1114 Source/web/WebViewImpl.cpp if (rect.width < screenWidth) width 1115 Source/web/WebViewImpl.cpp rect.x -= 0.5 * (screenWidth - rect.width); width 1553 Source/web/WebViewImpl.cpp int oldContentsWidth = contentsSize().width(); width 1558 Source/web/WebViewImpl.cpp && oldSize.width && oldContentsWidth && newSize.width != oldSize.width; width 1590 Source/web/WebViewImpl.cpp float viewportWidthRatio = static_cast<float>(newSize.width) / oldSize.width; width 1591 Source/web/WebViewImpl.cpp float contentsWidthRatio = static_cast<float>(contentsSize().width()) / oldContentsWidth; width 1707 Source/web/WebViewImpl.cpp target.setConfig(SkBitmap::kARGB_8888_Config, rect.width(), rect.height(), rect.width() * 4); width 1749 Source/web/WebViewImpl.cpp double pixelsPerSec = (rect.width * rect.height) / (paintEnd - paintStart); width 1774 Source/web/WebViewImpl.cpp WebRect damagedRect(0, 0, m_size.width, m_size.height); width 2493 Source/web/WebViewImpl.cpp frame->view()->scrollElementToRect(element, IntRect(rect.x, rect.y, rect.width, rect.height)); width 2529 Source/web/WebViewImpl.cpp int viewWidth = m_size.width / newScale; width 2532 Source/web/WebViewImpl.cpp if (textboxRectInDocumentCoordinates.width() <= viewWidth) { width 2537 Source/web/WebViewImpl.cpp int maxLeftPaddingKeepingBoxOnscreen = viewWidth - textboxRectInDocumentCoordinates.width(); width 2542 Source/web/WebViewImpl.cpp newScroll.setX(max<int>(textboxRectInDocumentCoordinates.x(), caretInDocumentCoordinates.x() + caretInDocumentCoordinates.width() + caretPadding - viewWidth)); width 2563 Source/web/WebViewImpl.cpp if (sizeRect.contains(textboxRectInDocumentCoordinates.width(), textboxRectInDocumentCoordinates.height()) && !sizeRect.contains(textboxRect)) width 2681 Source/web/WebViewImpl.cpp IntPoint scrollOffset(mainFrame()->scrollOffset().width, mainFrame()->scrollOffset().height); width 2776 Source/web/WebViewImpl.cpp verticalScrollbarWidth = view->verticalScrollbar()->width(); width 2797 Source/web/WebViewImpl.cpp if (!settings()->viewportEnabled() || !page() || (!m_size.width && !m_size.height)) width 2859 Source/web/WebViewImpl.cpp if (textAutosizingEnabled && layoutSize.width != view->layoutSize().width()) { width 2948 Source/web/WebViewImpl.cpp m_fixedLayoutSizeLock = layoutSize.width || layoutSize.height; width 3201 Source/web/WebViewImpl.cpp WebRect damagedRect(0, 0, m_size.width, m_size.height); width 3807 Source/web/WebViewImpl.cpp WebPoint scrollPoint(scrollOffset.width, scrollOffset.height); width 3816 Source/web/WebViewImpl.cpp TRACE_EVENT_INSTANT2("webkit", "WebViewImpl::applyScrollAndScale::scrollBy", "x", scrollDelta.width, "y", scrollDelta.height); width 3818 Source/web/WebViewImpl.cpp IntPoint scrollOffset(webScrollOffset.width + scrollDelta.width, webScrollOffset.height + scrollDelta.height); width 3824 Source/web/WebViewImpl.cpp scrollOffset.width += scrollDelta.width; width 3827 Source/web/WebViewImpl.cpp WebPoint scrollPoint(scrollOffset.width, scrollOffset.height); width 3838 Source/web/WebViewImpl.cpp m_client->didInvalidateRect(IntRect(0, 0, m_size.width, m_size.height)); width 3884 Source/web/WebViewImpl.cpp transform.translate(m_rootLayerOffset.width, m_rootLayerOffset.height); width 3986 Source/web/WebViewImpl.cpp return mainFrameImpl()->frameView()->layoutSize().width() == m_size.width width 71 Source/web/painting/PaintAggregator.cpp return rect.size().width() * rect.size().height(); width 111 Source/web/painting/PaintAggregator.cpp || (a.x() == b.x() && a.width() == b.width() && (a.y() == b.maxY() || a.maxY() == b.y())); width 145 Source/web/painting/PaintAggregator.cpp damagedRect.setWidth(scrollRect.width()); width 216 Source/web/tests/LinkHighlightTest.cpp touchEvent.data.tap.width = 30; width 221 Source/web/tests/LinkHighlightTest.cpp IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent.y - touchEvent.data.tap.height / 2, touchEvent.data.tap.width, touchEvent.data.tap.height); width 43 Source/web/tests/PopupContainerTest.cpp width = std::min(maxWidth, width); width 55 Source/web/tests/PopupContainerTest.cpp : width(widgetSize.width() - borderSize * 2) width 57 Source/web/tests/PopupContainerTest.cpp , maxWidth(width) width 63 Source/web/tests/PopupContainerTest.cpp int width; width 82 Source/web/tests/PopupContainerTest.cpp int rtlOffset = targetControlWidth - initialRect.width(); width 91 Source/web/tests/PopupContainerTest.cpp int rtlOffset = (targetControlWidth - initialRect.width()) * (isRTL ? 1 : -1); width 126 Source/web/tests/PopupContainerTest.cpp EXPECT_EQ(118, content.width); width 137 Source/web/tests/PopupContainerTest.cpp EXPECT_EQ(98, content.width); width 168 Source/web/tests/PopupMenuTest.cpp screenInfo.availableRect.width = 2000; width 212 Source/web/tests/TouchActionTest.cpp WebCore::FloatRect clientFloatRect = WebCore::FloatRect(r->left(), r->top(), r->width(), r->height()); width 134 Source/web/tests/ViewportTest.cpp constraints.fitToContentsWidth(constraints.layoutSize.width(), initialWidth); width 149 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 168 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 187 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 206 Source/web/tests/ViewportTest.cpp EXPECT_EQ(160, constraints.layoutSize.width()); width 225 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 244 Source/web/tests/ViewportTest.cpp EXPECT_EQ(200, constraints.layoutSize.width()); width 263 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 282 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 301 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 320 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 339 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 358 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 377 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 396 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 415 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 434 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 453 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 472 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 491 Source/web/tests/ViewportTest.cpp EXPECT_EQ(160, constraints.layoutSize.width()); width 510 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 529 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 548 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 567 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 586 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 605 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 624 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 643 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 662 Source/web/tests/ViewportTest.cpp EXPECT_EQ(352, constraints.layoutSize.width()); width 681 Source/web/tests/ViewportTest.cpp EXPECT_EQ(700, constraints.layoutSize.width()); width 700 Source/web/tests/ViewportTest.cpp EXPECT_EQ(200, constraints.layoutSize.width()); width 719 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 738 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 757 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 776 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 795 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 814 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(636.36, constraints.layoutSize.width(), 0.01f); width 833 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 852 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 871 Source/web/tests/ViewportTest.cpp EXPECT_EQ(200, constraints.layoutSize.width()); width 890 Source/web/tests/ViewportTest.cpp EXPECT_EQ(700, constraints.layoutSize.width()); width 909 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1000, constraints.layoutSize.width()); width 928 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 947 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 966 Source/web/tests/ViewportTest.cpp EXPECT_EQ(10000, constraints.layoutSize.width()); width 985 Source/web/tests/ViewportTest.cpp EXPECT_EQ(3200, constraints.layoutSize.width()); width 1004 Source/web/tests/ViewportTest.cpp EXPECT_EQ(32, constraints.layoutSize.width()); width 1023 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1042 Source/web/tests/ViewportTest.cpp EXPECT_EQ(3000, constraints.layoutSize.width()); width 1061 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1080 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1099 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1118 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1137 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1156 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1175 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1194 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1213 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1232 Source/web/tests/ViewportTest.cpp EXPECT_EQ(3200, constraints.layoutSize.width()); width 1251 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1270 Source/web/tests/ViewportTest.cpp EXPECT_EQ(32, constraints.layoutSize.width()); width 1289 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1308 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1327 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1346 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1365 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1384 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1403 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1422 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1441 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1460 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1479 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1498 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1517 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1536 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1555 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1574 Source/web/tests/ViewportTest.cpp EXPECT_EQ(32, constraints.layoutSize.width()); width 1593 Source/web/tests/ViewportTest.cpp EXPECT_EQ(1280, constraints.layoutSize.width()); width 1612 Source/web/tests/ViewportTest.cpp EXPECT_EQ(100, constraints.layoutSize.width()); width 1631 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1650 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 1669 Source/web/tests/ViewportTest.cpp EXPECT_EQ(3000, constraints.layoutSize.width()); width 1688 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 1707 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1726 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1745 Source/web/tests/ViewportTest.cpp EXPECT_EQ(540, constraints.layoutSize.width()); width 1764 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(457.14, constraints.layoutSize.width(), 0.01f); width 1783 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 1802 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1821 Source/web/tests/ViewportTest.cpp EXPECT_EQ(700, constraints.layoutSize.width()); width 1840 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 1859 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 1878 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 1897 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 1916 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1935 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1954 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1973 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 1992 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2011 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2030 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2049 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2068 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 2087 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2106 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2125 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 2144 Source/web/tests/ViewportTest.cpp EXPECT_EQ(400, constraints.layoutSize.width()); width 2163 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2182 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2201 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2220 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2239 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 2258 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 2277 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2296 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2315 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 2334 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 2353 Source/web/tests/ViewportTest.cpp EXPECT_EQ(64, constraints.layoutSize.width()); width 2372 Source/web/tests/ViewportTest.cpp EXPECT_EQ(123, constraints.layoutSize.width()); width 2391 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2410 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2429 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2448 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2467 Source/web/tests/ViewportTest.cpp EXPECT_EQ(160, constraints.layoutSize.width()); width 2486 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2505 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2524 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 2543 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2570 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 2592 Source/web/tests/ViewportTest.cpp EXPECT_EQ(500, constraints.layoutSize.width()); width 2612 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2632 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2652 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2672 Source/web/tests/ViewportTest.cpp EXPECT_EQ(300, constraints.layoutSize.width()); width 2692 Source/web/tests/ViewportTest.cpp EXPECT_EQ(300, constraints.layoutSize.width()); width 2712 Source/web/tests/ViewportTest.cpp EXPECT_EQ(300, constraints.layoutSize.width()); width 2732 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2752 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2772 Source/web/tests/ViewportTest.cpp EXPECT_EQ(300, constraints.layoutSize.width()); width 2792 Source/web/tests/ViewportTest.cpp EXPECT_EQ(300, constraints.layoutSize.width()); width 2811 Source/web/tests/ViewportTest.cpp EXPECT_EQ(5000, constraints.layoutSize.width()); width 2825 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2844 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 2863 Source/web/tests/ViewportTest.cpp EXPECT_EQ(640, constraints.layoutSize.width()); width 2881 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2894 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2906 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2964 Source/web/tests/ViewportTest.cpp EXPECT_EQ(320, constraints.layoutSize.width()); width 2988 Source/web/tests/ViewportTest.cpp EXPECT_EQ(980, constraints.layoutSize.width()); width 3013 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(64.0f, constraints.layoutSize.width(), 0.01); width 3038 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(123.0f, constraints.layoutSize.width(), 0.01); width 3080 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(320.0f, constraints.layoutSize.width(), 0.01); width 3105 Source/web/tests/ViewportTest.cpp EXPECT_NEAR(64.0f, constraints.layoutSize.width(), 0.01); width 114 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(a.width(), b.width()); \ width 809 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(fixedLayoutWidth, webViewHelper.webViewImpl()->page()->mainFrame()->view()->layoutSize().width()); width 881 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(divWidth, webViewHelper.webView()->mainFrame()->contentsSize().width); width 884 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(divWidth, webViewHelper.webView()->contentsPreferredMinimumSize().width); width 908 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 913 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 929 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1118 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1140 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth / 2, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1161 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1181 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1201 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1349 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth / enforcedPageScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1370 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1375 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(2000, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1452 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(600, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1464 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(321, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1470 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(600, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1503 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1508 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1570 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth / expectedPageScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1575 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth / expectedPageScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width()); width 1701 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidth, unscaledSize.width()); width 1705 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(viewportWidthMinusScrollbar, unscaledSizeMinusScrollbar.width()); width 1709 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(ceil(viewportWidthMinusScrollbar / 2.0), scaledSize.width()); width 1730 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(980, webViewHelper.webViewImpl()->page()->mainFrame()->contentRenderer()->unscaledDocumentRect().width()); width 1731 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(980, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->contentsSize().width()); width 1760 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * densityDpiScaleRatio, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1786 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1813 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1837 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1861 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor / pageZoom, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1884 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth / enforcedPageScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1904 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1928 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth * client.m_screenInfo.deviceScaleFactor, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1949 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth, webViewHelper.webViewImpl()->mainFrameImpl()->frameView()->layoutSize().width(), 1.0f); width 1980 Source/web/tests/WebFrameTest.cpp relativeOffset.scale(1.f / rect.width(), 1.f / rect.height()); width 1992 Source/web/tests/WebFrameTest.cpp const float aspectRatio = static_cast<float>(viewportSize.width) / viewportSize.height; width 1999 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.width, viewportSize.height)); width 2003 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.height, viewportSize.width)); width 2011 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.width, viewportSize.height)); width 2012 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->setPageScaleFactor(initialPageScaleFactor, WebPoint(scrollOffset.width, scrollOffset.height)); width 2015 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.width, viewportSize.height * 0.8f)); width 2018 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.width, viewportSize.height * 0.8f)); width 2026 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.height, viewportSize.width)); width 2028 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.width, viewportSize.height)); width 2033 Source/web/tests/WebFrameTest.cpp WebCore::IntPoint anchorPoint = WebCore::IntPoint(scrollOffset) + WebCore::IntPoint(viewportSize.width / 2, 0); width 2040 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->resize(WebSize(viewportSize.height, viewportSize.width)); width 2044 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(preResizeRelativeOffset.width(), postResizeRelativeOffset.width(), 0.15f); width 2150 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(view->scrollSize(WebCore::HorizontalScrollbar), view->contentsSize().width() - view->visibleContentRect().width()); width 2155 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(view->scrollSize(WebCore::HorizontalScrollbar), view->contentsSize().width() - view->visibleContentRect().width()); width 2256 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth / (float) wideDiv.width, scale, 0.1); width 2273 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth / (float) tallDiv.width, scale, 0.1); width 2280 Source/web/tests/WebFrameTest.cpp EXPECT_NEAR(viewportWidth / (float) wideDiv.width, scale, 0.1); width 2639 Source/web/tests/WebFrameTest.cpp hScroll = caret.x + caret.width + caretPadding - viewportWidth / scale; width 3507 Source/web/tests/WebFrameTest.cpp return WebPoint(rect.x + rect.width - 1, rect.y + rect.height - 1); width 3857 Source/web/tests/WebFrameTest.cpp event.data.tap.width = 50; width 5056 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(image.size().width, 10); width 157 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tap.width = 10; width 161 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 168 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tap.width = 10; width 172 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 179 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tapDown.width = 10; width 183 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 190 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.showPress.width = 10; width 194 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 201 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.longPress.width = 10; width 205 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 216 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(5, platformGestureBuilder.area().width()); width 363 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tap.width = 30; width 367 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 374 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tap.width = 30; width 378 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 385 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tapDown.width = 30; width 389 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 396 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.showPress.width = 30; width 400 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 407 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.longPress.width = 30; width 411 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 422 Source/web/tests/WebInputEventConversionTest.cpp EXPECT_EQ(10, platformGestureBuilder.area().width()); width 474 Source/web/tests/WebInputEventConversionTest.cpp webGestureEvent.data.tap.width = 10; width 102 Source/web/tests/WebViewTest.cpp int width() const { return m_size.width; } width 388 Source/web/tests/WebViewTest.cpp EXPECT_EQ(expectedWidth, client.testData().width()); width 779 Source/web/tests/WebViewTest.cpp EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().width); width 785 Source/web/tests/WebViewTest.cpp EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width); width 797 Source/web/tests/WebViewTest.cpp EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().width); width 819 Source/web/tests/WebViewTest.cpp EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().width); width 825 Source/web/tests/WebViewTest.cpp EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width); width 845 Source/web/tests/WebViewTest.cpp EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width); width 51 Source/web/x11/WebScreenInfoFactory.cpp unsigned width, height, border, depth; width 53 Source/web/x11/WebScreenInfoFactory.cpp display, root, &rootRet, &x, &y, &width, &height, &border, &depth); width 62 Source/web/x11/WebScreenInfoFactory.cpp results.rect = WebRect(x, y, width, height); width 71 Source/wtf/testing/WTFTestHelpers.cpp out.width(4); width 49 public/platform/WebFloatRect.h float width; width 52 public/platform/WebFloatRect.h bool isEmpty() const { return width <= 0 || height <= 0; } width 57 public/platform/WebFloatRect.h , width(0) width 62 public/platform/WebFloatRect.h WebFloatRect(float x, float y, float width, float height) width 65 public/platform/WebFloatRect.h , width(width) width 74 public/platform/WebFloatRect.h , width(r.width()) width 83 public/platform/WebFloatRect.h width = r.width(); width 90 public/platform/WebFloatRect.h return WebCore::FloatRect(x, y, width, height); width 96 public/platform/WebFloatRect.h , width(r.width()) width 105 public/platform/WebFloatRect.h width = r.width(); width 112 public/platform/WebFloatRect.h return gfx::RectF(x, y, std::max(0.0f, width), std::max(0.0f, height)); width 119 public/platform/WebFloatRect.h return a.x == b.x && a.y == b.y && a.width == b.width && a.height == b.height; width 49 public/platform/WebFloatSize.h float width; width 52 public/platform/WebFloatSize.h bool isEmpty() const { return width <= 0 || height <= 0; } width 55 public/platform/WebFloatSize.h : width(0) width 60 public/platform/WebFloatSize.h WebFloatSize(float width, float height) width 61 public/platform/WebFloatSize.h : width(width) width 68 public/platform/WebFloatSize.h : width(s.width()) width 75 public/platform/WebFloatSize.h width = s.width(); width 82 public/platform/WebFloatSize.h return WebCore::FloatSize(width, height); width 86 public/platform/WebFloatSize.h : width(s.width()) width 92 public/platform/WebFloatSize.h : width(v.x()) width 99 public/platform/WebFloatSize.h width = s.width(); width 106 public/platform/WebFloatSize.h width = v.x(); width 113 public/platform/WebFloatSize.h return gfx::SizeF(std::max(0.f, width), std::max(0.f, height)); width 118 public/platform/WebFloatSize.h return gfx::Vector2dF(width, height); width 125 public/platform/WebFloatSize.h return a.width == b.width && a.height == b.height; width 152 public/platform/WebGraphicsContext3D.h virtual void reshapeWithScaleFactor(int width, int height, float scaleFactor) { } width 172 public/platform/WebGraphicsContext3D.h virtual void postSubBufferCHROMIUM(int x, int y, int width, int height) = 0; width 189 public/platform/WebGraphicsContext3D.h virtual void* mapTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, WGC3Denum access) = 0; width 198 public/platform/WebGraphicsContext3D.h virtual void renderbufferStorageMultisampleCHROMIUM(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0; width 236 public/platform/WebGraphicsContext3D.h virtual void compressedTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Dsizei imageSize, const void* data) = 0; width 237 public/platform/WebGraphicsContext3D.h virtual void compressedTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Dsizei imageSize, const void* data) = 0; width 238 public/platform/WebGraphicsContext3D.h virtual void copyTexImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border) = 0; width 239 public/platform/WebGraphicsContext3D.h virtual void copyTexSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) = 0; width 300 public/platform/WebGraphicsContext3D.h virtual void readPixels(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, void* pixels) = 0; width 304 public/platform/WebGraphicsContext3D.h virtual void renderbufferStorage(WGC3Denum target, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) = 0; width 306 public/platform/WebGraphicsContext3D.h virtual void scissor(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) = 0; width 315 public/platform/WebGraphicsContext3D.h virtual void texImage2D(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) = 0; width 320 public/platform/WebGraphicsContext3D.h virtual void texSubImage2D(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) = 0; width 356 public/platform/WebGraphicsContext3D.h virtual void viewport(WGC3Dint x, WGC3Dint y, WGC3Dsizei width, WGC3Dsizei height) = 0; width 397 public/platform/WebGraphicsContext3D.h virtual void texImageIOSurface2DCHROMIUM(WGC3Denum target, WGC3Dint width, WGC3Dint height, WGC3Duint ioSurfaceId, WGC3Duint plane) { } width 401 public/platform/WebGraphicsContext3D.h WGC3Dint width, WGC3Dint height) { } width 448 public/platform/WebGraphicsContext3D.h virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3Denum format, WGC3Denum type, const void* pixels) { } width 449 public/platform/WebGraphicsContext3D.h virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum format, WGC3Denum type, const void* pixels) { } width 458 public/platform/WebGraphicsContext3D.h virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height, WGC3Denum internalformat) { return 0; } width 471 public/platform/WebGraphicsContext3D.h virtual void renderbufferStorageMultisampleEXT(WGC3Denum target, WGC3Dsizei samples, WGC3Denum internalformat, WGC3Dsizei width, WGC3Dsizei height) { }; width 49 public/platform/WebRect.h int width; width 52 public/platform/WebRect.h bool isEmpty() const { return width <= 0 || height <= 0; } width 57 public/platform/WebRect.h , width(0) width 62 public/platform/WebRect.h WebRect(int x, int y, int width, int height) width 65 public/platform/WebRect.h , width(width) width 74 public/platform/WebRect.h , width(r.width()) width 83 public/platform/WebRect.h width = r.width(); width 90 public/platform/WebRect.h return WebCore::IntRect(x, y, width, height); width 96 public/platform/WebRect.h , width(r.width()) width 105 public/platform/WebRect.h width = r.width(); width 112 public/platform/WebRect.h return gfx::Rect(x, y, std::max(0, width), std::max(0, height)); width 119 public/platform/WebRect.h return a.x == b.x && a.y == b.y && a.width == b.width && a.height == b.height; width 48 public/platform/WebSize.h int width; width 51 public/platform/WebSize.h bool isEmpty() const { return width <= 0 || height <= 0; } width 54 public/platform/WebSize.h : width(0) width 59 public/platform/WebSize.h WebSize(int width, int height) width 60 public/platform/WebSize.h : width(width) width 67 public/platform/WebSize.h : width(s.width()) width 74 public/platform/WebSize.h width = s.width(); width 81 public/platform/WebSize.h return WebCore::IntSize(width, height); width 85 public/platform/WebSize.h : width(s.width()) width 91 public/platform/WebSize.h : width(v.x()) width 98 public/platform/WebSize.h width = s.width(); width 105 public/platform/WebSize.h width = v.x(); width 112 public/platform/WebSize.h return gfx::Size(std::max(0, width), std::max(0, height)); width 117 public/platform/WebSize.h return gfx::Vector2d(width, height); width 124 public/platform/WebSize.h return a.width == b.width && a.height == b.height; width 437 public/web/WebInputEvent.h float width; width 442 public/web/WebInputEvent.h float width; width 447 public/web/WebInputEvent.h float width; width 452 public/web/WebInputEvent.h float width; width 63 public/web/WebPrintParams.h : printContentArea(WebRect(0, 0, paperSize.width, paperSize.height)) width 64 public/web/WebPrintParams.h , printableArea(WebRect(0, 0, paperSize.width, paperSize.height)) width 49 public/web/WebWindowFeatures.h float width; width 88 public/web/WebWindowFeatures.h , width(f.width) width 111 public/web/WebWindowFeatures.h result.width = width;