133 lines
3.1 KiB
Smali
133 lines
3.1 KiB
Smali
.class Landroidx/core/view/WindowInsetsAnimationCompat$Impl;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/view/WindowInsetsAnimationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Impl"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mAlpha:F
|
|
|
|
.field private final mDurationMillis:J
|
|
|
|
.field private mFraction:F
|
|
|
|
.field private final mInterpolator:Landroid/view/animation/Interpolator;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final mTypeMask:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILandroid/view/animation/Interpolator;J)V
|
|
.locals 0
|
|
.param p2 # Landroid/view/animation/Interpolator;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 542
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mTypeMask:I
|
|
|
|
iput-object p2, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mInterpolator:Landroid/view/animation/Interpolator;
|
|
|
|
iput-wide p3, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mDurationMillis:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getAlpha()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mAlpha:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getDurationMillis()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mDurationMillis:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getFraction()F
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mFraction:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getInterpolatedFraction()F
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mInterpolator:Landroid/view/animation/Interpolator;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget v1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mFraction:F
|
|
|
|
.line 558
|
|
invoke-interface {v0, v1}, Landroid/animation/TimeInterpolator;->getInterpolation(F)F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mFraction:F
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getInterpolator()Landroid/view/animation/Interpolator;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mInterpolator:Landroid/view/animation/Interpolator;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getTypeMask()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mTypeMask:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public setAlpha(F)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mAlpha:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setFraction(F)V
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$Impl;->mFraction:F
|
|
|
|
return-void
|
|
.end method
|