I would say that when action.pressed is true, action.dx and action.dy should be 0. Indeed they are 0 on my Mac. But they are not 0 on my Android devide (Huawei P10 lite). Indeed it seems to me that dx and dy are computed using the last coordinates of the previous touch. At least the behavior on different platforms should be consistent.
That is perfectly fine! Reminders like these help raise attention to issues that aren’t critical but still annoying and encountered by users in real life situations.