apkfuckery/com.discord/smali/androidx/transition/ChangeBounds$ViewBounds.smali

143 lines
3.5 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/transition/ChangeBounds$ViewBounds;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "ChangeBounds.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/transition/ChangeBounds;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x9
2019-07-24 11:27:29 +00:00
name = "ViewBounds"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public mBottom:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mBottomRightCalls:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mLeft:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mRight:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mTop:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mTopLeftCalls:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public mView:Landroid/view/View;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroid/view/View;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mView:Landroid/view/View;
return-void
.end method
.method private setLeftTopRightBottom()V
.locals 5
iget-object v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mView:Landroid/view/View;
iget v1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mLeft:I
iget v2, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTop:I
iget v3, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mRight:I
iget v4, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottom:I
invoke-static {v0, v1, v2, v3, v4}, Landroidx/transition/ViewUtils;->setLeftTopRightBottom(Landroid/view/View;IIII)V
const/4 v0, 0x0
iput v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTopLeftCalls:I
iput v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottomRightCalls:I
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public setBottomRight(Landroid/graphics/PointF;)V
2019-07-24 11:27:29 +00:00
.locals 1
iget v0, p1, Landroid/graphics/PointF;->x:F
invoke-static {v0}, Ljava/lang/Math;->round(F)I
move-result v0
iput v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mRight:I
iget p1, p1, Landroid/graphics/PointF;->y:F
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
iput p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottom:I
iget p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottomRightCalls:I
add-int/lit8 p1, p1, 0x1
iput p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottomRightCalls:I
iget p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTopLeftCalls:I
iget v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottomRightCalls:I
if-ne p1, v0, :cond_0
invoke-direct {p0}, Landroidx/transition/ChangeBounds$ViewBounds;->setLeftTopRightBottom()V
:cond_0
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public setTopLeft(Landroid/graphics/PointF;)V
2019-07-24 11:27:29 +00:00
.locals 1
iget v0, p1, Landroid/graphics/PointF;->x:F
invoke-static {v0}, Ljava/lang/Math;->round(F)I
move-result v0
iput v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mLeft:I
iget p1, p1, Landroid/graphics/PointF;->y:F
invoke-static {p1}, Ljava/lang/Math;->round(F)I
move-result p1
iput p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTop:I
iget p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTopLeftCalls:I
add-int/lit8 p1, p1, 0x1
iput p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTopLeftCalls:I
iget p1, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mTopLeftCalls:I
iget v0, p0, Landroidx/transition/ChangeBounds$ViewBounds;->mBottomRightCalls:I
if-ne p1, v0, :cond_0
invoke-direct {p0}, Landroidx/transition/ChangeBounds$ViewBounds;->setLeftTopRightBottom()V
:cond_0
return-void
.end method