.class public final Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder; .super Ljava/lang/Object; .source "CustomTabColorSchemeParams.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/browser/customtabs/CustomTabColorSchemeParams; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Builder" .end annotation # instance fields .field public mNavigationBarColor:Ljava/lang/Integer; .annotation build Landroidx/annotation/ColorInt; .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public mSecondaryToolbarColor:Ljava/lang/Integer; .annotation build Landroidx/annotation/ColorInt; .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field .field public mToolbarColor:Ljava/lang/Integer; .annotation build Landroidx/annotation/ColorInt; .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation .end field # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public build()Landroidx/browser/customtabs/CustomTabColorSchemeParams; .locals 4 .annotation build Landroidx/annotation/NonNull; .end annotation new-instance v0, Landroidx/browser/customtabs/CustomTabColorSchemeParams; iget-object v1, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mToolbarColor:Ljava/lang/Integer; iget-object v2, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mSecondaryToolbarColor:Ljava/lang/Integer; iget-object v3, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mNavigationBarColor:Ljava/lang/Integer; invoke-direct {v0, v1, v2, v3}, Landroidx/browser/customtabs/CustomTabColorSchemeParams;->(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V return-object v0 .end method .method public setNavigationBarColor(I)Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder; .locals 1 .param p1 # I .annotation build Landroidx/annotation/ColorInt; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation const/high16 v0, -0x1000000 or-int/2addr p1, v0 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 iput-object p1, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mNavigationBarColor:Ljava/lang/Integer; return-object p0 .end method .method public setSecondaryToolbarColor(I)Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder; .locals 0 .param p1 # I .annotation build Landroidx/annotation/ColorInt; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 iput-object p1, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mSecondaryToolbarColor:Ljava/lang/Integer; return-object p0 .end method .method public setToolbarColor(I)Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder; .locals 1 .param p1 # I .annotation build Landroidx/annotation/ColorInt; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation const/high16 v0, -0x1000000 or-int/2addr p1, v0 invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p1 iput-object p1, p0, Landroidx/browser/customtabs/CustomTabColorSchemeParams$Builder;->mToolbarColor:Ljava/lang/Integer; return-object p0 .end method