Searched refs:mLastThreePoints (Results 1 – 2 of 2) sorted by relevance
90 private List<Point> mLastThreePoints = new ArrayList<>(); field in AnglesClassifier.Data121 if (mLastThreePoints.isEmpty() in addPoint()122 || (!mLastThreePoints.get(mLastThreePoints.size() - 1).equals(point) in addPoint()123 && (mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point) in addPoint()125 if (!mLastThreePoints.isEmpty()) { in addPoint()126 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point); in addPoint()128 mLastThreePoints.add(point); in addPoint()129 if (mLastThreePoints.size() == 4) { in addPoint()130 mLastThreePoints.remove(0); in addPoint()133 mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), mLastThreePoints.get(2)); in addPoint()
82 private List<Point> mLastThreePoints = new ArrayList<>(); field in SpeedAnglesClassifier.Data113 if (mLastThreePoints.isEmpty() in addPoint()114 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(speedPoint)) { in addPoint()115 mLastThreePoints.add(speedPoint); in addPoint()116 if (mLastThreePoints.size() == 4) { in addPoint()117 mLastThreePoints.remove(0); in addPoint()120 mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), mLastThreePoints.get(2)); in addPoint()