OSDN Git Service

Cache animation time value to reduce work and synchronize animation.
authorChih-Chung Chang <chihchung@google.com>
Fri, 17 Feb 2012 02:02:27 +0000 (10:02 +0800)
committerChih-Chung Chang <chihchung@google.com>
Fri, 17 Feb 2012 02:04:10 +0000 (10:04 +0800)
commit7d19f7f4281f232b9dceee4a5df390c03e2bd16b
tree2e2c95931bea43997336968da849089816470f3a
parentbb23e88996ed453ec3460d3d3bd470413d06d57c
Cache animation time value to reduce work and synchronize animation.

Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
12 files changed:
src/com/android/gallery3d/ui/AdaptiveBackground.java
src/com/android/gallery3d/ui/AnimationTime.java [new file with mode: 0644]
src/com/android/gallery3d/ui/CropView.java
src/com/android/gallery3d/ui/EdgeEffect.java
src/com/android/gallery3d/ui/GLCanvas.java
src/com/android/gallery3d/ui/GLCanvasImpl.java
src/com/android/gallery3d/ui/GLRootView.java
src/com/android/gallery3d/ui/GLView.java
src/com/android/gallery3d/ui/ProgressSpinner.java
src/com/android/gallery3d/ui/SlideshowView.java
src/com/android/gallery3d/ui/SlotView.java
tests/src/com/android/gallery3d/ui/GLCanvasTest.java