86 lines
2.3 KiB
Smali
86 lines
2.3 KiB
Smali
.class Lcom/moji/postcard/view/EditBackgroundIndicator$2;
|
|
.super Ljava/lang/Object;
|
|
.source "EditBackgroundIndicator.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/postcard/view/EditBackgroundIndicator;->a(I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Landroid/view/View;
|
|
|
|
.field final synthetic b:Lcom/moji/postcard/view/EditBackgroundIndicator;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/postcard/view/EditBackgroundIndicator;Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 52
|
|
iput-object p1, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->b:Lcom/moji/postcard/view/EditBackgroundIndicator;
|
|
|
|
iput-object p2, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->a:Landroid/view/View;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 3
|
|
|
|
.line 54
|
|
iget-object v0, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v1, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->b:Lcom/moji/postcard/view/EditBackgroundIndicator;
|
|
|
|
invoke-virtual {v1}, Lcom/moji/postcard/view/EditBackgroundIndicator;->getWidth()I
|
|
|
|
move-result v1
|
|
|
|
iget-object v2, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->a:Landroid/view/View;
|
|
|
|
invoke-virtual {v2}, Landroid/view/View;->getWidth()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 55
|
|
iget-object v1, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->b:Lcom/moji/postcard/view/EditBackgroundIndicator;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v1, v0, v2}, Lcom/moji/postcard/view/EditBackgroundIndicator;->smoothScrollTo(II)V
|
|
|
|
.line 56
|
|
iget-object v0, p0, Lcom/moji/postcard/view/EditBackgroundIndicator$2;->b:Lcom/moji/postcard/view/EditBackgroundIndicator;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {v0, v1}, Lcom/moji/postcard/view/EditBackgroundIndicator;->a(Lcom/moji/postcard/view/EditBackgroundIndicator;Ljava/lang/Runnable;)Ljava/lang/Runnable;
|
|
|
|
return-void
|
|
.end method
|