congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
AnimatorSet$Dependency
Code IndexAdd Tabnine to your IDE (free)

How to use
AnimatorSet$Dependency
in
com.actionbarsherlock.internal.nineoldandroids.animation

Best Java code snippets using com.actionbarsherlock.internal.nineoldandroids.animation.AnimatorSet$Dependency (Showing top 8 results out of 315)

origin: com.actionbarsherlock/actionbarsherlock

for (Dependency dependency : node.dependencies) {
  Node clonedDependencyNode = nodeCloneMap.get(dependency.node);
  Dependency cloneDependency = new Dependency(clonedDependencyNode,
      dependency.rule);
  nodeClone.addDependency(cloneDependency);
origin: com.willowtreeapps/oak-demos

for (Dependency dependency : node.dependencies) {
  Node clonedDependencyNode = nodeCloneMap.get(dependency.node);
  Dependency cloneDependency = new Dependency(clonedDependencyNode,
      dependency.rule);
  nodeClone.addDependency(cloneDependency);
origin: com.willowtreeapps/oak-demos

/**
 * Sets up the given animation to play when the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
 * to start when the animation supplied in this method call ends.
 *
 * @param anim The animation whose end will cause the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method to play.
 */
public Builder after(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(node, Dependency.AFTER);
  mCurrentNode.addDependency(dependency);
  return this;
}
origin: com.willowtreeapps/oak-demos

/**
 * Sets up the given animation to play when the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
 * ends.
 *
 * @param anim The animation that will play when the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method ends.
 */
public Builder before(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(mCurrentNode, Dependency.AFTER);
  node.addDependency(dependency);
  return this;
}
origin: com.actionbarsherlock/actionbarsherlock

/**
 * Sets up the given animation to play when the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
 * ends.
 *
 * @param anim The animation that will play when the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method ends.
 */
public Builder before(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(mCurrentNode, Dependency.AFTER);
  node.addDependency(dependency);
  return this;
}
origin: com.willowtreeapps/oak-demos

/**
 * Sets up the given animation to play at the same time as the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object.
 *
 * @param anim The animation that will play when the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method starts.
 */
public Builder with(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(mCurrentNode, Dependency.WITH);
  node.addDependency(dependency);
  return this;
}
origin: com.actionbarsherlock/actionbarsherlock

/**
 * Sets up the given animation to play when the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object
 * to start when the animation supplied in this method call ends.
 *
 * @param anim The animation whose end will cause the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method to play.
 */
public Builder after(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(node, Dependency.AFTER);
  mCurrentNode.addDependency(dependency);
  return this;
}
origin: com.actionbarsherlock/actionbarsherlock

/**
 * Sets up the given animation to play at the same time as the animation supplied in the
 * {@link AnimatorSet#play(Animator)} call that created this <code>Builder</code> object.
 *
 * @param anim The animation that will play when the animation supplied to the
 * {@link AnimatorSet#play(Animator)} method starts.
 */
public Builder with(Animator anim) {
  Node node = mNodeMap.get(anim);
  if (node == null) {
    node = new Node(anim);
    mNodeMap.put(anim, node);
    mNodes.add(node);
  }
  Dependency dependency = new Dependency(mCurrentNode, Dependency.WITH);
  node.addDependency(dependency);
  return this;
}
com.actionbarsherlock.internal.nineoldandroids.animationAnimatorSet$Dependency

Javadoc

Dependency holds information about the node that some other node is dependent upon and the nature of that dependency.

Most used methods

  • <init>

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • JOptionPane (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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