.class public final Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat; .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 = 0x19 name = "BoundsCompat" .end annotation # instance fields .field private final mLowerBound:Landroidx/core/graphics/Insets; .field private final mUpperBound:Landroidx/core/graphics/Insets; # direct methods .method private constructor (Landroid/view/WindowInsetsAnimation$Bounds;)V .locals 1 .param p1 # Landroid/view/WindowInsetsAnimation$Bounds; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/RequiresApi; value = 0x1e .end annotation .line 228 invoke-direct {p0}, Ljava/lang/Object;->()V .line 229 invoke-static {p1}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl30;->getLowerBounds(Landroid/view/WindowInsetsAnimation$Bounds;)Landroidx/core/graphics/Insets; move-result-object v0 iput-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mLowerBound:Landroidx/core/graphics/Insets; .line 230 invoke-static {p1}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl30;->getHigherBounds(Landroid/view/WindowInsetsAnimation$Bounds;)Landroidx/core/graphics/Insets; move-result-object p1 iput-object p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mUpperBound:Landroidx/core/graphics/Insets; return-void .end method .method public constructor (Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)V .locals 0 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .line 222 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mLowerBound:Landroidx/core/graphics/Insets; iput-object p2, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mUpperBound:Landroidx/core/graphics/Insets; return-void .end method .method public static toBoundsCompat(Landroid/view/WindowInsetsAnimation$Bounds;)Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat; .locals 1 .param p0 # Landroid/view/WindowInsetsAnimation$Bounds; .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 .line 324 new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat; invoke-direct {v0, p0}, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->(Landroid/view/WindowInsetsAnimation$Bounds;)V return-object v0 .end method # virtual methods .method public getLowerBound()Landroidx/core/graphics/Insets; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mLowerBound:Landroidx/core/graphics/Insets; return-object v0 .end method .method public getUpperBound()Landroidx/core/graphics/Insets; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation iget-object v0, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mUpperBound:Landroidx/core/graphics/Insets; return-object v0 .end method .method public inset(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat; .locals 6 .param p1 # Landroidx/core/graphics/Insets; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .line 294 new-instance v0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat; iget-object v1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mLowerBound:Landroidx/core/graphics/Insets; iget v2, p1, Landroidx/core/graphics/Insets;->left:I iget v3, p1, Landroidx/core/graphics/Insets;->top:I iget v4, p1, Landroidx/core/graphics/Insets;->right:I iget v5, p1, Landroidx/core/graphics/Insets;->bottom:I .line 297 invoke-static {v1, v2, v3, v4, v5}, Landroidx/core/view/WindowInsetsCompat;->insetInsets(Landroidx/core/graphics/Insets;IIII)Landroidx/core/graphics/Insets; move-result-object v1 iget-object v2, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mUpperBound:Landroidx/core/graphics/Insets; iget v3, p1, Landroidx/core/graphics/Insets;->left:I iget v4, p1, Landroidx/core/graphics/Insets;->top:I iget v5, p1, Landroidx/core/graphics/Insets;->right:I iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I .line 299 invoke-static {v2, v3, v4, v5, p1}, Landroidx/core/view/WindowInsetsCompat;->insetInsets(Landroidx/core/graphics/Insets;IIII)Landroidx/core/graphics/Insets; move-result-object p1 invoke-direct {v0, v1, p1}, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)V return-object v0 .end method .method public toBounds()Landroid/view/WindowInsetsAnimation$Bounds; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Landroidx/annotation/RequiresApi; value = 0x1e .end annotation .line 314 invoke-static {p0}, Landroidx/core/view/WindowInsetsAnimationCompat$Impl30;->createPlatformBounds(Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;)Landroid/view/WindowInsetsAnimation$Bounds; move-result-object v0 return-object v0 .end method .method public toString()Ljava/lang/String; .locals 2 .line 305 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "Bounds{lower=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mLowerBound:Landroidx/core/graphics/Insets; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, " upper=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; iget-object v1, p0, Landroidx/core/view/WindowInsetsAnimationCompat$BoundsCompat;->mUpperBound:Landroidx/core/graphics/Insets; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; const-string v1, "}" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 .end method