HomeSort by relevance Sort by last modified time
    Searched refs:IntSize (Results 1 - 25 of 328) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
IntSizeHash.h 23 #include "platform/geometry/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 43 class PLATFORM_EXPORT IntSize {
45 IntSize() : m_width(0), m_height(0) { }
46 IntSize(int width, int height) : m_width(width), m_height(height) { }
76 IntSize expandedTo(const IntSize& other) const
78 return IntSize(m_width > other.m_width ? m_width : other.m_width,
82 IntSize shrunkTo(const IntSize& other) const
84 return IntSize(m_width < other.m_width ? m_width : other.m_width,
90 *this = expandedTo(IntSize());
    [all...]
RoundedRectTest.cpp 64 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10), IntSize(10, 10));
71 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(5, 5), IntSize(10, 10), IntSize(15, 15), IntSize(20, 20));
78 RoundedRect rr(IntRect(100, 200, 300, 400), IntSize(20, 10), IntSize(20, 10), IntSize(10, 20), IntSize(10, 20))
    [all...]
RoundedRect.h 43 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight)
51 void setTopLeft(const IntSize& size) { m_topLeft = size; }
52 void setTopRight(const IntSize& size) { m_topRight = size; }
53 void setBottomLeft(const IntSize& size) { m_bottomLeft = size; }
54 void setBottomRight(const IntSize& size) { m_bottomRight = size; }
55 const IntSize& topLeft() const { return m_topLeft; }
56 const IntSize& topRight() const { return m_topRight;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/mac/
IntSizeMac.mm 27 #include "platform/geometry/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/platform/
PopupMenu.h 32 class IntSize;
37 virtual void show(const FloatQuad& controlPosition, const IntSize& controlSize, int index) = 0;
DragImage.h 29 #include "platform/geometry/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 41 class IntSize;
53 virtual void scroll(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) = 0;
DragImageTest.cpp 37 #include "platform/geometry/IntSize.h"
56 static PassRefPtr<TestImage> create(const IntSize& size)
61 explicit TestImage(const IntSize& size)
70 virtual IntSize size() const OVERRIDE
99 IntSize m_size;
108 RefPtr<TestImage> nullTestImage(TestImage::create(IntSize()));
114 RefPtr<TestImage> testImage(TestImage::create(IntSize(2, 2)));
119 IntSize size = dragImage->size();
131 RefPtr<TestImage> testImage(TestImage::create(IntSize()));
137 RefPtr<TestImage> testImage(TestImage::create(IntSize(1, 1)))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
CrossfadeGeneratedImage.h 29 #include "platform/geometry/IntSize.h"
41 static PassRefPtr<CrossfadeGeneratedImage> create(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize& size)
46 virtual void setContainerSize(const IntSize&) OVERRIDE { }
51 virtual IntSize size() const OVERRIDE { return m_crossfadeSize; }
58 const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE;
60 CrossfadeGeneratedImage(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize&);
69 IntSize m_crossfadeSize;
GeneratedImage.h 29 #include "platform/geometry/IntSize.h"
39 virtual void setContainerSize(const IntSize& size) OVERRIDE { m_size = size; }
45 virtual IntSize size() const OVERRIDE { return m_size; }
53 const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE = 0;
60 IntSize m_size;
GradientGeneratedImage.h 29 #include "platform/geometry/IntSize.h"
40 static PassRefPtr<GradientGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& size)
54 const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE;
56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)
ImageBufferSurface.h 35 #include "platform/geometry/IntSize.h"
75 const IntSize& size() const { return m_size; }
79 ImageBufferSurface(const IntSize&, OpacityMode);
84 IntSize m_size;
UnacceleratedImageBufferSurface.cpp 39 UnacceleratedImageBufferSurface::UnacceleratedImageBufferSurface(const IntSize& size, OpacityMode opacityMode)
DisplayList.h 46 class IntSize;
63 SkCanvas* beginRecording(const IntSize&, uint32_t recordFlags = 0);
  /external/chromium_org/third_party/WebKit/Source/core/testing/
