- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
98 lines
2.2 KiB
Java
98 lines
2.2 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class u5 implements t4 {
|
|
private final long b = C.TIME_UNSET;
|
|
private final long a = C.TIME_UNSET;
|
|
private final boolean c = false;
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean a() {
|
|
return !this.c || this.b > 0;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean b() {
|
|
return !this.c || this.a > 0;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean b(qh qhVar) {
|
|
qhVar.b();
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean e(qh qhVar) {
|
|
qhVar.D();
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean a(qh qhVar) {
|
|
qhVar.u();
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean c(qh qhVar) {
|
|
if (!this.c) {
|
|
qhVar.B();
|
|
return true;
|
|
}
|
|
if (!b() || !qhVar.y()) {
|
|
return true;
|
|
}
|
|
a(qhVar, -this.a);
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean d(qh qhVar) {
|
|
if (!this.c) {
|
|
qhVar.w();
|
|
return true;
|
|
}
|
|
if (!a() || !qhVar.y()) {
|
|
return true;
|
|
}
|
|
a(qhVar, this.b);
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean b(qh qhVar, boolean z) {
|
|
qhVar.a(z);
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean a(qh qhVar, int i, long j) {
|
|
qhVar.a(i, j);
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean a(qh qhVar, int i) {
|
|
qhVar.a(i);
|
|
return true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.t4
|
|
public boolean a(qh qhVar, boolean z) {
|
|
qhVar.b(z);
|
|
return true;
|
|
}
|
|
|
|
private static void a(qh qhVar, long j) {
|
|
long currentPosition = qhVar.getCurrentPosition() + j;
|
|
long duration = qhVar.getDuration();
|
|
if (duration != C.TIME_UNSET) {
|
|
currentPosition = Math.min(currentPosition, duration);
|
|
}
|
|
qhVar.a(Math.max(currentPosition, 0L));
|
|
}
|
|
}
|