package u5; import android.content.Context; import android.os.Handler; import java.util.Iterator; import t5.i; import u5.b; /* loaded from: classes2.dex */ public class f implements s5.c, b.a { /* renamed from: f, reason: collision with root package name */ private static f f14685f; /* renamed from: a, reason: collision with root package name */ private float f14686a = 0.0f; /* renamed from: b, reason: collision with root package name */ private final s5.e f14687b; /* renamed from: c, reason: collision with root package name */ private final s5.b f14688c; /* renamed from: d, reason: collision with root package name */ private s5.d f14689d; /* renamed from: e, reason: collision with root package name */ private a f14690e; public f(s5.e eVar, s5.b bVar) { this.f14687b = eVar; this.f14688c = bVar; } public static f c() { if (f14685f == null) { f14685f = new f(new s5.e(), new s5.b()); } return f14685f; } private a h() { if (this.f14690e == null) { this.f14690e = a.a(); } return this.f14690e; } @Override // s5.c public void a(float f10) { this.f14686a = f10; Iterator it = h().e().iterator(); while (it.hasNext()) { ((i) it.next()).k().b(f10); } } @Override // u5.b.a public void b(boolean z10) { if (z10) { z5.a.p().c(); } else { z5.a.p().k(); } } public void d(Context context) { this.f14689d = this.f14687b.a(new Handler(), context, this.f14688c.a(), this); } public void e() { b.a().c(this); b.a().e(); z5.a.p().c(); this.f14689d.a(); } public void f() { z5.a.p().h(); b.a().f(); this.f14689d.c(); } public float g() { return this.f14686a; } }