DummyPageHolder.h 36 #include "platform/geometry/IntSize.h"
48 class IntSize;
63 static PassOwnPtr<DummyPageHolder> create(const IntSize& initialViewSize = IntSize());
72 explicit DummyPageHolder(const IntSize& initialViewSize);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
GaneshUtils.h 35 #include "platform/geometry/IntSize.h"
41 bool PLATFORM_EXPORT ensureTextureBackedSkBitmap(GrContext*, SkBitmap&, const IntSize&, GrSurfaceOrigin, GrPixelConfig);
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
IntSizeCG.cpp 27 #include "platform/geometry/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/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*);
75 Image* getImage(RenderObject*, const IntSize&);
76 void putImage(const IntSize&, PassRefPtr<Image>);
79 HashCountedSet<IntSize> m_sizes; // A count of how many times a given image size is in use.
81 HashMap<IntSize, RefPtr<Image> > m_images; // A cache of Image objects by image size
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
ImageData.h 33 #include "platform/geometry/IntSize.h"
45 static PassRefPtrWillBeRawPtr<ImageData> create(const IntSize&);
46 static PassRefPtrWillBeRawPtr<ImageData> create(const IntSize&, PassRefPtr<Uint8ClampedArray>);
50 IntSize size() const { return m_size; }
58 explicit ImageData(const IntSize&);
59 ImageData(const IntSize&, PassRefPtr<Uint8ClampedArray>);
61 IntSize m_size;
  /external/chromium_org/third_party/WebKit/Source/core/frame/
Settings.h 35 #include "platform/geometry/IntSize.h"
54 void setTextAutosizingWindowSizeOverride(const IntSize&);
55 const IntSize& textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; }
79 IntSize m_textAutosizingWindowSizeOverride;
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageCache.h 24 #include "platform/geometry/IntSize.h"
49 void setContainerSizeForRenderer(const ImageResourceClient*, const IntSize&, float);
50 IntSize imageSizeForRenderer(const RenderObject*) const;
  /external/chromium_org/third_party/WebKit/Source/web/
PageScaleConstraintsSet.h 37 #include "platform/geometry/IntSize.h"
64 void adjustFinalConstraintsToContentsSize(WebCore::IntSize contentsSize, int nonOverlayScrollbarWidth);
66 void didChangeContentsSize(WebCore::IntSize contentsSize, float pageScaleFactor);
76 void didChangeViewSize(const WebCore::IntSize&);
78 WebCore::IntSize mainFrameSize(const WebCore::IntSize& contentsSize) const;
88 WebCore::IntSize m_viewSize;
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/test/
MockImageDecoder.h 47 virtual IntSize decodedSize() const { return IntSize(); }
64 virtual IntSize decodedSize() const OVERRIDE
120 return adoptPtr(new MockImageDecoderFactory(client, IntSize(decodedSize.width(), decodedSize.height())));
123 static PassOwnPtr<MockImageDecoderFactory> create(MockImageDecoderClient* client, const IntSize& decodedSize)
137 MockImageDecoderFactory(MockImageDecoderClient* client, const IntSize& decodedSize)
144 IntSize m_decodedSize;
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DrawingBuffer.h 35 #include "platform/geometry/IntSize.h"
67 virtual IntSize oldestContextSize() = 0;
89 IntSize size;
101 static PassRefPtr<DrawingBuffer> create(PassOwnPtr<blink::WebGraphicsContext3D>, const IntSize&, PreserveDrawingBuffer, blink::WebGraphicsContext3D::Attributes requestedAttributes, PassRefPtr<ContextEvictionManager>);
113 static IntSize adjustSize(const IntSize& desiredSize, const IntSize& curSize, int maxTextureSize);
114 bool reset(const IntSize&);
116 IntSize size() const { return m_size; }
178 bool initialize(const IntSize&)
    [all...]

Completed in 266 milliseconds

1 2 3 4 5 6 7 8 91011>>