272 lines
7.4 KiB
Smali
272 lines
7.4 KiB
Smali
.class public final Landroidx/core/view/WindowInsetsAnimationCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "WindowInsetsAnimationCompat.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$c;,
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$b;,
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$d;,
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$Callback;,
|
|
Landroidx/core/view/WindowInsetsAnimationCompat$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final b:Z = false
|
|
|
|
.field public static final c:Ljava/lang/String; = "WindowInsetsAnimCompat"
|
|
|
|
|
|
# instance fields
|
|
.field public a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILandroid/view/animation/Interpolator;J)V
|
|
.locals 2
|
|
.param p2 # Landroid/view/animation/Interpolator;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1e
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 3
|
|
new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$c;
|
|
|
|
invoke-direct {v0, p1, p2, p3, p4}, Landroidx/core/view/WindowInsetsAnimationCompat$c;-><init>(ILandroid/view/animation/Interpolator;J)V
|
|
|
|
iput-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$b;
|
|
|
|
invoke-direct {v0, p1, p2, p3, p4}, Landroidx/core/view/WindowInsetsAnimationCompat$b;-><init>(ILandroid/view/animation/Interpolator;J)V
|
|
|
|
iput-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
:goto_0
|
|
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
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1e
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 5
|
|
invoke-direct {p0, v0, v1, v2, v3}, Landroidx/core/view/WindowInsetsAnimationCompat;-><init>(ILandroid/view/animation/Interpolator;J)V
|
|
|
|
.line 6
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1e
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 7
|
|
new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$c;
|
|
|
|
invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$c;-><init>(Landroid/view/WindowInsetsAnimation;)V
|
|
|
|
iput-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static h(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V
|
|
.locals 2
|
|
.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
|
|
|
|
.line 1
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1e
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$c;->l(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-static {p0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$b;->s(Landroid/view/View;Landroidx/core/view/WindowInsetsAnimationCompat$Callback;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static j(Landroid/view/WindowInsetsAnimation;)Landroidx/core/view/WindowInsetsAnimationCompat;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1e
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsAnimationCompat;-><init>(Landroid/view/WindowInsetsAnimation;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->a()F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public b()J
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->b()J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public c()F
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->c()F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public d()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->d()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;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->e()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;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->f()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public g(F)V
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->g(F)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i(F)V
|
|
.locals 1
|
|
.param p1 # F
|
|
.annotation build Landroidx/annotation/FloatRange;
|
|
from = 0.0
|
|
to = 1.0
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat;->a:Landroidx/core/view/WindowInsetsAnimationCompat$d;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$d;->h(F)V
|
|
|
|
return-void
|
|
.end method
|