Home
last modified time | relevance | path

Searched refs:kLowerRight_Corner (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/core/
DSkRRect.cpp140 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
305 } else if (x > fRect.fRight - fRadii[kLowerRight_Corner].fX && in checkCornerContainment()
306 y > fRect.fBottom - fRadii[kLowerRight_Corner].fY) { in checkCornerContainment()
308 index = kLowerRight_Corner; in checkCornerContainment()
309 canonicalPt.set(x - (fRect.fRight - fRadii[kLowerRight_Corner].fX), in checkCornerContainment()
310 y - (fRect.fBottom - fRadii[kLowerRight_Corner].fY)); in checkCornerContainment()
371 radii[SkRRect::kUpperRight_Corner].fX == radii[SkRRect::kLowerRight_Corner].fX && in radii_are_nine_patch()
372 radii[SkRRect::kLowerLeft_Corner].fY == radii[SkRRect::kLowerRight_Corner].fY; in radii_are_nine_patch()
531 swap(dst->fRadii[kUpperLeft_Corner], dst->fRadii[kLowerRight_Corner]); in transform()
536 swap(dst->fRadii[kLowerRight_Corner], dst->fRadii[kLowerLeft_Corner]); in transform()
[all …]
DSkPathMakers.h80 fPts[3] = SkPoint::Make(R, B - rrect.radii(SkRRect::kLowerRight_Corner).fY); in SkPath_RRectPointIterator()
81 fPts[4] = SkPoint::Make(R - rrect.radii(SkRRect::kLowerRight_Corner).fX, B); in SkPath_RRectPointIterator()
DSkPathBuilder.cpp657 fPts[3] = SkPoint::Make(R, B - rrect.radii(SkRRect::kLowerRight_Corner).fY); in RRectPointIterator()
658 fPts[4] = SkPoint::Make(R - rrect.radii(SkRRect::kLowerRight_Corner).fX, B); in RRectPointIterator()
DSkBlurMF.cpp356 const SkVector& LR = rrect.radii(SkRRect::kLowerRight_Corner); in filterRRectToNine()
387 radii[SkRRect::kLowerRight_Corner] = LR; in filterRRectToNine()
1065 SkRRect::kLowerRight_Corner, in make_blurred_rrect_key()
DSkGpuBlurUtils.cpp839 const SkVector& devRadiiLR = devRRect.radii(SkRRect::kLowerRight_Corner); in ComputeBlurredRRectParams()
855 const SkVector& srcRadiiLR = srcRRect.radii(SkRRect::kLowerRight_Corner); in ComputeBlurredRRectParams()
DSkPathRef.cpp498 SkRRect::kUpperRight_Corner : SkRRect::kLowerRight_Corner; in getRRect()
/external/skia/docs/examples/
DRRect_Corner.cpp18 r.fRight, r.fBottom - rrect.radii(SkRRect::kLowerRight_Corner).fY, paint); in draw()
22 r.fRight - rrect.radii(SkRRect::kLowerRight_Corner).fX, r.fBottom, paint); in draw()
DRRect_setNinePatch.cpp17 r.fRight, r.fBottom - rrect.radii(SkRRect::kLowerRight_Corner).fY, paint); in draw()
21 r.fRight - rrect.radii(SkRRect::kLowerRight_Corner).fX, r.fBottom, paint); in draw()
/external/skia/src/gpu/ganesh/effects/
DGrRRectEffect.cpp33 kBottomRight_CornerFlag = (1 << SkRRect::kLowerRight_Corner),
323 radius = rrect.radii(SkRRect::kLowerRight_Corner).fX; in onSetData()
472 r[SkRRect::kLowerRight_Corner].fX = d->fRandom->nextRangeF(kRadiusMin, 9.f); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
473 r[SkRRect::kLowerRight_Corner].fY = d->fRandom->nextRangeF(kRadiusMin, 9.f); in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
475 r[SkRRect::kUpperRight_Corner].fX = r[SkRRect::kLowerRight_Corner].fX; in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
479 r[SkRRect::kLowerLeft_Corner].fY = r[SkRRect::kLowerRight_Corner].fY; in GR_DEFINE_FRAGMENT_PROCESSOR_TEST()
509 const SkVector& r1 = rrect.radii(SkRRect::kLowerRight_Corner); in elliptical_effect_uses_scale()
648 const SkVector& r1 = rrect.radii(SkRRect::kLowerRight_Corner); in onSetData()
785 const SkVector lr = rrect.radii(SkRRect::kLowerRight_Corner); in Make()
/external/skia/src/gpu/graphite/render/
DAnalyticRRectRenderStep.cpp133 rrect.radii(SkRRect::kLowerRight_Corner).fX, in load_x_radii()
139 rrect.radii(SkRRect::kLowerRight_Corner).fY, in load_y_radii()
235 maxInset >= rrect.width() - rrect.radii(SkRRect::kLowerRight_Corner).fX || in opposite_insets_intersect()
240 maxInset >= rrect.height() - rrect.radii(SkRRect::kLowerRight_Corner).fY || in opposite_insets_intersect()
/external/skia/tools/viewer/
DGraphitePrimitivesSlide.cpp322 maxInset >= rrect.width() - rrect.radii(SkRRect::kLowerRight_Corner).fX || in compute_vertices()
326 maxInset >= rrect.height() - rrect.radii(SkRRect::kLowerRight_Corner).fY || in compute_vertices()
344 {rrect.radii(SkRRect::kLowerRight_Corner).fX, in compute_vertices()
345 rrect.radii(SkRRect::kLowerRight_Corner).fY}, in compute_vertices()
/external/skia/include/core/
DSkRRect.h254 kLowerRight_Corner, //!< index of bottom-right corner radii enumerator
/external/skia/tests/
DRoundRectTest.cpp46 (double) rr.radii(SkRRect::kLowerRight_Corner).fY <= in test_tricky_radii()
549 const SkVector& origLR = orig.radii(SkRRect::kLowerRight_Corner); \
553 const SkVector& dstLR = dst.radii(SkRRect::kLowerRight_Corner); \
1136 (br == kA ? a : (br == kB ? b : kRect)).radii(SkRRect::kLowerRight_Corner), in verify_success()
/external/skia/tools/debugger/
DDrawCommand.cpp461 DrawCommand::MakeJsonPoint(writer, rrect.radii(SkRRect::kLowerRight_Corner)); in make_json_rrect()