class MacTouchInputSupport extends TouchInputSupport
Modifier and Type | Class and Description |
---|---|
private static class |
MacTouchInputSupport.TouchPoint |
TouchInputSupport.TouchCountListener
Modifier and Type | Field and Description |
---|---|
private boolean |
curIsDirect |
private int |
curModifiers |
private java.util.List<MacTouchInputSupport.TouchPoint> |
curTouchPoints |
private java.util.Map<java.lang.Long,java.lang.ref.WeakReference<View>> |
touchIdToView |
Constructor and Description |
---|
MacTouchInputSupport(TouchInputSupport.TouchCountListener listener,
boolean filterTouchCoordinates) |
Modifier and Type | Method and Description |
---|---|
void |
notifyBeginTouchEvent(View view,
int modifiers,
boolean isDirect,
int touchEventCount) |
void |
notifyEndTouchEvent(View view) |
void |
notifyNextTouchEvent(View view,
int state,
long id,
int x,
int y,
int xAbs,
int yAbs) |
getTouchCount
private final java.util.Map<java.lang.Long,java.lang.ref.WeakReference<View>> touchIdToView
private int curModifiers
private boolean curIsDirect
private java.util.List<MacTouchInputSupport.TouchPoint> curTouchPoints
MacTouchInputSupport(TouchInputSupport.TouchCountListener listener, boolean filterTouchCoordinates)
public void notifyBeginTouchEvent(View view, int modifiers, boolean isDirect, int touchEventCount)
notifyBeginTouchEvent
in class TouchInputSupport
public void notifyEndTouchEvent(View view)
notifyEndTouchEvent
in class TouchInputSupport
public void notifyNextTouchEvent(View view, int state, long id, int x, int y, int xAbs, int yAbs)
notifyNextTouchEvent
in class TouchInputSupport