Searched refs:IntSize (Results 1 - 25 of 396) sorted by relevance

1234567891011>>

/external/webkit/WebCore/platform/graphics/
H A DIntSizeHash.h23 #include "IntSize.h"
27 using WebCore::IntSize;
31 template<> struct IntHash<IntSize> {
32 static unsigned hash(const IntSize& key) { return intHash((static_cast<uint64_t>(key.width()) << 32 | key.height())); }
33 static bool equal(const IntSize& a, const IntSize& b) { return a == b; }
36 template<> struct DefaultHash<IntSize> { typedef IntHash<IntSize> Hash; };
38 template<> struct HashTraits<IntSize> : GenericHashTraits<IntSize> {
[all...]
H A DIntSize.h64 class IntSize { class in namespace:WebCore
66 IntSize() : m_width(0), m_height(0) { } function in class:WebCore::IntSize
67 IntSize(int width, int height) : m_width(width), m_height(height) { } function in class:WebCore::IntSize
90 IntSize expandedTo(const IntSize& other) const
92 return IntSize(m_width > other.m_width ? m_width : other.m_width,
96 IntSize shrunkTo(const IntSize& other) const
98 return IntSize(m_width < other.m_width ? m_width : other.m_width,
104 *this = expandedTo(IntSize());
[all...]
/external/webkit/WebCore/platform/graphics/haiku/
H A DIntSizeHaiku.cpp29 #include "IntSize.h"
36 IntSize::IntSize(const BSize& size) function in class:WebCore::IntSize
42 IntSize::operator BSize() const
H A DImageBufferData.h33 class IntSize;
37 ImageBufferData(const IntSize&);
/external/webkit/WebCore/platform/graphics/qt/
H A DIntSizeQt.cpp32 #include "IntSize.h"
36 IntSize::IntSize(const QSize& r) function in class:WebCore::IntSize
42 IntSize::operator QSize() const
H A DImageBufferData.h36 class IntSize;
40 ImageBufferData(const IntSize&);
/external/webkit/WebCore/platform/graphics/win/
H A DIntSizeWin.cpp27 #include "IntSize.h"
33 IntSize::IntSize(const SIZE& s) function in class:WebCore::IntSize
39 IntSize::operator SIZE() const
/external/webkit/WebCore/platform/graphics/android/
H A DImageBufferData.h31 class IntSize;
35 ImageBufferData(const IntSize&);
/external/webkit/WebCore/platform/graphics/cairo/
H A DImageBufferData.h33 class IntSize;
37 ImageBufferData(const IntSize&);
/external/webkit/WebCore/platform/graphics/cg/
H A DImageBufferData.h31 class IntSize;
35 ImageBufferData(const IntSize&);
H A DIntSizeCG.cpp27 #include "IntSize.h"
35 IntSize::IntSize(const CGSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height)) function in class:WebCore::IntSize
39 IntSize::operator CGSize() const
/external/webkit/WebCore/platform/graphics/wx/
H A DImageBufferData.h34 class IntSize;
38 ImageBufferData(const IntSize&);
H A DIntSizeWx.cpp27 #include "IntSize.h"
34 IntSize::IntSize(const wxSize& s) function in class:WebCore::IntSize
40 IntSize::operator wxSize() const
/external/webkit/WebCore/css/
H A DCSSImageGeneratorValue.h45 void addClient(RenderObject*, const IntSize&);
47 virtual Image* image(RenderObject*, const IntSize&) = 0;
52 virtual IntSize fixedSize(const RenderObject*) { return IntSize(); }
57 Image* getImage(RenderObject*, const IntSize&);
58 void putImage(const IntSize&, PassRefPtr<Image>);
60 typedef pair<IntSize, int> SizeCountPair;
63 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use.
65 HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size.
/external/webkit/WebCore/platform/graphics/mac/
H A DIntSizeMac.mm27 #include "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/webkit/WebCore/platform/graphics/wince/
H A DImageBufferData.h25 class IntSize;
28 ImageBufferData(const IntSize& size);
/external/webkit/WebCore/platform/win/
H A DBitmapInfo.h31 #include "IntSize.h"
37 static BitmapInfo create(const IntSize&);
38 static BitmapInfo createBottomUp(const IntSize&);
/external/webkit/WebCore/platform/graphics/brew/
H A DIntSizeBrew.cpp27 #include "IntSize.h"
33 IntSize::IntSize(const AEESize& size) function in class:WebCore::IntSize
39 IntSize::operator AEESize() const
/external/webkit/WebCore/rendering/style/
H A DStyleGeneratedImage.cpp37 IntSize StyleGeneratedImage::imageSize(const RenderObject* renderer, float multiplier) const
40 IntSize fixedSize = m_generator->fixedSize(renderer);
54 return IntSize(width, height);
60 void StyleGeneratedImage::setImageContainerSize(const IntSize& size)
67 m_generator->addClient(renderer, IntSize());
75 Image* StyleGeneratedImage::image(RenderObject* renderer, const IntSize& size) const
/external/webkit/WebCore/platform/graphics/chromium/
H A DImageBufferData.h42 ImageBufferData(const IntSize&);
/external/webkit/WebCore/page/android/
H A DDragControllerAndroid.cpp55 static IntSize dummy;
56 const IntSize& DragController::maxDragImageSize() { return dummy; }
/external/webkit/WebCore/page/gtk/
H A DDragControllerGtk.cpp59 const IntSize& DragController::maxDragImageSize()
61 static const IntSize maxDragImageSize(400, 400);
/external/webkit/WebCore/page/qt/
H A DDragControllerQt.cpp60 const IntSize& DragController::maxDragImageSize()
62 static const IntSize maxDragImageSize(400, 400);
/external/webkit/WebCore/page/wx/
H A DDragControllerWx.cpp61 const IntSize& DragController::maxDragImageSize()
63 static const IntSize maxDragImageSize(400, 400);
/external/webkit/WebCore/platform/haiku/
H A DDragImageHaiku.cpp38 IntSize dragImageSize(DragImageRef)
41 return IntSize(0, 0);

Completed in 203 milliseconds

1234567891011>>