apkfuckery/com.discord/smali/androidx/transition/ChangeBounds$6.smali
2019-02-04 21:08:30 +01:00

98 lines
2.2 KiB
Smali

.class final Landroidx/transition/ChangeBounds$6;
.super Landroid/util/Property;
# 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$6;->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
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 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$6;->set(Landroid/view/View;Landroid/graphics/PointF;)V
return-void
.end method