summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2013-10-12 10:31:17 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-01-24 18:09:38 -0800
commit87df906d21e03f530e7ab9198a0f04215fc321cf (patch)
treeb73b7ca5971f26a69205b8798685ffb33e58673f /Android.mk
parent7e72c64a5bda84182fc03091bc534b36b2cd822a (diff)
downloadandroid_packages_apps_Gallery2-87df906d21e03f530e7ab9198a0f04215fc321cf.tar.gz
android_packages_apps_Gallery2-87df906d21e03f530e7ab9198a0f04215fc321cf.tar.bz2
android_packages_apps_Gallery2-87df906d21e03f530e7ab9198a0f04215fc321cf.zip
Gallery2: Fix the superposition of two images issue
When we zoom out to film mode from single photo mode with more than two fingers, PhotoView will receive multi onScaleBegin/onScaleEnd streams. But when mModeChanged is true, it will only notify PositionController to beginScale but not to endScale, then mInScale remains in true state. So when we back to single photo mode from film mode, focuse photo can't do scale animation in Box.startSnapback(). According to the logic in onScaleEnd(), we will ignore other scale begin notification if film mode has been changed. CRs-Fixed: 551984 Change-Id: I468d932adab0a3540f107501db4d0ea4b7ffbb10
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions