| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private LookaheadTouchFilter. | |
| private TouchState | |
| private TouchState |
| Access | Constructor and Description |
|---|---|
| pack-priv | LookaheadTouchFilter(boolean
Sets whether or not we are asking the touch pipeline to
assign touch point IDs assignIDs)Creates a new LookaheadTouchFilter |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | filter(TouchState
The new state to be filtered or modified state)Implements com. Filters a touch state |
| public boolean | flush(TouchState
a TouchState object to be filled in by the filter state)Implements com. Flushes this filter's state. |
| public int | getPriority()
Implements com. Gets the priority of this touch filter. |
| public String |
| assignIDs | back to summary |
|---|---|
| private boolean assignIDs | |
| filterState | back to summary |
|---|---|
| private LookaheadTouchFilter. | |
| previousState | back to summary |
|---|---|
| private TouchState previousState | |
| tmpState | back to summary |
|---|---|
| private TouchState tmpState | |
| LookaheadTouchFilter | back to summary |
|---|---|
| pack-priv LookaheadTouchFilter(boolean assignIDs) Creates a new LookaheadTouchFilter
| |
| filter | back to summary |
|---|---|
| public boolean filter(TouchState state) Implements com. Doc from com. Filters a touch state
| |
| flush | back to summary |
|---|---|
| public boolean flush(TouchState state) Implements com. Doc from com. Flushes this filter's state. If this filter wants to send any additional events it should fill in the provided state object.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements com. Doc from com. Gets the priority of this touch filter. Touch filters are applied in order, sorting first by their priority and then by the order in which they were requested. Higher priority numbers are applied first.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final LookaheadTouchFilter. | CLEAN
No events processed yet |
| public static final LookaheadTouchFilter. | PENDING_MODIFIABLE
previousState contains an event that we are allowed to change before sending. |
| public static final LookaheadTouchFilter. | PENDING_UNMODIFIABLE
previousState contains an event that must be sent as is. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LookaheadTouchFilter. | |
| public static LookaheadTouchFilter. |
| CLEAN | back to summary |
|---|---|
| public static final LookaheadTouchFilter. No events processed yet | |
| PENDING_MODIFIABLE | back to summary |
|---|---|
| public static final LookaheadTouchFilter. previousState contains an event that we are allowed to change before sending. An event can be modified if it is substantially different neither from the event that preceded it nor from the event that follows it. | |
| PENDING_UNMODIFIABLE | back to summary |
|---|---|
| public static final LookaheadTouchFilter. previousState contains an event that must be sent as is. This will happen when an event is the first to be processed on this pulse, or "Substantially different" means that two events differ in the number of touch points or in the IDs assigned to those points. | |
| FilterState | back to summary |
|---|---|
| private FilterState() | |
| valueOf | back to summary |
|---|---|
| public static LookaheadTouchFilter. | |
| values | back to summary |
|---|---|
| public static LookaheadTouchFilter. | |