本文整理匯總了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);
}
}