1// Signature format: 4.0 2package androidx.core.animation { 3 4 public class AccelerateDecelerateInterpolator implements androidx.core.animation.Interpolator { 5 ctor public AccelerateDecelerateInterpolator(); 6 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 7 } 8 9 public class AccelerateInterpolator implements androidx.core.animation.Interpolator { 10 ctor public AccelerateInterpolator(); 11 ctor public AccelerateInterpolator(android.content.Context, android.util.AttributeSet); 12 ctor public AccelerateInterpolator(float); 13 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 14 } 15 16 public abstract class Animator implements java.lang.Cloneable { 17 ctor public Animator(); 18 method public void addListener(androidx.core.animation.Animator.AnimatorListener); 19 method public void addPauseListener(androidx.core.animation.Animator.AnimatorPauseListener); 20 method public void addUpdateListener(androidx.core.animation.Animator.AnimatorUpdateListener); 21 method public void cancel(); 22 method public androidx.core.animation.Animator clone(); 23 method public void end(); 24 method public abstract long getDuration(); 25 method public androidx.core.animation.Interpolator? getInterpolator(); 26 method public abstract long getStartDelay(); 27 method public long getTotalDuration(); 28 method public boolean isPaused(); 29 method public abstract boolean isRunning(); 30 method public boolean isStarted(); 31 method public void pause(); 32 method public void removeAllListeners(); 33 method public void removeAllUpdateListeners(); 34 method public void removeListener(androidx.core.animation.Animator.AnimatorListener); 35 method public void removePauseListener(androidx.core.animation.Animator.AnimatorPauseListener); 36 method public void removeUpdateListener(androidx.core.animation.Animator.AnimatorUpdateListener); 37 method public void resume(); 38 method public abstract androidx.core.animation.Animator setDuration(@IntRange(from=0) long); 39 method public abstract void setInterpolator(androidx.core.animation.Interpolator?); 40 method public abstract void setStartDelay(@IntRange(from=0) long); 41 method public void setTarget(Object?); 42 method public void setupEndValues(); 43 method public void setupStartValues(); 44 method public void start(); 45 field public static final long DURATION_INFINITE = -1L; // 0xffffffffffffffffL 46 } 47 48 public static interface Animator.AnimatorListener { 49 method public void onAnimationCancel(androidx.core.animation.Animator); 50 method public void onAnimationEnd(androidx.core.animation.Animator); 51 method public default void onAnimationEnd(androidx.core.animation.Animator, boolean); 52 method public void onAnimationRepeat(androidx.core.animation.Animator); 53 method public void onAnimationStart(androidx.core.animation.Animator); 54 method public default void onAnimationStart(androidx.core.animation.Animator, boolean); 55 } 56 57 public static interface Animator.AnimatorPauseListener { 58 method public void onAnimationPause(androidx.core.animation.Animator); 59 method public void onAnimationResume(androidx.core.animation.Animator); 60 } 61 62 public static interface Animator.AnimatorUpdateListener { 63 method public void onAnimationUpdate(androidx.core.animation.Animator); 64 } 65 66 public class AnimatorInflater { 67 method public static androidx.core.animation.Animator loadAnimator(android.content.Context, @AnimatorRes int) throws android.content.res.Resources.NotFoundException; 68 method public static androidx.core.animation.Animator loadAnimator(android.content.res.Resources, android.content.res.Resources.Theme?, @AnimatorRes int) throws android.content.res.Resources.NotFoundException; 69 method public static androidx.core.animation.Interpolator loadInterpolator(android.content.Context, @AnimatorRes @InterpolatorRes int) throws android.content.res.Resources.NotFoundException; 70 } 71 72 public abstract class AnimatorListenerAdapter implements androidx.core.animation.Animator.AnimatorListener androidx.core.animation.Animator.AnimatorPauseListener { 73 ctor public AnimatorListenerAdapter(); 74 method public void onAnimationCancel(androidx.core.animation.Animator); 75 method public void onAnimationEnd(androidx.core.animation.Animator); 76 method public void onAnimationPause(androidx.core.animation.Animator); 77 method public void onAnimationRepeat(androidx.core.animation.Animator); 78 method public void onAnimationResume(androidx.core.animation.Animator); 79 method public void onAnimationStart(androidx.core.animation.Animator); 80 } 81 82 public final class AnimatorSet extends androidx.core.animation.Animator { 83 ctor public AnimatorSet(); 84 method public boolean canReverse(); 85 method public androidx.core.animation.AnimatorSet clone(); 86 method public java.util.ArrayList<androidx.core.animation.Animator!> getChildAnimations(); 87 method public long getCurrentPlayTime(); 88 method public long getDuration(); 89 method public long getStartDelay(); 90 method public boolean isRunning(); 91 method public androidx.core.animation.AnimatorSet.Builder play(androidx.core.animation.Animator); 92 method public void playSequentially(androidx.core.animation.Animator!...); 93 method public void playSequentially(java.util.List<androidx.core.animation.Animator!>); 94 method public void playTogether(androidx.core.animation.Animator!...); 95 method public void playTogether(java.util.Collection<androidx.core.animation.Animator!>); 96 method public void reverse(); 97 method public void setCurrentPlayTime(long); 98 method public androidx.core.animation.AnimatorSet setDuration(long); 99 method public void setInterpolator(androidx.core.animation.Interpolator?); 100 method public void setStartDelay(long); 101 } 102 103 public class AnimatorSet.Builder { 104 method public androidx.core.animation.AnimatorSet.Builder after(androidx.core.animation.Animator); 105 method public androidx.core.animation.AnimatorSet.Builder after(long); 106 method public androidx.core.animation.AnimatorSet.Builder before(androidx.core.animation.Animator); 107 method public androidx.core.animation.AnimatorSet.Builder with(androidx.core.animation.Animator); 108 } 109 110 public class AnticipateInterpolator implements androidx.core.animation.Interpolator { 111 ctor public AnticipateInterpolator(); 112 ctor public AnticipateInterpolator(android.content.Context, android.util.AttributeSet?); 113 ctor public AnticipateInterpolator(float); 114 method @FloatRange(to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 115 } 116 117 public class AnticipateOvershootInterpolator implements androidx.core.animation.Interpolator { 118 ctor public AnticipateOvershootInterpolator(); 119 ctor public AnticipateOvershootInterpolator(android.content.Context, android.util.AttributeSet?); 120 ctor public AnticipateOvershootInterpolator(float); 121 ctor public AnticipateOvershootInterpolator(float, float); 122 method @FloatRange(to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 123 } 124 125 public final class ArgbEvaluator implements androidx.core.animation.TypeEvaluator<java.lang.Integer!> { 126 method public Integer evaluate(float, Integer, Integer); 127 method public static androidx.core.animation.ArgbEvaluator getInstance(); 128 } 129 130 public abstract class BidirectionalTypeConverter<T, V> extends androidx.core.animation.TypeConverter<T!,V!> { 131 ctor public BidirectionalTypeConverter(Class<T!>, Class<V!>); 132 method public abstract T convertBack(V); 133 method public androidx.core.animation.BidirectionalTypeConverter<V!,T!> invert(); 134 } 135 136 public class BounceInterpolator implements androidx.core.animation.Interpolator { 137 ctor public BounceInterpolator(); 138 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 139 } 140 141 public class CycleInterpolator implements androidx.core.animation.Interpolator { 142 ctor public CycleInterpolator(android.content.Context, android.util.AttributeSet?); 143 ctor public CycleInterpolator(float); 144 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 145 } 146 147 public class DecelerateInterpolator implements androidx.core.animation.Interpolator { 148 ctor public DecelerateInterpolator(); 149 ctor public DecelerateInterpolator(android.content.Context, android.util.AttributeSet?); 150 ctor public DecelerateInterpolator(float); 151 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 152 } 153 154 public final class FloatArrayEvaluator implements androidx.core.animation.TypeEvaluator<float[]!> { 155 ctor public FloatArrayEvaluator(); 156 ctor public FloatArrayEvaluator(float[]?); 157 method public float[] evaluate(float, float[], float[]); 158 } 159 160 public final class FloatEvaluator implements androidx.core.animation.TypeEvaluator<java.lang.Float!> { 161 method public Float evaluate(float, Float, Float); 162 method public static androidx.core.animation.FloatEvaluator getInstance(); 163 } 164 165 public abstract class FloatProperty<T> extends android.util.Property<T!,java.lang.Float!> { 166 ctor public FloatProperty(); 167 ctor public FloatProperty(String); 168 method public final void set(T, Float); 169 method public abstract void setValue(T, float); 170 } 171 172 public class IntArrayEvaluator implements androidx.core.animation.TypeEvaluator<int[]!> { 173 ctor public IntArrayEvaluator(); 174 ctor public IntArrayEvaluator(int[]?); 175 method public int[] evaluate(float, int[], int[]); 176 } 177 178 public class IntEvaluator implements androidx.core.animation.TypeEvaluator<java.lang.Integer!> { 179 method public Integer evaluate(float, Integer, Integer); 180 method public static androidx.core.animation.IntEvaluator getInstance(); 181 } 182 183 public abstract class IntProperty<T> extends android.util.Property<T!,java.lang.Integer!> { 184 ctor public IntProperty(); 185 ctor public IntProperty(String); 186 method public final void set(T, Integer); 187 method public abstract void setValue(T, int); 188 } 189 190 public interface Interpolator { 191 method public float getInterpolation(@FloatRange(from=0, to=1) float); 192 } 193 194 public abstract class Keyframe<T> implements java.lang.Cloneable { 195 ctor public Keyframe(); 196 method public abstract androidx.core.animation.Keyframe<T!> clone(); 197 method @FloatRange(from=0, to=1) public float getFraction(); 198 method public androidx.core.animation.Interpolator? getInterpolator(); 199 method public Class<? extends java.lang.Object!> getType(); 200 method public abstract T? getValue(); 201 method public boolean hasValue(); 202 method public static androidx.core.animation.Keyframe<java.lang.Float!> ofFloat(@FloatRange(from=0, to=1) float); 203 method public static androidx.core.animation.Keyframe<java.lang.Float!> ofFloat(@FloatRange(from=0, to=1) float, float); 204 method public static androidx.core.animation.Keyframe<java.lang.Integer!> ofInt(@FloatRange(from=0, to=1) float); 205 method public static androidx.core.animation.Keyframe<java.lang.Integer!> ofInt(@FloatRange(from=0, to=1) float, int); 206 method public static <T> androidx.core.animation.Keyframe<T!> ofObject(@FloatRange(from=0, to=1) float); 207 method public static <T> androidx.core.animation.Keyframe<T!> ofObject(@FloatRange(from=0, to=1) float, T?); 208 method public void setFraction(@FloatRange(from=0, to=1) float); 209 method public void setInterpolator(androidx.core.animation.Interpolator?); 210 method public abstract void setValue(T?); 211 } 212 213 public class LinearInterpolator implements androidx.core.animation.Interpolator { 214 ctor public LinearInterpolator(); 215 ctor public LinearInterpolator(android.content.Context, android.util.AttributeSet?); 216 method @FloatRange(from=0, to=1) public float getInterpolation(@FloatRange(from=0, to=1) float); 217 } 218 219 public final class ObjectAnimator extends androidx.core.animation.ValueAnimator { 220 ctor public ObjectAnimator(); 221 method public androidx.core.animation.ObjectAnimator clone(); 222 method public String getPropertyName(); 223 method public Object? getTarget(); 224 method public static androidx.core.animation.ObjectAnimator ofArgb(Object, String, int...); 225 method public static <T> androidx.core.animation.ObjectAnimator ofArgb(T, android.util.Property<T!,java.lang.Integer!>, int...); 226 method public static androidx.core.animation.ObjectAnimator ofFloat(Object, String, float...); 227 method public static androidx.core.animation.ObjectAnimator ofFloat(Object, String?, String?, android.graphics.Path); 228 method public static <T> androidx.core.animation.ObjectAnimator ofFloat(T, android.util.Property<T!,java.lang.Float!>?, android.util.Property<T!,java.lang.Float!>?, android.graphics.Path); 229 method public static <T> androidx.core.animation.ObjectAnimator ofFloat(T, android.util.Property<T!,java.lang.Float!>, float...); 230 method public static androidx.core.animation.ObjectAnimator ofInt(Object, String, int...); 231 method public static androidx.core.animation.ObjectAnimator ofInt(Object, String, String, android.graphics.Path); 232 method public static <T> androidx.core.animation.ObjectAnimator ofInt(T, android.util.Property<T!,java.lang.Integer!>?, android.util.Property<T!,java.lang.Integer!>?, android.graphics.Path); 233 method public static <T> androidx.core.animation.ObjectAnimator ofInt(T, android.util.Property<T!,java.lang.Integer!>, int...); 234 method public static androidx.core.animation.ObjectAnimator ofMultiFloat(Object, String, android.graphics.Path); 235 method @java.lang.SafeVarargs public static <T> androidx.core.animation.ObjectAnimator ofMultiFloat(Object, String, androidx.core.animation.TypeConverter<T!,float[]!>, androidx.core.animation.TypeEvaluator<T!>, T!...); 236 method public static androidx.core.animation.ObjectAnimator ofMultiFloat(Object, String, float[]![]); 237 method public static androidx.core.animation.ObjectAnimator ofMultiInt(Object, String, android.graphics.Path); 238 method @java.lang.SafeVarargs public static <T> androidx.core.animation.ObjectAnimator ofMultiInt(Object, String, androidx.core.animation.TypeConverter<T!,int[]!>, androidx.core.animation.TypeEvaluator<T!>, T!...); 239 method public static androidx.core.animation.ObjectAnimator ofMultiInt(Object, String, int[]![]); 240 method public static androidx.core.animation.ObjectAnimator ofObject(Object, String, androidx.core.animation.TypeConverter<android.graphics.PointF!,? extends java.lang.Object!>?, android.graphics.Path); 241 method public static androidx.core.animation.ObjectAnimator ofObject(Object, String, androidx.core.animation.TypeEvaluator, java.lang.Object!...); 242 method @java.lang.SafeVarargs public static <T, V, P> androidx.core.animation.ObjectAnimator ofObject(T, android.util.Property<T!,P!>, androidx.core.animation.TypeConverter<V!,P!>, androidx.core.animation.TypeEvaluator<V!>, V!...); 243 method public static <T, V> androidx.core.animation.ObjectAnimator ofObject(T, android.util.Property<T!,V!>, androidx.core.animation.TypeConverter<android.graphics.PointF!,V!>?, android.graphics.Path); 244 method @java.lang.SafeVarargs public static <T, V> androidx.core.animation.ObjectAnimator ofObject(T, android.util.Property<T!,V!>, androidx.core.animation.TypeEvaluator<V!>, V!...); 245 method public static androidx.core.animation.ObjectAnimator ofPropertyValuesHolder(Object, androidx.core.animation.PropertyValuesHolder!...); 246 method public void setAutoCancel(boolean); 247 method public androidx.core.animation.ObjectAnimator setDuration(long); 248 method public void setProperty(android.util.Property); 249 method public void setPropertyName(String); 250 } 251 252 public class OvershootInterpolator implements androidx.core.animation.Interpolator { 253 ctor public OvershootInterpolator(); 254 ctor public OvershootInterpolator(android.content.Context, android.util.AttributeSet?); 255 ctor public OvershootInterpolator(float); 256 method @FloatRange(from=0) public float getInterpolation(@FloatRange(from=0, to=1) float); 257 } 258 259 public class PathInterpolator implements androidx.core.animation.Interpolator { 260 ctor public PathInterpolator(android.content.Context, android.util.AttributeSet?, org.xmlpull.v1.XmlPullParser); 261 ctor public PathInterpolator(android.content.res.Resources, android.content.res.Resources.Theme?, android.util.AttributeSet?, org.xmlpull.v1.XmlPullParser); 262 ctor public PathInterpolator(android.graphics.Path); 263 ctor public PathInterpolator(float, float); 264 ctor public PathInterpolator(float, float, float, float); 265 method public float getInterpolation(@FloatRange(from=0, to=1) float); 266 } 267 268 public class PointFEvaluator implements androidx.core.animation.TypeEvaluator<android.graphics.PointF!> { 269 ctor public PointFEvaluator(); 270 ctor public PointFEvaluator(android.graphics.PointF); 271 method public android.graphics.PointF evaluate(float, android.graphics.PointF, android.graphics.PointF); 272 } 273 274 public class PropertyValuesHolder implements java.lang.Cloneable { 275 method public androidx.core.animation.PropertyValuesHolder clone(); 276 method public String getPropertyName(); 277 method public static androidx.core.animation.PropertyValuesHolder ofFloat(android.util.Property<? extends java.lang.Object!,java.lang.Float!>, float...); 278 method public static androidx.core.animation.PropertyValuesHolder ofFloat(String, float...); 279 method public static androidx.core.animation.PropertyValuesHolder ofInt(android.util.Property<? extends java.lang.Object!,java.lang.Integer!>, int...); 280 method public static androidx.core.animation.PropertyValuesHolder ofInt(String, int...); 281 method @java.lang.SafeVarargs public static androidx.core.animation.PropertyValuesHolder ofKeyframe(android.util.Property, androidx.core.animation.Keyframe!...); 282 method @java.lang.SafeVarargs public static androidx.core.animation.PropertyValuesHolder ofKeyframe(String, androidx.core.animation.Keyframe!...); 283 method public static androidx.core.animation.PropertyValuesHolder ofMultiFloat(String, android.graphics.Path); 284 method @java.lang.SafeVarargs public static <T> androidx.core.animation.PropertyValuesHolder ofMultiFloat(String, androidx.core.animation.TypeConverter<T!,float[]!>?, androidx.core.animation.TypeEvaluator<T!>, androidx.core.animation.Keyframe!...); 285 method @java.lang.SafeVarargs public static <V> androidx.core.animation.PropertyValuesHolder ofMultiFloat(String, androidx.core.animation.TypeConverter<V!,float[]!>, androidx.core.animation.TypeEvaluator<V!>, V!...); 286 method public static androidx.core.animation.PropertyValuesHolder ofMultiFloat(String, float[]![]); 287 method public static androidx.core.animation.PropertyValuesHolder ofMultiInt(String, android.graphics.Path); 288 method @java.lang.SafeVarargs public static <T> androidx.core.animation.PropertyValuesHolder ofMultiInt(String, androidx.core.animation.TypeConverter<T!,int[]!>?, androidx.core.animation.TypeEvaluator<T!>, androidx.core.animation.Keyframe!...); 289 method @java.lang.SafeVarargs public static <V> androidx.core.animation.PropertyValuesHolder ofMultiInt(String, androidx.core.animation.TypeConverter<V!,int[]!>, androidx.core.animation.TypeEvaluator<V!>, V!...); 290 method public static androidx.core.animation.PropertyValuesHolder ofMultiInt(String, int[]![]); 291 method @java.lang.SafeVarargs public static <V> androidx.core.animation.PropertyValuesHolder ofObject(android.util.Property, androidx.core.animation.TypeEvaluator<V!>, V!...); 292 method public static <V> androidx.core.animation.PropertyValuesHolder ofObject(android.util.Property<? extends java.lang.Object!,V!>, androidx.core.animation.TypeConverter<android.graphics.PointF!,V!>?, android.graphics.Path); 293 method @java.lang.SafeVarargs public static <T, V> androidx.core.animation.PropertyValuesHolder ofObject(android.util.Property<? extends java.lang.Object!,V!>, androidx.core.animation.TypeConverter<T!,V!>, androidx.core.animation.TypeEvaluator<T!>, T!...); 294 method public static androidx.core.animation.PropertyValuesHolder ofObject(String, androidx.core.animation.TypeConverter<android.graphics.PointF!,? extends java.lang.Object!>?, android.graphics.Path); 295 method public static androidx.core.animation.PropertyValuesHolder ofObject(String, androidx.core.animation.TypeEvaluator, java.lang.Object!...); 296 method public void setConverter(androidx.core.animation.TypeConverter?); 297 method public void setEvaluator(androidx.core.animation.TypeEvaluator); 298 method public void setFloatValues(float...); 299 method public void setIntValues(int...); 300 method public void setKeyframes(androidx.core.animation.Keyframe!...); 301 method public void setObjectValues(java.lang.Object!...); 302 method public void setProperty(android.util.Property); 303 method public void setPropertyName(String); 304 } 305 306 public class RectEvaluator implements androidx.core.animation.TypeEvaluator<android.graphics.Rect!> { 307 ctor public RectEvaluator(); 308 ctor public RectEvaluator(android.graphics.Rect); 309 method public android.graphics.Rect evaluate(float, android.graphics.Rect, android.graphics.Rect); 310 } 311 312 public class TimeAnimator extends androidx.core.animation.ValueAnimator { 313 ctor public TimeAnimator(); 314 method public void setTimeListener(androidx.core.animation.TimeAnimator.TimeListener?); 315 } 316 317 public static interface TimeAnimator.TimeListener { 318 method public void onTimeUpdate(androidx.core.animation.TimeAnimator, long, long); 319 } 320 321 public abstract class TypeConverter<T, V> { 322 ctor public TypeConverter(Class<T!>, Class<V!>); 323 method public abstract V convert(T); 324 } 325 326 public interface TypeEvaluator<T> { 327 method public T evaluate(float, T, T); 328 } 329 330 public class ValueAnimator extends androidx.core.animation.Animator { 331 ctor public ValueAnimator(); 332 method public static boolean areAnimatorsEnabled(); 333 method public androidx.core.animation.ValueAnimator clone(); 334 method public float getAnimatedFraction(); 335 method public Object getAnimatedValue(); 336 method public Object? getAnimatedValue(String); 337 method public long getCurrentPlayTime(); 338 method public long getDuration(); 339 method public static long getFrameDelay(); 340 method public String getNameForTrace(); 341 method public int getRepeatCount(); 342 method public int getRepeatMode(); 343 method public long getStartDelay(); 344 method public androidx.core.animation.PropertyValuesHolder![] getValues(); 345 method public boolean isRunning(); 346 method public static androidx.core.animation.ValueAnimator ofArgb(int...); 347 method public static androidx.core.animation.ValueAnimator ofFloat(float...); 348 method public static androidx.core.animation.ValueAnimator ofInt(int...); 349 method public static androidx.core.animation.ValueAnimator ofObject(androidx.core.animation.TypeEvaluator, java.lang.Object!...); 350 method public static androidx.core.animation.ValueAnimator ofPropertyValuesHolder(androidx.core.animation.PropertyValuesHolder!...); 351 method public void reverse(); 352 method public void setCurrentFraction(float); 353 method public void setCurrentPlayTime(long); 354 method public androidx.core.animation.ValueAnimator setDuration(long); 355 method public void setEvaluator(androidx.core.animation.TypeEvaluator); 356 method public void setFloatValues(float...); 357 method public static void setFrameDelay(long); 358 method public void setIntValues(int...); 359 method public void setInterpolator(androidx.core.animation.Interpolator?); 360 method public void setNameForTrace(String); 361 method public void setObjectValues(java.lang.Object!...); 362 method public void setRepeatCount(int); 363 method public void setRepeatMode(int); 364 method public void setStartDelay(long); 365 method public void setValues(androidx.core.animation.PropertyValuesHolder!...); 366 field public static final int INFINITE = -1; // 0xffffffff 367 field public static final int RESTART = 1; // 0x1 368 field public static final int REVERSE = 2; // 0x2 369 } 370 371} 372 373