当前位置: 首页>>代码示例>>Java>>正文


Java FadeInBitmapDisplayer.animate方法代码示例

本文整理汇总了Java中com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer.animate方法的典型用法代码示例。如果您正苦于以下问题:Java FadeInBitmapDisplayer.animate方法的具体用法?Java FadeInBitmapDisplayer.animate怎么用?Java FadeInBitmapDisplayer.animate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer的用法示例。


在下文中一共展示了FadeInBitmapDisplayer.animate方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view,
                              Bitmap loadedImage) {
    if (imageUri.equals(view.getTag())) {
        L.e(String.valueOf(view.getTag()));
        ((ImageView)view).setImageBitmap(loadedImage);
        return;
    }
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 500);
            displayedImages.add(imageUri);
        }
    }
}
 
开发者ID:SwiftyWang,项目名称:FingerColoring-Android,代码行数:18,代码来源:ImageLoaderUtil.java

示例2: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view,
		Bitmap loadedImage) {
	if (loadedImage != null) {
		ImageView imageView = (ImageView) view;
		imageView.setLayoutParams(new RelativeLayout.LayoutParams(500,
				500));
		imageView.setScaleType(ScaleType.FIT_START);
		imageView.setImageBitmap(loadedImage);
		boolean firstDisplay = !displayedImages.contains(imageUri);
		if (firstDisplay) {
			FadeInBitmapDisplayer.animate(imageView, 500);
			displayedImages.add(imageUri);
		}
	}
}
 
开发者ID:jerin-m-jose,项目名称:Recipe-Puppy-Android,代码行数:17,代码来源:RecipePageFragment.java

示例3: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
	if (loadedImage != null) {
		ImageView imageView = (ImageView) view;
		boolean firstDisplay = !displayedImages.contains(imageUri);
		if (firstDisplay) {
			FadeInBitmapDisplayer.animate(imageView, 500);
			displayedImages.add(imageUri);
		}
	}
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:12,代码来源:ImageListFragment.java

示例4: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 200);
            displayedImages.add(imageUri);
        }
    }
    progressEvent(view, true);
}
 
开发者ID:dibakarece,项目名称:DMAudioStreamer,代码行数:13,代码来源:AdapterMusic.java

示例5: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 1000);
            displayedImages.add(imageUri);
        }
    }
    progressEvent(view, true);
}
 
开发者ID:dibakarece,项目名称:DMAudioStreamer,代码行数:13,代码来源:MusicActivity.java

示例6: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 500);
            displayedImages.add(imageUri);
        }
    }
}
 
开发者ID:AppHero2,项目名称:Raffler-Android,代码行数:12,代码来源:Util.java

示例7: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        if (!displayedImages.contains(imageUri)) {
            FadeInBitmapDisplayer.animate(imageView, 500);
            displayedImages.add(imageUri);
        }
    }
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:10,代码来源:BaseTimelineAdapter.java

示例8: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        ((View) imageView.getParent()).setVisibility(View.VISIBLE);
        FadeInBitmapDisplayer.animate((View) imageView.getParent(), 300);
    }
}
 
开发者ID:huang303513,项目名称:Coding-Android,代码行数:9,代码来源:UserDetailActivity.java

示例9: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 500);
            displayImages.add(imageUri);
        }
    }
}
 
开发者ID:TeamReader,项目名称:FancyReaderAndroid,代码行数:12,代码来源:BookAdapter.java

示例10: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        changeVisibility(view);
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 600);
            displayedImages.add(imageUri);
        }
    }
}
 
开发者ID:pasqualinigustavo,项目名称:photobook,代码行数:13,代码来源:AnimateFirstDisplayListener.java

示例11: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view,
		Bitmap loadedImage) {
	if (loadedImage != null) {
		ImageView imageView = (ImageView) view;
		boolean firstDisplay = !displayedImages.contains(imageUri);
		if (firstDisplay) {
			FadeInBitmapDisplayer.animate(imageView, 500);
			displayedImages.add(imageUri);
		}
	}
}
 
开发者ID:nEdAy,项目名称:XPPLE_IM,代码行数:13,代码来源:MessageChatAdapter.java

示例12: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
	if (loadedImage != null) {
		ImageView imageView = (ImageView) view;
		boolean firstDisplay = !displayedImages.contains(imageUri);
		if (firstDisplay) {
			FadeInBitmapDisplayer.animate(imageView, 500);
			displayedImages.add(imageUri);
		} else {
			imageView.setImageBitmap(loadedImage);
		}
	}
}
 
开发者ID:bmbstack,项目名称:android-kit-old,代码行数:14,代码来源:CommonUtils.java

示例13: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage,String filePath) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        DebugUtil.dLog("onLoadingComplete--uri:"+imageUri+",filePath:"+filePath);
        boolean firstDisplay = !displayedImages.contains(imageUri);
        if (firstDisplay) {
            FadeInBitmapDisplayer.animate(imageView, 500);
            displayedImages.add(imageUri);
        } else {
            imageView.setImageBitmap(loadedImage);
        }
    }
}
 
开发者ID:jixieshi999,项目名称:juahya,代码行数:15,代码来源:IFImageViewInFlater.java

示例14: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view,
        Bitmap loadedImage) {
    if (loadedImage != null) {
        ImageView imageView = (ImageView) view;
        boolean firstDisplay = !displayedImages.contains(imageUri);
        FadeInBitmapDisplayer.animate(imageView, 1000);
        if (firstDisplay) {
            displayedImages.add(imageUri);
        }
    }
}
 
开发者ID:NickAndroid,项目名称:Music_Android,代码行数:13,代码来源:TrackListAdapter.java

示例15: onLoadingComplete

import com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer; //导入方法依赖的package包/类
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
	if (loadedImage != null) {
		ImageView imageView = (ImageView) view;
		FadeInBitmapDisplayer.animate(imageView, 500);
		imageView.setImageBitmap(loadedImage);
	}
}
 
开发者ID:youtaya,项目名称:crabapple,代码行数:9,代码来源:TimeListAdapter.java


注:本文中的com.nostra13.universalimageloader.core.display.FadeInBitmapDisplayer.animate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。