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

How to use
transition
method
in
com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions

Best Java code snippets using com.bumptech.glide.load.resource.bitmap.BitmapTransitionOptions.transition (Showing top 4 results out of 315)

origin: bumptech/glide

/**
 * Enables a any Drawable based animation to run on Bitmaps as well.
 */
@NonNull
public BitmapTransitionOptions transitionUsing(
  @NonNull TransitionFactory<Drawable> drawableCrossFadeFactory) {
 return transition(new BitmapTransitionFactory(drawableCrossFadeFactory));
}
origin: bumptech/glide

/**
 * Returns a {@link BitmapTransitionOptions} object that uses the given transition factory.
 *
 * @see com.bumptech.glide.GenericTransitionOptions#with(TransitionFactory)
 */
@NonNull
public static BitmapTransitionOptions with(
  @NonNull TransitionFactory<Bitmap> transitionFactory) {
 return new BitmapTransitionOptions().transition(transitionFactory);
}
origin: mozilla-tw/Rocket

/**
 * Enables a any Drawable based animation to run on Bitmaps as well.
 */
public BitmapTransitionOptions transitionUsing(
  TransitionFactory<Drawable> drawableCrossFadeFactory) {
 return transition(new BitmapTransitionFactory(drawableCrossFadeFactory));
}
origin: mozilla-tw/Rocket

/**
 * Returns a {@link BitmapTransitionOptions} object that uses the given transition factory.
 *
 * @see com.bumptech.glide.GenericTransitionOptions#with(TransitionFactory)
 */
public static BitmapTransitionOptions with(
  TransitionFactory<Bitmap> transitionFactory) {
 return new BitmapTransitionOptions().transition(transitionFactory);
}
com.bumptech.glide.load.resource.bitmapBitmapTransitionOptionstransition

Javadoc

Enables a any Drawable based animation to run on Bitmaps as well.

Popular methods of BitmapTransitionOptions

  • <init>
  • crossFade
    Enables a cross fade animation between both the placeholder and the first resource and between subse
  • transitionUsing
    Enables a any Drawable based animation to run on Bitmaps as well.
  • withCrossFade
    Returns a BitmapTransitionOptions object that enables a cross fade animation.

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
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