public class SystemGesturesPointerEventListener extends Object implements WindowManagerPolicy.PointerEventListener
Constructor and Description |
---|
SystemGesturesPointerEventListener(Context context,
com.android.server.policy.SystemGesturesPointerEventListener.Callbacks callbacks) |
Modifier and Type | Method and Description |
---|---|
void |
onPointerEvent(MotionEvent event)
1. onPointerEvent will be called on the service.UiThread.
2. motionEvent will be recycled after onPointerEvent returns so if it is needed later a
copy() must be made and the copy must be recycled.
|
void |
systemReady() |
public SystemGesturesPointerEventListener(Context context, com.android.server.policy.SystemGesturesPointerEventListener.Callbacks callbacks)
public void systemReady()
public void onPointerEvent(MotionEvent event)
WindowManagerPolicy.PointerEventListener
onPointerEvent
in interface WindowManagerPolicy.PointerEventListener