public abstract class AbstractDragGestureEventHandler extends AbstractTouchEventHandler
MAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
AbstractDragGestureEventHandler(TabSwitcher tabSwitcher,
int dragThreshold,
android.graphics.RectF touchableArea)
Creates a new handler, which can be managed by a
TouchEventDispatcher in order to
dispatch touch events to it. |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.RectF |
getTouchableArea()
Returns the bounds of the onscreen area, the handler takes into consideration for handling
touch events.
|
compare, equals, getDragHelper, getPriority, getTabSwitcher, getVelocityTracker, handleTouchEvent, hashCode, isDragging, isDraggingAllowed, isInsideTouchableArea, isReset, onDown, onDrag, onTouchEvent, onUp, reset, setPointerIdpublic AbstractDragGestureEventHandler(TabSwitcher tabSwitcher, int dragThreshold, android.graphics.RectF touchableArea)
TouchEventDispatcher in order to
dispatch touch events to it.tabSwitcher - The tab switcher, the event handler belongs to, as an instance of the class TabSwitcher. The tab switcher may not be nulldragThreshold - The threshold of the drag helper, which is used to recognize drag gestures, in pixels
as an Integer value The threshold must be at least 0touchableArea - The bounds of the onscreen area, the handler should take into consideration for
handling touch events, as an instance of the class RectF or null, if the are
should not be restrictedpublic final android.graphics.RectF getTouchableArea()
AbstractTouchEventHandlergetTouchableArea in class AbstractTouchEventHandlerRectF or null, if the area is not
restricted