Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DAccelerationClassifier.java32 private final HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); field in AccelerationClassifier
48 mStrokeMap.clear(); in onTouchEvent()
54 if (mStrokeMap.get(stroke) == null) { in onTouchEvent()
55 mStrokeMap.put(stroke, new Data(point)); in onTouchEvent()
57 mStrokeMap.get(stroke).addPoint(point); in onTouchEvent()
64 Data data = mStrokeMap.get(stroke); in getFalseTouchEvaluation()
DSpeedAnglesClassifier.java43 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); field in SpeedAnglesClassifier
59 mStrokeMap.clear(); in onTouchEvent()
65 if (mStrokeMap.get(stroke) == null) { in onTouchEvent()
66 mStrokeMap.put(stroke, new Data()); in onTouchEvent()
71 mStrokeMap.get(stroke).addPoint( in onTouchEvent()
79 Data data = mStrokeMap.get(stroke); in getFalseTouchEvaluation()
DAnglesClassifier.java52 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); field in AnglesClassifier
73 mStrokeMap.clear(); in onTouchEvent()
79 if (mStrokeMap.get(stroke) == null) { in onTouchEvent()
80 mStrokeMap.put(stroke, new Data()); in onTouchEvent()
82 mStrokeMap.get(stroke).addPoint(stroke.getPoints().get(stroke.getPoints().size() - 1)); in onTouchEvent()
88 Data data = mStrokeMap.get(stroke); in getFalseTouchEvaluation()