Home
last modified time | relevance | path

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

1234567

/external/skia/tests/
DAAClipTest.cpp68 mask->fBounds = rgn.getBounds(); in copyToMask()
84 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
126 path.getBounds().round(&ir); in setRgnToPath()
186 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
188 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); in test_path_bounds()
200 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
202 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); in test_path_bounds()
209 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
214 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
220 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
[all …]
/external/skia/src/gpu/
DGrReducedClip.cpp60 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
68 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
84 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
90 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
106 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
114 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
130 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
136 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
153 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
159 } else if (!SkRect::Intersects(element->getBounds(), queryBounds)) { in reduced_stack_walker()
[all …]
DGrPath.h27 fBounds(skPath.getBounds()) { in GrPath()
37 const SkRect& getBounds() const { return fBounds; } in getBounds() function
/external/skia/src/core/
DSkRasterClip.cpp51 const SkIRect& SkRasterClip::getBounds() const { in getBounds() function in SkRasterClip
52 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds()
148 … return this->setConservativeRect(path.getBounds(), clip.getBounds(), path.isInverseFillType()); in setPath()
178 ir = path.getBounds().roundOut(); in op()
194 base.setRect(this->getBounds()); in op()
352 fBW.setRect(fAA.getBounds()); in forceGetBW()
402 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
416 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkRasterClip.h39 const SkIRect& getBounds() const;
65 return !SkIRect::Intersects(this->getBounds(), rect); in quickReject()
99 fBW.setRect(fAA.getBounds());
154 const SkIRect& getBounds() const { in getBounds() function
156 return fClipRgn->getBounds(); in getBounds()
DSkScan_AntiPath.cpp83 sectBounds = clip.getBounds(); in BaseSuperBlitter()
85 if (!sectBounds.intersect(ir, clip.getBounds())) { in BaseSuperBlitter()
449 if (!fClipRect.intersect(clip.getBounds())) { in MaskSuperBlitter()
635 if (!safeRoundOut(path.getBounds(), &ir, SK_MaxS32 >> SHIFT)) { in AntiFillPath()
637 const SkRect& r = path.getBounds(); in AntiFillPath()
656 clippedIR = origClip.getBounds(); in AntiFillPath()
658 if (!clippedIR.intersect(ir, origClip.getBounds())) { in AntiFillPath()
677 const SkIRect& bounds = origClip.getBounds(); in AntiFillPath()
711 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
717 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in AntiFillPath()
[all …]
DSkDrawable.cpp40 draw_bbox(canvas, this->getBounds()); in draw()
55 SkRect SkDrawable::getBounds() { in getBounds() function in SkDrawable
70 const SkRect bounds = this->getBounds(); in onNewPictureSnapshot()
DSkScan_Path.cpp419 SkIRect rect = clipRgn.getBounds(); in sk_fill_path()
466 ib.setBlitter(blitter, clipRgn.getBounds(), shiftEdgesUp); in sk_fill_path()
479 rightEdge = SkScalarRoundToInt(path.getBounds().right()) << shiftEdgesUp; in sk_fill_path()
487 const SkIRect& cr = clip.getBounds(); in sk_blit_above()
500 const SkIRect& cr = clip.getBounds(); in sk_blit_below()
525 fClipRect = &clip->getBounds(); in SkScanClipper()
555 if (limitR.contains(orig.getBounds())) { in clip_to_limit()
585 path.getBounds().dround(&ir); in FillPath()
690 if (ir.isEmpty() || !SkIRect::Intersects(ir, clip.getBounds())) { in FillTriangle()
DSkClipStack.cpp405 fFiniteBound = fRRect.getBounds(); in updateBoundAndGenID()
409 fFiniteBound = fPath.get()->getBounds(); in updateBoundAndGenID()
595 void SkClipStack::getBounds(SkRect* canvFiniteBound, in getBounds() function in SkClipStack
628 if (SkRect::Intersects(element->getBounds(), rect)) { in quickContains()
703 if (!SkRect::Intersects(prior->getBounds(), element.getBounds())) { in pushElement()
826 this->getBounds(&temp, &boundType, isIntersectionOfRects); in getConservativeBounds()
DSkDeviceLooper.cpp25 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds())); in SkDeviceLooper()
28 if (rc.isEmpty() || !fClippedBounds.intersect(bounds, rc.getBounds())) { in SkDeviceLooper()
/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()
DStrokeBench.cpp24 const SkRect& r = rec->fRRect.getBounds(); in draw_rect()
43 const SkRect& r = rec->fRRect.getBounds(); in draw_oval()
/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/gm/
Dconvex_all_line_paths.cpp243 SkRect bounds = path.getBounds(); in GetPath()
257 if (offset->fX+path.getBounds().width() > kGMWidth) { in drawPath()
261 center = { offset->fX + SkScalarHalf(path.getBounds().width()), offset->fY}; in drawPath()
262 offset->fX += path.getBounds().width(); in drawPath()
Dconvexpolyeffect.cpp193 geometry.fBounds = p.getBounds(); in onDraw()
199 x += SkScalarCeilToScalar(path->getBounds().width() + 10.f); in onDraw()
207 canvas->translate(path->getBounds().width() + 10.f, 0); in onDraw()
212 y += SkScalarCeilToScalar(path->getBounds().height() + 20.f); in onDraw()
Dconvexpolyclip.cpp168 clip->getBounds(&bounds); in onDraw()
191 clip->getBounds(&bounds); in onDraw()
273 void getBounds(SkRect* bounds) const { in getBounds() function in skiagm::ConvexPolyClip::Clip
276 *bounds = fPath.getBounds(); in getBounds()
Drrects.cpp94 SkASSERT(kMaxTileBound.contains(fRRects[curRRect].getBounds())); in onDraw()
95 SkRect imageSpaceBounds = fRRects[curRRect].getBounds(); in onDraw()
120 SkRect bounds = rrect.getBounds(); in onDraw()
/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/include/core/
DSkClipStack.h93 return fRRect.getBounds(); in getRect()
123 const SkRect& getBounds() const { in getBounds() function
128 return fRRect.getBounds(); in getBounds()
130 return fPath.get()->getBounds(); in getBounds()
308 void getBounds(SkRect* canvFiniteBound,
/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/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationElement.java96 put(attribs, Attribute.BOUNDS, getBounds(node)); in UiAutomationElement()
129 private Rect getBounds(AccessibilityNodeInfo node) { in getBounds() method in UiAutomationElement
139 Rect visibleBounds = getBounds(); in getVisibleBounds()
143 parentBounds = parent.getBounds(); in getVisibleBounds()
/external/skia/src/pathops/
DSkOpBuilder.cpp57 const SkRect& testBounds = test->getBounds(); in resolve()
60 if (SkRect::Intersects(fPathRefs[inner].getBounds(), testBounds)) { in resolve()
/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()

1234567