.class public final Landroidx/core/view/WindowInsetsCompat$Builder; .super Ljava/lang/Object; .source "WindowInsetsCompat.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/core/view/WindowInsetsCompat; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Builder" .end annotation # instance fields .field private final mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; # direct methods .method public constructor ()V .locals 2 invoke-direct {p0}, Ljava/lang/Object;->()V sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1d if-lt v0, v1, :cond_0 new-instance v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl29; invoke-direct {v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl29;->()V iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; goto :goto_0 :cond_0 new-instance v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20; invoke-direct {v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->()V iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; :goto_0 return-void .end method .method public constructor (Landroidx/core/view/WindowInsetsCompat;)V .locals 2 .param p1 # Landroidx/core/view/WindowInsetsCompat; .annotation build Landroidx/annotation/NonNull; .end annotation .end param invoke-direct {p0}, Ljava/lang/Object;->()V sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1d if-lt v0, v1, :cond_0 new-instance v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl29; invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl29;->(Landroidx/core/view/WindowInsetsCompat;)V iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; goto :goto_0 :cond_0 new-instance v0, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20; invoke-direct {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl20;->(Landroidx/core/view/WindowInsetsCompat;)V iput-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; :goto_0 return-void .end method # virtual methods .method public build()Landroidx/core/view/WindowInsetsCompat; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->build()Landroidx/core/view/WindowInsetsCompat; move-result-object v0 return-object v0 .end method .method public setDisplayCutout(Landroidx/core/view/DisplayCutoutCompat;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/view/DisplayCutoutCompat; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setDisplayCutout(Landroidx/core/view/DisplayCutoutCompat;)V return-object p0 .end method .method public setMandatorySystemGestureInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setMandatorySystemGestureInsets(Landroidx/core/graphics/Insets;)V return-object p0 .end method .method public setStableInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setStableInsets(Landroidx/core/graphics/Insets;)V return-object p0 .end method .method public setSystemGestureInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setSystemGestureInsets(Landroidx/core/graphics/Insets;)V return-object p0 .end method .method public setSystemWindowInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setSystemWindowInsets(Landroidx/core/graphics/Insets;)V return-object p0 .end method .method public setTappableElementInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder; .locals 1 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsCompat$Builder;->mImpl:Landroidx/core/view/WindowInsetsCompat$BuilderImpl; invoke-virtual {v0, p1}, Landroidx/core/view/WindowInsetsCompat$BuilderImpl;->setTappableElementInsets(Landroidx/core/graphics/Insets;)V return-object p0 .end method