(Pinch) Remove gradient limitations, distance moved = pinch 47/24147/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 7 Jul 2014 17:54:17 +0000 (18:54 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 16:07:50 +0000 (17:07 +0100)
commitf8f40aa5d3b97dcffd8e2c0c9d44ddeeb544c605
tree9c24c62bbc7f5bb8ccc4b267d666e7f4775886af
parentc448ee9e7ccd994dd9e3988e6f23dd816b51da4f
(Pinch) Remove gradient limitations, distance moved = pinch

[problem]      Hard to do pinch sometimes when fingers moving opposite gradients (but apart)
[cause]        Checking the gradient of motion of the two fingers matches (within a certain threshold).
[solution]     Just emit a pinch if there is enough distance.

Change-Id: I4e5a119843a19ae35348cf1794ec28c416fef897
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
adaptors/tizen/internal/common/events/pinch-gesture-detector.cpp