Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGesture.java57 private final ArrayList<GestureStroke> mStrokes = new ArrayList<GestureStroke>(); field in Gesture
68 final int count = mStrokes.size(); in clone()
70 GestureStroke stroke = mStrokes.get(i); in clone()
71 gesture.mStrokes.add((GestureStroke)stroke.clone()); in clone()
80 return mStrokes; in getStrokes()
87 return mStrokes.size(); in getStrokesCount()
96 mStrokes.add(stroke); in addStroke()
108 final ArrayList<GestureStroke> strokes = mStrokes; in getLength()
132 final ArrayList<GestureStroke> strokes = mStrokes; in toPath()
149 final ArrayList<GestureStroke> strokes = mStrokes; in toPath()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java51 private final List<StrokeDescription> mStrokes = new ArrayList<>(); field in GestureDescription
75 mStrokes.addAll(strokes); in GestureDescription()
84 return mStrokes.size(); in getStrokeCount()
95 return mStrokes.get(index); in getStroke()
106 for (int i = 0; i < mStrokes.size(); i++) { in getNextKeyPointAtLeast()
107 long thisStartTime = mStrokes.get(i).mStartTime; in getNextKeyPointAtLeast()
111 long thisEndTime = mStrokes.get(i).mEndTime; in getNextKeyPointAtLeast()
128 for (int i = 0; i < mStrokes.size(); i++) { in getPointsForTime()
129 StrokeDescription strokeDescription = mStrokes.get(i); in getPointsForTime()
159 private final List<StrokeDescription> mStrokes = new ArrayList<>(); field in GestureDescription.Builder
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHistoryEvaluator.java31 private final ArrayList<Data> mStrokes = new ArrayList<>(); field in HistoryEvaluator
41 mStrokes.add(new Data(evaluation)); in addStroke()
53 return weightedAverage(mStrokes) + weightedAverage(mGestureWeights); in getEvaluation()
83 decayValue(mStrokes, factor); in decayValue()