HomeSort by relevance Sort by last modified time
    Searched refs:yIntercept (Results 1 - 15 of 15) sorted by null

  /frameworks/base/core/java/com/android/internal/policy/
PipSnapAlgorithm.java 128 // Find the line of movement the PIP is on. Line defined by: y = slope * x + yIntercept
130 final float yIntercept = y - slope * x; // rearrange line equation for yIntercept
140 vertPoint.y = findY(slope, yIntercept, vertPoint.x);
145 horizPoint.x = findX(slope, yIntercept, horizPoint.y);
194 private int findY(float slope, float yIntercept, float x) {
195 return (int) ((slope * x) + yIntercept);
198 private int findX(float slope, float yIntercept, float y) {
199 return (int) ((y - yIntercept) / slope);
  /external/skia/src/pathops/
SkDLineIntersection.cpp 299 double yIntercept = line[0].fY + fT[0][0] * (line[1].fY - line[0].fY);
300 if (between(top, yIntercept, bottom)) {
301 fT[1][0] = (yIntercept - top) / (bottom - top);
309 fPt[0].fY = yIntercept;
SkPathOpsQuad.h 78 int horizontalIntersect(double yIntercept, double roots[2]) const;
SkPathOpsCubic.h 98 int horizontalIntersect(double yIntercept, double roots[3]) const;
SkDCubicLineIntersection.cpp 449 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const {
450 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots);
SkDQuadLineIntersection.cpp 464 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const {
465 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots);
  /external/skia/samplecode/
SampleSVGPong.cpp 266 SkScalar t, yIntercept;
267 std::tie(t, yIntercept) = find_yintercept(fBall.pos, fBall.spd, kBounds);
273 catcher->spd.fY = (yIntercept - catcher->pos.fY) / t;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
PipMotionHelper.java 472 final float yIntercept = pipBounds.top - slope * pipBounds.left;
474 final float x = (bottomBound - yIntercept) / slope;
  /cts/tests/libcore/javautilcollections/libs/
guava-20.0.jar 
  /prebuilts/devtools/tools/lib/
guava-22.0.jar 
  /prebuilts/misc/common/guava/
guava-20.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/
guava-20.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/21.0/
guava-21.0.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/22.0/
guava-22.0.jar 
  /packages/apps/Messaging/build/gcheckstyle/
google-style-checker_deploy.jar 

Completed in 2448 milliseconds