Lines Matching refs:MotionEvent
41 import android.view.MotionEvent;
1333 public boolean onInterceptTouchEvent(MotionEvent ev) {
1350 if ((action == MotionEvent.ACTION_MOVE) &&
1355 switch (action & MotionEvent.ACTION_MASK) {
1356 case MotionEvent.ACTION_MOVE: {
1372 case MotionEvent.ACTION_DOWN: {
1413 case MotionEvent.ACTION_UP:
1414 case MotionEvent.ACTION_CANCEL:
1418 case MotionEvent.ACTION_POINTER_UP:
1431 protected void determineScrollingStart(MotionEvent ev) {
1439 protected void determineScrollingStart(MotionEvent ev, float touchSlopScale) {
1607 public boolean onTouchEvent(MotionEvent ev) {
1617 switch (action & MotionEvent.ACTION_MASK) {
1618 case MotionEvent.ACTION_DOWN:
1644 case MotionEvent.ACTION_MOVE:
1754 case MotionEvent.ACTION_UP:
1858 case MotionEvent.ACTION_CANCEL:
1865 case MotionEvent.ACTION_POINTER_UP:
1893 protected void onUnhandledTap(MotionEvent ev) {
1898 public boolean onGenericMotionEvent(MotionEvent event) {
1901 case MotionEvent.ACTION_SCROLL: {
1907 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1909 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1910 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
1928 private void acquireVelocityTrackerAndAddMovement(MotionEvent ev) {
1943 private void onSecondaryPointerUp(MotionEvent ev) {
1944 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >>
1945 MotionEvent.ACTION_POINTER_INDEX_SHIFT;
2345 public boolean onHoverEvent(android.view.MotionEvent event) {