OSDN Git Service

Continue the animation after the data is updated.
authorAngus Kong <shkong@google.com>
Thu, 9 Jan 2014 08:56:35 +0000 (00:56 -0800)
committerAngus Kong <shkong@google.com>
Fri, 10 Jan 2014 00:46:49 +0000 (16:46 -0800)
commit1f9db2dfe59c33228103c54523281501ef52c9ba
tree2f435c1050c707090dd49dab9c6825f2976ecaf4
parent0cbeaaadce1b50200701a33afc5dff1a4fe4bcd7
Continue the animation after the data is updated.

When the data is updated, the animation is interrupted because of the original
view is replaced by the new one from the new data. We should copy the original
animation and continue.

Handles the condition when the last photo is deleted.

Also some refinement of the codes.

bug:12196441
bug:12476802

Change-Id: I2139b09bf5f958af6fa21b91e3d0c14908e1ba79
src/com/android/camera/CameraActivity.java
src/com/android/camera/filmstrip/FilmstripContentPanel.java
src/com/android/camera/widget/FilmstripLayout.java
src/com/android/camera/widget/FilmstripView.java