Lines Matching refs:dependency

41  * should be avoided, and the dependency flow of animations should only be in one direction.
67 * dependency information is added for an Animator, we want to add it
83 * on the dependency relationships of the nodes.
263 * tells the <code>Builder</code> the animation that is the dependency for
273 * <code>Builder</code> the animation upon which the dependency is created,
276 * as the dependency of the other animations. For example, calling
278 * and <code>a3</code> when a1 ends; it does not set up a dependency between
281 * @param anim The animation that is the dependency used in later calls to the
463 * the dependency relationships that have been set up between the animations.
521 Dependency dependency = node.dependencies.get(j);
522 dependency.node.animation.addListener(
523 new DependencyListener(this, node, dependency.rule));
637 for (Dependency dependency : node.dependencies) {
638 Node clonedDependencyNode = nodeCloneMap.get(dependency.node);
640 dependency.rule);
658 // The node upon which the dependency is based.
673 * to prevent follow-on animations from running when some dependency
717 Dependency dependency = mNode.tmpDependencies.get(i);
718 if (dependency.rule == mRule &&
719 dependency.node.animation == dependencyAnimation) {
720 // rule fired - remove the dependency and listener and check to
722 dependencyToRemove = dependency;
811 * - remove r as a dependency from any other node
861 Dependency dependency = node.dependencies.get(j);
865 if (!node.nodeDependencies.contains(dependency.node)) {
866 node.nodeDependencies.add(dependency.node);
879 * dependent upon and the nature of that dependency.
883 static final int WITH = 0; // dependent node must start with this dependency node
884 static final int AFTER = 1; // dependent node must start when this dependency node finishes
889 // The nature of the dependency (WITH or AFTER)
918 * but removing each dependency as it is satisfied. We do not want to remove
919 * the dependency itself from the list, because we need to retain that information
920 * if the AnimatorSet is launched in the future. So we create a copy of the dependency
933 * nodeDepdendents is the list of nodes that have this node as a dependency. This
935 * dependency when it is a root node.
958 * Add a dependency to this Node. The dependency includes information about the
959 * node that this node is dependency upon and the nature of the dependency.
960 * @param dependency
962 public void addDependency(Dependency dependency) {
967 dependencies.add(dependency);
968 if (!nodeDependencies.contains(dependency.node)) {
969 nodeDependencies.add(dependency.node);
971 Node dependencyNode = dependency.node;
995 * to express the dependency relationships of animations in a natural way. Developers can also
1019 * {@link AnimatorSet#play(Animator)} method that is the dependency in any of the successive
1021 * and anim3 when anim1 ends; there is no direct dependency relationship between anim2 and
1054 * @param anim The animation that is the dependency for the other animations passed into
1080 Dependency dependency = new Dependency(mCurrentNode, Dependency.WITH);
1081 node.addDependency(dependency);
1100 Dependency dependency = new Dependency(mCurrentNode, Dependency.AFTER);
1101 node.addDependency(dependency);
1120 Dependency dependency = new Dependency(node, Dependency.AFTER);
1121 mCurrentNode.addDependency(dependency);