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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/WebKit/android/plugins/
PluginWidgetAndroid.cpp 142 // returned rect is in the page coordinate
143 bool PluginWidgetAndroid::isDirty(SkIRect* rect) const {
153 if (rect) {
154 *rect = dirty.getBounds();
155 rect->offset(m_pluginWindow->x, m_pluginWindow->y);
161 void PluginWidgetAndroid::inval(const WebCore::IntRect& rect,
169 m_flipPixelRef->inval(rect);
431 // create a rect that will contain as many of the rects that will fit on screen
437 ANPRectI* rect = &m_requestedVisibleRects[counter]; local
439 // create skia rect for easier manipulation and convert it to page coordinate
    [all...]
ANPCanvasInterface.cpp 63 static void anp_clipRect(ANPCanvas* canvas, const ANPRectF* rect) {
65 canvas->skcanvas->clipRect(*SkANP::SetRect(&r, *rect));
114 static void anp_drawRect(ANPCanvas* canvas, const ANPRectF* rect,
117 canvas->skcanvas->drawRect(*SkANP::SetRect(&r, *rect), *paint);
120 static void anp_drawOval(ANPCanvas* canvas, const ANPRectF* rect,
123 canvas->skcanvas->drawOval(*SkANP::SetRect(&r, *rect), *paint);
  /external/qemu/android/skin/
composer.h 15 #include "android/skin/rect.h"
91 SkinRect rect; member in struct:SkinViewport
97 extern SkinViewport* skin_viewport( SkinPlate* space, SkinRect* rect, void* surface, int sx, int sy );
region.c 220 runs_set_rect( Run* runs, SkinRect* rect )
222 runs[0] = rect->pos.y;
223 runs[1] = rect->pos.y + rect->size.h;
224 runs[2] = rect->pos.x;
225 runs[3] = rect->pos.x + rect->size.w;
390 skin_region_init_rect( SkinRegion* r, SkinRect* rect )
392 if (rect == NULL || rect->size.w <= 0 || rect->size.h <= 0)
1217 SkinRect rect; local
1327 SkinRect rect; local
    [all...]
  /external/webkit/WebCore/platform/mac/
ScrollViewMac.mm 162 void ScrollView::platformRepaintContentRectangle(const IntRect& rect, bool now)
166 [view setNeedsDisplayInRect:rect];
176 IntRect ScrollView::platformContentsToScreen(const IntRect& rect) const
180 NSRect tempRect = rect;
  /external/webkit/WebCore/platform/wx/
RenderThemeWx.cpp 268 IntRect rect = r; local
281 rect.setX(r.x() + (int)xtrans);
282 rect.setY(r.y() + (int)ytrans);
296 wxRendererNative::Get().DrawPushButton(window, *dc, rect, flags);
301 wxRendererNative::Get().DrawRadioBitmap(window, *dc, rect, flags);
303 wxRendererNative::Get().DrawRadioButton(window, *dc, rect, flags);
305 wxRenderer_DrawRadioButton(window, *dc, rect, flags);
311 wxRendererNative::Get().DrawCheckBox(window, *dc, rect, flags);
  /external/webkit/WebKit/mac/WebInspector/
WebNodeHighlightView.mm 68 - (void)drawRect:(NSRect)rect
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 21 import android.graphics.Rect;
283 private Rect mContentInsetsBuffer = null;
284 private Rect mVisibleInsetsBuffer = null;
297 * Translate the screen rect to the application frame.
299 public void translateRectInScreenToAppWinFrame(Rect rect) {
300 rect.scale(applicationInvertedScale);
352 * Translate a Rect in application's window to screen.
354 public void translateRectInAppWindowToScreen(Rect rect) {
    [all...]
  /external/webkit/WebCore/rendering/
RenderImage.cpp 261 void RenderImage::imageChanged(WrappedImagePtr newImage, const IntRect* rect)
267 RenderReplaced::imageChanged(newImage, rect);
310 if (rect) {
311 // The image changed rect is in source image coordinates (pre-zooming),
313 repaintRect = enclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), imageSize(1.0f)), contentBoxRect()));
374 // Draw an outline rect where the image should be.
390 // the ouline rect so the error image/alt text doesn't draw on it.
438 IntRect rect(IntPoint(tx + leftBorder + leftPad, ty + topBorder + topPad), contentSize);
439 paintIntoRect(context, rect);
488 void RenderImage::paintIntoRect(GraphicsContext* context, const IntRect& rect)
    [all...]
  /external/webkit/WebKit/chromium/src/
ChromiumBridge.cpp 487 const IntRect& rect)
490 gc->platformContext()->canvas(), part, state, classicState, rect);
495 const IntRect& rect)
498 gc->platformContext()->canvas(), part, state, classicState, rect);
503 const IntRect& rect)
506 gc->platformContext()->canvas(), state, classicState, rect);
511 const IntRect& rect)
514 gc->platformContext()->canvas(), part, state, classicState, rect);
519 const IntRect& rect, const IntRect& alignRect)
522 gc->platformContext()->canvas(), part, state, classicState, rect,
    [all...]
  /external/webkit/WebCore/platform/graphics/cairo/
