/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
LegacyCACFLayerTreeHost.cpp | 139 RECT rect; 140 GetClientRect(window(), &rect); local 142 if (rect.left-rect.right == 0 || rect.bottom-rect.top == 0) { 276 D3DRECT rect; local 277 rect.x1 = r->origin.x; 278 rect.x2 = rect.x1 + r->size.width [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContext3DCG.cpp | 268 CGRect rect = CGRectMake(0, 0, canvasWidth, canvasHeight); local 274 CGContextDrawImage(context, rect, cgImage.get());
|
/external/webkit/Source/WebCore/rendering/ |
RenderVideo.cpp | 134 void RenderVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect) 136 RenderMedia::imageChanged(newImage, rect); 198 IntRect rect = videoBox(); local 199 if (rect.isEmpty()) 201 rect.move(tx, ty); 204 paintIntoRect(paintInfo.context, rect); 206 mediaPlayer->paintCurrentFrameInContext(paintInfo.context, rect); 208 mediaPlayer->paint(paintInfo.context, rect);
|
/external/webkit/Source/WebCore/rendering/svg/ |
RenderSVGInlineText.cpp | 117 // Use the edge of the selection rect to determine the caret rect. 119 IntRect rect = textBox->selectionRect(0, 0, caretOffset, caretOffset + 1); local 120 int x = box->isLeftToRightDirection() ? rect.x() : rect.maxX(); 121 return IntRect(x, rect.y(), caretWidth, rect.height()); 124 IntRect rect = textBox->selectionRect(0, 0, caretOffset - 1, caretOffset); local 125 int x = box->isLeftToRightDirection() ? rect.maxX() : rect.x() [all...] |
RenderSVGPath.cpp | 247 IntRect rect = enclosingIntRect(repaintRectInLocalCoordinates()); local 248 if (!rect.isEmpty()) 249 rects.append(rect);
|
/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 23 #include <ui/Rect.h> 93 Rect* inOutDirtyBounds) { 132 Rect rect; local 134 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 135 rect.top = GET_INT(dirtyRect, gRectClassInfo.top); 136 rect.right = GET_INT(dirtyRect, gRectClassInfo.right); 137 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 139 rect.set(Rect(0x3FFF, 0x3FFF)) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyImage.java | 144 args = {"rect"}, 153 PyTuple rect = (PyTuple) ap.getPyObjectByType(0, PyTuple.TYPE); local 154 int x = rect.__getitem__(0).asInt(); 155 int y = rect.__getitem__(1).asInt(); 156 int w = rect.__getitem__(2).asInt(); 157 int h = rect.__getitem__(3).asInt();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectTest.java | 19 import android.graphics.Rect; 27 @TestTargetClass(Rect.class) 29 private Rect mRect; 40 method = "Rect", 45 method = "Rect", 50 method = "Rect", 51 args = {android.graphics.Rect.class} 57 // new the Rect instance 58 mRect = new Rect(); 61 // new the Rect instanc 65 Rect rect = new Rect(10, 10, 20, 20); local 94 Rect rect = new Rect(1, 2, 3, 4); local 261 Rect rect; local 393 Rect rect; local 461 Rect rect; local 562 Rect rect = new Rect(1, 2, 3, 4); local 665 Rect rect; local 697 Rect rect = Rect.unflattenFromString(flattenString); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
GradientDrawableTest.java | 34 import android.graphics.Rect; 349 args = {android.graphics.Rect.class} 371 args = {android.graphics.Rect.class} 377 Rect rect = new Rect(); local 378 assertFalse(gradientDrawable.getPadding(rect)); 379 assertEquals(0, rect.left); 380 assertEquals(0, rect.top); 381 assertEquals(0, rect.right) [all...] |
/development/samples/BrowserPlugin/jni/paint/ |
PaintPlugin.cpp | 107 // clip the canvas to the dirty rect b/c the surface is only required to 108 // copy a minimum of the dirty rect and may copy more. The clipped canvas 283 ANPRectF* rect = validTouch(evt->data.touch.x, evt->data.touch.y); local 284 if(rect == &m_drawingSurface) { 318 ANPRectF* rect = validTouch(evt->data.mouse.x, evt->data.mouse.y); local 319 if (rect == &m_drawingSurface) 321 else if (rect == &m_inputToggle) 323 else if (rect == &m_colorToggle) 325 else if (rect == &m_fullScreenToggle) 327 else if (rect == &m_clearSurface [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
user_view.cc | 19 #include "ui/gfx/rect.h" 46 SkRect rect = {0, 0, w, h}; local 48 path.addRoundRect(rect, 202 SetBoundsRect(gfx::Rect(origin, size));
|
/external/chromium/chrome/browser/ui/views/ |
about_ipc_dialog.cc | 219 views::Window::CreateChromeWindow(NULL, gfx::Rect(), 280 RECT rect = {0, 0, 10, 10}; local 282 rect, NULL, WS_CHILD | WS_VISIBLE | LVS_SORTASCENDING);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
bubble_border.cc | 34 gfx::Rect BubbleBorder::GetBounds(const gfx::Rect& position_relative_to, 113 return gfx::Rect(x, y, border_size.width(), border_size.height()); 427 // The border of this view creates an anti-aliased round-rect region for the 436 gfx::Rect bounds(view->GetContentsBounds()); 437 SkRect rect; local 438 rect.set(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y()), 441 path.addRoundRect(rect, radius, radius);
|
/external/libpng/contrib/gregbook/ |
rpng-win.c | 540 RECT rect; local 594 rect.left = 0L; 595 rect.top = (LONG)lastrow; 596 rect.right = (LONG)image_width; /* possibly off by one? */ 597 rect.bottom = (LONG)lastrow + 16L; /* possibly off by one? */ 598 InvalidateRect(global_hwnd, &rect, FALSE); 606 rect.left = 0L; 607 rect.top = (LONG)lastrow; 608 rect.right = (LONG)image_width; /* possibly off by one? * [all...] |
/external/opencv/cv/src/ |
cvsamplers.cpp | 92 CvRect rect; local 98 rect.x = 0; 102 rect.x = -ip.x; 103 if( rect.x > win_size.width ) 104 rect.x = win_size.width; 108 rect.width = win_size.width; 111 rect.width = src_size.width - ip.x - 1; 112 if( rect.width < 0 ) 114 src += rect.width*pix_size; 115 rect.width = 0 [all...] |
/external/opencv/cvaux/src/ |
cvface.cpp | 93 //class RFace(rect based face) 120 inline bool RFace::isPointInRect(CvPoint p,CvRect rect) 122 if ( (p.x >= rect.x) && (p.y >= rect.y) && (p.x <= rect.x + rect.width) && (p.y <= rect.y + rect.height) ) 126 }//inline bool RFace::isPointInRect(CvPoint,CvRect rect) 138 CvRect Rect = *(CvRect*)lpCandidat 305 CvRect rect = *(CvRect*)m_lppFoundedFaceFeatures[i][j].GetContour(); local [all...] |
cvfacedetection.cpp | 313 CvRect rect = pRect->r; local 314 if (rect.width >= 2*rect.height) 317 lpFaceTemplate1 = new MouthFaceTemplate(3,rect,3*(double)rect.width/(double)4, 318 3*(double)rect.width/(double)4, 319 (double)rect.width/(double)2, 320 (double)rect.width/(double)2);
|
/external/qemu/android/skin/ |
file.h | 24 SkinRect rect; member in struct:SkinBackground 29 SkinRect rect; /* display rectangle */ member in struct:SkinDisplay 40 SkinRect rect; member in struct:SkinButton 50 SkinRect rect; /* bounding box of all parts */ member in struct:SkinPart
|
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_sysvideo.cc | 618 BRect rect; local 620 rect.top = rects[i].y; 621 rect.left = rects[i].x; 622 rect.bottom = rect.top+rects[i].h-1; 623 rect.right = rect.left+rects[i].w-1; 624 SDL_Win->DrawAsync(rect);
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
SDL_macevents.c | 320 Rect rect; local 326 GetWindowUserState(SDL_Window, &rect); 328 GetWindowStandardState(SDL_Window, &rect); 330 SDL_PrivateResize (rect.right-rect.left, 331 rect.bottom-rect.top);
|
/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/qemu/distrib/sdl-1.2.12/src/video/svga/ |
SDL_svgavideo.c | 493 SDL_Rect *rect; local 503 rect = &rects[i]; 504 x = rect->x; 505 y = rect->y; 506 w = rect->w * bpp; 507 h = rect->h;
|
/external/skia/include/core/ |
SkRegion.h | 109 * If rect is non-empty, set this region to that rectangle and return true, 122 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is 208 bool quickReject(const SkIRect& rect) const { 209 return this->isEmpty() || rect.isEmpty() || 210 !SkIRect::Intersects(fBounds, rect); 249 * specified rectangle: this = (this op rect). 252 bool op(const SkIRect& rect, Op op) { return this->op(*this, rect, op); } 256 * specified rectangle: this = (this op rect). 260 SkIRect rect; local 313 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Iterator 333 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Cliperator [all...] |
/external/skia/samplecode/ |
SampleDraw.cpp | 13 SkRect rect = SkRect::MakeXYWH(25, 25, 50, 50); local 14 c.drawRect(rect, paint); 16 c.clipRect(rect); 19 rect = SkRect::MakeXYWH(50, 10, 40, 80); 20 c.clipRect(rect, SkRegion::kUnion_Op); 22 rect = SkRect::MakeXYWH(50, 0, 50, 100); 25 // c.drawRect(rect, paint); 27 c.drawRect(rect, paint);
|
/external/skia/src/views/ |
SkWindow.cpp | 163 RECT rect; local 164 GetWindowRect((HWND)((SkOSWindow*)this)->getHWND(), &rect); 165 buffer += rect.top * gDisplayProps.cbyPitch + rect.left * gDisplayProps.cbxPitch; 327 this->onHandleInval(iter.rect());
|