How do I swipe on a texture and know if its swiped 100%

How can I drag and swipe upon a texture and calculate if I swiped on it 100% or certain other >100 value?

Try to divide the distance between the touch and the current finger by the distance you need to swipe.

In your case, 128 / 256 = 0.5