public class RecentsViewTouchHandler extends Object
Constructor and Description |
---|
RecentsViewTouchHandler(RecentsView rv) |
Modifier and Type | Method and Description |
---|---|
TaskStack.DockState[] |
getDockStatesForCurrentOrientation()
Returns the preferred dock states for the current orientation.
|
ArrayList<TaskStack.DockState> |
getVisibleDockStates()
Returns the set of visible dock states for this current drag.
|
void |
onBusEvent(ConfigurationChangedEvent event) |
void |
onBusEvent(DragEndEvent event) |
void |
onBusEvent(DragStartEvent event)
Events
|
boolean |
onInterceptTouchEvent(MotionEvent ev)
Touch preprocessing for handling below
|
boolean |
onTouchEvent(MotionEvent ev)
Handles touch events once we have intercepted them
|
void |
registerDropTargetForCurrentDrag(DropTarget target)
Registers a new drop target for the current drag only.
|
public RecentsViewTouchHandler(RecentsView rv)
public void registerDropTargetForCurrentDrag(DropTarget target)
public TaskStack.DockState[] getDockStatesForCurrentOrientation()
public ArrayList<TaskStack.DockState> getVisibleDockStates()
public boolean onInterceptTouchEvent(MotionEvent ev)
public boolean onTouchEvent(MotionEvent ev)
public final void onBusEvent(DragStartEvent event)
public final void onBusEvent(DragEndEvent event)
public final void onBusEvent(ConfigurationChangedEvent event)