/external/skia/include/images/ |
SkFlipPixelRef.h | 36 void inval(const SkIRect& rect) { fFlipper.inval(rect); }
|
/external/webkit/WebCore/page/mac/ |
FrameMac.mm | 66 - (void)drawSingleRect:(NSRect)rect; 300 NSImage* Frame::imageFromRect(NSRect rect) const 315 // Round image rect size in window coordinate space to avoid pixel cracks at HiDPI (4622794) 316 rect = [view convertRect:rect toView:nil]; 317 rect.size.height = roundf(rect.size.height); 318 rect.size.width = roundf(rect.size.width); 319 rect = [view convertRect:rect fromView:nil] [all...] |
/external/webkit/WebCore/platform/ |
ScrollbarThemeComposite.h | 67 virtual IntRect constrainTrackRectToTrackPieces(Scrollbar*, const IntRect& rect) { return rect; }
|
/external/webkit/WebCore/platform/graphics/qt/ |
GradientQt.cpp | 85 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) 87 context->platformContext()->fillRect(rect, *platformGradient());
|
/external/webkit/WebCore/rendering/ |
RenderDataGrid.cpp | 159 // Paint the column header if it intersects the dirty rect. 160 IntRect columnRect(column->rect()); 162 if (columnRect.intersects(paintInfo.rect)) 196 IntRect rect = scrollbarRect; 200 rect.move(scrollbarLeft, scrollbarTop); 202 return view->frameView()->convertFromRenderer(this, rect); 211 IntRect rect = view->frameView()->convertToRenderer(this, parentRect); 215 rect.move(-scrollbarLeft, -scrollbarTop); 216 return rect;
|
RenderVideo.cpp | 105 void RenderVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect) 107 RenderMedia::imageChanged(newImage, rect); 163 IntRect rect = videoBox(); local 164 if (rect.isEmpty()) 166 rect.move(tx, ty); 168 paintIntoRect(paintInfo.context, rect); 170 mediaPlayer->paint(paintInfo.context, rect);
|
/external/webkit/WebKit/android/nav/ |
SelectText.h | 56 void setVisibleRect(const IntRect& rect) { m_visibleRect = rect; }
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/parts/ |
ElementFigure.java | 54 public void setBounds(Rectangle rect) { 55 super.setBounds(rect);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 28 import android.graphics.Rect; 88 Rect rect = dynamicDrawableSpan.getDrawable().getBounds(); local 89 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm)); 91 assertEquals(-rect.bottom, fm.ascent); 95 assertEquals(-rect.bottom, fm.top); 97 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null));
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fb3dfx.c | 52 static int FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color) 73 dstX = rect->x; 74 dstY = rect->y; 82 tdfx_out32(DSTSIZE, rect->w | (rect->h << 16));
|
SDL_fbriva.c | 73 static int FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color) 88 dstW = rect->w; 89 dstH = rect->h; 93 dstX += rect->x; 94 dstY += rect->y;
|
/external/webkit/WebCore/inspector/ |
TimelineRecordFactory.cpp | 135 ScriptObject TimelineRecordFactory::createPaintData(InspectorFrontend* frontend, const IntRect& rect) 138 data.set("x", rect.x()); 139 data.set("y", rect.y()); 140 data.set("width", rect.width()); 141 data.set("height", rect.height());
|
/external/webkit/WebCore/platform/graphics/ |
FloatRect.cpp | 113 IntRect enclosingIntRect(const FloatRect& rect) 115 int l = static_cast<int>(floorf(rect.x())); 116 int t = static_cast<int>(floorf(rect.y())); 117 int r = static_cast<int>(ceilf(rect.right())); 118 int b = static_cast<int>(ceilf(rect.bottom()));
|
/external/webkit/WebCore/platform/gtk/ |
PopupMenuGtk.cpp | 49 void PopupMenu::show(const IntRect& rect, FrameView* view, int index) 61 m_menuPosition = view->contentsToWindow(rect.location()); 62 m_menuPosition = IntPoint(m_menuPosition.x() + x, m_menuPosition.y() + y + rect.height()); 89 gtk_widget_set_size_request(GTK_WIDGET(m_popup.get()), std::max(rect.width(), requisition.width), -1); 105 m_menuPosition.setY(m_menuPosition.y() - rect.height() / 2);
|
/external/webkit/WebKit/win/WebCoreSupport/ |
EmbeddedWidget.cpp | 71 void EmbeddedWidget::invalidateRect(const IntRect& rect)
76 RECT r = rect;
80 void EmbeddedWidget::setFrameRect(const IntRect& rect)
85 if (rect != frameRect())
86 Widget::setFrameRect(rect);
115 // update process by clipping the window to the zero rect.
169 // Take our element and get the clip rect from the enclosing layer and frame view.
|
WebInspectorClient.cpp | 63 static IntRect rect(60, 200, 750, 650); 64 return rect; 121 RECT rect; 122 GetClientRect(m_hwnd, &rect); 123 if (FAILED(m_webView->initWithFrame(rect, 0, 0))) 262 RECT hostWindowRect; 265 RECT inspectedRect; 408 RECT rect; local [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
ResolutionChooserDialog.java | 64 Rectangle rect = mMonitors[mMonitorIndex].getBounds(); local 67 double d = Math.sqrt(rect.width * rect.width + rect.height * rect.height) / size;
|
/external/skia/src/gl/ |
SkGLDevice.cpp | 120 // else we're just a rect, and we've already call scissor 291 static void setStrokeRectStrip(SkGLVertex verts[10], const SkRect& rect, 295 verts[0].setScalars(rect.fLeft + rad, rect.fTop + rad); 296 verts[1].setScalars(rect.fLeft - rad, rect.fTop - rad); 297 verts[2].setScalars(rect.fRight - rad, rect.fTop + rad); 298 verts[3].setScalars(rect.fRight + rad, rect.fTop - rad) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/aalib/ |
SDL_aavideo.c | 331 SDL_Rect *rect; local 340 rect = &rects[i]; 341 printf("(%d,%d-%d,%d)", rect->x, rect->y, rect->w, rect->h); 342 aa_renderpalette(AA_context, AA_palette, AA_rparams, rect->x * AA_x_ratio, rect->y * AA_y_ratio, rect->w * AA_x_ratio, rect->h * AA_y_ratio) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemvideo.c | 99 static void GEM_ClearRect(_THIS, short *rect); 103 static void refresh_window(_THIS, int winhandle, short *rect); 503 static void GEM_ClearRect(_THIS, short *rect) 513 v_bar(VDI_handle, rect); 1180 static void refresh_window(_THIS, int winhandle, short *rect) 1205 GEM_ClearRect(this, rect); 1217 dst_rect[0] = rect[0]-wind_pxy[0]; 1218 dst_rect[1] = rect[1]-wind_pxy[1]; 1219 dst_rect[2] = rect[2]-rect[0]+1 [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
YuvImageTest.java | 31 import android.graphics.Rect; 74 private Rect[] mRects = { new Rect(0, 0, 0 + mRectWidths[0], 0 + mRectHeights[0]), 75 new Rect(10, 10, 10 + mRectWidths[0], 10 + mRectHeights[0]), 76 new Rect(0, 0, 0 + mRectWidths[1], 0 + mRectHeights[1]), 77 new Rect(11, 11, 11 + mRectWidths[1], 11 + mRectHeights[1]) }; 80 private Rect[] mRectsShifted = { mRects[0], mRects[1] }; 82 // A rect whose side lengths are odd. 83 private Rect mRectOddSides = new Rect(10, 10, 10 + mRectWidths[2] 394 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 403 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 412 Rect rect = new Rect(0, 0, WIDTH, HEIGHT); local 421 Rect rect = new Rect(10, 0, WIDTH, HEIGHT + 5); local [all...] |
/external/webkit/WebKitExamplePlugins/NetscapeCocoaPlugin/ |
main.m | 206 NSRect rect = NSMakeRect(0, 0, obj->window.width, obj->window.height); 209 [NSBezierPath fillRect:rect]; 214 NSBezierPath *path = [NSBezierPath bezierPathWithRect:rect]; 254 NPRect rect; 255 rect.left = 0; 256 rect.top = 0; 257 rect.right = obj->window.width; 258 rect.bottom = obj->window.height; 260 browser->invalidaterect(obj->npp, &rect);
|
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 179 static int DSp_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color); 438 Rect bounds; 934 Rect rect; local 938 SetRect (&rect, 0, 0, width, height); 955 PaintRect (&rect); 982 Rect rect; local 986 SetRect (&rect, 0, 0, surface->w, surface->h); 988 if ( noErr != NewGWorld (&(surface->hwdata->mask), depth, &rect, 0, SDL_Display, 0 ) < 0 ) 1239 Rect rect; local 1266 &rect, &rect, srcCopy, NULL ); local 1302 Rect rect; local [all...] |
/external/skia/src/images/ |
SkImageDecoder_fpdfemb.cpp | 213 FPDFEMB_RECT rect; local 214 result = FPDFEMB_GetPageBBox(page, &rect); 215 SkDebugf("----- SkImageDecoder_FPDFEMB_Factory page rect %d [%d %d %d %d]\n", result, 216 rect.left, rect.top, rect.right, rect.bottom); 223 this->render(page, rect, bm, prefConfig, mode);
|
/external/webkit/WebCore/platform/graphics/android/ |
GraphicsContextAndroid.cpp | 260 bool setup_paint_stroke(SkPaint* paint, SkRect* rect) { 279 if (rect != NULL && (RoundToInt(width) & 1)) { 280 rect->inset(-SK_ScalarHalf, -SK_ScalarHalf); 407 void GraphicsContext::drawRect(const IntRect& rect) 413 SkRect r(rect); 421 a stroke of 1 inside the rect. 555 void GraphicsContext::drawEllipse(const IntRect& rect) 561 SkRect oval(rect); 646 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, 664 path.addRoundRect(rect, radii) [all...] |