public class TaskTapPointerEventListener extends Object implements WindowManagerPolicy.PointerEventListener
Constructor and Description |
---|
TaskTapPointerEventListener(WindowManagerService service,
com.android.server.wm.DisplayContent displayContent) |
Modifier and Type | Method and Description |
---|---|
void |
onPointerEvent(MotionEvent motionEvent)
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.
|
public TaskTapPointerEventListener(WindowManagerService service, com.android.server.wm.DisplayContent displayContent)
public void onPointerEvent(MotionEvent motionEvent)
WindowManagerPolicy.PointerEventListener
onPointerEvent
in interface WindowManagerPolicy.PointerEventListener