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

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/graphics/src/android/graphics/cts/
RegionIteratorTest.java 19 import android.graphics.Rect;
42 args = {android.graphics.Rect.class}
47 Rect rect = new Rect(); local
48 rect.set(1, 1, 1, 1);
55 assertTrue(regionIterator.next(rect));
56 assertEquals(1, rect.left);
57 assertEquals(1, rect.top);
58 assertEquals(10, rect.right)
    [all...]
  /external/webkit/WebCore/dom/
ClientRect.cpp 36 ClientRect::ClientRect(const IntRect& rect)
37 : m_rect(rect)
  /external/webkit/WebCore/platform/graphics/haiku/
FloatRectHaiku.cpp 32 #include <Rect.h>
37 FloatRect::FloatRect(const BRect& rect)
38 : m_location(rect.LeftTop())
39 , m_size(rect.Width() + 1, rect.Height() + 1)
IntRectHaiku.cpp 31 #include <Rect.h>
36 IntRect::IntRect(const BRect& rect)
37 : m_location(rect.LeftTop())
38 , m_size(rect.IntegerWidth() + 1, rect.IntegerHeight() + 1)
  /external/webkit/WebCore/platform/graphics/skia/
IntRectSkia.cpp 40 SkIRect rect = { x(), y(), right(), bottom() }; local
41 return rect;
46 SkRect rect; local
47 rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(right()), SkIntToScalar(bottom()));
48 return rect;
  /external/skia/src/images/
SkBitmapRegionDecoder.cpp 3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect,
6 return fDecoder->decodeRegion(bitmap, rect, pref);
  /external/skia/src/animator/
SkDrawClip.cpp 29 SK_MEMBER(rect, Rect)
36 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) {
40 if (rect != NULL)
41 maker.fCanvas->clipRect(rect->fRect);
SkDrawPoint.cpp 49 void SkDrawPoint::getBounds(SkRect* rect ) {
50 rect->fLeft = rect->fRight = fPoint.fX;
51 rect->fTop = rect->fBottom = fPoint.fY;
SkDisplayBounds.cpp 43 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
45 if (rect.isEmpty())
46 rect = fBounds;
48 rect.join(fBounds);
  /external/webkit/WebKit/android/plugins/
PluginViewBridgeAndroid.cpp 32 const IntRect& rect) {}
PluginViewBridgeAndroid.h 42 virtual void draw(GraphicsContext* gc, const IntRect& rect);
  /external/webkit/WebCore/platform/chromium/
ScrollbarThemeChromiumLinux.cpp 68 static void drawBox(SkCanvas* canvas, const IntRect& rect, const SkPaint& paint)
70 const int right = rect.x() + rect.width() - 1;
71 const int bottom = rect.y() + rect.height() - 1;
72 drawHorizLine(canvas, rect.x(), right, rect.y(), paint);
73 drawVertLine(canvas, right, rect.y(), bottom, paint);
74 drawHorizLine(canvas, rect.x(), right, bottom, paint);
75 drawVertLine(canvas, rect.x(), rect.y(), bottom, paint)
    [all...]
FramelessScrollView.cpp 45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
48 IntRect dirtyRect = rect;
59 void FramelessScrollView::invalidateRect(const IntRect& rect)
62 h->repaint(rect, true);
  /external/webkit/WebCore/platform/graphics/cg/
IntRectCG.cpp 40 IntRect enclosingIntRect(const CGRect& rect)
42 int l = static_cast<int>(floorf(rect.origin.x));
43 int t = static_cast<int>(floorf(rect.origin.y));
44 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect)));
45 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));
  /external/webkit/WebCore/platform/graphics/chromium/
IconChromiumWin.cpp 62 void Icon::paint(GraphicsContext* context, const IntRect& rect)
68 DrawIconEx(hdc, rect.x(), rect.y(), m_icon, rect.width(), rect.height(), 0, 0, DI_NORMAL);
  /frameworks/base/graphics/java/android/graphics/
