/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
IntSizeHash.h | 23 #include "core/platform/graphics/IntSize.h" 29 template<> struct IntHash<WebCore::IntSize> { 30 static unsigned hash(const WebCore::IntSize& key) { return pairIntHash(key.width(), key.height()); } 31 static bool equal(const WebCore::IntSize& a, const WebCore::IntSize& b) { return a == b; } 35 template<> struct DefaultHash<WebCore::IntSize> { 36 typedef IntHash<WebCore::IntSize> Hash; 39 template<> struct HashTraits<WebCore::IntSize> : GenericHashTraits<WebCore::IntSize> { 42 static void constructDeletedValue(WebCore::IntSize& slot) { new (NotNull, &slot) WebCore::IntSize(-1, -1); [all...] |
IntSize.h | 44 class IntSize { 46 IntSize() : m_width(0), m_height(0) { } 47 IntSize(int width, int height) : m_width(width), m_height(height) { } 77 IntSize expandedTo(const IntSize& other) const 79 return IntSize(m_width > other.m_width ? m_width : other.m_width, 83 IntSize shrunkTo(const IntSize& other) const 85 return IntSize(m_width < other.m_width ? m_width : other.m_width, 91 *this = expandedTo(IntSize()); [all...] |
RoundedRectTest.cpp | 65 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10)); 72 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(5, 5), IntSize(10, 10), IntSize(15, 15), IntSize(20, 20)); 79 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(20, 10), IntSize(20, 10), IntSize(10, 20), IntSize(10, 20)) [all...] |
CrossfadeGeneratedImage.h | 32 #include "core/platform/graphics/IntSize.h" 41 static PassRefPtr<CrossfadeGeneratedImage> create(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize& size) 46 virtual void setContainerSize(const IntSize&) { } 51 virtual IntSize size() const { return m_crossfadeSize; } 60 CrossfadeGeneratedImage(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize&); 69 IntSize m_crossfadeSize;
|
RoundedRect.h | 41 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) 49 void setTopLeft(const IntSize& size) { m_topLeft = size; } 50 void setTopRight(const IntSize& size) { m_topRight = size; } 51 void setBottomLeft(const IntSize& size) { m_bottomLeft = size; } 52 void setBottomRight(const IntSize& size) { m_bottomRight = size; } 53 const IntSize& topLeft() const { return m_topLeft; } 54 const IntSize& topRight() const { return m_topRight; [all...] |
GeneratedImage.h | 30 #include "core/platform/graphics/IntSize.h" 39 virtual void setContainerSize(const IntSize& size) OVERRIDE { m_size = size; } 45 virtual IntSize size() const OVERRIDE { return m_size; } 61 IntSize m_size;
|
ImageBuffer.h | 36 #include "core/platform/graphics/IntSize.h" 88 static PassOwnPtr<ImageBuffer> create(const IntSize& size, float resolutionScale = 1, RenderingMode renderingMode = Unaccelerated, OpacityMode opacityMode = NonOpaque) 97 static PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, float resolutionScale, const GraphicsContext*, bool hasAlpha); 102 const IntSize& internalSize() const { return m_size; } 103 const IntSize& logicalSize() const { return m_logicalSize; } 117 void putByteArray(Multiply multiplied, Uint8ClampedArray*, const IntSize& sourceSize, const IntRect& sourceRect, const IntPoint& destPoint, CoordinateSystem = LogicalCoordinateSystem); 144 IntSize m_size; 145 IntSize m_logicalSize; 153 ImageBuffer(const IntSize&, float resolutionScale, RenderingMode, OpacityMode, bool& success); 154 ImageBuffer(const IntSize&, float resolutionScale, const GraphicsContext*, bool hasAlpha, bool& success) [all...] |
GeneratorGeneratedImage.h | 34 #include "core/platform/graphics/IntSize.h" 43 static PassRefPtr<GeneratorGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& size) 65 GeneratorGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) 76 IntSize m_cachedAdjustedSize;
|
ImageSource.h | 40 class IntSize; 104 IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) const; 105 IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectImageOrientation) const;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageData.h | 33 #include "core/platform/graphics/IntSize.h" 42 static PassRefPtr<ImageData> create(const IntSize&); 43 static PassRefPtr<ImageData> create(const IntSize&, PassRefPtr<Uint8ClampedArray>); 45 IntSize size() const { return m_size; } 51 ImageData(const IntSize&); 52 ImageData(const IntSize&, PassRefPtr<Uint8ClampedArray>); 54 IntSize m_size;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSImageGeneratorValue.h | 42 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) 48 IntSize size; 58 void addClient(RenderObject*, const IntSize&); 60 PassRefPtr<Image> image(RenderObject*, const IntSize&); 63 IntSize fixedSize(const RenderObject*); 73 Image* getImage(RenderObject*, const IntSize&); 74 void putImage(const IntSize&, PassRefPtr<Image>); 77 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use. 79 HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/ |
IntSizeMac.mm | 27 #include "core/platform/graphics/IntSize.h" 33 IntSize::IntSize(const NSSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) 37 IntSize::operator NSSize() const
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
PopupMenu.h | 31 class IntSize; 36 virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0;
|
DragImage.h | 30 #include "core/platform/graphics/IntSize.h" 48 IntSize size() const { return IntSize(m_bitmap.width(), m_bitmap.height()); } 50 void fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize);
|
HostWindow.h | 40 class IntSize; 52 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/cg/ |
IntSizeCG.cpp | 27 #include "core/platform/graphics/IntSize.h" 33 IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) 37 IntSize::operator CGSize() const
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/gpu/ |
DrawingBuffer.h | 36 #include "core/platform/graphics/IntSize.h" 61 virtual IntSize oldestContextSize() = 0; 70 IntSize size; 78 static PassRefPtr<DrawingBuffer> create(GraphicsContext3D*, const IntSize&, PreserveDrawingBuffer, PassRefPtr<ContextEvictionManager>); 91 IntSize adjustSize(const IntSize&); 92 void reset(const IntSize&); 94 IntSize size() const { return m_size; } 132 DrawingBuffer(GraphicsContext3D*, const IntSize&, bool multisampleExtensionSupported, 135 void initialize(const IntSize&) [all...] |
DrawingBufferTest.cpp | 53 IntSize oldestContextSize() { return IntSize(); } 64 const IntSize size(100, 100);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControls.h | 37 class IntSize;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PageScaleConstraintsSet.h | 36 #include "core/platform/graphics/IntSize.h" 51 void updatePageDefinedConstraints(const ViewportArguments&, IntSize viewSize, int layoutFallbackWidth); 52 void adjustForAndroidWebViewQuirks(const ViewportArguments&, IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode); 63 void adjustFinalConstraintsToContentsSize(IntSize viewSize, IntSize contentsSize, int nonOverlayScrollbarWidth); 65 void didChangeContentsSize(IntSize contentsSize, float pageScaleFactor);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
DragImageTest.cpp | 36 #include "core/platform/graphics/IntSize.h" 53 static PassRefPtr<TestImage> create(const IntSize& size) 58 explicit TestImage(const IntSize& size) 68 virtual IntSize size() const OVERRIDE 102 IntSize m_size; 111 RefPtr<TestImage> nullTestImage(TestImage::create(IntSize())); 117 RefPtr<TestImage> testImage(TestImage::create(IntSize(2, 2))); 122 IntSize size = dragImage->size(); 134 RefPtr<TestImage> testImage(TestImage::create(IntSize())); 140 RefPtr<TestImage> testImage(TestImage::create(IntSize(1, 1))) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ElementRareData.cpp | 44 IntSize scrollOffset;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
TextureUploader.h | 37 IntSize destOffset;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/ |
FECustomFilter.h | 46 class IntSize; 71 bool resizeContextIfNeeded(const IntSize&); 72 bool resizeContext(const IntSize&); 76 bool resizeMultisampleBuffers(const IntSize&); 86 IntSize m_contextSize;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleGeneratedImage.h | 50 virtual void setContainerSizeForRenderer(const RenderObject*, const IntSize& containerSize, float) { m_containerSize = containerSize; } 53 virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const; 60 IntSize m_containerSize;
|