Home
last modified time | relevance | path

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

12345678910>>...21

/external/skqp/tests/
DAAClipTest.cpp81 mask->fBounds = rgn.getBounds(); in copyToMask()
97 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
139 path.getBounds().round(&ir); in setRgnToPath()
199 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
201 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); in test_path_bounds()
213 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
215 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); in test_path_bounds()
222 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
227 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
233 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
[all …]
DPathOpsTightBoundsTest.cpp29 SkRect classicBounds = path.getBounds(); in testTightBoundsLines()
79 SkRect classicBounds = path.getBounds(); in testTightBoundsQuads()
134 const SkRect& bounds = path.getBounds(); in DEF_TEST()
143 const SkRect& bounds = path.getBounds(); in DEF_TEST()
153 const SkRect& bounds = path.getBounds(); in DEF_TEST()
163 const SkRect& bounds = path.getBounds(); in DEF_TEST()
175 const SkRect& bounds = path.getBounds(); in DEF_TEST()
185 const SkRect& bounds = path.getBounds(); in DEF_TEST()
195 const SkRect& bounds = path.getBounds(); in DEF_TEST()
/external/skia/tests/
DAAClipTest.cpp81 mask->fBounds = rgn.getBounds(); in copyToMask()
97 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop); in copyToMask()
139 path.getBounds().round(&ir); in setRgnToPath()
199 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
201 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); in test_path_bounds()
213 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); in test_path_bounds()
215 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height()); in test_path_bounds()
222 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
227 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
233 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
[all …]
DPathOpsTightBoundsTest.cpp28 SkRect classicBounds = path.getBounds(); in testTightBoundsLines()
78 SkRect classicBounds = path.getBounds(); in testTightBoundsQuads()
133 const SkRect& bounds = path.getBounds(); in DEF_TEST()
142 const SkRect& bounds = path.getBounds(); in DEF_TEST()
152 const SkRect& bounds = path.getBounds(); in DEF_TEST()
162 const SkRect& bounds = path.getBounds(); in DEF_TEST()
174 const SkRect& bounds = path.getBounds(); in DEF_TEST()
184 const SkRect& bounds = path.getBounds(); in DEF_TEST()
194 const SkRect& bounds = path.getBounds(); in DEF_TEST()
/external/skqp/gm/
Dsharedcorners.cpp116 SkScalar scale = kBoxSize / SkTMax(path.getBounds().height(), path.getBounds().width()); in drawTriangleBoxes()
123 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
128 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
136 const SkRect& bounds = path.getBounds(); in drawRow()
/external/skia/gm/
Dsharedcorners.cpp123 SkScalar scale = kBoxSize / std::max(path.getBounds().height(), path.getBounds().width()); in drawTriangleBoxes()
130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes()
143 const SkRect& bounds = path.getBounds(); in drawRow()
Dconvexpolyeffect.cpp119 auto rect = p.getBounds().makeOutset(kOutset, kOutset); in onDraw()
123 x += SkScalarCeilToScalar(path->getBounds().width() + kDX); in onDraw()
131 canvas->translate(path->getBounds().width() + 10.f, 0); in onDraw()
136 y += SkScalarCeilToScalar(path->getBounds().height() + 20.f); in onDraw()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedTypeParameterDeclaration.java84 public List<Bound> getBounds() { in onType() method
171 List<Bound> getBounds();
177 for (Bound b : getBounds()) {
189 for (Bound b : getBounds()) {
203 for (Bound b : getBounds()) {
217 for (Bound b : getBounds()) {
/external/skqp/src/core/
DSkScan_AntiPath.cpp609 if (n < kSampleSize || path.getBounds().isEmpty()) { in compute_complexity()
626 SkScalar diagonalSqr = sqr(path.getBounds().width()) + sqr(path.getBounds().height()); in compute_complexity()
633 complexity = sk_ieee_float_divide(intersections, path.getBounds().height()); in compute_complexity()
652 const SkRect& bounds = path.getBounds(); in ShouldUseDAA()
656 if (avgLength < 0 || complexity < 0 || path.getBounds().isEmpty() || path.isConvex()) { in ShouldUseDAA()
661 if (SkCoverageDeltaMask::CanHandle(safeRoundOut(path.getBounds()))) { in ShouldUseDAA()
700 const SkRect& bounds = path.getBounds(); in ShouldUseAAA()
709 if (path.countPoints() >= path.getBounds().height()) { in ShouldUseAAA()
730 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in SAAFillPath()
769 SkIRect ir = safeRoundOut(path.getBounds()); in AntiFillPath()
[all …]
DSkRasterClip.cpp84 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect()
97 SkRect bounds = path.getBounds(); in opPath()
107 this->opIRect(rgn.getBounds(), op); in opRegion()
122 fBounds = result.getBounds(); in opIRect()
187 const SkIRect& SkRasterClip::getBounds() const { in getBounds() function in SkRasterClip
188 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds()
282 base.setRect(this->getBounds()); in op()
439 fBW.setRect(fAA.getBounds()); in forceGetBW()
487 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
501 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkRasterClip.h35 const SkIRect& getBounds() const { return fBounds; } in getBounds() function
90 const SkIRect& getBounds() const;
117 return !SkIRect::Intersects(this->getBounds(), rect); in quickReject()
155 fBW.setRect(fAA.getBounds());
228 const SkIRect& getBounds() const { in getBounds() function
230 return fClipRgn->getBounds(); in getBounds()
DSkClipStack.cpp78 const SkRect& SkClipStack::Element::getBounds() const { in getBounds() function in SkClipStack::Element
83 return fDeviceSpaceRRect.getBounds(); in getBounds()
85 return fDeviceSpacePath.get()->getBounds(); in getBounds()
113 return this->getDeviceSpaceRect().contains(rrect.getBounds()); in contains()
116 return fDeviceSpaceRRect.contains(rrect.getBounds()) || rrect == fDeviceSpaceRRect; in contains()
118 return fDeviceSpacePath.get()->conservativelyContainsRect(rrect.getBounds()); in contains()
493 fFiniteBound = fDeviceSpaceRRect.getBounds(); in updateBoundAndGenID()
497 fFiniteBound = fDeviceSpacePath.get()->getBounds(); in updateBoundAndGenID()
667 this->getBounds(&r, &bounds); in bounds()
677 void SkClipStack::getBounds(SkRect* canvFiniteBound, in getBounds() function in SkClipStack
[all …]
DSkDrawable.cpp41 draw_bbox(canvas, this->getBounds()); in draw()
61 SkRect SkDrawable::getBounds() { in getBounds() function in SkDrawable
76 const SkRect bounds = this->getBounds(); in onNewPictureSnapshot()
/external/skia/bench/
DRegionBench.cpp29 return result.op(a, b.getBounds(), SkRegion::kDifference_Op); in diffrect_proc()
34 return result.op(a, a.getBounds(), SkRegion::kDifference_Op); in diffrectbig_proc()
38 SkIRect r = a.getBounds(); in containsrect_proc()
42 r = b.getBounds(); in containsrect_proc()
52 SkIRect r = a.getBounds(); in sectsrect_proc()
58 const SkIRect& r = a.getBounds(); in containsxy_proc()
/external/skqp/bench/
DRegionBench.cpp29 return result.op(a, b.getBounds(), SkRegion::kDifference_Op); in diffrect_proc()
34 return result.op(a, a.getBounds(), SkRegion::kDifference_Op); in diffrectbig_proc()
38 SkIRect r = a.getBounds(); in containsrect_proc()
42 r = b.getBounds(); in containsrect_proc()
52 SkIRect r = a.getBounds(); in sectsrect_proc()
58 const SkIRect& r = a.getBounds(); in containsxy_proc()
/external/skia/src/core/
DSkScan_AntiPath.cpp607 if (n < kSampleSize || path.getBounds().isEmpty()) { in compute_complexity()
624 SkScalar diagonalSqr = sqr(path.getBounds().width()) + sqr(path.getBounds().height()); in compute_complexity()
631 complexity = sk_ieee_float_divide(intersections, path.getBounds().height()); in compute_complexity()
653 const SkRect& bounds = path.getBounds(); in ShouldUseAAA()
662 if (path.countPoints() >= path.getBounds().height()) { in ShouldUseAAA()
683 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); in SAAFillPath()
721 SkIRect ir = safeRoundOut(path.getBounds()); in AntiFillPath()
736 clippedIR = origClip.getBounds(); in AntiFillPath()
738 if (!clippedIR.intersect(ir, origClip.getBounds())) { in AntiFillPath()
757 const SkIRect& bounds = origClip.getBounds(); in AntiFillPath()
[all …]
DSkRasterClip.cpp88 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect()
102 SkRect bounds = path.getBounds(); in opPath()
113 this->opIRect(rgn.getBounds(), op); in opRegion()
130 fBounds = result.getBounds(); in opIRect()
212 const SkIRect& SkRasterClip::getBounds() const { in getBounds() function in SkRasterClip
213 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds()
304 base.setRect(this->getBounds()); in op()
472 fBW.setRect(fAA.getBounds()); in forceGetBW()
520 fBWRgn.setRect(aaclip->getBounds()); in SkAAClipBlitterWrapper()
534 fBWRgn.setRect(aaclip.getBounds()); in init()
DSkRasterClip.h46 const SkIRect& getBounds() const { return fBounds; } in getBounds() function
109 const SkIRect& getBounds() const;
137 return !SkIRect::Intersects(this->getBounds(), rect); in quickReject()
179 fBW.setRect(fAA.getBounds());
251 const SkIRect& getBounds() const { in getBounds() function
253 return fClipRgn->getBounds(); in getBounds()
DSkDrawable.cpp41 draw_bbox(canvas, this->getBounds()); in draw()
61 SkRect SkDrawable::getBounds() { in getBounds() function in SkDrawable
76 const SkRect bounds = this->getBounds(); in onNewPictureSnapshot()
/external/skia/src/gpu/
DGrReducedClip.cpp57 stack.getBounds(&stackBounds, &stackBoundsType, &iior); in GrReducedClip()
204 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
218 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
240 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
252 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
274 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
282 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
298 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
304 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
321 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
[all …]
/external/skqp/src/gpu/
DGrReducedClip.cpp57 stack.getBounds(&stackBounds, &stackBoundsType, &iior); in GrReducedClip()
185 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
199 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
221 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
233 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
255 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
263 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
279 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
285 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
302 } else if (GrClip::IsOutsideClip(element->getBounds(), queryBounds)) { in walkStack()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionTypeParameter.txt17 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto…
18 …Line 113) Arrays.stream(typeVariable.getBounds()).map((refB) -> Bound.extendsBound(ReflectionFacto…
19 Line 113) Arrays.stream(typeVariable.getBounds()) ==> java.util.Arrays.stream(T[])
20 Line 113) typeVariable.getBounds() ==> java.lang.reflect.TypeVariable.getBounds()
/external/skqp/modules/pathkit/tests/
Dpath.spec.js116 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0));
118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8));
120 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
122 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
134 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3));
/external/skia/modules/pathkit/tests/
Dpath.spec.js100 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0));
102 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8));
104 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
106 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4));
118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3));
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/layer/
DShapeLayer.java33 @Override public void getBounds(RectF outBounds, Matrix parentMatrix, boolean applyParents) { in getBounds() method in ShapeLayer
34 super.getBounds(outBounds, parentMatrix, applyParents); in getBounds()
35 contentGroup.getBounds(outBounds, boundsMatrix, applyParents); in getBounds()

12345678910>>...21