Home
last modified time | relevance | path

Searched refs:rect2 (Results 1 – 10 of 10) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
DSDL_epocvideo.cpp789 TRect rect2 = TRect(Private->EPOC_WsWindow.Size()); in EPOC_DirectUpdate() local
791 Private->EPOC_DrawDevice->UpdateRegion(rect2); // Should we update rects parameter area only?? in EPOC_DirectUpdate()
882 SDL_Rect rect2; in DirectDraw() local
883 rect2.x = currentRect.x; in DirectDraw()
884 rect2.y = currentRect.y; in DirectDraw()
885 rect2.w = currentRect.w; in DirectDraw()
886 rect2.h = currentRect.h; in DirectDraw()
888 if (rect2.w <= 0 || rect2.h <= 0) /* sanity check */ in DirectDraw()
894 TInt maxX = Min(screenW - 1, rect2.x + rect2.w - 1); in DirectDraw()
895 TInt maxY = Min(screenH - 1, rect2.y + rect2.h - 1); in DirectDraw()
[all …]
/external/skia/src/core/
DSkRTree.cpp13 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2);
15 static inline uint32_t get_overlap_increase(const SkIRect& rect1, const SkIRect& rect2,
17 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2);
443 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2) { in get_overlap() argument
445 return SkMax32(0, SkMin32(rect1.fRight, rect2.fRight) - SkMax32(rect1.fLeft, rect2.fLeft)) * in get_overlap()
446 SkMax32(0, SkMin32(rect1.fBottom, rect2.fBottom) - SkMax32(rect1.fTop, rect2.fTop)); in get_overlap()
454 static inline uint32_t get_overlap_increase(const SkIRect& rect1, const SkIRect& rect2, in get_overlap_increase() argument
457 return get_overlap(expandBy, rect2) - get_overlap(rect1, rect2); in get_overlap_increase()
460 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2) { in get_area_increase() argument
461 join_no_empty_check(rect1, &rect2); in get_area_increase()
[all …]
/external/skia/tests/
DTileGridTest.cpp60 SkRect rect2 = SkRect::MakeXYWH(SkIntToScalar(11), SkIntToScalar(11), in TestUnalignedQuery() local
65 canvas->drawRect(rect2, paint); in TestUnalignedQuery()
96 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[1]); in TestUnalignedQuery()
105 REPORTER_ASSERT(reporter, rect2 == mockCanvas.fRects[0]); in TestUnalignedQuery()
DPathTest.cpp723 SkPath rect2; in test_close() local
724 rect2.addRect(SK_Scalar1, SK_Scalar1, 10 * SK_Scalar1, 10*SK_Scalar1); in test_close()
725 rect2.close(); in test_close()
726 rect2.addRect(SK_Scalar1, SK_Scalar1, 10 * SK_Scalar1, 10*SK_Scalar1); in test_close()
727 check_close(reporter, rect2); in test_close()
728 rect2.close(); in test_close()
729 check_close(reporter, rect2); in test_close()
/external/opencv/cv/src/
Dcvgeometry.cpp45 cvMaxRect( const CvRect* rect1, const CvRect* rect2 ) in cvMaxRect() argument
47 if( rect1 && rect2 ) in cvMaxRect()
53 b = rect2->x; in cvMaxRect()
58 b += rect2->width; in cvMaxRect()
65 b = rect2->y; in cvMaxRect()
70 b += rect2->height; in cvMaxRect()
79 else if( rect2 ) in cvMaxRect()
80 return *rect2; in cvMaxRect()
/external/qemu/android/skin/
Dregion.c1249 SkinRect rect1, rect2; in _expectCompare() local
1255 skin_box_to_rect( (SkinBox*)boxes, &rect2 ); in _expectCompare()
1256 if ( !skin_rect_equals( &rect1, &rect2 ) ) { in _expectCompare()
1260 rect2.pos.x, rect2.pos.y, in _expectCompare()
1261 rect2.pos.x + rect2.size.w, rect2.pos.y + rect2.size.h ); in _expectCompare()
/external/chromium/chrome/browser/ui/views/
Dabout_chrome_view.cc453 gfx::Rect* rect2 = chromium_url_appears_first_ ? in OnPaint() local
466 main_label_chunk2_, link2, rect2, &position, text_direction_is_rtl_, in OnPaint()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityRenderObject.cpp2528 IntRect rect2 = range.end.absoluteCaretBounds(); in boundsForVisiblePositionRange() local
2531 if (rect2.y() != rect1.y()) { in boundsForVisiblePositionRange()
2539 rect2 = range.end.absoluteCaretBounds(); in boundsForVisiblePositionRange()
2544 ourrect.unite(rect2); in boundsForVisiblePositionRange()
2547 if (rect1.maxY() != rect2.maxY()) { in boundsForVisiblePositionRange()
/external/opencv/cv/include/
Dcv.h801 CVAPI(CvRect) cvMaxRect( const CvRect* rect1, const CvRect* rect2 ); in LOAD_CHDL()
/external/webkit/Source/WebCore/
DChangeLog-2006-05-1027800 * svg/custom/percentage-rect2.svg