Searched refs:mLastThreePoints (Results 1 – 2 of 2) sorted by relevance
89 private List<Point> mLastThreePoints = new ArrayList<>(); field in AnglesClassifier.Data120 if (mLastThreePoints.isEmpty() in addPoint()121 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(point)) { in addPoint()122 if (!mLastThreePoints.isEmpty()) { in addPoint()123 mLength += mLastThreePoints.get(mLastThreePoints.size() - 1).dist(point); in addPoint()125 mLastThreePoints.add(point); in addPoint()126 if (mLastThreePoints.size() == 4) { in addPoint()127 mLastThreePoints.remove(0); in addPoint()129 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), in addPoint()130 mLastThreePoints.get(2)); in addPoint()
83 private List<Point> mLastThreePoints = new ArrayList<>(); field in SpeedAnglesClassifier.Data114 if (mLastThreePoints.isEmpty() in addPoint()115 || !mLastThreePoints.get(mLastThreePoints.size() - 1).equals(speedPoint)) { in addPoint()116 mLastThreePoints.add(speedPoint); in addPoint()117 if (mLastThreePoints.size() == 4) { in addPoint()118 mLastThreePoints.remove(0); in addPoint()120 float angle = mLastThreePoints.get(1).getAngle(mLastThreePoints.get(0), in addPoint()121 mLastThreePoints.get(2)); in addPoint()