Home
last modified time | relevance | path

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

12345678910>>...16

/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.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/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/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.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/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/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/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/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/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/skia/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/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/javaparser/javaparser-symbol-solver-testing/src/test/resources/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/skia/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/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java147 if (typeParameter.getBounds()[0] instanceof TypeVariable) { in boundsOf()
148 return boundsOf((TypeVariable<?>) typeParameter.getBounds()[0]); in boundsOf()
399 for (Type type : typeVariable.getBounds()) { in readTypeVariables()
557 return typeVariable.getBounds()[0]; // in firstBound()
568 Type[] interfaceBounds = new Type[typeVariable.getBounds().length - 1]; in interfaceBounds()
569 …System.arraycopy(typeVariable.getBounds(), 1, interfaceBounds, 0, typeVariable.getBounds().length … in interfaceBounds()

12345678910>>...16