當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。