apkfuckery/com.discord/smali/androidx/transition/ChangeBounds$6.smali
2019-12-06 04:29:40 +01:00

99 lines
2.2 KiB
Smali

.class public final Landroidx/transition/ChangeBounds$6;
.super Landroid/util/Property;
.source "ChangeBounds.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/transition/ChangeBounds;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/Property<",
"Landroid/view/View;",
"Landroid/graphics/PointF;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Class;Ljava/lang/String;)V
.locals 0
invoke-direct {p0, p1, p2}, Landroid/util/Property;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public get(Landroid/view/View;)Landroid/graphics/PointF;
.locals 0
const/4 p1, 0x0
return-object p1
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Landroid/view/View;
invoke-virtual {p0, p1}, Landroidx/transition/ChangeBounds$6;->get(Landroid/view/View;)Landroid/graphics/PointF;
move-result-object p1
return-object p1
.end method
.method public set(Landroid/view/View;Landroid/graphics/PointF;)V
.locals 3
iget v0, p2, Landroid/graphics/PointF;->x:F
invoke-static {v0}, Ljava/lang/Math;->round(F)I
move-result v0
iget p2, p2, Landroid/graphics/PointF;->y:F
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
move-result v1
add-int/2addr v1, v0
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
move-result v2
add-int/2addr v2, p2
invoke-static {p1, v0, p2, v1, v2}, Landroidx/transition/ViewUtils;->setLeftTopRightBottom(Landroid/view/View;IIII)V
return-void
.end method
.method public bridge synthetic set(Ljava/lang/Object;Ljava/lang/Object;)V
.locals 0
check-cast p1, Landroid/view/View;
check-cast p2, Landroid/graphics/PointF;
invoke-virtual {p0, p1, p2}, Landroidx/transition/ChangeBounds$6;->set(Landroid/view/View;Landroid/graphics/PointF;)V
return-void
.end method