Lines Matching defs:action
396 final int action = event.getAction();
403 logCoords(type, action, i, mTempCoords, id,
410 logCoords(type, action, i, mTempCoords, id,
415 private void logCoords(String type, int action, int index,
418 switch (action & MotionEvent.ACTION_MASK) {
435 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
443 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
463 prefix = Integer.toString(action);
492 final int action = event.getAction();
495 if (action == MotionEvent.ACTION_DOWN
496 || (action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_DOWN) {
497 final int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
499 if (action == MotionEvent.ACTION_DOWN) {
552 logCoords("Pointer", action, i, coords, id,
566 logCoords("Pointer", action, i, coords, id,
583 if (action == MotionEvent.ACTION_UP
584 || action == MotionEvent.ACTION_CANCEL
585 || (action & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_POINTER_UP) {
586 final int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
593 if (action == MotionEvent.ACTION_UP
594 || action == MotionEvent.ACTION_CANCEL) {