apkfuckery/com.discord/smali/androidx/transition/ChangeBounds$4.smali
2019-07-24 13:27:29 +02:00

95 lines
2.2 KiB
Smali

.class final Landroidx/transition/ChangeBounds$4;
.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 = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/Property<",
"Landroid/view/View;",
"Landroid/graphics/PointF;",
">;"
}
.end annotation
# direct methods
.method 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 final get(Landroid/view/View;)Landroid/graphics/PointF;
.locals 0
const/4 p1, 0x0
return-object p1
.end method
.method public final bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Landroid/view/View;
invoke-virtual {p0, p1}, Landroidx/transition/ChangeBounds$4;->get(Landroid/view/View;)Landroid/graphics/PointF;
move-result-object p1
return-object p1
.end method
.method public final set(Landroid/view/View;Landroid/graphics/PointF;)V
.locals 3
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
move-result v0
invoke-virtual {p1}, Landroid/view/View;->getTop()I
move-result v1
iget v2, p2, Landroid/graphics/PointF;->x:F
invoke-static {v2}, Ljava/lang/Math;->round(F)I
move-result v2
iget p2, p2, Landroid/graphics/PointF;->y:F
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
invoke-static {p1, v0, v1, v2, p2}, Landroidx/transition/ViewUtils;->setLeftTopRightBottom(Landroid/view/View;IIII)V
return-void
.end method
.method public final 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$4;->set(Landroid/view/View;Landroid/graphics/PointF;)V
return-void
.end method