- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
47 lines
1.6 KiB
Java
47 lines
1.6 KiB
Java
package com.mbridge.msdk.playercommon.exoplayer2;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.util.Assertions;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class SeekParameters {
|
|
public static final SeekParameters CLOSEST_SYNC;
|
|
public static final SeekParameters DEFAULT;
|
|
public static final SeekParameters EXACT;
|
|
public static final SeekParameters NEXT_SYNC;
|
|
public static final SeekParameters PREVIOUS_SYNC;
|
|
public final long toleranceAfterUs;
|
|
public final long toleranceBeforeUs;
|
|
|
|
public final int hashCode() {
|
|
return (((int) this.toleranceBeforeUs) * 31) + ((int) this.toleranceAfterUs);
|
|
}
|
|
|
|
static {
|
|
SeekParameters seekParameters = new SeekParameters(0L, 0L);
|
|
EXACT = seekParameters;
|
|
CLOSEST_SYNC = new SeekParameters(Long.MAX_VALUE, Long.MAX_VALUE);
|
|
PREVIOUS_SYNC = new SeekParameters(Long.MAX_VALUE, 0L);
|
|
NEXT_SYNC = new SeekParameters(0L, Long.MAX_VALUE);
|
|
DEFAULT = seekParameters;
|
|
}
|
|
|
|
public SeekParameters(long j, long j2) {
|
|
Assertions.checkArgument(j >= 0);
|
|
Assertions.checkArgument(j2 >= 0);
|
|
this.toleranceBeforeUs = j;
|
|
this.toleranceAfterUs = j2;
|
|
}
|
|
|
|
public final boolean equals(@Nullable Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || SeekParameters.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
SeekParameters seekParameters = (SeekParameters) obj;
|
|
return this.toleranceBeforeUs == seekParameters.toleranceBeforeUs && this.toleranceAfterUs == seekParameters.toleranceAfterUs;
|
|
}
|
|
}
|