Home
last modified time | relevance | path

Searched refs:sPoints (Results 1 – 1 of 1) sorted by relevance

/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/
DFreehandView.java29 private List<PointF> sPoints; field in FreehandView
53 if (sPoints != null && !drawing) { in onTouchEvent()
77 if (sPoints == null) { in onTouchEvent()
78 sPoints = new ArrayList<>(); in onTouchEvent()
79 sPoints.add(sStart); in onTouchEvent()
81 sPoints.add(sCurrent); in onTouchEvent()
115 if (sPoints != null && sPoints.size() >= 2) { in onDraw()
117 sourceToViewCoord(sPoints.get(0).x, sPoints.get(0).y, vPrev); in onDraw()
119 for (int i = 1; i < sPoints.size(); i++) { in onDraw()
120 sourceToViewCoord(sPoints.get(i).x, sPoints.get(i).y, vPoint); in onDraw()
[all …]