Home
last modified time | relevance | path

Searched refs:fX2 (Results 1 – 10 of 10) sorted by relevance

/external/skia/gm/
Dcircularclips.cpp21 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM
27 fX2 = 120; in onOnceBeforeDraw()
32 fCircle2 = SkPath::Circle(fX2, fY, fR, SkPathDirection::kCW); in onOnceBeforeDraw()
52 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); in onDraw()
60 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/3)); in onDraw()
89 canvas->translate(fX1 + fX2, 0); in onDraw()
/external/skqp/gm/
Dcircularclips.cpp13 SkScalar fX1, fX2, fY, fR; member in CircularClipsGM
19 fX2 = 120; in onOnceBeforeDraw()
24 fCircle2.addCircle(fX2, fY, fR, SkPath::kCW_Direction); in onOnceBeforeDraw()
48 SkRect rect = SkRect::MakeLTRB(fX1 - fR, fY - fR, fX2 + fR, fY + fR); in onDraw()
56 canvas->translate(-((fX1 + fX2)/2 - fR), -(fY - 2*fR/3)); in onDraw()
85 canvas->translate(fX1 + fX2, 0); in onDraw()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DPowellOptimizer.java108 double fX2 = 0; in doOptimize() local
116 fX2 = fVal; in doOptimize()
124 if ((fX2 - fVal) > delta) { in doOptimize()
125 delta = fX2 - fVal; in doOptimize()
148 fX2 = computeObjectiveValue(x2); in doOptimize()
150 if (fX > fX2) { in doOptimize()
151 double t = 2 * (fX + fX2 - 2 * fVal); in doOptimize()
154 temp = fX - fX2; in doOptimize()
/external/skqp/experimental/svg/model/
DSkSVGLinearGradient.cpp24 fX2 = x2; in setX2()
65 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
DSkSVGLine.cpp24 fX2 = x2; in setX2()
62 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
DSkSVGLine.h42 SkSVGLength fX2 = SkSVGLength(0); variable
DSkSVGLinearGradient.h37 SkSVGLength fX2 = SkSVGLength(100, SkSVGLength::Unit::kPercentage); variable
/external/skia/tests/
DGrBlockAllocatorTest.cpp546 int fX2; member
550 int fX2; member
569 meta->fX2 = 5; in DEF_TEST()
584 metaBig->fX2 = 6; in DEF_TEST()
587 REPORTER_ASSERT(r, meta->fX1 == 2 && meta->fX2 == 5); in DEF_TEST()
588 REPORTER_ASSERT(r, metaBig->fX1 == 3 && metaBig->fX2 == 6); in DEF_TEST()
/external/skia/modules/svg/src/
DSkSVGLinearGradient.cpp34 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
DSkSVGLine.cpp27 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()