LargeBitmap.java 54 * Decodes a rectangle region in the image specified by rect.
56 * @param rect The rectangle that specified the region to be decode.
62 public Bitmap decodeRegion(Rect rect, BitmapFactory.Options options) {
64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
66 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top
    [all...]
  /external/libvpx/vp8/decoder/
xprintf.c 65 RECT rect; local
76 rect.left = 0;
77 rect.top = 0;
78 rect.right = 8 * strlen(sz_formatted);
79 rect.bottom = 8;
86 hbm_temp = create_bitmap(rect.right, rect.bottom, 1, 1, NULL);
113 b_rc = bit_blt(hdc_memory, rect.left, rect.top, rect.right, rect.bottom, hdc_memory, rect.left, rect.top, BLACKNESS)
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
IntRectMac.mm 38 IntRect enclosingIntRect(const NSRect& rect)
40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
42 int r = static_cast<int>(ceilf(NSMaxX(rect)));
43 int b = static_cast<int>(ceilf(NSMaxY(rect)));
  /external/chromium/base/gfx/
rect.cc 5 #include "base/gfx/rect.h"
35 Rect::Rect() {
38 Rect::Rect(int width, int height) {
43 Rect::Rect(int x, int y, int width, int height)
49 Rect::Rect(const gfx::Point& origin, const gfx::Size& size)
54 Rect::Rect(const RECT& r
    [all...]
  /external/webkit/WebCore/platform/android/
ScreenAndroid.cpp 71 IntRect rect = page->root()->platformWidget()->getBounds(); local
72 return FloatRect(0.0, 0.0, rect.width(), rect.height());
79 IntRect rect = page->root()->platformWidget()->getBounds(); local
80 return FloatRect(0.0, 0.0, rect.width(), rect.height());
ScrollViewAndroid.cpp 57 IntRect rect = platformWidget()->getBounds(); local
60 return IntRect(0, 0, rect.width(), rect.height());
61 return rect;
103 void ScrollView::platformRepaintContentRectangle(const IntRect &rect, bool now)
105 android::WebViewCore::getWebViewCore(this)->contentInvalidate(rect);
110 // vis from rect. This can compute up to four rectangular slices.
111 void ScrollView::platformOffscreenContentRectangle(const IntRect& vis, const IntRect& rect)
113 SkRegion rectRgn = SkRegion(rect);
117 const SkIRect& diff = iter.rect();
    [all...]
  /external/webkit/WebCore/platform/wx/
ScreenWx.cpp 39 FloatRect scaleScreenRectToWidget(FloatRect rect, Widget*)
41 return rect;
44 FloatRect scaleWidgetRectToScreen(FloatRect rect, Widget*)
46 return rect;
  /external/webkit/WebCore/rendering/
RenderOverflow.h 127 inline void RenderOverflow::addLayoutOverflow(const IntRect& rect)
129 m_topLayoutOverflow = std::min(rect.y(), m_topLayoutOverflow);
130 m_bottomLayoutOverflow = std::max(rect.bottom(), m_bottomLayoutOverflow);
131 m_leftLayoutOverflow = std::min(rect.x(), m_leftLayoutOverflow);
132 m_rightLayoutOverflow = std::max(rect.right(), m_rightLayoutOverflow);
135 inline void RenderOverflow::addVisualOverflow(const IntRect& rect)
137 m_topVisualOverflow = std::min(rect.y(), m_topVisualOverflow);
138 m_bottomVisualOverflow = std::max(rect.bottom(), m_bottomVisualOverflow);
139 m_leftVisualOverflow = std::min(rect.x(), m_leftVisualOverflow);
140 m_rightVisualOverflow = std::max(rect.right(), m_rightVisualOverflow)
    [all...]
RenderMediaControlsChromium.cpp 63 static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image)
65 IntRect imageRect = image->rect();
66 context->drawImage(image, DeviceColorSpace, rect);
70 static bool paintMediaMuteButton(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect)
81 return paintMediaButton(paintInfo.context, rect, soundDisabled);
83 return paintMediaButton(paintInfo.context, rect, mediaElement->muted() ? soundNone: soundFull);
86 static bool paintMediaPlayButton(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect)
97 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled);
99 return paintMediaButton(paintInfo.context, rect, mediaElement->paused() ? mediaPlay : mediaPause);
102 static bool paintMediaSlider(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect)
    [all...]
  /external/webkit/WebCore/platform/gtk/
GtkPluginWidget.cpp 53 GdkRectangle rect = _rect;
54 gdk_window_invalidate_rect(window, &rect, FALSE);
59 IntRect rect = frameRect(); local
60 IntPoint loc = parent()->contentsToWindow(rect.location());
61 GtkAllocation allocation = { loc.x(), loc.y(), rect.width(), rect.height() };
63 gtk_widget_set_size_request(platformWidget(), rect.width(), rect.height());
68 void GtkPluginWidget::paint(GraphicsContext* context, const IntRect& rect)
82 event->expose.area = static_cast<GdkRectangle>(rect);
    [all...]

Completed in 438 milliseconds

1 2 3 4 5 6 7 8 91011>>