Home
last modified time | relevance | path

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

123456

/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 …]
DPaintTest.cpp82 fillR = path.getBounds(); in regression_cubic()
87 strokeR = stroke.getBounds(); in regression_cubic()
/external/skia/src/gpu/
DGrReducedClip.cpp50 stack.getBounds(&stackBounds, &stackBoundsType, &iior); in ReduceClipStack()
175 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
183 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
199 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
205 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
221 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
229 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
245 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
251 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
268 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
[all …]
/external/skia/legacy/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()
/external/skia/bench/
DRegionBench.cpp30 return result.op(a, b.getBounds(), SkRegion::kDifference_Op); in diffrect_proc()
35 return result.op(a, a.getBounds(), SkRegion::kDifference_Op); in diffrectbig_proc()
39 SkIRect r = a.getBounds(); in containsrect_proc()
43 r = b.getBounds(); in containsrect_proc()
53 SkIRect r = a.getBounds(); in sectsrect_proc()
59 const SkIRect& r = a.getBounds(); in containsxy_proc()
/external/skia/src/core/
DSkRasterClip.cpp48 const SkIRect& SkRasterClip::getBounds() const { in getBounds() function in SkRasterClip
49 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds()
101 tmp.setRect(clip.getBounds()); in setPath()
228 fBW.setRect(fAA.getBounds()); in forceGetBW()
273 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
287 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkRasterClip.h37 const SkIRect& getBounds() const;
68 !SkIRect::Intersects(this->getBounds(), rect); in quickReject()
142 const SkIRect& getBounds() const { in getBounds() function
144 return fClipRgn->getBounds(); in getBounds()
DSkScan_AntiPath.cpp86 const int left = clip.getBounds().fLeft; in BaseSuperBlitter()
87 const int right = clip.getBounds().fRight; in BaseSuperBlitter()
427 fClipRect.intersect(clip.getBounds()); in MaskSuperBlitter()
614 if (!safeRoundOut(path.getBounds(), &ir, SK_MaxS32 >> SHIFT)) { in AntiFillPath()
616 const SkRect& r = path.getBounds(); in AntiFillPath()
635 clippedIR = origClip.getBounds(); in AntiFillPath()
637 if (!clippedIR.intersect(ir, origClip.getBounds())) { in AntiFillPath()
656 const SkIRect& bounds = origClip.getBounds(); in AntiFillPath()
690 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
696 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
[all …]
DSkClipStack.cpp275 fFiniteBound = fPath.getBounds(); in updateBoundAndGenID()
457 void SkClipStack::getBounds(SkRect* canvFiniteBound, in getBounds() function in SkClipStack
486 this->getBounds(&bounds, &bt); in intersectRectWithClip()
509 if (SkRect::Intersects(element->getBounds(), rect)) { in quickContains()
551 if (!SkRect::Intersects(element->fPath.getBounds(), rect)) { in clipDevRect()
575 const SkRect& pathBounds = path.getBounds(); in clipDevPath()
588 if (!SkRect::Intersects(element->fPath.getBounds(), pathBounds)) { in clipDevPath()
716 this->getBounds(&temp, &boundType, isIntersectionOfRects); in getConservativeBounds()
DSkScan_Path.cpp450 SkIRect rect = clipRgn.getBounds(); in sk_fill_path()
498 ib.setBlitter(blitter, clipRgn.getBounds(), shiftEdgesUp); in sk_fill_path()
511 const SkIRect& cr = clip.getBounds(); in sk_blit_above()
524 const SkIRect& cr = clip.getBounds(); in sk_blit_below()
549 fClipRect = &clip->getBounds(); in SkScanClipper()
579 if (limitR.contains(orig.getBounds())) { in clip_to_limit()
605 path.getBounds().round(&ir); in FillPath()
710 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()
/external/mockito/src/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java101 if (typeParameter.getBounds()[0] instanceof TypeVariable) { in boundsOf()
102 return boundsOf((TypeVariable) typeParameter.getBounds()[0]); in boundsOf()
350 for (Type type : typeVariable.getBounds()) { in readTypeVariables()
501 return typeVariable.getBounds()[0]; // in firstBound()
512 Type[] interfaceBounds = new Type[typeVariable.getBounds().length - 1]; in interfaceBounds()
513 …System.arraycopy(typeVariable.getBounds(), 1, interfaceBounds, 0, typeVariable.getBounds().length … in interfaceBounds()
/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()
/external/skia/legacy/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()
/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/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/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/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()

123456