Keyframe$ObjectKeyframe.smali
.class Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;
.super Lio/dcloud/nineoldandroids/animation/Keyframe;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/dcloud/nineoldandroids/animation/Keyframe;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "ObjectKeyframe"
.end annotation
# instance fields
.field mValue:Ljava/lang/Object;
# direct methods
.method constructor <init>(FLjava/lang/Object;)V
.registers 3
.line 1
invoke-direct {p0}, Lio/dcloud/nineoldandroids/animation/Keyframe;-><init>()V
.line 2
iput p1, p0, Lio/dcloud/nineoldandroids/animation/Keyframe;->mFraction:F
.line 3
iput-object p2, p0, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;->mValue:Ljava/lang/Object;
if-eqz p2, :cond_b
const/4 p1, 0x1
goto :goto_c
:cond_b
const/4 p1, 0x0
.line 4
:goto_c
iput-boolean p1, p0, Lio/dcloud/nineoldandroids/animation/Keyframe;->mHasValue:Z
if-eqz p1, :cond_15
.line 5
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p1
goto :goto_17
:cond_15
const-class p1, Ljava/lang/Object;
:goto_17
iput-object p1, p0, Lio/dcloud/nineoldandroids/animation/Keyframe;->mValueType:Ljava/lang/Class;
return-void
.end method
# virtual methods
.method public clone()Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;
.registers 4
.line 2
new-instance v0, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;
invoke-virtual {p0}, Lio/dcloud/nineoldandroids/animation/Keyframe;->getFraction()F
move-result v1
iget-object v2, p0, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;->mValue:Ljava/lang/Object;
invoke-direct {v0, v1, v2}, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;-><init>(FLjava/lang/Object;)V
.line 3
invoke-virtual {p0}, Lio/dcloud/nineoldandroids/animation/Keyframe;->getInterpolator()Landroid/view/animation/Interpolator;
move-result-object v1
invoke-virtual {v0, v1}, Lio/dcloud/nineoldandroids/animation/Keyframe;->setInterpolator(Landroid/view/animation/Interpolator;)V
return-object v0
.end method
.method public bridge synthetic clone()Lio/dcloud/nineoldandroids/animation/Keyframe;
.registers 2
.line 1
invoke-virtual {p0}, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;->clone()Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;
move-result-object v0
return-object v0
.end method
.method public getValue()Ljava/lang/Object;
.registers 2
.line 1
iget-object v0, p0, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;->mValue:Ljava/lang/Object;
return-object v0
.end method
.method public setValue(Ljava/lang/Object;)V
.registers 2
.line 1
iput-object p1, p0, Lio/dcloud/nineoldandroids/animation/Keyframe$ObjectKeyframe;->mValue:Ljava/lang/Object;
if-eqz p1, :cond_6
const/4 p1, 0x1
goto :goto_7
:cond_6
const/4 p1, 0x0
.line 2
:goto_7
iput-boolean p1, p0, Lio/dcloud/nineoldandroids/animation/Keyframe;->mHasValue:Z
return-void
.end method