Code example for Animation

Methods: getDuration

0
	} 
 
	private void updateFlipInterval(Animation animation) {
		int duration = 0;
		if (null != animation) {
			duration = (int) animation.getDuration();
		} 
		mMaxAnimationDuration = Math.max(duration, mMaxAnimationDuration);
	} 
 
	// @Override 
	// protected Parcelable onSaveInstanceState() { 
	// SavedState savedState = new SavedState(super.onSaveInstanceState()); 
	// savedState.isFlipping = mIsFlipping; 
	// stopFlippingInner(); 
	// return savedState; 
	// } 
	// 
	// @Override 
	// protected void onRestoreInstanceState(Parcelable state) { 
	// SavedState savedState = (SavedState) state;