.class public final Landroidx/window/embedding/SplitPlaceholderRule; .super Landroidx/window/embedding/SplitRule; .source "SplitPlaceholderRule.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0002\n\u0002\u0010\u0007\n\u0002\u0008\u0007\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\u0008\u0005\u0008\u0007\u0018\u00002\u00020\u0001BC\u0012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0008\u0008\u0002\u0010\u0007\u001a\u00020\u0008\u0012\u0008\u0008\u0002\u0010\t\u001a\u00020\u0008\u0012\u0008\u0008\u0002\u0010\n\u001a\u00020\u000b\u0012\u0008\u0008\u0002\u0010\u000c\u001a\u00020\u0008\u00a2\u0006\u0002\u0010\rJ\u0013\u0010\u0012\u001a\u00020\u00132\u0008\u0010\u0014\u001a\u0004\u0018\u00010\u0015H\u0096\u0002J\u0008\u0010\u0016\u001a\u00020\u0008H\u0016J\u0016\u0010\u0017\u001a\u00020\u00002\u0006\u0010\u0018\u001a\u00020\u0004H\u0080\u0002\u00a2\u0006\u0002\u0008\u0019R\u0017\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0010\u0010\u0011\u00a8\u0006\u001a" } d2 = { "Landroidx/window/embedding/SplitPlaceholderRule;", "Landroidx/window/embedding/SplitRule;", "filters", "", "Landroidx/window/embedding/ActivityFilter;", "placeholderIntent", "Landroid/content/Intent;", "minWidth", "", "minSmallestWidth", "splitRatio", "", "layoutDirection", "(Ljava/util/Set;Landroid/content/Intent;IIFI)V", "getFilters", "()Ljava/util/Set;", "getPlaceholderIntent", "()Landroid/content/Intent;", "equals", "", "other", "", "hashCode", "plus", "filter", "plus$window_release", "window_release" } k = 0x1 mv = { 0x1, 0x6, 0x0 } xi = 0x30 .end annotation # instance fields .field private final filters:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;" } .end annotation .end field .field private final placeholderIntent:Landroid/content/Intent; # direct methods .method public constructor (Ljava/util/Set;Landroid/content/Intent;IIFI)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;", "Landroid/content/Intent;", "IIFI)V" } .end annotation const-string v0, "filters" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "placeholderIntent" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 43 invoke-direct {p0, p3, p4, p5, p6}, Landroidx/window/embedding/SplitRule;->(IIFI)V iput-object p2, p0, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; .line 52 check-cast p1, Ljava/lang/Iterable; invoke-static {p1}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; move-result-object p1 iput-object p1, p0, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; return-void .end method .method public synthetic constructor (Ljava/util/Set;Landroid/content/Intent;IIFIILkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 9 and-int/lit8 v0, p7, 0x4 const/4 v1, 0x0 if-eqz v0, :cond_0 move v5, v1 goto :goto_0 :cond_0 move v5, p3 :goto_0 and-int/lit8 v0, p7, 0x8 if-eqz v0, :cond_1 move v6, v1 goto :goto_1 :cond_1 move v6, p4 :goto_1 and-int/lit8 v0, p7, 0x10 if-eqz v0, :cond_2 const/high16 v0, 0x3f000000 # 0.5f move v7, v0 goto :goto_2 :cond_2 move v7, p5 :goto_2 and-int/lit8 v0, p7, 0x20 if-eqz v0, :cond_3 const/4 v0, 0x3 move v8, v0 goto :goto_3 :cond_3 move v8, p6 :goto_3 move-object v2, p0 move-object v3, p1 move-object v4, p2 .line 27 invoke-direct/range {v2 .. v8}, Landroidx/window/embedding/SplitPlaceholderRule;->(Ljava/util/Set;Landroid/content/Intent;IIFI)V return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x1 if-ne p0, p1, :cond_0 return v0 .line 73 :cond_0 instance-of v1, p1, Landroidx/window/embedding/SplitPlaceholderRule; const/4 v2, 0x0 if-nez v1, :cond_1 return v2 .line 74 :cond_1 invoke-super {p0, p1}, Landroidx/window/embedding/SplitRule;->equals(Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_2 return v2 .line 76 :cond_2 invoke-super {p0, p1}, Landroidx/window/embedding/SplitRule;->equals(Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_3 return v2 :cond_3 iget-object v1, p0, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; .line 77 check-cast p1, Landroidx/window/embedding/SplitPlaceholderRule; iget-object v3, p1, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_4 return v2 :cond_4 iget-object p0, p0, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; .line 78 iget-object p1, p1, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p0 if-nez p0, :cond_5 return v2 :cond_5 return v0 .end method .method public final getFilters()Ljava/util/Set; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;" } .end annotation iget-object p0, p0, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; return-object p0 .end method .method public final getPlaceholderIntent()Landroid/content/Intent; .locals 0 iget-object p0, p0, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; return-object p0 .end method .method public hashCode()I .locals 2 .line 84 invoke-super {p0}, Landroidx/window/embedding/SplitRule;->hashCode()I move-result v0 mul-int/lit8 v0, v0, 0x1f iget-object v1, p0, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; .line 85 invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I move-result v1 add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget-object p0, p0, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; .line 86 invoke-virtual {p0}, Landroid/content/Intent;->hashCode()I move-result p0 add-int/2addr v0, p0 return v0 .end method .method public final plus$window_release(Landroidx/window/embedding/ActivityFilter;)Landroidx/window/embedding/SplitPlaceholderRule; .locals 9 const-string v0, "filter" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 58 new-instance v0, Ljava/util/LinkedHashSet; invoke-direct {v0}, Ljava/util/LinkedHashSet;->()V check-cast v0, Ljava/util/Set; iget-object v1, p0, Landroidx/window/embedding/SplitPlaceholderRule;->filters:Ljava/util/Set; .line 59 check-cast v1, Ljava/util/Collection; invoke-interface {v0, v1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z .line 60 invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z .line 61 new-instance p1, Landroidx/window/embedding/SplitPlaceholderRule; .line 62 check-cast v0, Ljava/lang/Iterable; invoke-static {v0}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; move-result-object v3 iget-object v4, p0, Landroidx/window/embedding/SplitPlaceholderRule;->placeholderIntent:Landroid/content/Intent; .line 64 invoke-virtual {p0}, Landroidx/window/embedding/SplitPlaceholderRule;->getMinWidth()I move-result v5 .line 65 invoke-virtual {p0}, Landroidx/window/embedding/SplitPlaceholderRule;->getMinSmallestWidth()I move-result v6 .line 66 invoke-virtual {p0}, Landroidx/window/embedding/SplitPlaceholderRule;->getSplitRatio()F move-result v7 .line 67 invoke-virtual {p0}, Landroidx/window/embedding/SplitPlaceholderRule;->getLayoutDirection()I move-result v8 move-object v2, p1 .line 61 invoke-direct/range {v2 .. v8}, Landroidx/window/embedding/SplitPlaceholderRule;->(Ljava/util/Set;Landroid/content/Intent;IIFI)V return-object p1 .end method