/external/chromium_org/third_party/skia/tests/ |
GpuRectanizerTest.cpp | 35 const SkTDArray<SkISize>& rects) { 37 for (i = 0; i < rects.count(); ++i) { 39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { 47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { 51 test_rectanizer_inserts(reporter, &skylineRectanizer, rects); 54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { 58 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects); 62 SkTDArray<SkISize> rects; local 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2) [all...] |
RTreeTest.cpp | 44 static bool verify_query(SkIRect query, DataRect rects[], 49 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) { 50 expected.push(rects[i].data); 70 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 76 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 81 DataRect rects[NUM_RECTS]; local 103 random_data_rects(rand, rects, NUM_RECTS); 107 rtree->insert(rects[i].data, rects[i].rect, true); 110 run_queries(reporter, rand, rects, *rtree) [all...] |
BBoxHierarchyTest.cpp | 49 static bool verify_query(SkIRect query, DataRect rects[], 54 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) { 55 expected.push(rects[i].data); 75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 81 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 87 DataRect rects[NUM_RECTS]; local 113 random_data_rects(rand, rects, NUM_RECTS); 117 tree->insert(rects[i].data, rects[i].rect, true); 120 run_queries(reporter, rand, rects, *tree) [all...] |
/external/skia/tests/ |
GpuRectanizerTest.cpp | 35 const SkTDArray<SkISize>& rects) { 37 for (i = 0; i < rects.count(); ++i) { 39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { 47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { 51 test_rectanizer_inserts(reporter, &skylineRectanizer, rects); 54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) { 58 test_rectanizer_inserts(reporter, &pow2Rectanizer, rects); 62 SkTDArray<SkISize> rects; local 66 rects.push(SkISize::Make(rand.nextRangeU(1, kWidth / 2) [all...] |
RTreeTest.cpp | 44 static bool verify_query(SkIRect query, DataRect rects[], 49 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) { 50 expected.push(rects[i].data); 70 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 76 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 81 DataRect rects[NUM_RECTS]; local 103 random_data_rects(rand, rects, NUM_RECTS); 107 rtree->insert(rects[i].data, rects[i].rect, true); 110 run_queries(reporter, rand, rects, *rtree) [all...] |
BBoxHierarchyTest.cpp | 49 static bool verify_query(SkIRect query, DataRect rects[], 54 if (SkIRect::IntersectsNoEmptyCheck(query, rects[i].rect)) { 55 expected.push(rects[i].data); 75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 81 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 87 DataRect rects[NUM_RECTS]; local 113 random_data_rects(rand, rects, NUM_RECTS); 117 tree->insert(rects[i].data, rects[i].rect, true); 120 run_queries(reporter, rand, rects, *tree) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
FindMatchRectsDetails.java | 13 /** Version of the the rects in this result. */ 16 /** Rects of the find matches in find-in-page coordinates. */ 17 public final RectF[] rects; field in class:FindMatchRectsDetails 24 this.rects = new RectF[numRects];
|
/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...] |
/hardware/intel/img/libdrm/tests/ |
updatedraw.c | 65 drm_clip_rect_t rects[2]; local 67 rects[0].x1 = 0; 68 rects[0].y1 = 0; 69 rects[0].x2 = 10; 70 rects[0].y2 = 10; 72 rects[1].x1 = 10; 73 rects[1].y1 = 10; 74 rects[1].x2 = 20; 75 rects[1].y2 = 20; 80 update.data = (unsigned long long)(uintptr_t)&rects; [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/chromium_org/mojo/public/cpp/bindings/tests/ |
type_conversion_unittest.cc | 21 std::vector<RedmondRect> rects; member in struct:mojo::__anon12838::RedmondNamedRegion 70 region->rects = Array<test::RectPtr>::From(input.rects); 76 region.rects = input->rects.To<std::vector<RedmondRect> >(); 146 Array<RectPtr> rects; local 149 rects.To<std::vector<RedmondRect> >(); 157 Array<RectPtr> rects(10); 158 for (size_t i = 0; i < rects.size(); ++i) { 162 rects[i] = Rect::From(rr) [all...] |
struct_unittest.cc | 86 region->rects = Array<RectPtr>::New(4); 87 for (size_t i = 0; i < region->rects.size(); ++i) 88 region->rects[i] = MakeRect(static_cast<int32_t>(i) + 1); 93 8U + // rects pointer 96 8U + // rects header 97 4*8U + // rects payload (four pointers) 111 EXPECT_EQ(4U, region2->rects.size()); 112 for (size_t i = 0; i < region2->rects.size(); ++i) 113 CheckRect(*region2->rects[i], static_cast<int32_t>(i) + 1); 120 EXPECT_TRUE(region->rects.is_null()) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/ |
SDL_nximage_c.h | 34 extern void NX_NormalUpdate (_THIS, int numrects, SDL_Rect * rects) ;
|
/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);
|
/external/chromium_org/content/renderer/ |
render_widget_unittest.cc | 41 void SetTouchRegion(const std::vector<gfx::Rect>& rects) { 42 rects_ = rects; 96 std::vector<gfx::Rect> rects; local 97 rects.push_back(gfx::Rect(0, 0, 20, 20)); 98 rects.push_back(gfx::Rect(25, 0, 10, 10)); 99 widget->SetTouchRegion(rects); 113 std::vector<gfx::Rect> rects; local 114 rects.push_back(gfx::Rect(0, 0, 20, 20)); 115 rects.push_back(gfx::Rect(25, 0, 10, 10)); 116 widget->SetTouchRegion(rects); [all...] |
/external/chromium_org/remoting/codec/ |
codec_test.cc | 27 // Some sample rects for testing. 30 std::vector<DesktopRect> rects; local 31 rects.push_back(DesktopRect::MakeXYWH(0, 0, size.width(), size.height())); 32 rect_lists.push_back(rects); 33 rects.clear(); 34 rects.push_back(DesktopRect::MakeXYWH( 36 rect_lists.push_back(rects); 37 rects.clear(); 38 rects.push_back(DesktopRect::MakeXYWH( 41 rect_lists.push_back(rects); [all...] |
/external/chromium_org/cc/trees/ |
occlusion_tracker.h | 79 std::vector<gfx::Rect>* rects) { 80 occluding_screen_space_rects_ = rects; 83 std::vector<gfx::Rect>* rects) { 84 non_occluding_screen_space_rects_ = rects;
|
/external/chromium_org/third_party/skia/gm/ |
imagealphathreshold.cpp | 41 SkIRect rects[2]; variable 42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300); 43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT); 45 region.setRects(rects, 2);
|
/external/skia/gm/ |
imagealphathreshold.cpp | 41 SkIRect rects[2]; variable 42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300); 43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT); 45 region.setRects(rects, 2);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
repaint_overlay.py | 9 return isinstance(text, str) and re.search('^\s*\(repaint rects$', text, re.MULTILINE) != None 18 rects = [] 20 rects.append('[' + ','.join(m.groups()) + ']') 21 return '[' + ','.join(rects) + ']' 70 <label><input type="checkbox" checked onchange="toggle_hide_duplicate_rects(this.checked)">Hide duplicate rects</label> 71 <label><input type="checkbox" onchange="toggle_dump_rects(this.checked)">Dump rects</label> 152 function removeDuplicateRects(rects) { 153 for (var i = rects.length - 1; i > 0; i--) { 155 if (rectsEqual(rects[i], rects[k])) [all...] |
/external/chromium_org/remoting/host/ |
desktop_shape_tracker_win.cc | 73 // Fetch the Windows RECTs that comprise the region. 78 const LPRECT rects = reinterpret_cast<LPRECT>(®ion_data->Buffer[0]); local 84 rects[i].left, rects[i].top, rects[i].right, rects[i].bottom));
|
/external/chromium_org/pdf/ |
control.cc | 39 const std::list<pp::Rect>& rects) { 40 DCHECK(rects.size() > 0); 41 if (rects.size() == 1) { 42 Paint(image_data, rects.front()); 46 // Some rects in the input list may overlap. To prevent double 68 for (iter = rects.begin(); iter != rects.end(); ++iter) {
|
/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/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGModelObject.cpp | 73 void RenderSVGModelObject::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const 77 rects.append(rect); 91 void RenderSVGModelObject::computeLayerHitTestRects(LayerHitTestRects& rects) const 94 SVGRenderSupport::findTreeRootObject(this)->computeLayerHitTestRects(rects); 120 // The SVG addFocusRingRects() method adds rects in local coordinates so the default absoluteFocusRingQuads
|