congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CircleBitmapDisplayer
Code IndexAdd Tabnine to your IDE (free)

How to use
CircleBitmapDisplayer
in
com.nostra13.universalimageloader.core.display

Best Java code snippets using com.nostra13.universalimageloader.core.display.CircleBitmapDisplayer (Showing top 2 results out of 315)

origin: nostra13/Android-Universal-Image-Loader

ImageAdapter(Context context) {
  inflater = LayoutInflater.from(context);
  options = new DisplayImageOptions.Builder()
      .showImageOnLoading(R.drawable.ic_stub)
      .showImageForEmptyUri(R.drawable.ic_empty)
      .showImageOnFail(R.drawable.ic_error)
      .cacheInMemory(true)
      .cacheOnDisk(true)
      .considerExifParams(true)
      .displayer(new CircleBitmapDisplayer(Color.WHITE, 5))
      .build();
}
origin: stackoverflow.com

imageAware.setImageBitmap(getCircledBitmap(bitmap, centerX, centerY,
    radius, srcRect, destRectF, ivWidth, ivHeight, borderWidth,
    borderColor));
com.nostra13.universalimageloader.core.displayCircleBitmapDisplayer

Javadoc

Can display bitmap cropped by a circle. This implementation works only with ImageViews wrapped in ImageViewAware.
If this implementation doesn't meet your needs then consider RoundedImageView or CircularImageView projects for usage.

Most used methods

  • <init>
  • getCircledBitmap

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Reference (javax.naming)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now