.class Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; .super Lcom/nineoldandroids/animation/Keyframe; .source "Keyframe.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/nineoldandroids/animation/Keyframe; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "IntKeyframe" .end annotation # instance fields .field mValue:I # direct methods .method constructor (F)V .locals 1 .param p1, "fraction" # F .prologue invoke-direct {p0}, Lcom/nineoldandroids/animation/Keyframe;->()V iput p1, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mFraction:F sget-object v0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; iput-object v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValueType:Ljava/lang/Class; return-void .end method .method constructor (FI)V .locals 1 .param p1, "fraction" # F .param p2, "value" # I .prologue invoke-direct {p0}, Lcom/nineoldandroids/animation/Keyframe;->()V iput p1, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mFraction:F iput p2, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValue:I sget-object v0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; iput-object v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValueType:Ljava/lang/Class; const/4 v0, 0x1 iput-boolean v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mHasValue:Z return-void .end method # virtual methods .method public clone()Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; .locals 3 .prologue new-instance v0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; invoke-virtual {p0}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->getFraction()F move-result v1 iget v2, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValue:I invoke-direct {v0, v1, v2}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->(FI)V .local v0, "kfClone":Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; invoke-virtual {p0}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->getInterpolator()Landroid/view/animation/Interpolator; move-result-object v1 invoke-virtual {v0, v1}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->setInterpolator(Landroid/view/animation/Interpolator;)V return-object v0 .end method .method public bridge synthetic clone()Lcom/nineoldandroids/animation/Keyframe; .locals 1 .prologue invoke-virtual {p0}, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->clone()Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; move-result-object v0 return-object v0 .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$IntKeyframe;->clone()Lcom/nineoldandroids/animation/Keyframe$IntKeyframe; move-result-object v0 return-object v0 .end method .method public getIntValue()I .locals 1 .prologue iget v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValue:I return v0 .end method .method public getValue()Ljava/lang/Object; .locals 1 .prologue iget v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValue:I invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v0 return-object v0 .end method .method public setValue(Ljava/lang/Object;)V .locals 2 .param p1, "value" # Ljava/lang/Object; .prologue if-eqz p1, :cond_0 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 const-class v1, Ljava/lang/Integer; if-ne v0, v1, :cond_0 check-cast p1, Ljava/lang/Integer; .end local p1 # "value":Ljava/lang/Object; invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I move-result v0 iput v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mValue:I const/4 v0, 0x1 iput-boolean v0, p0, Lcom/nineoldandroids/animation/Keyframe$IntKeyframe;->mHasValue:Z :cond_0 return-void .end method