本文整理汇总了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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
示例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);
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}