Rabbit-R1/original r1/smali/smali_classes2/androidx/transition/ChangeBounds$6.smali
2024-05-21 17:08:36 -04:00

107 lines
2.3 KiB
Smali

.class 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 = 0x0
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
.line 148
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 p0, 0x0
return-object p0
.end method
.method public bridge synthetic get(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.line 148
check-cast p1, Landroid/view/View;
invoke-virtual {p0, p1}, Landroidx/transition/ChangeBounds$6;->get(Landroid/view/View;)Landroid/graphics/PointF;
move-result-object p0
return-object p0
.end method
.method public set(Landroid/view/View;Landroid/graphics/PointF;)V
.locals 2
.line 151
iget p0, p2, Landroid/graphics/PointF;->x:F
invoke-static {p0}, Ljava/lang/Math;->round(F)I
move-result p0
.line 152
iget p2, p2, Landroid/graphics/PointF;->y:F
invoke-static {p2}, Ljava/lang/Math;->round(F)I
move-result p2
.line 153
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
move-result v0
add-int/2addr v0, p0
.line 154
invoke-virtual {p1}, Landroid/view/View;->getHeight()I
move-result v1
add-int/2addr v1, p2
.line 155
invoke-static {p1, p0, p2, v0, v1}, 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
.line 148
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