apkfuckery/com.discord/smali/androidx/transition/Slide$1.smali

47 lines
958 B
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Landroidx/transition/Slide$1;
2019-07-24 11:27:29 +00:00
.super Landroidx/transition/Slide$CalculateSlideHorizontal;
.source "Slide.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/transition/Slide;
.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 = null
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Landroidx/transition/Slide$CalculateSlideHorizontal;-><init>(Landroidx/transition/Slide$1;)V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public getGoneX(Landroid/view/ViewGroup;Landroid/view/View;)F
2019-07-24 11:27:29 +00:00
.locals 0
invoke-virtual {p2}, Landroid/view/View;->getTranslationX()F
move-result p2
invoke-virtual {p1}, Landroid/view/ViewGroup;->getWidth()I
move-result p1
int-to-float p1, p1
sub-float/2addr p2, p1
return p2
.end method