apkfuckery/com.discord/smali/com/nineoldandroids/animation/Keyframe.smali

206 lines
5.1 KiB
Smali
Raw Normal View History

2019-02-04 20:05:16 +00:00
.class public abstract Lcom/nineoldandroids/animation/Keyframe;
.super Ljava/lang/Object;
.source "Keyframe.java"
# interfaces
.implements Ljava/lang/Cloneable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/nineoldandroids/animation/Keyframe$FloatKeyframe;,
Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;,
Lcom/nineoldandroids/animation/Keyframe$ObjectKeyframe;
}
.end annotation
# instance fields
.field mFraction:F
.field mHasValue:Z
.field private mInterpolator:Landroid/view/animation/Interpolator;
.field mValueType:Ljava/lang/Class;
# direct methods
.method public constructor <init>()V
.locals 1
.prologue
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mInterpolator:Landroid/view/animation/Interpolator;
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mHasValue:Z
return-void
.end method
.method public static ofFloat(F)Lcom/nineoldandroids/animation/Keyframe;
.locals 1
.param p0, "fraction" # F
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$FloatKeyframe;
invoke-direct {v0, p0}, Lcom/nineoldandroids/animation/Keyframe$FloatKeyframe;-><init>(F)V
return-object v0
.end method
.method public static ofFloat(FF)Lcom/nineoldandroids/animation/Keyframe;
.locals 1
.param p0, "fraction" # F
.param p1, "value" # F
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$FloatKeyframe;
invoke-direct {v0, p0, p1}, Lcom/nineoldandroids/animation/Keyframe$FloatKeyframe;-><init>(FF)V
return-object v0
.end method
.method public static ofInt(F)Lcom/nineoldandroids/animation/Keyframe;
.locals 1
.param p0, "fraction" # F
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;
invoke-direct {v0, p0}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;-><init>(F)V
return-object v0
.end method
.method public static ofInt(FI)Lcom/nineoldandroids/animation/Keyframe;
.locals 1
.param p0, "fraction" # F
.param p1, "value" # I
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;
invoke-direct {v0, p0, p1}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;-><init>(FI)V
return-object v0
.end method
.method public static ofObject(F)Lcom/nineoldandroids/animation/Keyframe;
.locals 2
.param p0, "fraction" # F
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$ObjectKeyframe;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/nineoldandroids/animation/Keyframe$ObjectKeyframe;-><init>(FLjava/lang/Object;)V
return-object v0
.end method
.method public static ofObject(FLjava/lang/Object;)Lcom/nineoldandroids/animation/Keyframe;
.locals 1
.param p0, "fraction" # F
.param p1, "value" # Ljava/lang/Object;
.prologue
new-instance v0, Lcom/nineoldandroids/animation/Keyframe$ObjectKeyframe;
invoke-direct {v0, p0, p1}, Lcom/nineoldandroids/animation/Keyframe$ObjectKeyframe;-><init>(FLjava/lang/Object;)V
return-object v0
.end method
# virtual methods
.method public abstract clone()Lcom/nineoldandroids/animation/Keyframe;
.end method
.method public bridge synthetic clone()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
.prologue
invoke-virtual {p0}, Lcom/nineoldandroids/animation/Keyframe;->clone()Lcom/nineoldandroids/animation/Keyframe;
move-result-object v0
return-object v0
.end method
.method public getFraction()F
.locals 1
.prologue
iget v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mFraction:F
return v0
.end method
.method public getInterpolator()Landroid/view/animation/Interpolator;
.locals 1
.prologue
iget-object v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mInterpolator:Landroid/view/animation/Interpolator;
return-object v0
.end method
.method public getType()Ljava/lang/Class;
.locals 1
.prologue
iget-object v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mValueType:Ljava/lang/Class;
return-object v0
.end method
.method public abstract getValue()Ljava/lang/Object;
.end method
.method public hasValue()Z
.locals 1
.prologue
iget-boolean v0, p0, Lcom/nineoldandroids/animation/Keyframe;->mHasValue:Z
return v0
.end method
.method public setFraction(F)V
.locals 0
.param p1, "fraction" # F
.prologue
iput p1, p0, Lcom/nineoldandroids/animation/Keyframe;->mFraction:F
return-void
.end method
.method public setInterpolator(Landroid/view/animation/Interpolator;)V
.locals 0
.param p1, "interpolator" # Landroid/view/animation/Interpolator;
.prologue
iput-object p1, p0, Lcom/nineoldandroids/animation/Keyframe;->mInterpolator:Landroid/view/animation/Interpolator;
return-void
.end method
.method public abstract setValue(Ljava/lang/Object;)V
.end method