OSDN Git Service

Don't switch back to fullscreen camera when flinging
authorBobby Georgescu <georgescu@google.com>
Mon, 17 Sep 2012 21:30:46 +0000 (14:30 -0700)
committerBobby Georgescu <georgescu@google.com>
Mon, 17 Sep 2012 22:14:48 +0000 (15:14 -0700)
commitbcec1d75de1471623c8efdbaddaa8c76dc379b96
tree09db8777c073f3fb5dd646575921a9d5b9b928b1
parent5d54be7c82a3534cb921c9128677f9f299bf01ff
Don't switch back to fullscreen camera when flinging

Bug: 7145903
Bug: 7050303
It was very annoying to users to fling in the filmstrip
and end up in the fullscreen camera mode, so disabling
that. Long-term, we want to be smarter about this and
do the zoom to the full-screen if it's a short swipe
rather than a fling.

Change-Id: I40ac4848a267c06fc41e161a7a292b8f03b2ef4c
src/com/android/gallery3d/ui/PhotoView.java