final class SmallMoveTouchFilter extends java.lang.Object implements TouchFilter
Modifier and Type | Field and Description |
---|---|
private TouchState |
oldState |
private int |
radius |
PRIORITY_ID, PRIORITY_POST_ID, PRIORITY_PRE_ID
Constructor and Description |
---|
SmallMoveTouchFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
boolean |
filter(TouchState state)
Filters a touch state
|
boolean |
flush(TouchState state)
Flushes this filter's state.
|
int |
getPriority()
Gets the priority of this touch filter.
|
int |
hashCode() |
java.lang.String |
toString() |
private final TouchState oldState
private final int radius
public int getPriority()
TouchFilter
getPriority
in interface TouchFilter
public boolean filter(TouchState state)
TouchFilter
filter
in interface TouchFilter
state
- The new state to be filtered or modifiedpublic boolean flush(TouchState state)
TouchFilter
flush
in interface TouchFilter
state
- a TouchState object to be filled in by the filterpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object