/frameworks/native/include/private/ui/ |
RegionHelper.h | 50 RECT const* rects; member in struct:android::region_operator::region 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } 57 : rects(r), count(c), dx(), dy() { } 59 : rects(r), count(c), dx(dx), dy(dy) { } 169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; 170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; 173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; 174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; 201 RECT const * rects = reg.rects local [all...] |
/external/skia/tests/ |
RTreeTest.cpp | 45 static bool verify_query(SkIRect query, DataRect rects[], 50 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) { 51 expected.push(rects[i].data); 71 static void runQueries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 77 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 82 DataRect rects[NUM_RECTS]; local 106 random_data_rects(rand, rects, NUM_RECTS); 110 rtree->insert(rects[i].data, rects[i].rect, true); 113 runQueries(reporter, rand, rects, *rtree) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11image.c | 81 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects); 82 static void X11_MITSHMUpdate(_THIS, int numrects, SDL_Rect *rects); 233 static void X11_NormalUpdate(_THIS, int numrects, SDL_Rect *rects) 238 if ( rects[i].w == 0 || rects[i].h == 0 ) { /* Clipped? */ 242 rects[i].x, rects[i].y, 243 rects[i].x, rects[i].y, rects[i].w, rects[i].h) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscosFullScreenVideo.c | 71 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 72 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects); 73 static void FULLSCREEN_UpdateRects8bpp(_THIS, int numrects, SDL_Rect *rects); 74 static void FULLSCREEN_UpdateRects16bpp(_THIS, int numrects, SDL_Rect *rects); 75 static void FULLSCREEN_UpdateRects32bpp(_THIS, int numrects, SDL_Rect *rects); 76 static void FULLSCREEN_UpdateRectsOS(_THIS, int numrects, SDL_Rect *rects); 242 /* Update rects is different if we have a backbuffer */ 377 static void FULLSCREEN_UpdateRects(_THIS, int numrects, SDL_Rect *rects) 382 static void FULLSCREEN_UpdateRectsMemCpy(_THIS, int numrects, SDL_Rect *rects) 391 from = this->hidden->bank[0] + rects->x * xmult + rects->y * pitch [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_image_c.h | 54 extern void ph_NormalUpdate(_THIS, int numrects, SDL_Rect* rects); 55 extern void ph_OCUpdate(_THIS, int numrects, SDL_Rect* rects); 56 extern void ph_OCDCUpdate(_THIS, int numrects, SDL_Rect* rects); 57 extern void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects);
|
SDL_ph_image.c | 959 void ph_OpenGLUpdate(_THIS, int numrects, SDL_Rect* rects) 967 void ph_NormalUpdate(_THIS, int numrects, SDL_Rect *rects) 975 if (rects[i].w==0) /* Clipped? dunno why but this occurs sometime. */ 980 if (rects[i].h==0) /* Clipped? dunno why but this occurs sometime. */ 985 ph_pos.x = rects[i].x; 986 ph_pos.y = rects[i].y; 987 ph_rect.ul.x = rects[i].x; 988 ph_rect.ul.y = rects[i].y; 989 ph_rect.lr.x = rects[i].x + rects[i].w [all...] |
/external/skia/src/effects/ |
SkBlurMaskFilter.cpp | 111 static bool drawRectsIntoMask(const SkRect rects[], int count, SkMask* mask) { 112 rects[0].roundOut(&mask->fBounds); 136 canvas.drawRect(rects[0], paint); 140 path.addRect(rects[0]); 141 path.addRect(rects[1]); 154 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count, 169 // for now, just skip too-large src rects (to take the old code path). 170 if (rect_exceeds(rects[0], SkIntToScalar(32767))) { 176 rects[0].roundOut(&srcM.fBounds); 211 rects[1].roundIn(&innerIR) [all...] |
/external/webkit/Source/WebCore/dom/ |
DocumentMarkerController.cpp | 105 Vector<IntRect>& rects = vectorPair->second; local 107 ASSERT(numMarkers == rects.size()); 119 rects.remove(i); 134 rects.remove(j); 145 rects.insert(i, placeholderRectForMarker()); 215 Vector<IntRect>& rects = vectorPair->second; local 216 ASSERT(markers.size() == rects.size()); 237 rects.remove(i); 248 rects.insert(i, placeholderRectForMarker()); 256 rects.insert(i, placeholderRectForMarker()) 288 Vector<IntRect>& rects = vectorPair->second; local 363 Vector<IntRect>& rects = vectorPair->second; local 425 Vector<IntRect>& rects = vectorPair->second; local 526 Vector<IntRect>& rects = vectorPair->second; local 546 Vector<IntRect>& rects = vectorPair->second; local [all...] |
/external/quake/quake/src/WinQuake/ |
vid_sunx.cpp | 1012 void VID_Update (vrect_t *rects) 1059 while (rects) 1061 printf("update: %d,%d (%d,%d)\n", rects->x, rects->y, rects->width, rects->height); 1064 rects->x, rects->y, rects->width, 1065 rects->height) [all...] |
vid_vga.cpp | 431 vrect_t *rects)
448 while (rects)
451 lvid->buffer + rects->x + (rects->y * lvid->rowbytes),
452 VGA_pagebase + rects->x + (rects->y * VGA_rowbytes),
453 rects->width,
454 rects->height,
458 rects = rects->pnext; [all...] |
vid_x.cpp | 957 void VID_Update (vrect_t *rects) 996 while (rects) 1000 rects->x, rects->y, rects->width, 1001 rects->height); 1004 rects->x, rects->y, rects->width, 1005 rects->height) [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebCoreJni.cpp | 127 jobjectArray intRectVectorToRectArray(JNIEnv* env, Vector<WebCore::IntRect>& rects) 133 jobjectArray array = env->NewObjectArray(rects.size(), rectClass, 0); 135 for (size_t i = 0; i < rects.size(); i++) { 137 rects[i].x(), rects[i].y(), 138 rects[i].maxX(), rects[i].maxY());
|
AndroidHitTestResult.cpp | 190 void setRectArray(JNIEnv* env, jobject obj, jfieldID field, Vector<IntRect> &rects) 192 jobjectArray array = intRectVectorToRectArray(env, rects); 212 Vector<IntRect> rects = enclosingParentRects(m_hitTestResult.innerNode()); local 213 setRectArray(env, hitTest, gHitTestGlue.m_EnclosingParentRects, rects); 246 Vector<IntRect> rects; local 258 rects.append(rect); 266 return rects;
|
/external/skia/legacy/src/core/ |
SkRegion_rects.cpp | 197 // fillout edge[] from rects[], sorted. Return the head, and set the tail 199 static VEdge* sort_edges(VEdge** edgePtr, VEdge edge[], const SkIRect rects[], 204 if (!rects[i].isEmpty()) { 205 VEdge::SetFromRect(edge, rects[i]); 213 // all the rects[] were empty 226 bool SkRegion::setRects(const SkIRect rects[], int rectCount) { 231 return this->setRect(rects[0]); 238 head = sort_edges(edgePtr, head, rects, rectCount, &tail); 246 // empty rects[]). rectCount now is just used for worst-case allocations
|
SkScanPriv.h | 35 // blit the rects above and below avoid, clipped to clip
|
/external/skia/src/core/ |
SkRegion_rects.cpp | 197 // fillout edge[] from rects[], sorted. Return the head, and set the tail 199 static VEdge* sort_edges(VEdge** edgePtr, VEdge edge[], const SkIRect rects[], 204 if (!rects[i].isEmpty()) { 205 VEdge::SetFromRect(edge, rects[i]); 213 // all the rects[] were empty 226 bool SkRegion::setRects(const SkIRect rects[], int rectCount) { 231 return this->setRect(rects[0]); 238 head = sort_edges(edgePtr, head, rects, rectCount, &tail); 246 // empty rects[]). rectCount now is just used for worst-case allocations
|
SkScanPriv.h | 36 // blit the rects above and below avoid, clipped to clip
|
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/ |
SDL_pgvideo.c | 52 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 290 static void PG_UpdateRects(_THIS, int numrects, SDL_Rect *rects) 295 if (rects[i].w <= 0 || rects[i].h <= 0) 303 rects[i].x, rects[i].y, 304 rects[i].w, rects[i].h); 307 rects[i].x, rects[i].y [all...] |
/external/skia/src/gpu/ |
GrClipData.cpp | 18 * the result of purely intersections of rects (with an initial replace)
|
/external/webkit/Source/WebCore/wml/ |
WMLAElement.cpp | 111 Vector<IntRect> rects; 113 renderer()->absoluteRects(rects, absPos.x(), absPos.y()); 114 size_t n = rects.size(); 116 if (!rects[i].isEmpty())
|
/external/webkit/Source/WebKit/android/nav/ |
DrawExtra.cpp | 54 void RegionLayerDrawExtra::addHighlightRegion(const LayerAndroid* layer, const Vector<IntRect>& rects, 58 if (rects.isEmpty()) 68 for (size_t i = 0; i < rects.size(); i++) { 69 IntRect r = rects.at(i);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
DrawingAreaImpl.cpp | 528 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects) 533 if (rects.size() <= 1 || rects.size() > rectThreshold) 536 // Attempt to guess whether or not we should use the region bounds rect or the individual rects. 541 for (size_t i = 0; i < rects.size(); ++i) 542 rectsArea += rects[i].width() * rects[i].height(); 581 Vector<IntRect> rects = m_dirtyRegion.rects(); 583 if (shouldPaintBoundsRect(bounds, rects)) { [all...] |
FindController.cpp | 200 // We want the text rects in selection rect coordinates. 228 Vector<IntRect> rects; local 243 rects.append(*it); 247 return rects; 297 Vector<IntRect> rects = rectsForTextMatches(); local 308 for (size_t i = 0; i < rects.size(); ++i) { 309 IntRect whiteFrameRect = rects[i]; 320 for (size_t i = 0; i < rects.size(); ++i) 321 graphicsContext.fillRect(rects[i]);
|
/external/quake/quake/src/QW/client/ |
vid_x.c | 882 void VID_Update (vrect_t *rects)
912 while (rects)
916 rects->x, rects->y, rects->width,
917 rects->height);
919 x_framebuffer[current_framebuffer], rects->x, rects->y,
920 rects->x, rects->y, rects->width, rects->height, True)) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nximage.c | 31 void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects) 44 x = rects [i].x, y = rects [i].y ; 45 w = rects [i].w, h = rects [i].h ;
|