/external/webkit/Source/WebCore/platform/graphics/ |
D | FloatSize.h | 50 class FloatSize { 52 FloatSize() : m_width(0), m_height(0) { } in FloatSize() function 53 FloatSize(float width, float height) : m_width(width), m_height(height) { } in FloatSize() function 54 FloatSize(const IntSize&); 56 static FloatSize narrowPrecision(double width, double height); 74 FloatSize expandedTo(const FloatSize& other) const in expandedTo() 76 return FloatSize(m_width > other.m_width ? m_width : other.m_width, in expandedTo() 80 FloatSize shrunkTo(const FloatSize& other) const in shrunkTo() 82 return FloatSize(m_width < other.m_width ? m_width : other.m_width, in shrunkTo() 93 explicit FloatSize(const CGSize&); // don't do this implicitly since it's lossy [all …]
|
D | FloatSize.cpp | 36 FloatSize::FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) in FloatSize() function in WebCore::FloatSize 40 float FloatSize::diagonalLength() const in diagonalLength() 45 FloatSize FloatSize::narrowPrecision(double width, double height) in narrowPrecision() 47 return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height)); in narrowPrecision()
|
D | Path.h | 80 class FloatSize; variable 139 void addRoundedRect(const FloatRect&, const FloatSize& roundingRadii); 140 …nst FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& … 143 void translate(const FloatSize&);
|
D | GlyphBuffer.h | 68 typedef FloatSize GlyphBufferAdvance; 108 FloatSize offset = m_offsets[index1]; in swap() 134 FloatSize offsetAt(int index) const in offsetAt() 140 return FloatSize(); in offsetAt() 144 void add(Glyph glyph, const SimpleFontData* font, float width, const FloatSize* offset = 0) 162 m_advances.append(FloatSize(width, 0)); 169 m_offsets.append(FloatSize()); 200 lastAdvance += FloatSize(width, 0); in expandLastAdvance() 209 Vector<FloatSize, 2048> m_offsets;
|
D | TiledBackingStore.h | 63 void getKeepAndCoverAreaMultipliers(FloatSize& keepMultiplier, FloatSize& coverMultiplier) in getKeepAndCoverAreaMultipliers() 68 …void setKeepAndCoverAreaMultipliers(const FloatSize& keepMultiplier, const FloatSize& coverMultipl… 113 FloatSize m_keepAreaMultiplier; 114 FloatSize m_coverAreaMultiplier;
|
D | ShadowBlur.h | 47 ShadowBlur(float radius, const FloatSize& offset, const Color&, ColorSpace); 91 FloatSize m_offset; 97 FloatSize m_layerSize; // Size of m_layerImage pixels that need blurring. 98 …FloatSize m_layerContextTranslation; // Translation to apply to m_layerContext for the shadow to b…
|
D | FloatQuad.cpp | 49 inline float dot(const FloatSize& a, const FloatSize& b) in dot() 57 FloatSize v0 = t3 - t1; in isPointInTriangle() 58 FloatSize v1 = t2 - t1; in isPointInTriangle() 59 FloatSize v2 = p - t1; in isPointInTriangle()
|
D | FloatPoint.h | 146 inline FloatPoint& operator+=(FloatPoint& a, const FloatSize& b) 158 inline FloatPoint& operator-=(FloatPoint& a, const FloatSize& b) 164 inline FloatPoint operator+(const FloatPoint& a, const FloatSize& b) 174 inline FloatSize operator-(const FloatPoint& a, const FloatPoint& b) 176 return FloatSize(a.x() - b.x(), a.y() - b.y()); 179 inline FloatPoint operator-(const FloatPoint& a, const FloatSize& b)
|
D | Image.cpp | 90 static inline FloatSize calculatePatternScale(const FloatRect& dstRect, const FloatRect& srcRect, I… in calculatePatternScale() 104 return FloatSize(scaleX, scaleY); in calculatePatternScale() 108 …ext* ctxt, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& scaledTileSize,… in drawTiled() 115 FloatSize intrinsicTileSize = size(); in drawTiled() 121 FloatSize scale(scaledTileSize.width() / intrinsicTileSize.width(), in drawTiled() 161 FloatSize scale = calculatePatternScale(dstRect, srcRect, hRule, vRule); in drawTiled()
|
D | FloatRect.h | 77 FloatRect(const FloatPoint& location, const FloatSize& size) in FloatRect() 80 : m_location(FloatPoint(x, y)), m_size(FloatSize(width, height)) { } in FloatRect() 86 FloatSize size() const { return m_size; } in size() 89 void setSize(const FloatSize& size) { m_size = size; } in setSize() 107 void move(const FloatSize& delta) { m_location += delta; } in move() 183 FloatSize m_size;
|
D | Path.cpp | 73 FloatSize change = traversalState.m_current - traversalState.m_previous; in pathLengthApplierFunction() 112 void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) in addRoundedRect() 117 FloatSize radius(roundingRadii); in addRoundedRect() 118 FloatSize halfSize(rect.width() / 2, rect.height() / 2); in addRoundedRect() 155 …loatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& … in addRoundedRect()
|
D | ContextShadow.cpp | 52 ContextShadow::ContextShadow(const Color& color, float radius, const FloatSize& offset) in ContextShadow() 83 m_offset = FloatSize(); in clear() 195 const FloatSize xUnitChange = transformedUnitQuad.p2() - transformedUnitQuad.p1(); in adjustBlurDistance() 200 const FloatSize yUnitChange = transformedUnitQuad.p3() - transformedUnitQuad.p1(); in adjustBlurDistance() 255 const FloatSize clippedOut = m_unclippedLayerOrigin - m_layerOrigin; in calculateLayerBoundingRect()
|
/external/webkit/Source/WebCore/page/ |
D | PrintContext.h | 32 class FloatSize; variable 50 … void computePageRectsWithPageSize(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling); 57 float computeAutomaticScaleFactor(const FloatSize& availablePaperSize); 72 …static int pageNumberForElement(Element*, const FloatSize& pageSizeInPixels); // Returns -1 if pag… 76 static int numberOfPages(Frame*, const FloatSize& pageSizeInPixels); 80 …static void spoolAllPagesWithBoundaries(Frame*, GraphicsContext&, const FloatSize& pageSizeInPixel… 87 …void computePageRectsWithPageSizeInternal(const FloatSize& pageSizeInPixels, bool allowHorizontalT…
|
D | PrintContext.cpp | 95 …computePageRectsWithPageSizeInternal(FloatSize(pageWidth / userScaleFactor, pageHeight / userScale… in computePageRects() 98 void PrintContext::computePageRectsWithPageSize(const FloatSize& pageSizeInPixels, bool allowHorizo… in computePageRectsWithPageSize() 104 void PrintContext::computePageRectsWithPageSizeInternal(const FloatSize& pageSizeInPixels, bool all… in computePageRectsWithPageSizeInternal() 182 …m_frame->setPrinting(true, FloatSize(minLayoutWidth, minLayoutHeight), printingMaximumShrinkFactor… in begin() 185 float PrintContext::computeAutomaticScaleFactor(const FloatSize& availablePaperSize) in computeAutomaticScaleFactor() 210 ctx.scale(FloatSize(scale, scale)); in spoolPage() 231 m_frame->setPrinting(false, FloatSize(), 0, Frame::AdjustViewSize); in end() 244 int PrintContext::pageNumberForElement(Element* element, const FloatSize& pageSizeInPixels) in pageNumberForElement() 258 FloatSize scaledPageSize = pageSizeInPixels; in pageNumberForElement() 314 int PrintContext::numberOfPages(Frame* frame, const FloatSize& pageSizeInPixels) in numberOfPages() [all …]
|
/external/webkit/Source/WebCore/platform/mac/ |
D | ScrollAnimatorMac.h | 136 FloatSize m_overflowScrollDelta; 137 FloatSize m_stretchScrollForce; 138 FloatSize m_momentumVelocity; 142 FloatSize m_startStretch; 144 FloatSize m_origVelocity;
|
/external/webkit/Source/WebKit2/Shared/gtk/ |
D | WebEventFactory.cpp | 141 FloatSize wheelTicks; in createWebWheelEvent() 144 wheelTicks = FloatSize(0, 1); in createWebWheelEvent() 147 wheelTicks = FloatSize(0, -1); in createWebWheelEvent() 150 wheelTicks = FloatSize(1, 0); in createWebWheelEvent() 153 wheelTicks = FloatSize(-1, 0); in createWebWheelEvent() 162 FloatSize delta(wheelTicks.width() * step, wheelTicks.height() * step); in createWebWheelEvent()
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | FloatSizeCG.cpp | 36 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height) in FloatSize() function in WebCore::FloatSize 40 FloatSize::operator CGSize() const in operator CGSize()
|
/external/webkit/Source/WebKit2/UIProcess/ |
D | TiledDrawingAreaProxy.h | 93 …void getKeepAndCoverAreaMultipliers(WebCore::FloatSize& keepMultiplier, WebCore::FloatSize& coverM… in getKeepAndCoverAreaMultipliers() 98 …void setKeepAndCoverAreaMultipliers(const WebCore::FloatSize& keepMultiplier, const WebCore::Float… 174 WebCore::FloatSize m_keepAreaMultiplier; 175 WebCore::FloatSize m_coverAreaMultiplier;
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
D | DrawQuadData.h | 97 virtual FloatSize repeatScale() const { return FloatSize(); } in repeatScale() 147 FloatSize repeatScale = FloatSize()) 176 virtual FloatSize repeatScale() const { return m_repeatScale; } in repeatScale() 181 FloatSize m_repeatScale;
|
/external/webkit/Source/WebKit2/Shared/ |
D | WebEvent.h | 178 …onst WebCore::IntPoint& globalPosition, const WebCore::FloatSize& delta, const WebCore::FloatSize&… 180 …onst WebCore::IntPoint& globalPosition, const WebCore::FloatSize& delta, const WebCore::FloatSize&… 185 const WebCore::FloatSize delta() const { return m_delta; } in delta() 186 const WebCore::FloatSize wheelTicks() const { return m_wheelTicks; } in wheelTicks() 202 WebCore::FloatSize m_delta; 203 WebCore::FloatSize m_wheelTicks;
|
D | WebWheelEvent.cpp | 36 …t IntPoint& position, const IntPoint& globalPosition, const FloatSize& delta, const FloatSize& whe… in WebWheelEvent() 52 …t IntPoint& position, const IntPoint& globalPosition, const FloatSize& delta, const FloatSize& whe… in WebWheelEvent()
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
D | Filter.h | 44 FloatSize filterResolution() const { return m_filterResolution; } in filterResolution() 45 …void setFilterResolution(const FloatSize& filterResolution) { m_filterResolution = filterResolutio… in setFilterResolution() 61 FloatSize m_filterResolution;
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGResourceFilter.h | 56 FloatSize scale; 90 bool fitsInMaximumImageSize(const FloatSize&, FloatSize&);
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FloatSizeMac.mm | 28 #include "FloatSize.h" 34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height) 38 FloatSize::operator NSSize() const
|
/external/webkit/Source/WebCore/dom/ |
D | CanvasSurface.cpp | 111 IntSize CanvasSurface::convertLogicalToDevice(const FloatSize& logicalSize) const in convertLogicalToDevice() 136 FloatSize unscaledSize(width(), height()); in createImageBuffer() 146 …m_imageBuffer->context()->scale(FloatSize(size.width() / unscaledSize.width(), size.height() / uns… in createImageBuffer() 165 FloatSize unscaledSize(width(), height()); in baseTransform()
|