HomeSort by relevance Sort by last modified time
    Searched full:layoutsize (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
LayoutSize.h 47 class LayoutSize {
49 LayoutSize() { }
50 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { }
51 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { }
53 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { }
90 LayoutSize expandedTo(const LayoutSize& other) const
92 return LayoutSize(m_width > other.m_width ? m_width : other.m_width,
96 LayoutSize shrunkTo(const LayoutSize& other) cons
    [all...]
LayoutPoint.h 35 #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 inline LayoutPoint& operator+=(LayoutPoint& a, const LayoutSize& b)
95 inline LayoutPoint& operator-=(LayoutPoint& a, const LayoutSize& b)
101 inline LayoutPoint operator+(const LayoutPoint& a, const LayoutSize& b)
111 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
    [all...]
TransformState.h 32 #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;
TransformState.cpp 53 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);
LayoutRect.h 46 LayoutRect(const LayoutPoint& location, const LayoutSize& size)
49 : m_location(LayoutPoint(x, y)), m_size(LayoutSize(width, height)) { }
57 LayoutSize size() const { return m_size; }
63 void setSize(const LayoutSize& size) { m_size = size; }
90 void move(const LayoutSize& size) { m_location += size; }
94 void expand(const LayoutSize& size) { m_size += size; }
101 void contract(const LayoutSize& size) { m_size -= size; }
174 LayoutSize m_size;
223 inline IntRect pixelSnappedIntRect(LayoutPoint location, LayoutSize size)
  /external/chromium_org/third_party/WebKit/Source/web/tests/
ViewportTest.cpp 134 constraints.fitToContentsWidth(constraints.layoutSize.width(), initialWidth);
149 EXPECT_EQ(320, constraints.layoutSize.width());
150 EXPECT_EQ(352, constraints.layoutSize.height());
168 EXPECT_EQ(980, constraints.layoutSize.width());
169 EXPECT_EQ(352, constraints.layoutSize.height());
187 EXPECT_EQ(320, constraints.layoutSize.width());
188 EXPECT_EQ(352, constraints.layoutSize.height());
206 EXPECT_EQ(160, constraints.layoutSize.width());
207 EXPECT_EQ(176, constraints.layoutSize.height());
225 EXPECT_EQ(640, constraints.layoutSize.width())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.h 32 RenderReplaced(Element*, const LayoutSize& intrinsicSize);
48 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsicSize; }
49 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0) const;
62 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; }
88 mutable LayoutSize m_intrinsicSize;
LayoutState.h 64 LayoutState(LayoutState*, RenderBox*, const LayoutSize& offset, LayoutUnit pageHeight, bool pageHeightChanged, ColumnInfo*);
85 LayoutSize lineGridOffset() const { return m_lineGridOffset; }
86 LayoutSize lineGridPaginationOrigin() const { return m_lineGridPaginationOrigin; }
88 LayoutSize layoutOffset() const { return m_layoutOffset; }
125 LayoutSize m_paintOffset;
127 LayoutSize m_layoutOffset;
131 LayoutSize m_layoutDelta;
136 LayoutSize m_pageOffset;
137 LayoutSize m_lineGridOffset;
138 LayoutSize m_lineGridPaginationOrigin
    [all...]
ImageQualityController.h 36 #include "platform/geometry/LayoutSize.h"
44 typedef HashMap<const void*, LayoutSize> LayerSizeMap;
56 bool shouldPaintAtLowQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&);
62 void set(RenderObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&);
RenderGeometryMap.h 33 #include "platform/geometry/LayoutSize.h"
66 LayoutSize m_offset;
68 LayoutSize m_offsetForFixedPosition;
110 void push(const RenderObject*, const LayoutSize&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSize());
111 void push(const RenderObject*, const TransformationMatrix&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSize());
138 LayoutSize m_accumulatedOffset;
RenderImageResource.h 32 #include "platform/geometry/LayoutSize.h"
66 virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResource::NormalSize); }
67 virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageResource::IntrinsicSize); }
78 LayoutSize getImageSize(float multiplier, ImageResource::SizeType) const;
ImageQualityController.cpp 85 void ImageQualityController::set(RenderObject* object, LayerSizeMap* innerMap, const void* layer, const LayoutSize& size)
130 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize)
143 LayoutSize oldSize;
158 LayoutSize scaledImageSize = currentTransform.mapSize(image->size());
159 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize));
RenderImageResource.cpp 105 LayoutSize RenderImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const
108 return LayoutSize();
109 LayoutSize size = m_cachedImage->imageSizeForRenderer(m_renderer, multiplier, type);
RenderMedia.cpp 55 LayoutSize oldSize = contentBoxRect().size();
72 LayoutSize newSize = contentBoxRect().size();
81 controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTop()));
RenderHTMLCanvas.cpp 82 LayoutSize zoomedSize(canvasSize.width() * style()->effectiveZoom(), canvasSize.height() * style()->effectiveZoom());
95 LayoutSize oldSize = size();
RenderImageResourceStyleImage.h 57 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); }
RenderVideo.h 54 LayoutSize calculateIntrinsicSize();
81 LayoutSize m_cachedImageSize;
  /external/chromium_org/third_party/WebKit/Source/core/page/
PageScaleConstraints.cpp 55 if (!other.layoutSize.isEmpty())
56 layoutSize = other.layoutSize;
97 return layoutSize == other.layoutSize
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLAreaElement.h 41 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
62 Path getRegion(const LayoutSize&) const;
67 LayoutSize m_lastSize;
ImageDocument.cpp 224 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
225 LayoutSize windowSize = LayoutSize(view->width(), view->height());
238 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
293 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), 1.0f);
314 LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->renderer(), pageZoomFactor(this));
315 LayoutSize windowSize = LayoutSize(view->width(), view->height());
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
Shape.h 63 static PassOwnPtr<Shape> createShape(const BasicShape*, const LayoutSize& logicalBoxSize, WritingMode, Length margin, Length padding);
64 static PassOwnPtr<Shape> createShape(const StyleImage*, float threshold, const LayoutSize& logicalBoxSize, WritingMode, Length margin, Length padding);
65 static PassOwnPtr<Shape> createLayoutBoxShape(const LayoutSize& logicalBoxSize, WritingMode, const Length& margin, const Length& padding);
74 virtual bool firstIncludedIntervalLogicalTop(LayoutUnit minLogicalIntervalTop, const LayoutSize& minLogicalIntervalSize, LayoutUnit& result) const = 0;
ShapeInsideInfo.cpp 63 bool ShapeInsideInfo::updateSegmentsForLine(LayoutSize lineOffset, LayoutUnit lineHeight)
94 if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, LayoutSize(minSegmentWidth, m_lineHeight), newLineTop)) {
109 LayoutUnit ShapeInsideInfo::computeFirstFitPositionForFloat(const LayoutSize floatSize) const
ShapeInsideInfo.h 69 bool updateSegmentsForLine(LayoutSize lineOffset, LayoutUnit lineHeight);
92 LayoutUnit computeFirstFitPositionForFloat(const LayoutSize) const;
  /external/chromium_org/third_party/WebKit/Source/core/events/
MouseRelatedEvent.cpp 41 static LayoutSize contentsScrollOffset(AbstractView* abstractView)
44 return LayoutSize();
47 return LayoutSize();
50 return LayoutSize();
52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleGeneratedImage.cpp 45 LayoutSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
62 return LayoutSize(width, height);

Completed in 792 milliseconds

1 2 3 4 5 6