[go: nahoru, domu]

Lines Matching defs:animator

120  * To complete this example, here are the 2 animator files used in avd.xml:
159 /** Local, mutable animator set. */
170 /** The animator set that is parsed from the xml. */
399 // applyTheme(), postpone loading the animator
423 VectorDrawableAnimatorRT animator = (VectorDrawableAnimatorRT) mAnimatorSet;
424 if (animator.isRunning()) {
537 public void addTargetAnimator(String targetName, Animator animator) {
542 mAnimators.add(animator);
543 mTargetNameMap.put(animator, targetName);
546 Log.v(LOGTAG, "add animator for target " + targetName + " " + animator);
557 * @param animatorSet the animator set to which the animators should
592 * Prepares a local animator for the given index within the constant
595 * @param index the index of the animator within the constant state
598 final Animator animator = mAnimators.get(index);
599 final Animator localAnimator = animator.clone();
600 final String targetName = mTargetNameMap.get(animator);
757 // Create a animator listener and trigger the callback events when listener is
782 // A helper function to clean up the animator listener in the mAnimatorSet.
1045 Animator animator = animators.get(i);
1047 if (animator instanceof AnimatorSet) {
1048 parseAnimatorSet((AnimatorSet) animator, startTime);
1049 } else if (animator instanceof ObjectAnimator) {
1050 createRTAnimator((ObjectAnimator) animator, startTime);
1056 startTime += animator.getTotalDuration();
1064 private void createRTAnimator(ObjectAnimator animator, long startTime) {
1065 PropertyValuesHolder[] values = animator.getValues();
1066 Object target = animator.getTarget();
1068 createRTAnimatorForGroup(values, animator, (VectorDrawable.VGroup) target,
1075 createRTAnimatorForPath(animator, (VectorDrawable.VPath) target,
1078 createRTAnimatorForFullPath(animator, (VectorDrawable.VFullPath) target,
1087 createRTAnimatorForRootGroup(values, animator,
1098 ObjectAnimator animator, VectorDrawable.VGroup target,
1124 float[] dataPoints = createDataPoints(mTmpValues.dataSource, animator
1128 createNativeChildAnimator(propertyPtr, startTime, animator);
1131 private void createRTAnimatorForPath( ObjectAnimator animator, VectorDrawable.VPath target,
1141 createNativeChildAnimator(propertyPtr, startTime, animator);
1144 private void createRTAnimatorForFullPath(ObjectAnimator animator,
1175 float[] dataPoints = createDataPoints(mTmpValues.dataSource, animator
1179 createNativeChildAnimator(propertyPtr, startTime, animator);
1183 ObjectAnimator animator, VectorDrawable.VectorDrawableState target,
1186 if (!animator.getPropertyName().equals("alpha")) {
1212 createNativeChildAnimator(propertyPtr, startTime, animator);
1235 ObjectAnimator animator) {
1236 long duration = animator.getDuration();
1237 int repeatCount = animator.getRepeatCount();
1238 long startDelay = extraDelay + animator.getStartDelay();
1239 TimeInterpolator interpolator = animator.getInterpolator();
1253 * in the last draw call), so that when animator set needs to start, we can add the animator
1349 // animators or when the animator set has a start delay
1365 // This should only be called after animator has been added to the RenderNode target.
1381 // This should only be called after animator has been added to the RenderNode target.
1393 // This should only be called after animator has been added to the RenderNode target.
1399 // This should only be called after animator has been added to the RenderNode target.