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.java37 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); field in SpeedAnglesClassifier
53 mStrokeMap.clear(); in onTouchEvent()
59 if (mStrokeMap.get(stroke) == null) { in onTouchEvent()
60 mStrokeMap.put(stroke, new Data()); in onTouchEvent()
65 mStrokeMap.get(stroke).addPoint( in onTouchEvent()
73 Data data = mStrokeMap.get(stroke); in getFalseTouchEvaluation()
DAnglesClassifier.java50 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); field in AnglesClassifier
66 mStrokeMap.clear(); in onTouchEvent()
72 if (mStrokeMap.get(stroke) == null) { in onTouchEvent()
73 mStrokeMap.put(stroke, new Data()); in onTouchEvent()
75 mStrokeMap.get(stroke).addPoint(stroke.getPoints().get(stroke.getPoints().size() - 1)); in onTouchEvent()
81 Data data = mStrokeMap.get(stroke); in getFalseTouchEvaluation()