85 lines
2.1 KiB
Smali
85 lines
2.1 KiB
Smali
.class Lcom/moji/mjweather/feed/view/VoteView$3;
|
|
.super Ljava/lang/Object;
|
|
.source "VoteView.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/feed/view/VoteView;->b()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjweather/feed/view/VoteView;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/feed/view/VoteView;)V
|
|
.locals 0
|
|
|
|
.line 230
|
|
iput-object p1, p0, Lcom/moji/mjweather/feed/view/VoteView$3;->a:Lcom/moji/mjweather/feed/view/VoteView;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
|
.locals 2
|
|
|
|
.line 233
|
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
.line 234
|
|
new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
int-to-float p1, p1
|
|
|
|
invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(F)I
|
|
|
|
move-result p1
|
|
|
|
const/high16 v1, 0x41200000 # 10.0f
|
|
|
|
invoke-static {v1}, Lcom/moji/tool/DeviceTool;->a(F)I
|
|
|
|
move-result v1
|
|
|
|
invoke-direct {v0, p1, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
const/16 p1, 0xb
|
|
|
|
.line 235
|
|
invoke-virtual {v0, p1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V
|
|
|
|
.line 236
|
|
iget-object p1, p0, Lcom/moji/mjweather/feed/view/VoteView$3;->a:Lcom/moji/mjweather/feed/view/VoteView;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjweather/feed/view/VoteView;->d(Lcom/moji/mjweather/feed/view/VoteView;)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|