/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatSize.h | 47 class PLATFORM_EXPORT FloatSize { 49 FloatSize() : m_width(0), m_height(0) { } 50 FloatSize(float width, float height) : m_width(width), m_height(height) { } 51 FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { } 52 FloatSize(const LayoutSize&); 54 static FloatSize narrowPrecision(double width, double height); 82 FloatSize expandedTo(const FloatSize& other) const 84 return FloatSize(m_width > other.m_width ? m_width : other.m_width, 88 FloatSize shrunkTo(const FloatSize& other) cons [all...] |
FloatSize.cpp | 28 #include "platform/geometry/FloatSize.h" 40 FloatSize::FloatSize(const LayoutSize& size) 46 float FloatSize::diagonalLength() const 51 bool FloatSize::isZero() const 56 bool FloatSize::isExpressibleAsIntSize() const 61 FloatSize FloatSize::narrowPrecision(double width, double height) 63 return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height));
|
FloatRoundedRect.h | 34 #include "platform/geometry/FloatSize.h" 44 Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) 60 void setTopLeft(const FloatSize& size) { m_topLeft = size; } 61 void setTopRight(const FloatSize& size) { m_topRight = size; } 62 void setBottomLeft(const FloatSize& size) { m_bottomLeft = size; } 63 void setBottomRight(const FloatSize& size) { m_bottomRight = size; } 64 const FloatSize& topLeft() const { return m_topLeft; [all...] |
FloatRoundedRectTest.cpp | 40 void PrintTo(const FloatSize& size, std::ostream* os) 42 *os << "FloatSize(" 90 EXPECT_EQ(FloatSize(), r.radii().topLeft()); 91 EXPECT_EQ(FloatSize(), r.radii().topRight()); 92 EXPECT_EQ(FloatSize(), r.radii().bottomLeft()); 93 EXPECT_EQ(FloatSize(), r.radii().bottomRight()); 122 FloatSize cornerRadii(50, 50); 167 FloatSize cornerSize(10, 20); 169 cornerRadii.setTopLeft(FloatSize(10, 15)); 170 cornerRadii.setTopRight(FloatSize(10, 20)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/ |
FloatSizeCG.cpp | 28 #include "platform/geometry/FloatSize.h" 34 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height) 38 FloatSize::operator CGSize() const
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/mac/ |
FloatSizeMac.mm | 28 #include "platform/geometry/FloatSize.h" 34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height) 38 FloatSize::operator NSSize() const
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GeneratedImage.cpp | 34 #include "platform/geometry/FloatSize.h" 39 void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) 42 intrinsicRatio = FloatSize();
|
Path.h | 47 class FloatSize; 130 void addRoundedRect(const FloatRect&, const FloatSize& roundingRadii); 131 void addRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius); 136 void translate(const FloatSize&); 143 void addPathForRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) [all...] |
DrawLooperBuilder.h | 45 class FloatSize; 72 void addShadow(const FloatSize& offset, float blur, const Color&,
|
GeneratedImage.h | 43 virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE; 52 const FloatSize&, const FloatPoint&, CompositeOperator,
|
ImageOrientation.h | 34 class FloatSize; 82 AffineTransform transformFromDefault(const FloatSize& drawnSize) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
ScrollElasticityController.h | 33 #include "platform/geometry/FloatSize.h" 51 virtual bool pinnedInDirection(const FloatSize&) = 0; 58 virtual void immediateScrollBy(const FloatSize&) = 0; 59 virtual void immediateScrollByWithoutContentEdgeConstraints(const FloatSize&) = 0; 124 FloatSize m_overflowScrollDelta; 125 FloatSize m_stretchScrollForce; 126 FloatSize m_momentumVelocity; 130 FloatSize m_startStretch; 132 FloatSize m_origVelocity;
|
ScrollElasticityController.mm | 122 m_momentumVelocity = FloatSize(); 127 m_overflowScrollDelta = FloatSize(); 136 if (m_client->pinnedInDirection(FloatSize(-wheelEvent.deltaX(), 0))) { 167 m_overflowScrollDelta = FloatSize(); 214 m_momentumVelocity = FloatSize(); 218 if (!isHorizontallyStretched && m_client->pinnedInDirection(FloatSize(deltaX, 0))) { 230 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) { 241 if (m_client->pinnedInDirection(FloatSize(deltaX, deltaY))) { 259 m_client->immediateScrollBy(FloatSize(0, deltaY)); 263 m_client->immediateScrollBy(FloatSize(deltaX, 0)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
LengthFunctions.h | 31 class FloatSize; 41 PLATFORM_EXPORT FloatSize floatSizeForLengthSize(const LengthSize&, const FloatSize& boxSize);
|
PlatformTouchPoint.h | 53 FloatSize radius() const { return m_radius; } 62 FloatSize m_radius;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
GlyphBuffer.h | 34 #include "platform/geometry/FloatSize.h" 54 FloatSize* advances(unsigned from) { return m_advances.data() + from; } 56 const FloatSize* advances(unsigned from) const { return m_advances.data() + from; } 65 FloatSize advanceAt(unsigned index) const 72 add(glyph, font, FloatSize(width, 0)); 75 void add(Glyph glyph, const SimpleFontData* font, const FloatSize& advance) 92 FloatSize& lastAdvance = m_advances.last(); 99 Vector<FloatSize, 2048> m_advances;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
SkiaImageFilterBuilder.h | 30 #include "platform/geometry/FloatSize.h" 55 void setCropOffset(const FloatSize& cropOffset) { m_cropOffset = cropOffset; }; 56 FloatSize cropOffset() { return m_cropOffset; } 60 FloatSize m_cropOffset;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ViewportAnchor.h | 34 #include "platform/geometry/FloatSize.h" 61 void setAnchor(const WebCore::IntRect& viewRect, const WebCore::FloatSize& anchorInViewCoords); 73 WebCore::FloatSize m_anchorInViewCoords; 74 WebCore::FloatSize m_anchorInNodeCoords;
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasImageSource.h | 67 virtual FloatSize sourceSize() const = 0; 68 virtual FloatSize defaultDestinationSize() const { return sourceSize(); }
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PrintContext.h | 34 class FloatSize; 49 // FIXME: The printRect argument is only used to determine page aspect ratio, it would be better to pass a FloatSize with page dimensions instead. 53 void computePageRectsWithPageSize(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling); 71 static int pageNumberForElement(Element*, const FloatSize& pageSizeInPixels); // Returns -1 if page isn't found. 75 static int numberOfPages(LocalFrame*, const FloatSize& pageSizeInPixels); 79 static void spoolAllPagesWithBoundaries(LocalFrame*, GraphicsContext&, const FloatSize& pageSizeInPixels); 88 void computePageRectsWithPageSizeInternal(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling);
|
PageScaleConstraints.h | 34 #include "platform/geometry/FloatSize.h" 39 FloatSize layoutSize;
|
/external/chromium_org/ppapi/cpp/ |
size.h | 149 class FloatSize { 153 FloatSize() { 159 /// converting the <code>PP_FloatSize</code> to a <code>FloatSize</code>. 163 FloatSize(const PP_FloatSize& s) { // Implicit. 170 /// converting them to a <code>FloatSize</code>. 174 FloatSize(float w, float h) { 181 ~FloatSize() { 184 /// PP_FloatSize() allows implicit conversion of a <code>FloatSize</code> to a 211 /// @return The value of width for this <code>FloatSize</code>. 229 /// @return The value of height for this <code>FloatSize</code> [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/ |
SVGImageForContainer.h | 31 #include "platform/geometry/FloatSize.h" 39 static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom) 52 virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE 59 virtual void drawPattern(GraphicsContext*, const FloatRect&, const FloatSize&, const FloatPoint&, CompositeOperator, const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE; 67 SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom) 77 const FloatSize m_containerSize;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
BasicShapeFunctions.h | 48 FloatPoint floatPointForCenterCoordinate(const BasicShapeCenterCoordinate&, const BasicShapeCenterCoordinate&, FloatSize);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Touch.h | 32 #include "platform/geometry/FloatSize.h" 47 const FloatSize& radius, float rotationAngle, float force) 77 const FloatSize& radius, float rotationAngle, float force); 81 const FloatSize& radius, float rotationAngle, float force, LayoutPoint absoluteLocation); 92 FloatSize m_radius;
|