tst_QQuickMouseArea: fix doubleTap test
tst_QQuickMouseArea::doubleTap() expects the second touchpoint to exceed
the double-tap distance and clear the pending double-tap state. The
original (50, 5) offset is within HarmonyOS's 60-vp threshold, causing
a synthetic double-click and suppressing the expected clicked signal.
The Chinese TapGesture documentation specifies this in the
"TapGestureParameters" section, under "count", note 2
(translated into English):
The 60-vp threshold is documented in the "TapGestureParameters"
section, in the NOTE (item 2) of the "count" parameter's Description:
https://developer.huawei.com/consumer/en/doc/harmonyos-references/ts-basic-gestures-tapgesture
Qt's OHOS platform theme uses the same value for TouchDoubleTapDistance
(see qohosplatformtheme.cpp).
Calculate the offset from the platform's touch double-tap distance
instead of using a fixed value. Other platforms may use different
coordinates, but the second touchpoint remains beyond their threshold
and the expected test behavior stays the same.
Fixes: QTBUG-150768
Pick-to: 6.12
Change-Id: I39dfc452d757eaf46e16c14cef88f2edbd6bc4dc
Reviewed-by: SanthoshKumar Selvaraj <santhosh.kumar.selvaraj@qt.io>