/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutSize.h | 47 class LayoutSize { 49 LayoutSize() { } in LayoutSize() function 50 LayoutSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } in LayoutSize() function 51 LayoutSize(LayoutUnit width, LayoutUnit height) : m_width(width), m_height(height) { } in LayoutSize() function 53 explicit LayoutSize(const FloatSize& size) : m_width(size.width()), m_height(size.height()) { } in LayoutSize() function 90 LayoutSize expandedTo(const LayoutSize& other) const in expandedTo() 92 return LayoutSize(m_width > other.m_width ? m_width : other.m_width, in expandedTo() 96 LayoutSize shrunkTo(const LayoutSize& other) const in shrunkTo() 98 return LayoutSize(m_width < other.m_width ? m_width : other.m_width, in shrunkTo() 104 *this = expandedTo(LayoutSize()); in clampNegativeToZero() [all …]
|
D | LayoutPoint.h | 46 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 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) in toPoint() 141 inline LayoutPoint toLayoutPoint(const LayoutSize& p) in toLayoutPoint() [all …]
|
D | TransformState.h | 81 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;
|
D | TransformState.cpp | 53 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()
|
D | LayoutRect.h | 46 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() 174 LayoutSize m_size; 223 inline IntRect pixelSnappedIntRect(LayoutPoint location, LayoutSize size) in pixelSnappedIntRect()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | LayoutState.h | 64 …LayoutState(LayoutState*, RenderBox*, const LayoutSize& offset, LayoutUnit pageHeight, bool pageHe… 85 LayoutSize lineGridOffset() const { return m_lineGridOffset; } in lineGridOffset() 86 LayoutSize lineGridPaginationOrigin() const { return m_lineGridPaginationOrigin; } in lineGridPaginationOrigin() 88 LayoutSize layoutOffset() const { return m_layoutOffset; } in 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;
|
D | RenderGeometryMap.h | 66 LayoutSize m_offset; 68 LayoutSize m_offsetForFixedPosition; 110 …LayoutSize&, bool accumulatingTransform = false, bool isNonUniform = false, bool isFixedPosition =… 111 … isFixedPosition = false, bool hasTransform = false, LayoutSize offsetForFixedPosition = LayoutSiz… 138 LayoutSize m_accumulatedOffset;
|
D | RenderReplaced.h | 32 RenderReplaced(Element*, const LayoutSize& intrinsicSize); 48 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsicSize; } in intrinsicSize() 49 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0) const; 62 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = intrinsicSize; } in setIntrinsicSize() 88 mutable LayoutSize m_intrinsicSize;
|
D | ImageQualityController.h | 44 typedef HashMap<const void*, LayoutSize> LayerSizeMap; 56 …ldPaintAtLowQuality(GraphicsContext*, RenderObject*, Image*, const void* layer, const LayoutSize&); 62 void set(RenderObject*, LayerSizeMap* innerMap, const void* layer, const LayoutSize&);
|
D | ImageQualityController.cpp | 85 …oller::set(RenderObject* object, LayerSizeMap* innerMap, const void* layer, const LayoutSize& size) in set() 130 …text* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) in shouldPaintAtLowQuality() 143 LayoutSize oldSize; in shouldPaintAtLowQuality() 158 LayoutSize scaledImageSize = currentTransform.mapSize(image->size()); in shouldPaintAtLowQuality() 159 LayoutSize scaledLayoutSize = currentTransform.mapSize(roundedIntSize(layoutSize)); in shouldPaintAtLowQuality()
|
D | RenderVideo.cpp | 74 LayoutSize size = calculateIntrinsicSize(); in updateIntrinsicSize() 89 LayoutSize RenderVideo::calculateIntrinsicSize() in calculateIntrinsicSize() 104 LayoutSize size = player->naturalSize(); in calculateIntrinsicSize() 117 return LayoutSize(defaultSize().width(), 1); in calculateIntrinsicSize() 139 const LayoutSize* overriddenIntrinsicSize = 0; in videoBox()
|
D | RenderMedia.cpp | 55 LayoutSize oldSize = contentBoxRect().size(); in layout() 72 LayoutSize newSize = contentBoxRect().size(); in layout() 81 …controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), p… in layout()
|
D | RenderImageResource.h | 66 …virtual LayoutSize imageSize(float multiplier) const { return getImageSize(multiplier, ImageResour… in imageSize() 67 …virtual LayoutSize intrinsicSize(float multiplier) const { return getImageSize(multiplier, ImageRe… in intrinsicSize() 78 LayoutSize getImageSize(float multiplier, ImageResource::SizeType) const;
|
D | RenderImageResource.cpp | 105 LayoutSize RenderImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const in getImageSize() 108 return LayoutSize(); in getImageSize() 109 LayoutSize size = m_cachedImage->imageSizeForRenderer(m_renderer, multiplier, type); in getImageSize()
|
D | RenderBoxModelObject.h | 66 LayoutSize relativePositionOffset() const; 67 …LayoutSize relativePositionLogicalOffset() const { return style()->isHorizontalWritingMode() ? rel… in relativePositionLogicalOffset() 70 LayoutSize stickyPositionOffset() const; 71 …LayoutSize stickyPositionLogicalOffset() const { return style()->isHorizontalWritingMode() ? stick… in stickyPositionLogicalOffset() 73 LayoutSize offsetForInFlowPosition() const; 168 …ayoutRect&, BackgroundBleedAvoidance, InlineFlowBox* = 0, const LayoutSize& = LayoutSize(), Compos… 261 …t*, const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&, bool includeLo… 264 bool shouldPaintAtLowQuality(GraphicsContext*, Image*, const void*, const LayoutSize&);
|
D | RenderView.h | 120 LayoutSize layoutDelta() const in layoutDelta() 122 return m_layoutState ? m_layoutState->m_layoutDelta : LayoutSize(); in layoutDelta() 124 void addLayoutDelta(const LayoutSize& delta) in addLayoutDelta() 136 bool layoutDeltaMatches(const LayoutSize& delta) in layoutDeltaMatches() 226 …bool pushLayoutState(RenderBox* renderer, const LayoutSize& offset, LayoutUnit pageHeight = 0, boo… 311 …LayoutStateMaintainer(RenderView* view, RenderBox* root, LayoutSize offset, bool disableState = fa… 336 …void push(RenderBox* root, LayoutSize offset, LayoutUnit pageHeight = 0, bool pageHeightChanged = …
|
D | RenderBox.h | 132 void setLogicalSize(const LayoutSize& size) in setLogicalSize() 141 LayoutSize locationOffset() const { return LayoutSize(x(), y()); } in locationOffset() 142 LayoutSize size() const { return m_frameRect.size(); } in size() 147 void setSize(const LayoutSize& size) { m_frameRect.setSize(size); } in setSize() 188 …LayoutSize maxLayoutOverflow() const { return LayoutSize(layoutOverflowRect().maxX(), layoutOverfl… in maxLayoutOverflow() 208 void addOverflowFromChild(RenderBox* child, const LayoutSize& delta); 345 …virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bool* offsetDependsOnPoi… 416 virtual LayoutSize intrinsicSize() const { return LayoutSize(); } in intrinsicSize() 542 LayoutSize flipForWritingMode(const LayoutSize&) const; 549 LayoutSize topLeftLocationOffset() const; [all …]
|
D | LayerPaintingInfo.h | 76 PaintBehavior inPaintBehavior, const LayoutSize& inSubPixelAccumulation, 91 LayoutSize subPixelAccumulation;
|
D | RenderBlock.h | 226 LayoutUnit blockDirectionOffset(const LayoutSize& offsetFromBlock) const; 227 LayoutUnit inlineDirectionOffset(const LayoutSize& offsetFromBlock) const; 233 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB… 235 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB… 238 RenderBlock* blockBeforeWithinSelectionRoot(LayoutSize& offset) const; 249 virtual void adjustForColumns(LayoutSize&, const LayoutPoint&) const OVERRIDE FINAL; 250 void adjustForColumnRect(LayoutSize& offset, const LayoutPoint& locationInContainer) const; 383 LayoutSize logicalOffsetFromShapeAncestorContainer(const RenderBlock* container) const; 488 void relayoutShapeDescendantIfMoved(RenderBlock* child, LayoutSize offset); 568 …rBlock* rootBlock, const LayoutPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootB… [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | Shape.h | 63 …static PassOwnPtr<Shape> createShape(const BasicShape*, const LayoutSize& logicalBoxSize, WritingM… 64 …static PassOwnPtr<Shape> createShape(const StyleImage*, float threshold, const LayoutSize& logical… 65 …static PassOwnPtr<Shape> createLayoutBoxShape(const LayoutSize& logicalBoxSize, WritingMode, const… 74 …virtual bool firstIncludedIntervalLogicalTop(LayoutUnit minLogicalIntervalTop, const LayoutSize& m…
|
D | ShapeInsideInfo.cpp | 63 bool ShapeInsideInfo::updateSegmentsForLine(LayoutSize lineOffset, LayoutUnit lineHeight) in updateSegmentsForLine() 94 …if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, LayoutSize(minSegmentWidth, m_lineHeigh… in adjustLogicalLineTop() 109 LayoutUnit ShapeInsideInfo::computeFirstFitPositionForFloat(const LayoutSize floatSize) const in computeFirstFitPositionForFloat()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | ImageDocument.cpp | 224 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in scale() 225 LayoutSize windowSize = LayoutSize(view->width(), view->height()); in scale() 238 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in resizeImageToFit() 293 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in restoreImageSize() 314 …LayoutSize imageSize = m_imageElement->cachedImage()->imageSizeForRenderer(m_imageElement->rendere… in imageFitsInWindow() 315 LayoutSize windowSize = LayoutSize(view->width(), view->height()); in imageFitsInWindow()
|
D | HTMLAreaElement.h | 41 bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&); 62 Path getRegion(const LayoutSize&) const; 67 LayoutSize m_lastSize;
|
D | HTMLAreaElement.cpp | 76 m_lastSize = LayoutSize(-1, -1); in invalidateCachedRegion() 79 bool HTMLAreaElement::mapMouseEvent(LayoutPoint location, const LayoutSize& size, HitTestResult& re… in mapMouseEvent() 103 LayoutSize size = m_lastSize; in computePath() 124 Path HTMLAreaElement::getRegion(const LayoutSize& size) const in getRegion()
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
D | MouseRelatedEvent.cpp | 41 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()
|