/external/guava/android/guava/src/com/google/common/math/ |
D | LinearTransformation.java | 94 double yIntercept = y1 - x1 * slope; in withSlope() local 95 return new RegularLinearTransformation(slope, yIntercept); in withSlope() 164 final double yIntercept; field in LinearTransformation.RegularLinearTransformation 168 RegularLinearTransformation(double slope, double yIntercept) { in RegularLinearTransformation() argument 170 this.yIntercept = yIntercept; in RegularLinearTransformation() 174 RegularLinearTransformation(double slope, double yIntercept, LinearTransformation inverse) { in RegularLinearTransformation() argument 176 this.yIntercept = yIntercept; in RegularLinearTransformation() 197 return x * slope + yIntercept; in transform() 208 return String.format("y = %g * x + %g", slope, yIntercept); in toString() 213 return new RegularLinearTransformation(1.0 / slope, -1.0 * yIntercept / slope, this); in createInverse() [all …]
|
/external/guava/guava/src/com/google/common/math/ |
D | LinearTransformation.java | 94 double yIntercept = y1 - x1 * slope; in withSlope() local 95 return new RegularLinearTransformation(slope, yIntercept); in withSlope() 164 final double yIntercept; field in LinearTransformation.RegularLinearTransformation 168 RegularLinearTransformation(double slope, double yIntercept) { in RegularLinearTransformation() argument 170 this.yIntercept = yIntercept; in RegularLinearTransformation() 174 RegularLinearTransformation(double slope, double yIntercept, LinearTransformation inverse) { in RegularLinearTransformation() argument 176 this.yIntercept = yIntercept; in RegularLinearTransformation() 197 return x * slope + yIntercept; in transform() 208 return String.format("y = %g * x + %g", slope, yIntercept); in toString() 213 return new RegularLinearTransformation(1.0 / slope, -1.0 * yIntercept / slope, this); in createInverse() [all …]
|
/external/skia/src/pathops/ |
D | SkDLineIntersection.cpp | 310 double yIntercept = line[0].fY + fT[0][0] * (line[1].fY - line[0].fY); in vertical() local 311 if (between(top, yIntercept, bottom)) { in vertical() 312 fT[1][0] = (yIntercept - top) / (bottom - top); in vertical() 320 fPt[0].fY = yIntercept; in vertical()
|
D | SkDQuadLineIntersection.cpp | 472 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const { in horizontalIntersect() argument 473 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect()
|
D | SkDCubicLineIntersection.cpp | 458 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect() argument 459 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots); in horizontalIntersect()
|
D | SkPathOpsQuad.h | 91 int horizontalIntersect(double yIntercept, double roots[2]) const;
|
D | SkPathOpsCubic.h | 114 int horizontalIntersect(double yIntercept, double roots[3]) const;
|
/external/skia/modules/sksg/slides/ |
D | SVGPongSlide.cpp | 278 SkScalar t, yIntercept; in updatePaddleStrategy() local 279 std::tie(t, yIntercept) = find_yintercept(fBall.pos, fBall.spd, kBounds); in updatePaddleStrategy() 285 catcher->spd.fY = (yIntercept - catcher->pos.fY) / t; in updatePaddleStrategy()
|