Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 25 of 92) sorted by relevance

1234

/external/skia/tests/
DAAClipTest.cpp69 mask->fBounds = rgn.getBounds(); in copyToMask()
83 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
125 path.getBounds().round(&ir); in setRgnToPath()
185 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
187 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); in test_path_bounds()
199 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
201 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); in test_path_bounds()
208 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
213 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
219 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
[all …]
DPathTest.cpp124 REPORTER_ASSERT(reporter, path0.getBounds() == path1.getBounds()); in test_bounds()
355 REPORTER_ASSERT(reporter, p.getBounds() == bounds); in check_convex_bounds()
359 REPORTER_ASSERT(reporter, p2.getBounds() == bounds); in check_convex_bounds()
364 REPORTER_ASSERT(reporter, other.getBounds() == bounds); in check_convex_bounds()
626 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
636 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
645 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
653 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
662 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
670 REPORTER_ASSERT(reporter, bounds == p.getBounds()); in test_zero_length_paths()
[all …]
DPaintTest.cpp82 fillR = path.getBounds(); in regression_cubic()
87 strokeR = stroke.getBounds(); in regression_cubic()
/external/skia/src/core/
DSkRasterClip.cpp46 const SkIRect& SkRasterClip::getBounds() const { in getBounds() function in SkRasterClip
47 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds()
94 tmp.setRect(clip.getBounds()); in setPath()
210 fBW.setRect(fAA.getBounds()); in forceGetBW()
251 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
265 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkRasterClip.h29 const SkIRect& getBounds() const;
60 !SkIRect::Intersects(this->getBounds(), rect); in quickReject()
117 const SkIRect& getBounds() const { in getBounds() function
119 return fClipRgn->getBounds(); in getBounds()
DSkScan_AntiPath.cpp91 const int left = clip.getBounds().fLeft; in BaseSuperBlitter()
92 const int right = clip.getBounds().fRight; in BaseSuperBlitter()
432 fClipRect.intersect(clip.getBounds()); in MaskSuperBlitter()
630 if (!safeRoundOut(path.getBounds(), &ir, SK_MaxS32 >> SHIFT)) { in AntiFillPath()
632 const SkRect& r = path.getBounds(); in AntiFillPath()
651 clippedIR = origClip.getBounds(); in AntiFillPath()
653 if (!clippedIR.intersect(ir, origClip.getBounds())) { in AntiFillPath()
672 const SkIRect& bounds = origClip.getBounds(); in AntiFillPath()
706 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
712 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
[all …]
DSkScan_Path.cpp427 const SkIRect& clipRect = clipRgn.getBounds(); in sk_fill_path()
467 ib.setBlitter(blitter, clipRgn.getBounds(), shiftEdgesUp); in sk_fill_path()
480 const SkIRect& cr = clip.getBounds(); in sk_blit_above()
493 const SkIRect& cr = clip.getBounds(); in sk_blit_below()
513 fClipRect = &clip->getBounds(); in SkScanClipper()
543 if (limitR.contains(orig.getBounds())) { in clip_to_limit()
569 path.getBounds().round(&ir); in FillPath()
674 if (ir.isEmpty() || !SkIRect::Intersects(ir, clip.getBounds())) { in FillTriangle()
DSkAAClip.h30 const SkIRect& getBounds() const { return fBounds; } in getBounds() function
103 fAAClipBounds = aaclip->getBounds(); in init()
DSkClipStack.cpp157 if (!SkRect::Intersects(rec->fPath.getBounds(), rect)) { in clipDevRect()
170 const SkRect& pathBounds = path.getBounds(); in clipDevPath()
181 if (!SkRect::Intersects(rec->fPath.getBounds(), pathBounds)) { in clipDevPath()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
DResizableDialog.java75 Rectangle displayBounds = getShell().getDisplay().getBounds(); in getInitialSize()
102 windowBounds = windowShell.getBounds(); in getInitialLocation()
192 cachedBounds = getShell().getBounds(); in installDialogBoundsTracker()
196 cachedBounds = getShell().getBounds(); in installDialogBoundsTracker()
/external/skia/src/animator/
DSkBoundable.cpp25 void SkBoundable::getBounds(SkRect* rect) { in getBounds() function in SkBoundable
28 INHERITED::getBounds(rect); in getBounds()
DSkHitTest.cpp36 bullet->getBounds(&bBounds); in draw()
43 target->getBounds(&tBounds); in draw()
DSkDrawPoint.h27 virtual void getBounds(SkRect* );
DSkBoundable.h21 virtual void getBounds(SkRect* );
DSkDrawPoint.cpp41 void SkDrawPoint::getBounds(SkRect* rect ) { in getBounds() function in SkDrawPoint
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCImageLabel.java94 if (m_backImage == null || !m_backImage.getBounds().equals(clientArea)) { in doPaint()
108 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds(); in doPaint()
134 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds(); in computeSize()
/external/skia/bench/
DAAClipBench.cpp35 fRect.set(fRegion.getBounds()); in AAClipBuilderBench()
70 path.getBounds().roundOut(&bounds); in AAClipRegionBench()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
DBooleanPropertyEditor.java68 int imageWidth = image.getBounds().width + 2; in paint()
85 if (location == null || location.x < m_trueImage.getBounds().width + 2) { in activate()
DBooleanObjectPropertyEditor.java68 int imageWidth = image.getBounds().width + 2; in paint()
87 if (location == null || location.x < m_trueImage.getBounds().width + 2) { in activate()
/external/webkit/Source/WebKit/android/plugins/
DANPPathInterface.cpp55 SkANP::SetRect(bounds, path->getBounds()); in anp_getBounds()
104 ASSIGN(i, getBounds); in ANPPathInterfaceV0_Init()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java78 Rectangle imageBounds = image.getBounds(); in drawImageCV()
88 Rectangle imageBounds = image.getBounds(); in drawImageCHCV()
101 int imageWidth = image.getBounds().width; in drawScaledImage()
102 int imageHeight = image.getBounds().height; in drawScaledImage()
230 Rectangle imageBounds = image.getBounds(); in getThubmnail()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DGLExtras.cpp112 line = clip.getBounds(); in drawRegion()
117 line = clip.getBounds(); in drawRegion()
/external/skia/samplecode/
DSampleStrokePath.cpp79 const SkRect& bounds = path->getBounds(); in scale_to_width()
119 const SkRect& bounds = fPath.getBounds(); in StrokePathView()
207 canvas->translate(0, fPath.getBounds().height() * 5 / 4); in onDrawContent()
DSampleStrokeText.cpp39 SkRect bounds = path.getBounds(); in lettersToBitmap()
85 SkRect bounds = path.getBounds(); in lettersToBitmap2()
/external/chromium/webkit/glue/media/
Dvideo_renderer_impl.cc135 device->getBounds(&device_rect); in CanFastPaint()
146 device_rect.contains(total_clip.getBounds())) { in CanFastPaint()
233 if (local_dest_irect.intersect(canvas->getTotalClip().getBounds())) { in FastPaint()

1234