public class DurationCountClassifier extends StrokeClassifier
GENERIC, LEFT_AFFORDANCE, mClassifierData, NOTIFICATION_DISMISS, NOTIFICATION_DOUBLE_TAP, NOTIFICATION_DRAG_DOWN, QUICK_SETTINGS, RIGHT_AFFORDANCE, UNLOCK
Constructor and Description |
---|
DurationCountClassifier(ClassifierData classifierData) |
Modifier and Type | Method and Description |
---|---|
float |
getFalseTouchEvaluation(int type,
Stroke stroke) |
String |
getTag() |
onSensorChanged, onTouchEvent
public DurationCountClassifier(ClassifierData classifierData)
public String getTag()
getTag
in class Classifier
public float getFalseTouchEvaluation(int type, Stroke stroke)
getFalseTouchEvaluation
in class StrokeClassifier
type
- the type of action for which this method is calledstroke
- the stroke for which the evaluation will be calculated