Java Code Examples for android.widget.ImageView.getAnimation()

The following are Jave code examples for showing how to use getAnimation() of the android.widget.ImageView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: open-rmbt   File:   View Source Code Vote up 6 votes
 * @param testType
public void updateProgressBar(final QoSTestResultEnum testType) {
	if (viewMap != null) {
		View view = viewMap.get(testType);
		if (view != null) {
			ImageView image = (ImageView) view.findViewById(;
			if (image.getAnimation() == null) {
				image.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.rotate));