Home
last modified time | relevance | path

Searched refs:LayoutSize (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DLayoutSize.h45 class LayoutSize {
47 LayoutSize() { } in LayoutSize() function
48 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } in LayoutSize() function
49 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } in LayoutSize() function
51 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } in LayoutSize() function
88 LayoutSize expandedTo(const LayoutSize& other) const in expandedTo()
90 return LayoutSize(m_width > other.m_width ? m_width : other.m_width, in expandedTo()
94 LayoutSize shrunkTo(const LayoutSize& other) const in shrunkTo()
96 return LayoutSize(m_width < other.m_width ? m_width : other.m_width, in shrunkTo()
102 *this = expandedTo(LayoutSize()); in clampNegativeToZero()
[all …]
DLayoutPoint.h46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { } in LayoutPoint()
56 void move(const LayoutSize& s) { move(s.width(), s.height()); } in move()
89 ALWAYS_INLINE LayoutPoint& operator+=(LayoutPoint& a, const LayoutSize& b)
95 ALWAYS_INLINE LayoutPoint& operator-=(LayoutPoint& a, const LayoutSize& b)
101 inline LayoutPoint operator+(const LayoutPoint& a, const LayoutSize& b)
111 ALWAYS_INLINE LayoutSize operator-(const LayoutPoint& a, const LayoutPoint& b)
113 return LayoutSize(a.x() - b.x(), a.y() - b.y());
116 inline LayoutPoint operator-(const LayoutPoint& a, const LayoutSize& b)
136 inline LayoutPoint toPoint(const LayoutSize& size) in toPoint()
141 inline LayoutPoint toLayoutPoint(const LayoutSize& p) in toLayoutPoint()
[all …]
DTransformState.h81 m_accumulatedOffset = LayoutSize(); in setQuad()
87 move(LayoutSize(x, y), accumulate);
90 void move(const LayoutSize&, TransformAccumulation = FlattenTransform);
104 void translateTransform(const LayoutSize&);
105 void translateMappedCoordinates(const LayoutSize&);
114 LayoutSize m_accumulatedOffset;
DTransformState.cpp53 void TransformState::translateTransform(const LayoutSize& offset) in translateTransform()
61 void TransformState::translateMappedCoordinates(const LayoutSize& offset) in translateMappedCoordinates()
63 LayoutSize adjustedOffset = (m_direction == ApplyTransformDirection) ? offset : -offset; in translateMappedCoordinates()
70 void TransformState::move(const LayoutSize& offset, TransformAccumulation accumulate) in move()
93 LayoutSize offset = m_accumulatedOffset; in applyAccumulatedOffset()
94 m_accumulatedOffset = LayoutSize(); in applyAccumulatedOffset()
117 move(LayoutSize(transformFromContainer.e(), transformFromContainer.f()), accumulate); in applyTransform()
DLayoutRect.h46 LayoutRect(const LayoutPoint& location, const LayoutSize& size) in LayoutRect()
49 : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { } in LayoutRect()
57 LayoutSize size() const { return m_size; } in size()
63 void setSize(const LayoutSize& size) { m_size = size; } in setSize()
90 void move(const LayoutSize& size) { m_location += size; } in move()
94 void expand(const LayoutSize& size) { m_size += size; } in expand()
101 void contract(const LayoutSize& size) { m_size -= size; } in contract()
179 LayoutSize m_size;
228 inline IntRect pixelSnappedIntRect(LayoutPoint location, LayoutSize size) in pixelSnappedIntRect()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderGeometryMap.h74LayoutSize&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition =…
75 … isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSiz…
102 LayoutSize m_accumulatedOffset;
DLayoutState.h50 …LayoutState(RenderBox&, const LayoutSize& offset, LayoutUnit pageLogicalHeight = 0, bool pageHeigh…
67 const LayoutSize& layoutOffset() const { return m_layoutOffset; } in layoutOffset()
68 const LayoutSize& pageOffset() const { return m_pageOffset; } in pageOffset()
95 LayoutSize m_layoutOffset;
100 LayoutSize m_pageOffset;
DImageQualityController.h44 typedef HashMap<const void*, LayoutSize> LayerSizeMap;
56 …nterpolationQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&);
61 void set(RenderObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&);
66 …ldPaintAtLowQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&);
DRenderReplaced.h32 RenderReplaced(Element*, const LayoutSize& intrinsicSize);
39 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0) const;
55 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsicSize; } in intrinsicSize()
70 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; } in setIntrinsicSize()
94 mutable LayoutSize m_intrinsicSize;
DImageQualityController.cpp68 …text* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) in chooseInterpolationQuality()
111 …oller::set(RenderObject* object, LayerSizeMap* innerMap, const void* layer, const LayoutSize& size) in set()
156 …text* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) in shouldPaintAtLowQuality()
169 LayoutSize oldSize; in shouldPaintAtLowQuality()
184 LayoutSize scaledImageSize = currentTransform.mapSize(image->size()); in shouldPaintAtLowQuality()
185 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize)); in shouldPaintAtLowQuality()
DPaintInvalidationState.cpp29 m_paintOffset = LayoutSize(point.x(), point.y()); in PaintInvalidationState()
57 m_paintOffset = LayoutSize(fixedOffset.x(), fixedOffset.y()); in PaintInvalidationState()
59LayoutSize offset = renderer.isBox() && !renderer.isTableRow() ? toRenderBox(renderer).locationOff… in PaintInvalidationState()
DRenderMedia.cpp58 LayoutSize oldSize = contentBoxRect().size(); in layout()
67 LayoutSize newSize = contentBoxRect().size(); in layout()
73 …controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), p… in layout()
DRenderImageResource.h67 …virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResour… in imageSize()
68 …virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageRe… in intrinsicSize()
78 LayoutSize getImageSize(float multiplier, ImageResource::SizeType) const;
DRenderImageResource.cpp99 LayoutSize RenderImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const in getImageSize()
102 return LayoutSize(); in getImageSize()
103 LayoutSize size = m_cachedImage->imageSizeForRenderer(m_renderer, multiplier, type); in getImageSize()
DRenderBlock.h159 LayoutUnit blockDirectionOffset(const LayoutSize& offsetFromBlock) const;
160 LayoutUnit inlineDirectionOffset(const LayoutSize& offsetFromBlock) const;
164 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB…
166 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB…
169 RenderBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const;
182 virtual LayoutSize columnOffset(const LayoutPoint&) const OVERRIDE;
183 void adjustForColumnRect(LayoutSize& offset, const LayoutPoint& locationInContainer) const;
219LayoutSize logicalSizeForChild(const RenderBox* child) const { return isHorizontalWritingMode() ? … in logicalSizeForChild()
246 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB…
398 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB…
[all …]
DRenderBox.h67 LayoutSize m_previousBorderBoxSize;
159 void setLogicalSize(const LayoutSize& size) in setLogicalSize()
168 LayoutSize locationOffset() const { return LayoutSize(x(), y()); } in locationOffset()
169 LayoutSize size() const { return m_frameRect.size(); } in size()
174 void setSize(const LayoutSize& size) { m_frameRect.setSize(size); } in setSize()
213LayoutSize maxLayoutOverflow() const { return LayoutSize(layoutOverflowRect().maxX(), layoutOverfl… in maxLayoutOverflow()
232 void addOverflowFromChild(RenderBox* child, const LayoutSize& delta);
367 …virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDepend…
432 virtual LayoutSize intrinsicSize() const { return LayoutSize(); } in intrinsicSize()
557 LayoutSize flipForWritingMode(const LayoutSize&) const;
[all …]
DLayoutState.cpp49 LayoutState::LayoutState(RenderBox& renderer, const LayoutSize& offset, LayoutUnit pageLogicalHeigh… in LayoutState()
60 m_layoutOffset = LayoutSize(fixedOffset.x(), fixedOffset.y()) + offset; in LayoutState()
76 …m_pageOffset = LayoutSize(m_layoutOffset.width() + (!isFlipped ? renderer.borderLeft() + renderer.… in LayoutState()
121 m_layoutOffset = LayoutSize(absContentPoint.x(), absContentPoint.y()); in LayoutState()
DRenderVideo.cpp69 LayoutSize size = calculateIntrinsicSize(); in updateIntrinsicSize()
84 LayoutSize RenderVideo::calculateIntrinsicSize() in calculateIntrinsicSize()
112 return LayoutSize(defaultSize().width(), 1); in calculateIntrinsicSize()
134 const LayoutSize* overriddenIntrinsicSize = 0; in videoBox()
DRenderLayerClipper.h62 …izeRelevancy relevancy = IgnoreOverlayScrollbarSize, const LayoutSize& accumulation = LayoutSize())
92 LayoutSize subPixelAccumulation;
DRenderBoxModelObject.cpp142 static LayoutSize accumulateInFlowPositionOffsets(const RenderObject* child) in accumulateInFlowPositionOffsets()
145 return LayoutSize(); in accumulateInFlowPositionOffsets()
146 LayoutSize offset; in accumulateInFlowPositionOffsets()
195 LayoutSize RenderBoxModelObject::relativePositionOffset() const in relativePositionOffset()
197 LayoutSize offset = accumulateInFlowPositionOffsets(this); in relativePositionOffset()
277 LayoutSize RenderBoxModelObject::offsetForInFlowPosition() const in offsetForInFlowPosition()
279 return isRelPositioned() ? relativePositionOffset() : LayoutSize(); in offsetForInFlowPosition()
590 LayoutSize containerOffset = offsetFromContainer(o, LayoutPoint()); in mapAbsoluteToLocalPoint()
621 LayoutSize adjustmentForSkippedAncestor; in pushMappingToContainer()
629LayoutSize containerOffset = offsetFromContainer(container, LayoutPoint(), &offsetDependsOnPoint); in pushMappingToContainer()
DLayerPaintingInfo.h76 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation,
88 LayoutSize subPixelAccumulation;
/external/chromium_org/third_party/WebKit/Source/core/html/
DImageDocument.cpp227LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in scale()
228 LayoutSize windowSize = LayoutSize(view->width(), view->height()); in scale()
241LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in resizeImageToFit()
296LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in restoreImageSize()
317LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in imageFitsInWindow()
318 LayoutSize windowSize = LayoutSize(view->width(), view->height()); in imageFitsInWindow()
DHTMLAreaElement.h42 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
61 Path getRegion(const LayoutSize&) const;
66 LayoutSize m_lastSize;
/external/chromium_org/third_party/WebKit/Source/core/events/
DMouseRelatedEvent.cpp41 static LayoutSize contentsScrollOffset(AbstractView* abstractView) in contentsScrollOffset()
44 return LayoutSize(); in contentsScrollOffset()
47 return LayoutSize(); in contentsScrollOffset()
50 return LayoutSize(); in contentsScrollOffset()
52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor); in contentsScrollOffset()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBoxPainter.h29 …ayoutRect&, BackgroundBleedAvoidance, InlineFlowBox* = 0, const LayoutSize& = LayoutSize(), Compos…
31 …erpolationQuality(RenderBoxModelObject&, GraphicsContext*, Image*, const void*, const LayoutSize&);
43 …t*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLo…

123456