2023-08-22 14:41:01 +02:00
|
|
|
package android.view;
|
|
|
|
|
|
2023-08-23 09:16:45 +02:00
|
|
|
import android.animation.Animator;
|
2023-08-22 14:41:01 +02:00
|
|
|
import android.animation.TimeInterpolator;
|
|
|
|
|
|
|
|
|
|
public class ViewPropertyAnimator {
|
|
|
|
|
|
|
|
|
|
public void cancel() {}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator setInterpolator(TimeInterpolator interpolator) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
2023-08-23 09:16:45 +02:00
|
|
|
|
|
|
|
|
public ViewPropertyAnimator setListener(Animator.AnimatorListener listener) {
|
2023-09-01 12:30:27 +02:00
|
|
|
if (listener != null)
|
|
|
|
|
listener.onAnimationEnd(null);
|
2023-08-23 09:16:45 +02:00
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator alpha(float alpha) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator setDuration(long duration) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator setStartDelay(long duration) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-01 12:30:27 +02:00
|
|
|
public ViewPropertyAnimator rotation(float rotation) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator translationX(float translationX) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ViewPropertyAnimator translationY(float translationY) {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-23 09:16:45 +02:00
|
|
|
public void start() {}
|
2023-08-22 14:41:01 +02:00
|
|
|
}
|