.class public Landroidx/media3/common/MediaItem$ClippingConfiguration; .super Ljava/lang/Object; .source "MediaItem.java" # interfaces .implements Landroidx/media3/common/Bundleable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/media3/common/MediaItem; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "ClippingConfiguration" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; } .end annotation # static fields .field public static final CREATOR:Landroidx/media3/common/Bundleable$Creator; .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/media3/common/Bundleable$Creator<", "Landroidx/media3/common/MediaItem$ClippingProperties;", ">;" } .end annotation .end field .field private static final FIELD_END_POSITION_MS:Ljava/lang/String; .field private static final FIELD_RELATIVE_TO_DEFAULT_POSITION:Ljava/lang/String; .field private static final FIELD_RELATIVE_TO_LIVE_WINDOW:Ljava/lang/String; .field private static final FIELD_STARTS_AT_KEY_FRAME:Ljava/lang/String; .field private static final FIELD_START_POSITION_MS:Ljava/lang/String; .field public static final UNSET:Landroidx/media3/common/MediaItem$ClippingConfiguration; # instance fields .field public final endPositionMs:J .field public final relativeToDefaultPosition:Z .field public final relativeToLiveWindow:Z .field public final startPositionMs:J .field public final startsAtKeyFrame:Z # direct methods .method static constructor ()V .locals 1 .line 1789 new-instance v0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; invoke-direct {v0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->()V invoke-virtual {v0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->build()Landroidx/media3/common/MediaItem$ClippingConfiguration; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->UNSET:Landroidx/media3/common/MediaItem$ClippingConfiguration; const/4 v0, 0x0 .line 1952 invoke-static {v0}, Landroidx/media3/common/util/Util;->intToStringMaxRadix(I)Ljava/lang/String; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_START_POSITION_MS:Ljava/lang/String; const/4 v0, 0x1 .line 1953 invoke-static {v0}, Landroidx/media3/common/util/Util;->intToStringMaxRadix(I)Ljava/lang/String; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_END_POSITION_MS:Ljava/lang/String; const/4 v0, 0x2 .line 1954 invoke-static {v0}, Landroidx/media3/common/util/Util;->intToStringMaxRadix(I)Ljava/lang/String; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_LIVE_WINDOW:Ljava/lang/String; const/4 v0, 0x3 .line 1955 invoke-static {v0}, Landroidx/media3/common/util/Util;->intToStringMaxRadix(I)Ljava/lang/String; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_DEFAULT_POSITION:Ljava/lang/String; const/4 v0, 0x4 .line 1956 invoke-static {v0}, Landroidx/media3/common/util/Util;->intToStringMaxRadix(I)Ljava/lang/String; move-result-object v0 sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_STARTS_AT_KEY_FRAME:Ljava/lang/String; .line 1982 new-instance v0, Landroidx/media3/common/MediaItem$ClippingConfiguration$$ExternalSyntheticLambda0; invoke-direct {v0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$$ExternalSyntheticLambda0;->()V sput-object v0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->CREATOR:Landroidx/media3/common/Bundleable$Creator; return-void .end method .method private constructor (Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)V .locals 2 .line 1909 invoke-direct {p0}, Ljava/lang/Object;->()V .line 1910 invoke-static {p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->access$3800(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)J move-result-wide v0 iput-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J .line 1911 invoke-static {p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->access$3900(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)J move-result-wide v0 iput-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J .line 1912 invoke-static {p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->access$4000(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z move-result v0 iput-boolean v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z .line 1913 invoke-static {p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->access$4100(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z move-result v0 iput-boolean v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z .line 1914 invoke-static {p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->access$4200(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)Z move-result p1 iput-boolean p1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z return-void .end method .method synthetic constructor (Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;Landroidx/media3/common/MediaItem$1;)V .locals 0 .line 1786 invoke-direct {p0, p1}, Landroidx/media3/common/MediaItem$ClippingConfiguration;->(Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;)V return-void .end method .method static synthetic lambda$static$0(Landroid/os/Bundle;)Landroidx/media3/common/MediaItem$ClippingProperties; .locals 5 .line 1984 new-instance v0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; invoke-direct {v0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->()V sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_START_POSITION_MS:Ljava/lang/String; sget-object v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->UNSET:Landroidx/media3/common/MediaItem$ClippingConfiguration; iget-wide v3, v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J .line 1986 invoke-virtual {p0, v1, v3, v4}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J move-result-wide v3 .line 1985 invoke-virtual {v0, v3, v4}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->setStartPositionMs(J)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; move-result-object v0 sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_END_POSITION_MS:Ljava/lang/String; iget-wide v3, v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J .line 1989 invoke-virtual {p0, v1, v3, v4}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J move-result-wide v3 .line 1988 invoke-virtual {v0, v3, v4}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->setEndPositionMs(J)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; move-result-object v0 sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_LIVE_WINDOW:Ljava/lang/String; iget-boolean v3, v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z .line 1991 invoke-virtual {p0, v1, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z move-result v1 .line 1990 invoke-virtual {v0, v1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->setRelativeToLiveWindow(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; move-result-object v0 sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_DEFAULT_POSITION:Ljava/lang/String; iget-boolean v3, v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z .line 1995 invoke-virtual {p0, v1, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z move-result v1 .line 1994 invoke-virtual {v0, v1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->setRelativeToDefaultPosition(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; move-result-object v0 sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_STARTS_AT_KEY_FRAME:Ljava/lang/String; iget-boolean v2, v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z .line 1999 invoke-virtual {p0, v1, v2}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z move-result p0 .line 1998 invoke-virtual {v0, p0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->setStartsAtKeyFrame(Z)Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; move-result-object p0 .line 2001 invoke-virtual {p0}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->buildClippingProperties()Landroidx/media3/common/MediaItem$ClippingProperties; move-result-object p0 return-object p0 .end method # virtual methods .method public buildUpon()Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; .locals 2 .line 1919 new-instance v0, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Landroidx/media3/common/MediaItem$ClippingConfiguration$Builder;->(Landroidx/media3/common/MediaItem$ClippingConfiguration;Landroidx/media3/common/MediaItem$1;)V return-object v0 .end method .method public equals(Ljava/lang/Object;)Z .locals 7 const/4 v0, 0x1 if-ne p0, p1, :cond_0 return v0 .line 1927 :cond_0 instance-of v1, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration; const/4 v2, 0x0 if-nez v1, :cond_1 return v2 .line 1931 :cond_1 check-cast p1, Landroidx/media3/common/MediaItem$ClippingConfiguration; iget-wide v3, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J .line 1933 iget-wide v5, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J cmp-long v1, v3, v5 if-nez v1, :cond_2 iget-wide v3, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J iget-wide v5, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J cmp-long v1, v3, v5 if-nez v1, :cond_2 iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z iget-boolean v3, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z if-ne v1, v3, :cond_2 iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z iget-boolean v3, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z if-ne v1, v3, :cond_2 iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z iget-boolean p1, p1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z if-ne p0, p1, :cond_2 goto :goto_0 :cond_2 move v0, v2 :goto_0 return v0 .end method .method public hashCode()I .locals 5 iget-wide v0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J const/16 v2, 0x20 ushr-long v3, v0, v2 xor-long/2addr v0, v3 long-to-int v0, v0 mul-int/lit8 v0, v0, 0x1f iget-wide v3, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J ushr-long v1, v3, v2 xor-long/2addr v1, v3 long-to-int v1, v1 add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z add-int/2addr v0, v1 mul-int/lit8 v0, v0, 0x1f iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z add-int/2addr v0, p0 return v0 .end method .method public toBundle()Landroid/os/Bundle; .locals 6 .line 1961 new-instance v0, Landroid/os/Bundle; invoke-direct {v0}, Landroid/os/Bundle;->()V iget-wide v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J sget-object v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->UNSET:Landroidx/media3/common/MediaItem$ClippingConfiguration; .line 1962 iget-wide v4, v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startPositionMs:J cmp-long v4, v1, v4 if-eqz v4, :cond_0 sget-object v4, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_START_POSITION_MS:Ljava/lang/String; .line 1963 invoke-virtual {v0, v4, v1, v2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V :cond_0 iget-wide v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J .line 1965 iget-wide v4, v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->endPositionMs:J cmp-long v4, v1, v4 if-eqz v4, :cond_1 sget-object v4, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_END_POSITION_MS:Ljava/lang/String; .line 1966 invoke-virtual {v0, v4, v1, v2}, Landroid/os/Bundle;->putLong(Ljava/lang/String;J)V :cond_1 iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z .line 1968 iget-boolean v2, v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToLiveWindow:Z if-eq v1, v2, :cond_2 sget-object v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_LIVE_WINDOW:Ljava/lang/String; .line 1969 invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V :cond_2 iget-boolean v1, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z .line 1971 iget-boolean v2, v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->relativeToDefaultPosition:Z if-eq v1, v2, :cond_3 sget-object v2, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_RELATIVE_TO_DEFAULT_POSITION:Ljava/lang/String; .line 1972 invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V :cond_3 iget-boolean p0, p0, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z .line 1974 iget-boolean v1, v3, Landroidx/media3/common/MediaItem$ClippingConfiguration;->startsAtKeyFrame:Z if-eq p0, v1, :cond_4 sget-object v1, Landroidx/media3/common/MediaItem$ClippingConfiguration;->FIELD_STARTS_AT_KEY_FRAME:Ljava/lang/String; .line 1975 invoke-virtual {v0, v1, p0}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V :cond_4 return-object v0 .end method