diff options
author | Hung-ying Tyan <tyanh@google.com> | 2012-08-29 14:15:32 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2012-08-29 16:33:08 +0800 |
commit | a5371c293c15a3aa09ba7465ab48de36f275214c (patch) | |
tree | 256abcab2a196b2366906cea76d524c0d8696ab7 /gallerycommon/src | |
parent | 45d791d5271e7283550140cfaca5b4bdfa0c0d14 (diff) | |
download | android_packages_apps_Snap-a5371c293c15a3aa09ba7465ab48de36f275214c.tar.gz android_packages_apps_Snap-a5371c293c15a3aa09ba7465ab48de36f275214c.tar.bz2 android_packages_apps_Snap-a5371c293c15a3aa09ba7465ab48de36f275214c.zip |
Fix pinch out gesture for film strip mode on gingerbread.
On crespo running Android 2.3.6, a pinch out gesture results in the following
call sequence: onDown(), onUp() and then onSingleTapUp(). The correct sequence
for a single-tap-up gesture should be: onDown(), onSingleTapUp() and onUp().
The call sequence for a pinch out gesture in JB is: onDown() and then onUp().
Base on these observations, a condition is added in onSingleTapUp() to filter
out the false alarm where onSingleTapUp() is called within a pinch out gesture.
Bug: 7023717
Change-Id: I010b87f95c3197a299a7d907ce32e93a1d5e958f
Diffstat (limited to 'gallerycommon/src')
0 files changed, 0 insertions, 0 deletions