Start a timer on touch start. Then on touch end if the timer is less than 0.2 (?) seconds then it's a tap otherwise it's a hold/swipe.
Also you can store the x,y values on touch start and if they're the same on touch end then it's a tap and if they're different it's a swipe. You might want to allow for a little variation.