tmap/smali/androidx/core/view/WindowInsetsAnimationCompat$c.smali
2022-06-10 21:38:30 +09:00

255 lines
6.8 KiB
Smali

.class public Landroidx/core/view/WindowInsetsAnimationCompat$c;
.super Landroidx/core/view/WindowInsetsAnimationCompat$d;
.source "WindowInsetsAnimationCompat.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1e
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/view/WindowInsetsAnimationCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "c"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/view/WindowInsetsAnimationCompat$c$a;
}
.end annotation
# instance fields
.field public final f:Landroid/view/WindowInsetsAnimation;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
# direct methods
.method public constructor <init>(ILandroid/view/animation/Interpolator;J)V
.locals 1
.line 3
new-instance v0, Landroid/view/WindowInsetsAnimation;
invoke-direct {v0, p1, p2, p3, p4}, Landroid/view/WindowInsetsAnimation;-><init>(ILandroid/view/animation/Interpolator;J)V
invoke-direct {p0, v0}, Landroidx/core/view/WindowInsetsAnimationCompat$c;-><init>(Landroid/view/WindowInsetsAnimation;)V
return-void
.end method
.method public constructor <init>(Landroid/view/WindowInsetsAnimation;)V
.locals 4
.param p1 # Landroid/view/WindowInsetsAnimation;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
const/4 v0, 0x0
const/4 v1, 0x0
const-wide/16 v2, 0x0
.line 1
invoke-direct {p0, v0, v1, v2, v3}, Landroidx/core/view/WindowInsetsAnimationCompat$d;-><init>(ILandroid/view/animation/Interpolator;J)V
.line 2
iput-object p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
return-void
.end method
.method public static i(Landroidx/core/view/WindowInsetsAnimationCompat$a;)Landroid/view/WindowInsetsAnimation$Bounds;
.locals 2
.param p0 # Landroidx/core/view/WindowInsetsAnimationCompat$a;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroid/view/WindowInsetsAnimation$Bounds;
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$a;->a()Lc1/l;
move-result-object v1
invoke-virtual {v1}, Lc1/l;->h()Landroid/graphics/Insets;
move-result-object v1
.line 2
invoke-virtual {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$a;->b()Lc1/l;
move-result-object p0
invoke-virtual {p0}, Lc1/l;->h()Landroid/graphics/Insets;
move-result-object p0
invoke-direct {v0, v1, p0}, Landroid/view/WindowInsetsAnimation$Bounds;-><init>(Landroid/graphics/Insets;Landroid/graphics/Insets;)V
return-object v0
.end method
.method public static j(Landroid/view/WindowInsetsAnimation$Bounds;)Lc1/l;
.locals 0
.param p0 # Landroid/view/WindowInsetsAnimation$Bounds;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
invoke-virtual {p0}, Landroid/view/WindowInsetsAnimation$Bounds;->getUpperBound()Landroid/graphics/Insets;
move-result-object p0
invoke-static {p0}, Lc1/l;->g(Landroid/graphics/Insets;)Lc1/l;
move-result-object p0
return-object p0
.end method
.method public static k(Landroid/view/WindowInsetsAnimation$Bounds;)Lc1/l;
.locals 0
.param p0 # Landroid/view/WindowInsetsAnimation$Bounds;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
invoke-virtual {p0}, Landroid/view/WindowInsetsAnimation$Bounds;->getLowerBound()Landroid/graphics/Insets;
move-result-object p0
invoke-static {p0}, Lc1/l;->g(Landroid/graphics/Insets;)Lc1/l;
move-result-object p0
return-object p0
.end method
.method public static l(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V
.locals 1
.param p0 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroidx/core/view/WindowInsetsAnimationCompat$Callback;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
if-eqz p1, :cond_0
.line 1
new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$c$a;
invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$c$a;-><init>(Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 2
:goto_0
invoke-virtual {p0, v0}, Landroid/view/View;->setWindowInsetsAnimationCallback(Landroid/view/WindowInsetsAnimation$Callback;)V
return-void
.end method
# virtual methods
.method public b()J
.locals 2
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0}, Landroid/view/WindowInsetsAnimation;->getDurationMillis()J
move-result-wide v0
return-wide v0
.end method
.method public c()F
.locals 1
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0}, Landroid/view/WindowInsetsAnimation;->getFraction()F
move-result v0
return v0
.end method
.method public d()F
.locals 1
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0}, Landroid/view/WindowInsetsAnimation;->getInterpolatedFraction()F
move-result v0
return v0
.end method
.method public e()Landroid/view/animation/Interpolator;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0}, Landroid/view/WindowInsetsAnimation;->getInterpolator()Landroid/view/animation/Interpolator;
move-result-object v0
return-object v0
.end method
.method public f()I
.locals 1
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0}, Landroid/view/WindowInsetsAnimation;->getTypeMask()I
move-result v0
return v0
.end method
.method public h(F)V
.locals 1
.line 1
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$c;->f:Landroid/view/WindowInsetsAnimation;
invoke-virtual {v0, p1}, Landroid/view/WindowInsetsAnimation;->setFraction(F)V
return-void
.end method