OSDN Git Service
(root)
/
android-x86
/
packages-apps-Gallery2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83bb96b
)
Force to stop scrolling in filmstrip mode.
author
Angus Kong
<shkong@google.com>
Thu, 24 May 2012 23:20:57 +0000
(16:20 -0700)
committer
Angus Kong
<shkong@google.com>
Thu, 24 May 2012 23:45:31 +0000
(16:45 -0700)
bug:
6554106
Change-Id: I4305ce7068a36e72a325996a88c1d227a2d2b20c
src/com/android/gallery3d/ui/PositionController.java
patch
|
blob
|
history
diff --git
a/src/com/android/gallery3d/ui/PositionController.java
b/src/com/android/gallery3d/ui/PositionController.java
index
d085c4d
..
db77b99
100644
(file)
--- a/
src/com/android/gallery3d/ui/PositionController.java
+++ b/
src/com/android/gallery3d/ui/PositionController.java
@@
-1060,6
+1060,7
@@
class PositionController {
public void stopScrolling() {
if (mPlatform.mAnimationStartTime == NO_ANIMATION) return;
+ if (mFilmMode) mFilmScroller.forceFinished(true);
mPlatform.mFromX = mPlatform.mToX = mPlatform.mCurrentX;
}