PathCairo.cpp 107 void Path::addRect(const FloatRect& rect)
110 cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height());
229 void Path::addEllipse(const FloatRect& rect)
233 float yRadius = .5 * rect.height();
234 float xRadius = .5 * rect.width();
235 cairo_translate(cr, rect.x() + xRadius, rect.y() + yRadius)
    [all...]
  /external/webkit/WebCore/platform/gtk/
RenderThemeGtk.cpp 281 static bool paintMozillaGtkWidget(const RenderThemeGtk* theme, GtkThemeWidgetType type, RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& rect)
312 IntPoint pos = ctm.mapPoint(rect.location());
313 GdkRectangle gdkRect = IntRect(pos.x(), pos.y(), rect.width(), rect.height());
383 bool RenderThemeGtk::paintCheckbox(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& rect)
385 return paintMozillaGtkWidget(this, MOZ_GTK_CHECKBUTTON, o, i, rect);
393 bool RenderThemeGtk::paintRadio(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& rect)
395 return paintMozillaGtkWidget(this, MOZ_GTK_RADIOBUTTON, o, i, rect);
414 bool RenderThemeGtk::paintButton(RenderObject* o, const RenderObject::PaintInfo& i, const IntRect& rect)
416 return paintMozillaGtkWidget(this, MOZ_GTK_BUTTON, o, i, rect);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Canvas.java 30 * the draw calls (writing into the bitmap), a drawing primitive (e.g. Rect,
459 * @param rect The rect to intersect with the current clip
463 public boolean clipRect(RectF rect, Region.Op op) {
465 rect.left, rect.top, rect.right, rect.bottom,
473 * @param rect The rectangle to intersect with the current clip.
477 public boolean clipRect(Rect rect, Region.Op op)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_events.c 53 PhRect_t *rect = PhGetRects( winEvent ); local
63 dx = rect->ul.x - centre_x;
64 dy = rect->ul.y - centre_y;
113 PhRect_t* rect; local
143 rect = PhGetRects(phevent);
151 posted = SDL_PrivateMouseMotion(0, 0, rect->ul.x, rect->ul.y);
292 rect = PhGetRects(phevent);
301 sdlrects[i].x = rect[i].ul.x;
302 sdlrects[i].y = rect[i].ul.y
    [all...]
  /external/skia/src/core/
SkScan_Antihair.cpp 470 const SkIRect* r = &iter.rect();
483 void SkScan::AntiHairRect(const SkRect& rect, const SkRegion* clip, SkBlitter* blitter)
487 p0.set(rect.fLeft, rect.fTop);
488 p1.set(rect.fRight, rect.fTop);
490 p0.set(rect.fRight, rect.fBottom);
492 p1.set(rect.fLeft, rect.fBottom)
    [all...]
SkPictureRecord.h 27 virtual bool clipRect(const SkRect& rect, SkRegion::Op op);
33 virtual void drawRect(const SkRect& rect, const SkPaint&);
113 void addRect(const SkRect& rect);
114 void addRectPtr(const SkRect* rect);
115 void addIRectPtr(const SkIRect* rect);
  /external/webkit/WebCore/plugins/mac/
PluginViewMac.cpp 214 ::Rect windowBounds = { 0, 0, 1000, 1000 };
478 void PluginView::paint(GraphicsContext* context, const IntRect& rect)
481 paintMissingPluginIcon(context, rect);
501 targetRect.intersects(rect);
541 void PluginView::invalidateRect(const IntRect& rect)
545 platformPluginWidget()->update(convertToContainingWindow(rect));
547 platformPluginWidget()->RefreshRect(convertToContainingWindow(rect));
550 invalidateWindowlessPluginRect(rect);
553 void PluginView::invalidateRect(NPRect* rect)
555 IntRect r(rect->left, rect->top, rect->right - rect->left, rect->bottom - rect->top)
    [all...]
  /external/webkit/WebCore/platform/
ScrollView.cpp 279 IntRect rect = r;
284 view->setScrollPosition(rect.location());
285 rect.move(view->x() - view->scrollOffset().width(), view->y() - view->scrollOffset().height());
287 rect.intersect(view->frameRect());
295 // This rect is not clamped, since Mail actually relies on receiving an unclamped rect with negative coordinates in order to
298 hostWindow()->scrollRectIntoView(rect, this);
501 // with the clip rect every time to keep it smooth.
561 IntRect ScrollView::contentsToScreen(const IntRect& rect) const
564 return platformContentsToScreen(rect);
715 platformOffscreenContentRectangle(visibleContentRect(), rect); local
    [all...]
  /external/webkit/WebCore/plugins/android/
PluginViewAndroid.cpp 284 IntRect rect = IntRect(m_npWindow.x, m_npWindow.y, local
286 m_window->webViewCore()->contentInvalidate(rect);
411 plugin of its current rect and (2) that we execute our logic in
564 void PluginView::invalidateRect(NPRect* rect)
568 if (rect) {
569 r = IntRect(rect->left, rect->top,
570 rect->right - rect->left, rect->bottom - rect->top)
    [all...]
  /external/webkit/WebKit/android/nav/
FindCanvas.cpp 152 SkRect rect; local
153 rect.fLeft = pos[0] + before;
155 rect.fRight = paint.measureText(glyphs, countInBytes, 0) + rect.fLeft;
159 rect.fTop = baseline + fontMetrics.fAscent;
160 rect.fBottom = baseline + fontMetrics.fDescent;
162 matrix.mapRect(&rect);
169 return rect;
192 /* Accumulate and then add the resulting rect to mMatches */
359 SkRect rect = (this->*addMatch)(matchIndex, paint local
660 const SkIRect& rect = (*m_matches)[i].getLocation().getBounds(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
FocusFinderTest.java 19 import android.graphics.Rect;
42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom)
43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom)
48 final Rect src = new Rect(0, 30, 10, 40);
50 final Rect dest = new Rect(src);
62 new Rect(0, 0, 50, 50),
63 new Rect(0, 1, 50, 49));
71 new Rect(0, 0, 50, 50)
100 final Rect rect = new Rect(0, 0, 20, 20); local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
SDL_fbmatrox.c 65 static int FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color)
92 dstX += rect->x;
93 dstY += rect->y;
96 fxbndry = (dstX | ((dstX+rect->w) << 16));
99 ydstlen = (rect->h | (dstY << 16));
  /external/skia/src/views/
SkWindow.cpp 130 RECT rect; local
131 GetWindowRect((HWND)((SkOSWindow*)this)->getHWND(), &rect);
132 buffer += rect.top * gDisplayProps.cbyPitch + rect.left * gDisplayProps.cbxPitch;
282 this->onHandleInval(iter.rect());
  /external/webkit/WebKit/win/WebCoreSupport/
WebInspectorDelegate.h 115 /* [in] */ RECT*) { return E_NOTIMPL; }
119 /* [retval][out] */ RECT*) { return E_NOTIMPL; }
123 /* [in] */ RECT*) { return E_NOTIMPL; }
127 /* [retval][out] */ RECT*) { return E_NOTIMPL; }
270 /* [in] */ RECT *rect,
275 /* [in] */ RECT *rect,
282 /* [retval][out] */ RECT *rect) { return E_NOTIMPL; }
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureStroke.java 163 final RectF rect = boundingBox; local
165 GestureUtils.translate(pts, -rect.left, -rect.top);
167 float sx = width / rect.width();
168 float sy = height / rect.height();

Completed in 2024 milliseconds

1 2 3 4 5 6 7 8 91011>>