Searched refs:mLastThreePoints (Results 1 – 2 of 2) sorted by relevance
96 private List<Point> mLastThreePoints = new ArrayList<>(); field in AnglesClassifier.Data127 if (mLastThreePoints.isEmpty() in addPoint()128 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(point)) { in addPoint()129 if (!mLastThreePoints.isEmpty()) { in addPoint()130 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point); in addPoint()132 mLastThreePoints.add(point); in addPoint()133 if (mLastThreePoints.size() == 4) { in addPoint()134 mLastThreePoints.remove(0); in addPoint()136 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), in addPoint()137 mLastThreePoints.get(2)); in addPoint()
89 private List<Point> mLastThreePoints = new ArrayList<>(); field in SpeedAnglesClassifier.Data120 if (mLastThreePoints.isEmpty() in addPoint()121 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(speedPoint)) { in addPoint()122 mLastThreePoints.add(speedPoint); in addPoint()123 if (mLastThreePoints.size() == 4) { in addPoint()124 mLastThreePoints.remove(0); in addPoint()126 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), in addPoint()127 mLastThreePoints.get(2)); in addPoint()