.class public final Landroidx/core/view/WindowInsetsControllerCompat; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/core/view/WindowInsetsControllerCompat$Impl35;, Landroidx/core/view/WindowInsetsControllerCompat$Impl;, Landroidx/core/view/WindowInsetsControllerCompat$Impl30;, Landroidx/core/view/WindowInsetsControllerCompat$Impl26;, Landroidx/core/view/WindowInsetsControllerCompat$Impl23;, Landroidx/core/view/WindowInsetsControllerCompat$Impl20;, Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener;, Landroidx/core/view/WindowInsetsControllerCompat$Impl31; } .end annotation # static fields .field public static final BEHAVIOR_DEFAULT:I = 0x1 .field public static final BEHAVIOR_SHOW_BARS_BY_SWIPE:I = 0x1 .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final BEHAVIOR_SHOW_BARS_BY_TOUCH:I = 0x0 .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE:I = 0x2 # instance fields .field private final mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; # direct methods .method public constructor (Landroid/view/Window;Landroid/view/View;)V .locals 2 .param p1 # Landroid/view/Window; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 127 invoke-direct {p0}, Ljava/lang/Object;->()V .line 128 new-instance v0, Landroidx/core/view/SoftwareKeyboardControllerCompat; invoke-direct {v0, p2}, Landroidx/core/view/SoftwareKeyboardControllerCompat;->(Landroid/view/View;)V sget p2, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x23 if-lt p2, v1, :cond_0 .line 131 new-instance p2, Landroidx/core/view/WindowInsetsControllerCompat$Impl35; invoke-direct {p2, p1, p0, v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl35;->(Landroid/view/Window;Landroidx/core/view/WindowInsetsControllerCompat;Landroidx/core/view/SoftwareKeyboardControllerCompat;)V iput-object p2, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; goto :goto_0 :cond_0 const/16 v1, 0x1e if-lt p2, v1, :cond_1 .line 133 new-instance p2, Landroidx/core/view/WindowInsetsControllerCompat$Impl30; invoke-direct {p2, p1, p0, v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl30;->(Landroid/view/Window;Landroidx/core/view/WindowInsetsControllerCompat;Landroidx/core/view/SoftwareKeyboardControllerCompat;)V iput-object p2, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; goto :goto_0 .line 135 :cond_1 new-instance p2, Landroidx/core/view/WindowInsetsControllerCompat$Impl26; invoke-direct {p2, p1, v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl26;->(Landroid/view/Window;Landroidx/core/view/SoftwareKeyboardControllerCompat;)V iput-object p2, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; :goto_0 return-void .end method .method private constructor (Landroid/view/WindowInsetsController;)V .locals 2 .param p1 # Landroid/view/WindowInsetsController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/RequiresApi; value = 0x1e .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 115 invoke-direct {p0}, Ljava/lang/Object;->()V sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x23 if-lt v0, v1, :cond_0 .line 117 new-instance v0, Landroidx/core/view/WindowInsetsControllerCompat$Impl35; new-instance v1, Landroidx/core/view/SoftwareKeyboardControllerCompat; invoke-direct {v1, p1}, Landroidx/core/view/SoftwareKeyboardControllerCompat;->(Landroid/view/WindowInsetsController;)V invoke-direct {v0, p1, p0, v1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl35;->(Landroid/view/WindowInsetsController;Landroidx/core/view/WindowInsetsControllerCompat;Landroidx/core/view/SoftwareKeyboardControllerCompat;)V iput-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; goto :goto_0 .line 121 :cond_0 new-instance v0, Landroidx/core/view/WindowInsetsControllerCompat$Impl30; new-instance v1, Landroidx/core/view/SoftwareKeyboardControllerCompat; invoke-direct {v1, p1}, Landroidx/core/view/SoftwareKeyboardControllerCompat;->(Landroid/view/WindowInsetsController;)V invoke-direct {v0, p1, p0, v1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl30;->(Landroid/view/WindowInsetsController;Landroidx/core/view/WindowInsetsControllerCompat;Landroidx/core/view/SoftwareKeyboardControllerCompat;)V iput-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; :goto_0 return-void .end method .method public static toWindowInsetsControllerCompat(Landroid/view/WindowInsetsController;)Landroidx/core/view/WindowInsetsControllerCompat; .locals 1 .param p0 # Landroid/view/WindowInsetsController; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Landroidx/annotation/RequiresApi; value = 0x1e .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 159 new-instance v0, Landroidx/core/view/WindowInsetsControllerCompat; invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsControllerCompat;->(Landroid/view/WindowInsetsController;)V return-object v0 .end method # virtual methods .method public addOnControllableInsetsChangedListener(Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener;)V .locals 1 .param p1 # Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 344 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->addOnControllableInsetsChangedListener(Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener;)V return-void .end method .method public controlWindowInsetsAnimation(IJLandroid/view/animation/Interpolator;Landroid/os/CancellationSignal;Landroidx/core/view/WindowInsetsAnimationControlListenerCompat;)V .locals 7 .param p4 # Landroid/view/animation/Interpolator; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p5 # Landroid/os/CancellationSignal; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p6 # Landroidx/core/view/WindowInsetsAnimationControlListenerCompat; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; move v1, p1 move-wide v2, p2 move-object v4, p4 move-object v5, p5 move-object v6, p6 .line 304 invoke-virtual/range {v0 .. v6}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->controlWindowInsetsAnimation(IJLandroid/view/animation/Interpolator;Landroid/os/CancellationSignal;Landroidx/core/view/WindowInsetsAnimationControlListenerCompat;)V return-void .end method .method public getSystemBarsBehavior()I .locals 1 .annotation build Landroid/annotation/SuppressLint; value = { "WrongConstant" } .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 330 invoke-virtual {v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->getSystemBarsBehavior()I move-result v0 return v0 .end method .method public hide(I)V .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 197 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->hide(I)V return-void .end method .method public isAppearanceLightNavigationBars()Z .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 250 invoke-virtual {v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->isAppearanceLightNavigationBars()Z move-result v0 return v0 .end method .method public isAppearanceLightStatusBars()Z .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 216 invoke-virtual {v0}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->isAppearanceLightStatusBars()Z move-result v0 return v0 .end method .method public removeOnControllableInsetsChangedListener(Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener;)V .locals 1 .param p1 # Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 359 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->removeOnControllableInsetsChangedListener(Landroidx/core/view/WindowInsetsControllerCompat$OnControllableInsetsChangedListener;)V return-void .end method .method public setAppearanceLightNavigationBars(Z)V .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 265 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->setAppearanceLightNavigationBars(Z)V return-void .end method .method public setAppearanceLightStatusBars(Z)V .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 231 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->setAppearanceLightStatusBars(Z)V return-void .end method .method public setSystemBarsBehavior(I)V .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 318 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->setSystemBarsBehavior(I)V return-void .end method .method public show(I)V .locals 1 iget-object v0, p0, Landroidx/core/view/WindowInsetsControllerCompat;->mImpl:Landroidx/core/view/WindowInsetsControllerCompat$Impl; .line 183 invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsControllerCompat$Impl;->show(I)V return-void .end method