Searched defs:rect2 (Results 1 - 13 of 13) sorted by relevance

/external/skia/gm/
H A Dthinstrokedrects.cpp36 static const SkRect rect2 = { 0, 0, 20, 20 }; variable
63 canvas->drawRect(rect2, paint);
/external/skia/tests/
H A DPathOpsDRectTest.cpp43 SkDRect rect, rect2; local
52 rect2.set(line[0]);
53 rect2.add(line[1]);
54 REPORTER_ASSERT(reporter, rect2.fLeft == SkTMin(line[0].fX, line[1].fX));
55 REPORTER_ASSERT(reporter, rect2.fTop == SkTMin(line[0].fY, line[1].fY));
56 REPORTER_ASSERT(reporter, rect2.fRight == SkTMax(line[0].fX, line[1].fX));
57 REPORTER_ASSERT(reporter, rect2.fBottom == SkTMax(line[0].fY, line[1].fY));
59 REPORTER_ASSERT(reporter, rect.intersects(&rect2));
73 rect2.setBounds(quad);
74 REPORTER_ASSERT(reporter, rect.intersects(&rect2));
[all...]
H A DTileGridTest.cpp66 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(11), SkIntToScalar(11), local
71 canvas->drawRect(rect2, paint);
102 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[1]);
111 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[0]);
136 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[0]);
144 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[0]);
160 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(12), SkIntToScalar(12), local
168 canvas->drawRect(rect2, paint);
198 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[1]);
209 REPORTER_ASSERT(reporter, rect2
[all...]
H A DPathOpsCubicIntersectionTest.cpp414 SkDRect rect1, rect2; local
416 rect2.setBounds(cubic2);
417 bool boundsIntersect = rect1.fLeft <= rect2.fRight && rect2.fLeft <= rect2.fRight
418 && rect1.fTop <= rect2.fBottom && rect2.fTop <= rect1.fBottom;
H A DPictureTest.cpp433 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(7), SkIntToScalar(7), local
442 path.addOval(rect2);
H A DPathTest.cpp987 SkPath rect2; local
988 rect2.addRect(SK_Scalar1, SK_Scalar1, 10 * SK_Scalar1, 10*SK_Scalar1);
989 rect2.close();
990 rect2.addRect(SK_Scalar1, SK_Scalar1, 10 * SK_Scalar1, 10*SK_Scalar1);
991 check_close(reporter, rect2);
992 rect2.close();
993 check_close(reporter, rect2);
/external/chromium_org/third_party/skia/src/core/
H A DSkRTree.cpp12 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2);
14 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2);
458 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2) { argument
460 return SkMax32(0, SkMin32(rect1.fRight, rect2.fRight) - SkMax32(rect1.fLeft, rect2.fLeft)) *
461 SkMax32(0, SkMin32(rect1.fBottom, rect2.fBottom) - SkMax32(rect1.fTop, rect2.fTop));
469 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2) { argument
470 join_no_empty_check(rect1, &rect2);
471 return get_area(rect2)
[all...]
/external/skia/src/core/
H A DSkRTree.cpp12 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2);
14 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2);
458 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2) { argument
460 return SkMax32(0, SkMin32(rect1.fRight, rect2.fRight) - SkMax32(rect1.fLeft, rect2.fLeft)) *
461 SkMax32(0, SkMin32(rect1.fBottom, rect2.fBottom) - SkMax32(rect1.fTop, rect2.fTop));
469 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2) { argument
470 join_no_empty_check(rect1, &rect2);
471 return get_area(rect2)
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dabout_chrome_view.cc453 gfx::Rect* rect2 = chromium_url_appears_first_ ? local
466 main_label_chunk2_, link2, rect2, &position, text_direction_is_rtl_,
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocvideo.cpp789 TRect rect2 = TRect(Private->EPOC_WsWindow.Size()); local
791 Private->EPOC_DrawDevice->UpdateRegion(rect2); // Should we update rects parameter area only??
804 SDL_Rect rect2;
805 rect2.x = currentRect.x;
806 rect2.y = currentRect.y;
807 rect2.w = currentRect.w;
808 rect2.h = currentRect.h;
810 if (rect2.w <= 0 || rect2.h <= 0)
882 SDL_Rect rect2; local
1169 SDL_Rect rect2; local
[all...]
/external/qemu/android/skin/
H A Dregion.c1249 SkinRect rect1, rect2; local
1255 skin_box_to_rect( (SkinBox*)boxes, &rect2 );
1256 if ( !skin_rect_equals( &rect1, &rect2 ) ) {
1260 rect2.pos.x, rect2.pos.y,
1261 rect2.pos.x + rect2.size.w, rect2.pos.y + rect2.size.h );
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1330 milliseconds