Searched refs:LayoutSize (Results 1 - 25 of 126) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DLayoutSize.h45 class LayoutSize { class in namespace:blink
47 LayoutSize() { } function in class:blink::LayoutSize
48 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } function in class:blink::LayoutSize
49 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } function in class:blink::LayoutSize
51 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } function in class:blink::LayoutSize
88 LayoutSize expandedTo(const LayoutSize& other) const
90 return LayoutSize(m_width > other.m_width ? m_width : other.m_width,
94 LayoutSize shrunkTo(const LayoutSize
[all...]
H A DTransformState.h32 #include "platform/geometry/LayoutSize.h"
81 m_accumulatedOffset = LayoutSize();
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;
H A DLayoutPoint.h35 #include "platform/geometry/LayoutSize.h"
46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { }
56 void move(const LayoutSize& s) { move(s.width(), s.height()); }
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
[all...]
H A DTransformState.cpp53 void TransformState::translateTransform(const LayoutSize& offset)
61 void TransformState::translateMappedCoordinates(const LayoutSize& offset)
63 LayoutSize adjustedOffset = (m_direction == ApplyTransformDirection) ? offset : -offset;
70 void TransformState::move(const LayoutSize& offset, TransformAccumulation accumulate)
93 LayoutSize offset = m_accumulatedOffset;
94 m_accumulatedOffset = LayoutSize();
117 move(LayoutSize(transformFromContainer.e(), transformFromContainer.f()), accumulate);
H A DFloatSize.cpp32 #include "platform/geometry/LayoutSize.h"
38 FloatSize::FloatSize(const LayoutSize& size)
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DImageQualityController.h36 #include "platform/geometry/LayoutSize.h"
44 typedef HashMap<const void*, LayoutSize> LayerSizeMap;
56 InterpolationQuality chooseInterpolationQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&);
61 void set(RenderObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&);
66 bool shouldPaintAtLowQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&);
H A DRenderGeometryMap.h34 #include "platform/geometry/LayoutSize.h"
74 void push(const RenderObject*, const LayoutSize&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSize());
75 void push(const RenderObject*, const TransformationMatrix&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSize());
102 LayoutSize m_accumulatedOffset;
H A DLayoutState.h50 LayoutState(RenderBox&, const LayoutSize& offset, LayoutUnit pageLogicalHeight = 0, bool pageHeightLogicalChanged = false, ColumnInfo* = 0, bool containingBlockLogicalWidthChanged = false);
67 const LayoutSize& layoutOffset() const { return m_layoutOffset; }
68 const LayoutSize& pageOffset() const { return m_pageOffset; }
95 LayoutSize m_layoutOffset;
100 LayoutSize m_pageOffset;
H A 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; }
70 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
94 mutable LayoutSize m_intrinsicSize;
H A DLayerPaintingInfo.h76 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation,
88 LayoutSize subPixelAccumulation;
H A DPaintInvalidationState.h25 const LayoutSize& paintOffset() const { return m_paintOffset; }
51 LayoutSize m_paintOffset;
H A DRenderGeometryMapStep.h30 #include "platform/geometry/LayoutSize.h"
60 LayoutSize m_offset;
62 LayoutSize m_offsetForFixedPosition;
H A DRenderHTMLCanvas.cpp61 LayoutSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effectiveZoom());
74 LayoutSize oldSize = size();
H A DPaintInvalidationState.cpp29 m_paintOffset = LayoutSize(point.x(), point.y());
57 m_paintOffset = LayoutSize(fixedOffset.x(), fixedOffset.y());
59 LayoutSize offset = renderer.isBox() && !renderer.isTableRow() ? toRenderBox(renderer).locationOffset() : LayoutSize();
H A DRenderPartTest.cpp23 ImageQualityController::imageQualityController()->set(part, 0, this, LayoutSize(1, 1));
H A DRenderImageResource.cpp99 LayoutSize RenderImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const
102 return LayoutSize();
103 LayoutSize size = m_cachedImage->imageSizeForRenderer(m_renderer, multiplier, type);
H A DRenderImageResource.h67 virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResource::NormalSize); }
68 virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageResource::IntrinsicSize); }
78 LayoutSize getImageSize(float multiplier, ImageResource::SizeType) const;
H A DRenderMedia.cpp58 LayoutSize oldSize = contentBoxRect().size();
67 LayoutSize newSize = contentBoxRect().size();
73 controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTop()));
H A DImageQualityController.cpp68 InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize)
111 void ImageQualityController::set(RenderObject* object, LayerSizeMap* innerMap, const void* layer, const LayoutSize& size)
156 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize)
169 LayoutSize oldSize;
184 LayoutSize scaledImageSize = currentTransform.mapSize(image->size());
185 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize));
H A DRenderLayerClipper.h62 ClipRectsContext(const RenderLayer* root, ClipRectsCacheSlot slot, OverlayScrollbarSizeRelevancy relevancy = IgnoreOverlayScrollbarSize, const LayoutSize& accumulation = LayoutSize()) argument
92 LayoutSize subPixelAccumulation;
H A DHitTestLocation.h47 HitTestLocation(const HitTestLocation&, const LayoutSize& offset);
77 void move(const LayoutSize& offset);
H A DRenderImageResourceStyleImage.h57 virtual LayoutSize imageSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
58 virtual LayoutSize intrinsicSize(float multiplier) const OVERRIDE { return m_styleImage->imageSize(m_renderer, multiplier); }
H A DRenderVideo.h54 LayoutSize calculateIntrinsicSize();
81 LayoutSize m_cachedImageSize;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAreaElement.h42 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
61 Path getRegion(const LayoutSize&) const;
66 LayoutSize m_lastSize;
H A DHTMLMapElement.h41 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);

Completed in 165 milliseconds

123456