/[projects]/android/Side9/src/dk/thoerup/side9/anim/DisplayNextView.java
ViewVC logotype

Annotation of /android/Side9/src/dk/thoerup/side9/anim/DisplayNextView.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1217 - (hide annotations) (download)
Mon Jan 24 22:21:23 2011 UTC (13 years, 4 months ago) by torben
File size: 718 byte(s)
- Added flip animation of pictures in Picture View
- Marked OVerview activity as a launcher act. so it can be found in the phone's app launcher 
- Default values for "Show caption" and "save to sd" is now true.
- Bump version to 21
1 torben 1217 package dk.thoerup.side9.anim;
2    
3     import android.view.animation.Animation;
4     import android.widget.ImageView;
5    
6     public final class DisplayNextView implements Animation.AnimationListener {
7     private boolean mCurrentView;
8     ImageView image1;
9     ImageView image2;
10     boolean forward;
11    
12     public DisplayNextView(boolean currentView, boolean forward, ImageView image1, ImageView image2) {
13     mCurrentView = currentView;
14     this.image1 = image1;
15     this.image2 = image2;
16     this.forward = forward;
17     }
18    
19     public void onAnimationStart(Animation animation) {
20     }
21    
22     public void onAnimationEnd(Animation animation) {
23     image1.post(new SwapViews(mCurrentView, forward, image1, image2));
24     }
25    
26     public void onAnimationRepeat(Animation animation) {
27     }
28     }

  ViewVC Help
Powered by ViewVC 1.1.20