89.0 - Alpha (89200)
This commit is contained in:
parent
149bb0ac24
commit
3cc913dfb7
2908 changed files with 26497 additions and 25461 deletions
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 88205
|
||||
versionName "88.5 - Alpha"
|
||||
versionCode 89200
|
||||
versionName "89.0 - Alpha"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="88205" android:versionName="88.5 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="89200" android:versionName="89.0 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
|
|
|
@ -91,7 +91,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
|
|||
@Override // android.view.View.OnClickListener
|
||||
public void onClick(View view) {
|
||||
m.checkNotNullParameter(view, "v");
|
||||
this.p.f1596z.clearFocus();
|
||||
this.p.f1597z.clearFocus();
|
||||
ChipsView<K, T> chipsView = this.p;
|
||||
Objects.requireNonNull(chipsView);
|
||||
m.checkNotNullParameter(this, "chip");
|
||||
|
|
|
@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
|
|||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
this.i.f1596z.requestFocus();
|
||||
this.i.f1597z.requestFocus();
|
||||
this.i.f(null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ public final class b {
|
|||
m.checkNotNullParameter(objArr, "formatArgs");
|
||||
m.checkNotNullParameter(renderContext, "renderContext");
|
||||
Map<String, String> map = renderContext.a;
|
||||
List<? extends Object> list = renderContext.f2056c;
|
||||
List<? extends Object> list = renderContext.f2057c;
|
||||
boolean z2 = true;
|
||||
if (!map.isEmpty()) {
|
||||
charSequence = a.replace(charSequence, new f(map));
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class c extends Node.a<RenderContext> {
|
|||
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
|
||||
}
|
||||
}
|
||||
Hook.a aVar2 = hook != null ? hook.f2055c : null;
|
||||
Hook.a aVar2 = hook != null ? hook.f2056c : null;
|
||||
if (aVar2 != null) {
|
||||
aVar = aVar2;
|
||||
} else if (URLUtil.isValidUrl(this.a)) {
|
||||
|
|
|
@ -33,7 +33,7 @@ public final class a extends Parser<RenderContext, Node<RenderContext>, c> {
|
|||
Pattern pattern5 = c.a.t.b.b.e.g;
|
||||
m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS");
|
||||
addRule(new h(pattern5));
|
||||
Pattern pattern6 = c.a.t.b.b.e.f237c;
|
||||
Pattern pattern6 = c.a.t.b.b.e.f238c;
|
||||
m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU");
|
||||
addRule(new i(pattern6));
|
||||
addRule(eVar.d());
|
||||
|
|
|
@ -49,13 +49,13 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
if (subscription != null && !subscription.isUnsubscribed()) {
|
||||
dVar.a();
|
||||
}
|
||||
dVar.b = Observable.D(0, dVar.f223c, TimeUnit.MILLISECONDS).W(new b(dVar), new c(dVar));
|
||||
dVar.b = Observable.D(0, dVar.f224c, TimeUnit.MILLISECONDS).W(new b(dVar), new c(dVar));
|
||||
rtcConnection.n = dVar;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
if (transportInfo.f2137c.ordinal() != 0) {
|
||||
if (transportInfo.f2138c.ordinal() != 0) {
|
||||
StringBuilder L = c.d.b.a.a.L("Unsupported protocol: ");
|
||||
L.append(transportInfo.f2137c);
|
||||
L.append(transportInfo.f2138c);
|
||||
L.append('.');
|
||||
RtcConnection.j(rtcConnection, true, L.toString(), null, false, 12);
|
||||
} else {
|
||||
|
@ -75,7 +75,7 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
Payloads.Protocol.ProtocolInfo protocolInfo = new Payloads.Protocol.ProtocolInfo(str, i, "xsalsa20_poly1305");
|
||||
ArrayList arrayList = new ArrayList(o.collectionSizeOrDefault(list, 10));
|
||||
for (a aVar2 : list) {
|
||||
arrayList.add(new Payloads.Protocol.CodecInfo(aVar2.a, aVar2.b, aVar2.f213c, aVar2.d, aVar2.e));
|
||||
arrayList.add(new Payloads.Protocol.CodecInfo(aVar2.a, aVar2.b, aVar2.f214c, aVar2.d, aVar2.e));
|
||||
}
|
||||
aVar.p(1, new Payloads.Protocol("udp", protocolInfo, arrayList));
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ public final class h0 implements a.d {
|
|||
rtcConnection.n = null;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
rtcConnection.f2124z = 0;
|
||||
rtcConnection.f2125z = 0;
|
||||
rtcConnection.C = null;
|
||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.F;
|
||||
if (mediaSinkWantsManager != null) {
|
||||
|
@ -233,8 +233,8 @@ public final class h0 implements a.d {
|
|||
cVar2 = (e.c) u.first((List<? extends Object>) eVar.d);
|
||||
}
|
||||
n nVar = cVar2.a;
|
||||
int max = Math.max((int) (((double) j0Var.f209c.a) * nVar.f218c), j0Var.d);
|
||||
int max2 = Math.max((int) (((double) j0Var.f209c.b) * nVar.f218c), j0Var.d);
|
||||
int max = Math.max((int) (((double) j0Var.f209c.a) * nVar.f219c), j0Var.d);
|
||||
int max2 = Math.max((int) (((double) j0Var.f209c.b) * nVar.f219c), j0Var.d);
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e));
|
||||
|
@ -255,7 +255,7 @@ public final class h0 implements a.d {
|
|||
r.removeFirst(rtcConnection.u);
|
||||
}
|
||||
if (j > ((long) 500)) {
|
||||
rtcConnection.f2124z++;
|
||||
rtcConnection.f2125z++;
|
||||
}
|
||||
double d = (double) j;
|
||||
Objects.requireNonNull(RtcConnection.Quality.Companion);
|
||||
|
@ -288,7 +288,7 @@ public final class h0 implements a.d {
|
|||
m.checkNotNullParameter(str2, "sessionId");
|
||||
m.checkNotNullParameter(listOf, "streams");
|
||||
aVar.b();
|
||||
aVar.f219s = str;
|
||||
aVar.f220s = str;
|
||||
aVar.t = str2;
|
||||
aVar.A = a.c.IDENTIFYING;
|
||||
aVar.p(0, new Payloads.Identify(str, j, str2, aVar.D, z2, listOf));
|
||||
|
@ -330,6 +330,9 @@ public final class h0 implements a.d {
|
|||
Payloads.Stream stream = (Payloads.Stream) it.next();
|
||||
MediaType mediaType = MediaStreamTrack.VIDEO_TRACK_KIND.equals(stream.getType()) ? MediaType.Video : MediaType.Audio;
|
||||
String rid = stream.getRid();
|
||||
if (rid == null) {
|
||||
rid = "";
|
||||
}
|
||||
Integer ssrc = stream.getSsrc();
|
||||
int intValue = ssrc != null ? ssrc.intValue() : 0;
|
||||
Integer rtxSsrc = stream.getRtxSsrc();
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class j extends o implements Function0<Unit> {
|
|||
Long l2 = this.$userId;
|
||||
if (l2 == null) {
|
||||
this.this$0.e = null;
|
||||
} else if (this.this$0.f2117c.contains(l2)) {
|
||||
} else if (this.this$0.f2118c.contains(l2)) {
|
||||
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
|
||||
Long l3 = this.$userId;
|
||||
mediaSinkWantsManager2.e = l3;
|
||||
|
|
|
@ -22,7 +22,7 @@ public final class a extends BroadcastReceiver {
|
|||
public final Context b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final g f210c;
|
||||
public final h f210c;
|
||||
|
||||
/* compiled from: AudioManagerBroadcastReceiver.kt */
|
||||
/* renamed from: c.a.q.k0.a$a reason: collision with other inner class name */
|
||||
|
@ -31,11 +31,11 @@ public final class a extends BroadcastReceiver {
|
|||
}
|
||||
}
|
||||
|
||||
public a(Context context, g gVar) {
|
||||
public a(Context context, h hVar) {
|
||||
m.checkNotNullParameter(context, "context");
|
||||
m.checkNotNullParameter(gVar, "listener");
|
||||
m.checkNotNullParameter(hVar, "listener");
|
||||
this.b = context;
|
||||
this.f210c = gVar;
|
||||
this.f210c = hVar;
|
||||
}
|
||||
|
||||
@Override // android.content.BroadcastReceiver
|
||||
|
@ -74,10 +74,10 @@ public final class a extends BroadcastReceiver {
|
|||
}
|
||||
AnimatableValueParser.G1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction);
|
||||
try {
|
||||
g gVar = this.f210c;
|
||||
h hVar = this.f210c;
|
||||
int ordinal = audioManagerBroadcastAction.ordinal();
|
||||
if (ordinal == 0) {
|
||||
gVar.c(context);
|
||||
hVar.c(context);
|
||||
} else if (ordinal == 1) {
|
||||
m.checkNotNullParameter(intent, "intent");
|
||||
if (m.areEqual(intent.getAction(), "android.intent.action.HEADSET_PLUG")) {
|
||||
|
@ -94,24 +94,24 @@ public final class a extends BroadcastReceiver {
|
|||
}
|
||||
aVar = new a.C0036a(stringExtra, z2);
|
||||
}
|
||||
gVar.e(context, aVar);
|
||||
hVar.e(context, aVar);
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException("Failed requirement.".toString());
|
||||
} else if (ordinal == 2) {
|
||||
gVar.b(context, ScoAudioState.Companion.b(intent));
|
||||
hVar.b(context, ScoAudioState.Companion.b(intent));
|
||||
} else if (ordinal == 3) {
|
||||
m.checkNotNullParameter(context, "$this$isMicrophoneMute");
|
||||
m.checkNotNullParameter(context, "$this$getAudioManager");
|
||||
Object systemService = context.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND);
|
||||
Objects.requireNonNull(systemService, "null cannot be cast to non-null type android.media.AudioManager");
|
||||
gVar.a(context, ((AudioManager) systemService).isMicrophoneMute());
|
||||
hVar.a(context, ((AudioManager) systemService).isMicrophoneMute());
|
||||
} else if (ordinal == 4) {
|
||||
m.checkNotNullParameter(context, "$this$isSpeakerphoneOn");
|
||||
m.checkNotNullParameter(context, "$this$getAudioManager");
|
||||
Object systemService2 = context.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND);
|
||||
Objects.requireNonNull(systemService2, "null cannot be cast to non-null type android.media.AudioManager");
|
||||
gVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn());
|
||||
hVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn());
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
AnimatableValueParser.E1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th);
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
public boolean k;
|
||||
public BluetoothHeadset l;
|
||||
public final Context m;
|
||||
public final h n;
|
||||
public final i n;
|
||||
|
||||
/* compiled from: BluetoothBroadcastReceiver.kt */
|
||||
public static final class a {
|
||||
|
@ -32,11 +32,11 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
}
|
||||
}
|
||||
|
||||
public c(Context context, h hVar) {
|
||||
public c(Context context, i iVar) {
|
||||
m.checkNotNullParameter(context, "context");
|
||||
m.checkNotNullParameter(hVar, "listener");
|
||||
m.checkNotNullParameter(iVar, "listener");
|
||||
this.m = context;
|
||||
this.n = hVar;
|
||||
this.n = iVar;
|
||||
}
|
||||
|
||||
@Override // android.content.BroadcastReceiver
|
||||
|
@ -73,17 +73,17 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
|||
}
|
||||
AnimatableValueParser.G1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction);
|
||||
try {
|
||||
h hVar = this.n;
|
||||
i iVar = this.n;
|
||||
int ordinal = bluetoothBroadcastAction.ordinal();
|
||||
if (ordinal == 0) {
|
||||
hVar.d(context, BluetoothProfileConnectionState.Companion.b(intent));
|
||||
iVar.d(context, BluetoothProfileConnectionState.Companion.b(intent));
|
||||
} else if (ordinal == 1) {
|
||||
hVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent));
|
||||
iVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent));
|
||||
} else if (ordinal != 4) {
|
||||
AnimatableValueParser.H1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction);
|
||||
} else {
|
||||
m.checkNotNullParameter(intent, "$this$getBluetoothDeviceExtra");
|
||||
hVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"));
|
||||
iVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"));
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
AnimatableValueParser.E1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th);
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class f extends ContentObserver {
|
|||
DiscordAudioManager discordAudioManager = this.a;
|
||||
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
||||
discordAudioManager.w = streamVolume;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2130y;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2131y;
|
||||
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,72 @@
|
|||
package c.a.q.k0;
|
||||
|
||||
import android.content.Context;
|
||||
import androidx.annotation.MainThread;
|
||||
import c.a.q.l0.a;
|
||||
import com.discord.rtcconnection.enums.ScoAudioState;
|
||||
/* compiled from: OnAudioManagerBroadcastListener.kt */
|
||||
@MainThread
|
||||
public interface g {
|
||||
void a(Context context, boolean z2);
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
/* compiled from: EchoCancellation.kt */
|
||||
public final class g {
|
||||
public static final g a = new g(true, false, false);
|
||||
public static final g b = new g(true, false, false);
|
||||
|
||||
void b(Context context, ScoAudioState.b bVar);
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final a f213c = new a(null);
|
||||
public volatile boolean d;
|
||||
public final boolean e;
|
||||
public final boolean f;
|
||||
public final boolean g;
|
||||
|
||||
void c(Context context);
|
||||
/* compiled from: EchoCancellation.kt */
|
||||
public static final class a {
|
||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
void d(Context context, boolean z2);
|
||||
public g(boolean z2, boolean z3, boolean z4) {
|
||||
this.e = z2;
|
||||
this.f = z3;
|
||||
this.g = z4;
|
||||
}
|
||||
|
||||
void e(Context context, a aVar);
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof g)) {
|
||||
return false;
|
||||
}
|
||||
g gVar = (g) obj;
|
||||
return this.e == gVar.e && this.f == gVar.f && this.g == gVar.g;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
boolean z2 = this.e;
|
||||
int i = 1;
|
||||
if (z2) {
|
||||
z2 = true;
|
||||
}
|
||||
int i2 = z2 ? 1 : 0;
|
||||
int i3 = z2 ? 1 : 0;
|
||||
int i4 = z2 ? 1 : 0;
|
||||
int i5 = i2 * 31;
|
||||
boolean z3 = this.f;
|
||||
if (z3) {
|
||||
z3 = true;
|
||||
}
|
||||
int i6 = z3 ? 1 : 0;
|
||||
int i7 = z3 ? 1 : 0;
|
||||
int i8 = z3 ? 1 : 0;
|
||||
int i9 = (i5 + i6) * 31;
|
||||
boolean z4 = this.g;
|
||||
if (!z4) {
|
||||
i = z4 ? 1 : 0;
|
||||
}
|
||||
return i9 + i;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder L = c.d.b.a.a.L("EchoCancellation(shouldEarlyEnableHwAec=");
|
||||
L.append(this.e);
|
||||
L.append(", alwaysEnableAec=");
|
||||
L.append(this.f);
|
||||
L.append(", disableSwAecWhenHwIsEnabled=");
|
||||
return c.d.b.a.a.G(L, this.g, ")");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
package c.a.q.k0;
|
||||
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.bluetooth.BluetoothHeadset;
|
||||
import android.content.Context;
|
||||
import androidx.annotation.MainThread;
|
||||
import com.discord.rtcconnection.enums.BluetoothHeadsetAudioState;
|
||||
import com.discord.rtcconnection.enums.BluetoothProfileConnectionState;
|
||||
/* compiled from: OnBluetoothBroadcastListener.kt */
|
||||
import c.a.q.l0.a;
|
||||
import com.discord.rtcconnection.enums.ScoAudioState;
|
||||
/* compiled from: OnAudioManagerBroadcastListener.kt */
|
||||
@MainThread
|
||||
public interface h {
|
||||
void a(Context context, BluetoothHeadsetAudioState.b bVar);
|
||||
void a(Context context, boolean z2);
|
||||
|
||||
void b(BluetoothDevice bluetoothDevice);
|
||||
void b(Context context, ScoAudioState.b bVar);
|
||||
|
||||
void c(BluetoothHeadset bluetoothHeadset);
|
||||
void c(Context context);
|
||||
|
||||
void d(Context context, BluetoothProfileConnectionState.b bVar);
|
||||
void d(Context context, boolean z2);
|
||||
|
||||
void e(Context context, a aVar);
|
||||
}
|
||||
|
|
19
app/src/main/java/c/a/q/k0/i.java
Normal file
19
app/src/main/java/c/a/q/k0/i.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package c.a.q.k0;
|
||||
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.bluetooth.BluetoothHeadset;
|
||||
import android.content.Context;
|
||||
import androidx.annotation.MainThread;
|
||||
import com.discord.rtcconnection.enums.BluetoothHeadsetAudioState;
|
||||
import com.discord.rtcconnection.enums.BluetoothProfileConnectionState;
|
||||
/* compiled from: OnBluetoothBroadcastListener.kt */
|
||||
@MainThread
|
||||
public interface i {
|
||||
void a(Context context, BluetoothHeadsetAudioState.b bVar);
|
||||
|
||||
void b(BluetoothDevice bluetoothDevice);
|
||||
|
||||
void c(BluetoothHeadset bluetoothHeadset);
|
||||
|
||||
void d(Context context, BluetoothProfileConnectionState.b bVar);
|
||||
}
|
|
@ -96,10 +96,10 @@ public final class l extends o implements Function0<Unit> {
|
|||
}
|
||||
if (arrayList2.isEmpty()) {
|
||||
this.this$0.b.remove(Long.valueOf(this.$userId));
|
||||
this.this$0.f2117c.remove(Long.valueOf(this.$userId));
|
||||
this.this$0.f2118c.remove(Long.valueOf(this.$userId));
|
||||
} else {
|
||||
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
|
||||
this.this$0.f2117c.add(Long.valueOf(this.$userId));
|
||||
this.this$0.f2118c.add(Long.valueOf(this.$userId));
|
||||
}
|
||||
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId)));
|
||||
return Unit.a;
|
||||
|
|
|
@ -8,7 +8,7 @@ public final class a {
|
|||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final String f213c;
|
||||
public final String f214c;
|
||||
public final int d;
|
||||
public final Integer e;
|
||||
|
||||
|
@ -17,7 +17,7 @@ public final class a {
|
|||
m.checkNotNullParameter(str2, "type");
|
||||
this.a = str;
|
||||
this.b = i;
|
||||
this.f213c = str2;
|
||||
this.f214c = str2;
|
||||
this.d = i2;
|
||||
this.e = num;
|
||||
}
|
||||
|
@ -30,14 +30,14 @@ public final class a {
|
|||
return false;
|
||||
}
|
||||
a aVar = (a) obj;
|
||||
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f213c, aVar.f213c) && this.d == aVar.d && m.areEqual(this.e, aVar.e);
|
||||
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f214c, aVar.f214c) && this.d == aVar.d && m.areEqual(this.e, aVar.e);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
String str = this.a;
|
||||
int i = 0;
|
||||
int hashCode = (((str != null ? str.hashCode() : 0) * 31) + this.b) * 31;
|
||||
String str2 = this.f213c;
|
||||
String str2 = this.f214c;
|
||||
int hashCode2 = (((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + this.d) * 31;
|
||||
Integer num = this.e;
|
||||
if (num != null) {
|
||||
|
@ -52,7 +52,7 @@ public final class a {
|
|||
L.append(", priority=");
|
||||
L.append(this.b);
|
||||
L.append(", type=");
|
||||
L.append(this.f213c);
|
||||
L.append(this.f214c);
|
||||
L.append(", payloadType=");
|
||||
L.append(this.d);
|
||||
L.append(", rtxPayloadType=");
|
||||
|
|
|
@ -47,14 +47,14 @@ public final class b extends ScreenCapturerAndroid {
|
|||
public final Rect r = new Rect();
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final Rect f214s = new Rect();
|
||||
public final Rect f215s = new Rect();
|
||||
public final Point t = new Point();
|
||||
public int u;
|
||||
public Subscription v;
|
||||
public final Logger w;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public final ThumbnailEmitter f215x;
|
||||
public final ThumbnailEmitter f216x;
|
||||
|
||||
/* compiled from: ScreenCapturer.kt */
|
||||
public static final class a {
|
||||
|
@ -121,7 +121,7 @@ public final class b extends ScreenCapturerAndroid {
|
|||
m.checkNotNullParameter(callback, "mediaProjectionCallback");
|
||||
m.checkNotNullParameter(logger, "logger");
|
||||
this.w = logger;
|
||||
this.f215x = thumbnailEmitter;
|
||||
this.f216x = thumbnailEmitter;
|
||||
}
|
||||
|
||||
public final synchronized void a(Rect rect, int i2) {
|
||||
|
@ -212,11 +212,11 @@ public final class b extends ScreenCapturerAndroid {
|
|||
@Override // org.webrtc.ScreenCapturerAndroid, org.webrtc.VideoCapturer
|
||||
public void dispose() {
|
||||
stopCapture();
|
||||
ThumbnailEmitter thumbnailEmitter = this.f215x;
|
||||
ThumbnailEmitter thumbnailEmitter = this.f216x;
|
||||
if (thumbnailEmitter != null) {
|
||||
synchronized (thumbnailEmitter) {
|
||||
thumbnailEmitter.d.release();
|
||||
thumbnailEmitter.f2140c.release();
|
||||
thumbnailEmitter.f2141c.release();
|
||||
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
|
||||
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
||||
}
|
||||
|
@ -238,18 +238,18 @@ public final class b extends ScreenCapturerAndroid {
|
|||
|
||||
@Override // org.webrtc.ScreenCapturerAndroid, org.webrtc.VideoSink
|
||||
public void onFrame(VideoFrame videoFrame) {
|
||||
Rect rect = this.f214s;
|
||||
Rect rect = this.f215s;
|
||||
Context context = this.m;
|
||||
if (context == null) {
|
||||
m.throwUninitializedPropertyAccessException("context");
|
||||
}
|
||||
rect.set(DisplayUtils.getScreenSize(context));
|
||||
if (!m.areEqual(this.f214s, this.r)) {
|
||||
this.r.set(this.f214s);
|
||||
a(this.f214s, this.u);
|
||||
if (!m.areEqual(this.f215s, this.r)) {
|
||||
this.r.set(this.f215s);
|
||||
a(this.f215s, this.u);
|
||||
}
|
||||
this.q = Long.valueOf(videoFrame.getTimestampNs());
|
||||
ThumbnailEmitter thumbnailEmitter = this.f215x;
|
||||
ThumbnailEmitter thumbnailEmitter = this.f216x;
|
||||
if (thumbnailEmitter != null) {
|
||||
synchronized (thumbnailEmitter) {
|
||||
m.checkNotNullParameter(videoFrame, "frame");
|
||||
|
|
|
@ -50,7 +50,7 @@ public final class d implements Discord.ConnectToServerCallback {
|
|||
m.checkNotNullExpressionValue(upperCase, "(this as java.lang.String).toUpperCase()");
|
||||
MediaEngineConnection.TransportInfo transportInfo = new MediaEngineConnection.TransportInfo(str3, i, MediaEngineConnection.TransportInfo.Protocol.valueOf(upperCase));
|
||||
MediaEngineConnection.ConnectionState connectionState = MediaEngineConnection.ConnectionState.CONNECTED;
|
||||
eVar.f216c = connectionState;
|
||||
eVar.f217c = connectionState;
|
||||
eVar.y(new a(eVar, connectionState));
|
||||
c.a.q.m0.a aVar = new c.a.q.m0.a("opus", 1, MediaStreamTrack.AUDIO_TRACK_KIND, 120, null);
|
||||
eVar.j.clear();
|
||||
|
|
|
@ -36,7 +36,7 @@ public final class e implements MediaEngineConnection {
|
|||
public final CopyOnWriteArrayList<MediaEngineConnection.d> b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public MediaEngineConnection.ConnectionState f216c;
|
||||
public MediaEngineConnection.ConnectionState f217c;
|
||||
public boolean d;
|
||||
public final Map<Long, Integer> e;
|
||||
public final Map<Long, Long> f = new LinkedHashMap();
|
||||
|
@ -291,7 +291,7 @@ public final class e implements MediaEngineConnection {
|
|||
Connection connection2 = connection;
|
||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2139c);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2140c);
|
||||
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
||||
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
||||
connection2.setVADUseKrisp(this.$inputModeOptions.e);
|
||||
|
@ -434,7 +434,7 @@ public final class e implements MediaEngineConnection {
|
|||
Connection connection2 = connection;
|
||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
MediaEngineConnection.b bVar = this.$quality;
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2138c, bVar.d, this.$framerate);
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2139c, bVar.d, this.$framerate);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
@ -567,11 +567,11 @@ public final class e implements MediaEngineConnection {
|
|||
this.q = type;
|
||||
this.r = j2;
|
||||
MediaEngineConnection.ConnectionState connectionState = MediaEngineConnection.ConnectionState.CONNECTING;
|
||||
this.f216c = connectionState;
|
||||
this.f217c = connectionState;
|
||||
this.e = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
||||
int i2 = aVar.a;
|
||||
String str = aVar.b;
|
||||
int i3 = aVar.f2136c;
|
||||
int i3 = aVar.f2137c;
|
||||
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
||||
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
||||
Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this));
|
||||
|
@ -580,7 +580,7 @@ public final class e implements MediaEngineConnection {
|
|||
connectToServer.setUserSpeakingStatusChangedCallback(new c(this));
|
||||
this.k = connectToServer;
|
||||
this.b = new CopyOnWriteArrayList<>(list2);
|
||||
this.f216c = connectionState;
|
||||
this.f217c = connectionState;
|
||||
y(new a(this, connectionState));
|
||||
}
|
||||
|
||||
|
@ -678,7 +678,7 @@ public final class e implements MediaEngineConnection {
|
|||
public void l(MediaEngineConnection.d dVar) {
|
||||
d0.z.d.m.checkNotNullParameter(dVar, "listener");
|
||||
this.b.add(dVar);
|
||||
dVar.onConnectionStateChange(this, this.f216c);
|
||||
dVar.onConnectionStateChange(this, this.f217c);
|
||||
}
|
||||
|
||||
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection
|
||||
|
|
|
@ -24,6 +24,7 @@ import kotlin.jvm.functions.Function0;
|
|||
import kotlin.jvm.functions.Function1;
|
||||
import org.webrtc.Logging;
|
||||
import org.webrtc.voiceengine.WebRtcAudioManager;
|
||||
import org.webrtc.voiceengine.WebRtcAudioUtils;
|
||||
import rx.Emitter;
|
||||
import rx.Observable;
|
||||
import rx.functions.Action1;
|
||||
|
@ -33,7 +34,7 @@ public final class k implements MediaEngine {
|
|||
public static final Set<String> b = n0.setOf((Object[]) new String[]{"Pixel 3a", "Redmi Note 8 Pro", "Redmi Note 8 pro"});
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final t f217c;
|
||||
public final t f218c;
|
||||
public final List<MediaEngineConnection> d;
|
||||
public boolean e;
|
||||
public Discord f;
|
||||
|
@ -44,8 +45,9 @@ public final class k implements MediaEngine {
|
|||
public final c.a.q.c k;
|
||||
public final MediaEngine.OpenSLESConfig l;
|
||||
public final Logger m;
|
||||
public final Set<String> n;
|
||||
public final c.a.q.k0.g n;
|
||||
public final Set<String> o;
|
||||
public final Set<String> p;
|
||||
|
||||
/* compiled from: MediaEngineLegacy.kt */
|
||||
public static final class a extends o implements Function0<Unit> {
|
||||
|
@ -336,6 +338,7 @@ public final class k implements MediaEngine {
|
|||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public Unit mo1invoke() {
|
||||
boolean z2;
|
||||
StringBuilder L = c.d.b.a.a.L("updateVoiceConfig: ");
|
||||
L.append(this.$voiceConfig);
|
||||
AnimatableValueParser.D1("MediaEngineLegacy", L.toString());
|
||||
|
@ -347,29 +350,39 @@ public final class k implements MediaEngine {
|
|||
discord.setSpeakerVolume(Math.min(300.0f, Math.max(0.0f, f)) / 100.0f);
|
||||
}
|
||||
k kVar2 = this.this$0;
|
||||
boolean z2 = voiceConfig.b;
|
||||
boolean z3 = voiceConfig.b;
|
||||
c.a.q.k0.g gVar = kVar2.n;
|
||||
if (gVar.g && gVar.d) {
|
||||
z2 = false;
|
||||
} else {
|
||||
c.a.q.k0.g gVar2 = kVar2.n;
|
||||
z2 = gVar2.f && !gVar2.d ? true : z3;
|
||||
}
|
||||
if (z2 != z3) {
|
||||
AnimatableValueParser.D1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.n);
|
||||
}
|
||||
Discord discord2 = kVar2.f;
|
||||
if (discord2 != null) {
|
||||
discord2.setEchoCancellation(z2);
|
||||
}
|
||||
k kVar3 = this.this$0;
|
||||
boolean z3 = voiceConfig.f2135c;
|
||||
boolean z4 = voiceConfig.f2136c;
|
||||
Discord discord3 = kVar3.f;
|
||||
if (discord3 != null) {
|
||||
discord3.setNoiseSuppression(z3);
|
||||
discord3.setNoiseSuppression(z4);
|
||||
}
|
||||
k kVar4 = this.this$0;
|
||||
boolean z4 = voiceConfig.d;
|
||||
kVar4.f217c.a = z4;
|
||||
boolean z5 = voiceConfig.d;
|
||||
kVar4.f218c.a = z5;
|
||||
Discord discord4 = kVar4.f;
|
||||
if (discord4 != null) {
|
||||
discord4.setNoiseCancellation(z4);
|
||||
discord4.setNoiseCancellation(z5);
|
||||
}
|
||||
k kVar5 = this.this$0;
|
||||
boolean z5 = voiceConfig.e;
|
||||
boolean z6 = voiceConfig.e;
|
||||
Discord discord5 = kVar5.f;
|
||||
if (discord5 != null) {
|
||||
discord5.setAutomaticGainControl(z5);
|
||||
discord5.setAutomaticGainControl(z6);
|
||||
}
|
||||
for (MediaEngineConnection mediaEngineConnection : this.this$0.getConnections()) {
|
||||
mediaEngineConnection.k(voiceConfig.f, voiceConfig.g);
|
||||
|
@ -380,15 +393,16 @@ public final class k implements MediaEngine {
|
|||
}
|
||||
}
|
||||
|
||||
public k(Context context, MediaEngine.b bVar, c.a.q.c cVar, MediaEngine.OpenSLESConfig openSLESConfig, Logger logger, Set set, Set set2, int i2) {
|
||||
public k(Context context, MediaEngine.b bVar, c.a.q.c cVar, MediaEngine.OpenSLESConfig openSLESConfig, Logger logger, c.a.q.k0.g gVar, Set set, Set set2, int i2) {
|
||||
Set<String> set3 = null;
|
||||
Set<String> set4 = (i2 & 32) != 0 ? a : null;
|
||||
set3 = (i2 & 64) != 0 ? b : set3;
|
||||
Set<String> set4 = (i2 & 64) != 0 ? a : null;
|
||||
set3 = (i2 & 128) != 0 ? b : set3;
|
||||
m.checkNotNullParameter(context, "context");
|
||||
m.checkNotNullParameter(bVar, "listener");
|
||||
m.checkNotNullParameter(cVar, "mediaEngineThreadExecutor");
|
||||
m.checkNotNullParameter(openSLESConfig, "openSLESConfig");
|
||||
m.checkNotNullParameter(logger, "logger");
|
||||
m.checkNotNullParameter(gVar, "echoCancellation");
|
||||
m.checkNotNullParameter(set4, "defaultOpenSLAllowList");
|
||||
m.checkNotNullParameter(set3, "defaultOpenSLExcludeList");
|
||||
this.i = context;
|
||||
|
@ -396,9 +410,10 @@ public final class k implements MediaEngine {
|
|||
this.k = cVar;
|
||||
this.l = openSLESConfig;
|
||||
this.m = logger;
|
||||
this.n = set4;
|
||||
this.o = set3;
|
||||
this.f217c = new t();
|
||||
this.n = gVar;
|
||||
this.o = set4;
|
||||
this.p = set3;
|
||||
this.f218c = new t();
|
||||
this.d = new ArrayList();
|
||||
this.e = true;
|
||||
this.h = MediaEngine.OpenSLUsageMode.ALLOW_LIST;
|
||||
|
@ -492,7 +507,7 @@ public final class k implements MediaEngine {
|
|||
c cVar = new c(this);
|
||||
c.a.q.c cVar2 = this.k;
|
||||
Logger logger2 = this.m;
|
||||
t tVar = this.f217c;
|
||||
t tVar = this.f218c;
|
||||
List<c.a.q.m0.a> list = this.g;
|
||||
if (list == null) {
|
||||
m.throwUninitializedPropertyAccessException("supportedVideoCodecs");
|
||||
|
@ -588,8 +603,8 @@ public final class k implements MediaEngine {
|
|||
boolean z2 = false;
|
||||
if (ordinal == 0) {
|
||||
if (this.h == MediaEngine.OpenSLUsageMode.ALLOW_LIST) {
|
||||
z2 = this.n.contains(Build.MODEL);
|
||||
} else if (!this.o.contains(Build.MODEL)) {
|
||||
z2 = this.o.contains(Build.MODEL);
|
||||
} else if (!this.p.contains(Build.MODEL)) {
|
||||
z2 = true;
|
||||
}
|
||||
Logger logger2 = this.m;
|
||||
|
@ -608,7 +623,13 @@ public final class k implements MediaEngine {
|
|||
Logging.externalReporter = new h(this);
|
||||
try {
|
||||
Discord discord = new Discord(this.i, 2);
|
||||
discord.enableBuiltInAEC(true);
|
||||
c.a.q.k0.g gVar = this.n;
|
||||
if (gVar.e) {
|
||||
discord.enableBuiltInAEC(true);
|
||||
if (WebRtcAudioUtils.isAcousticEchoCancelerSupported()) {
|
||||
gVar.d = true;
|
||||
}
|
||||
}
|
||||
discord.setAudioInputEnabled(this.e);
|
||||
this.f = discord;
|
||||
} catch (ExceptionInInitializerError e2) {
|
||||
|
|
|
@ -7,14 +7,14 @@ public final class n {
|
|||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final double f218c;
|
||||
public final double f219c;
|
||||
public final int d;
|
||||
public final int e;
|
||||
|
||||
public n(int i, int i2, double d, int i3, int i4) {
|
||||
this.a = i;
|
||||
this.b = i2;
|
||||
this.f218c = d;
|
||||
this.f219c = d;
|
||||
this.d = i3;
|
||||
this.e = i4;
|
||||
}
|
||||
|
@ -27,11 +27,11 @@ public final class n {
|
|||
return false;
|
||||
}
|
||||
n nVar = (n) obj;
|
||||
return this.a == nVar.a && this.b == nVar.b && Double.compare(this.f218c, nVar.f218c) == 0 && this.d == nVar.d && this.e == nVar.e;
|
||||
return this.a == nVar.a && this.b == nVar.b && Double.compare(this.f219c, nVar.f219c) == 0 && this.d == nVar.d && this.e == nVar.e;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return ((((a.a(this.f218c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d) * 31) + this.e;
|
||||
return ((((a.a(this.f219c) + (((this.a * 31) + this.b) * 31)) * 31) + this.d) * 31) + this.e;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
@ -40,7 +40,7 @@ public final class n {
|
|||
L.append(", height=");
|
||||
L.append(this.b);
|
||||
L.append(", budgetPortion=");
|
||||
L.append(this.f218c);
|
||||
L.append(this.f219c);
|
||||
L.append(", mutedFramerate=");
|
||||
L.append(this.d);
|
||||
L.append(", framerate=");
|
||||
|
|
|
@ -64,20 +64,20 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
public WebSocket r;
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public String f219s;
|
||||
public String f220s;
|
||||
public String t;
|
||||
public Long u;
|
||||
public boolean v;
|
||||
public b w;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public Long f220x;
|
||||
public Long f221x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public TimerTask f221y;
|
||||
public TimerTask f222y;
|
||||
|
||||
/* renamed from: z reason: collision with root package name */
|
||||
public Long f222z;
|
||||
public Long f223z;
|
||||
|
||||
/* compiled from: RtcControlSocket.kt */
|
||||
/* renamed from: c.a.q.n0.a$a reason: collision with other inner class name */
|
||||
|
@ -294,7 +294,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
Payloads.Ready ready = (Payloads.Ready) c2;
|
||||
aVar.o.succeed();
|
||||
long currentTimeMillis = aVar.H.currentTimeMillis();
|
||||
Long l = aVar.f222z;
|
||||
Long l = aVar.f223z;
|
||||
long longValue = currentTimeMillis - (l != null ? l.longValue() : 0);
|
||||
aVar.k("[READY] took " + longValue + " ms");
|
||||
aVar.b();
|
||||
|
@ -349,7 +349,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
long currentTimeMillis2 = aVar5.H.currentTimeMillis();
|
||||
long j = currentTimeMillis2 - longValue2;
|
||||
aVar5.j("got heartbeat ack after " + j + " ms");
|
||||
aVar5.f220x = Long.valueOf(currentTimeMillis2);
|
||||
aVar5.f221x = Long.valueOf(currentTimeMillis2);
|
||||
aVar5.v = true;
|
||||
aVar5.b();
|
||||
for (d dVar4 : aVar5.p) {
|
||||
|
@ -371,7 +371,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
Object c6 = aVar7.m.c(this.$message.getData(), Payloads.Hello.class);
|
||||
m.checkNotNullExpressionValue(c6, "gson.fromJson(message.da…yloads.Hello::class.java)");
|
||||
Payloads.Hello hello = (Payloads.Hello) c6;
|
||||
TimerTask timerTask = aVar7.f221y;
|
||||
TimerTask timerTask = aVar7.f222y;
|
||||
if (timerTask != null) {
|
||||
timerTask.cancel();
|
||||
}
|
||||
|
@ -473,9 +473,9 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
}
|
||||
} else if (cVar == c.RECONNECTING) {
|
||||
String str = aVar.t;
|
||||
String str2 = aVar.f219s;
|
||||
String str2 = aVar.f220s;
|
||||
String str3 = aVar.D;
|
||||
Long l = aVar.f220x;
|
||||
Long l = aVar.f221x;
|
||||
if (l != null && aVar.H.currentTimeMillis() - l.longValue() > 60000) {
|
||||
z2 = false;
|
||||
}
|
||||
|
@ -499,7 +499,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
a aVar2 = this.this$0;
|
||||
aVar2.A = c.CONNECTED;
|
||||
long currentTimeMillis = aVar2.H.currentTimeMillis();
|
||||
Long l2 = this.this$0.f222z;
|
||||
Long l2 = this.this$0.f223z;
|
||||
long longValue = currentTimeMillis - (l2 != null ? l2.longValue() : 0);
|
||||
a aVar3 = this.this$0;
|
||||
StringBuilder L2 = c.d.b.a.a.L("[CONNECTED] to ");
|
||||
|
@ -596,7 +596,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
public final void c(Function1<? super WebSocket, Unit> function1) {
|
||||
this.o.cancel();
|
||||
this.w.cancel();
|
||||
TimerTask timerTask = this.f221y;
|
||||
TimerTask timerTask = this.f222y;
|
||||
if (timerTask != null) {
|
||||
timerTask.cancel();
|
||||
}
|
||||
|
@ -610,11 +610,11 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
@Override // com.discord.utilities.debug.DebugPrintable
|
||||
public void debugPrint(DebugPrintBuilder debugPrintBuilder) {
|
||||
m.checkNotNullParameter(debugPrintBuilder, "dp");
|
||||
debugPrintBuilder.appendKeyValue("serverId", this.f219s);
|
||||
debugPrintBuilder.appendKeyValue("serverId", this.f220s);
|
||||
debugPrintBuilder.appendKeyValue("sessionId", this.t);
|
||||
debugPrintBuilder.appendKeyValue("heartbeatInterval", this.u);
|
||||
debugPrintBuilder.appendKeyValue("lastHeartbeatAckTime", this.f220x);
|
||||
debugPrintBuilder.appendKeyValue("connectionStartTime", this.f222z);
|
||||
debugPrintBuilder.appendKeyValue("lastHeartbeatAckTime", this.f221x);
|
||||
debugPrintBuilder.appendKeyValue("connectionStartTime", this.f223z);
|
||||
debugPrintBuilder.appendKeyValue("connectionState", this.A);
|
||||
debugPrintBuilder.appendKeyValue("resumable", Boolean.valueOf(this.B));
|
||||
}
|
||||
|
@ -623,7 +623,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
b();
|
||||
k("[CLOSE]");
|
||||
c(e.i);
|
||||
this.f219s = null;
|
||||
this.f220s = null;
|
||||
this.t = null;
|
||||
this.B = false;
|
||||
this.A = c.DISCONNECTED;
|
||||
|
@ -659,19 +659,19 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
c(f.i);
|
||||
return;
|
||||
}
|
||||
this.f222z = Long.valueOf(this.H.currentTimeMillis());
|
||||
TimerTask timerTask = this.f221y;
|
||||
this.f223z = Long.valueOf(this.H.currentTimeMillis());
|
||||
TimerTask timerTask = this.f222y;
|
||||
if (timerTask != null) {
|
||||
timerTask.cancel();
|
||||
}
|
||||
g gVar = new g(this);
|
||||
this.f221y = gVar;
|
||||
this.f222y = gVar;
|
||||
this.n.schedule(gVar, 20000);
|
||||
x.a aVar = new x.a();
|
||||
aVar.a(1, TimeUnit.MINUTES);
|
||||
SSLSocketFactory sSLSocketFactory = this.E;
|
||||
if (sSLSocketFactory != null) {
|
||||
h.a aVar2 = f0.e0.k.h.f2788c;
|
||||
h.a aVar2 = f0.e0.k.h.f2789c;
|
||||
aVar.b(sSLSocketFactory, f0.e0.k.h.a.n());
|
||||
}
|
||||
String D = c.d.b.a.a.D(new StringBuilder(), this.C, "?v=5");
|
||||
|
@ -685,7 +685,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
public final void h(boolean z2, Integer num, String str) {
|
||||
l("[DISCONNECT] (" + z2 + ", " + num + ", " + str + ')');
|
||||
c(null);
|
||||
this.f219s = null;
|
||||
this.f220s = null;
|
||||
this.t = null;
|
||||
this.B = false;
|
||||
this.A = c.DISCONNECTED;
|
||||
|
@ -790,7 +790,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
public void onMessage(WebSocket webSocket, String str) {
|
||||
m.checkNotNullParameter(webSocket, "webSocket");
|
||||
m.checkNotNullParameter(str, NotificationCompat.MessagingStyle.Message.KEY_TEXT);
|
||||
Payloads.Incoming incoming = (Payloads.Incoming) c.i.a.f.e.o.c.q0(Payloads.Incoming.class).cast(this.m.g(str, Payloads.Incoming.class));
|
||||
Payloads.Incoming incoming = (Payloads.Incoming) c.i.a.f.e.o.c.r0(Payloads.Incoming.class).cast(this.m.g(str, Payloads.Incoming.class));
|
||||
super.onMessage(webSocket, str);
|
||||
StringBuilder L = c.d.b.a.a.L("received (");
|
||||
L.append(Opcodes.INSTANCE.getNameOf(incoming.getOpcode()));
|
||||
|
|
|
@ -122,13 +122,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
|||
if (booleanValue) {
|
||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
|
||||
} else if (longValue == 0) {
|
||||
int i = krispOveruseDetector.f2116c + 1;
|
||||
krispOveruseDetector.f2116c = i;
|
||||
int i = krispOveruseDetector.f2117c + 1;
|
||||
krispOveruseDetector.f2117c = i;
|
||||
if (i > 2) {
|
||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
|
||||
}
|
||||
} else {
|
||||
krispOveruseDetector.f2116c = 0;
|
||||
krispOveruseDetector.f2117c = 0;
|
||||
}
|
||||
}
|
||||
krispOveruseDetector.b = stats2.getOutboundRtpAudio();
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class d {
|
|||
public Subscription b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final long f223c;
|
||||
public final long f224c;
|
||||
public final Logger d;
|
||||
public final MediaEngineConnection e;
|
||||
public final VoiceQuality f;
|
||||
|
@ -30,7 +30,7 @@ public final class d {
|
|||
m.checkNotNullParameter(voiceQuality, "voiceQuality");
|
||||
m.checkNotNullParameter(eVar, "videoQuality");
|
||||
m.checkNotNullParameter(krispOveruseDetector, "krispOveruseDetector");
|
||||
this.f223c = j;
|
||||
this.f224c = j;
|
||||
this.d = logger;
|
||||
this.e = mediaEngineConnection;
|
||||
this.f = voiceQuality;
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class e {
|
|||
public static final List<Integer> b = n.listOf((Object[]) new Integer[]{0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60});
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final List<Integer> f224c = n.listOf((Object[]) new Integer[]{720, 480, 360});
|
||||
public static final List<Integer> f225c = n.listOf((Object[]) new Integer[]{720, 480, 360});
|
||||
public static final b d = new b(null);
|
||||
public final ListenerCollectionSubject<f> e;
|
||||
public final ListenerCollection<f> f;
|
||||
|
@ -52,7 +52,7 @@ public final class e {
|
|||
public long b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public long f225c;
|
||||
public long f226c;
|
||||
public long d;
|
||||
public long e;
|
||||
public long f;
|
||||
|
@ -66,7 +66,7 @@ public final class e {
|
|||
public a(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8) {
|
||||
this.a = j;
|
||||
this.b = j2;
|
||||
this.f225c = j3;
|
||||
this.f226c = j3;
|
||||
this.d = j4;
|
||||
this.e = j5;
|
||||
this.f = j6;
|
||||
|
@ -87,12 +87,12 @@ public final class e {
|
|||
return false;
|
||||
}
|
||||
a aVar = (a) obj;
|
||||
return this.a == aVar.a && this.b == aVar.b && this.f225c == aVar.f225c && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f && this.g == aVar.g && this.h == aVar.h;
|
||||
return this.a == aVar.a && this.b == aVar.b && this.f226c == aVar.f226c && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f && this.g == aVar.g && this.h == aVar.h;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int a = a0.a.a.b.a(this.b);
|
||||
int a2 = a0.a.a.b.a(this.f225c);
|
||||
int a2 = a0.a.a.b.a(this.f226c);
|
||||
int a3 = a0.a.a.b.a(this.d);
|
||||
int a4 = a0.a.a.b.a(this.e);
|
||||
int a5 = a0.a.a.b.a(this.f);
|
||||
|
@ -106,7 +106,7 @@ public final class e {
|
|||
L.append(", framesNetwork=");
|
||||
L.append(this.b);
|
||||
L.append(", packets=");
|
||||
L.append(this.f225c);
|
||||
L.append(this.f226c);
|
||||
L.append(", packetsLost=");
|
||||
L.append(this.d);
|
||||
L.append(", framesDropped=");
|
||||
|
@ -181,7 +181,7 @@ public final class e {
|
|||
public final Histogram b = new Histogram(5, 0, 2, null);
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Histogram f226c = new Histogram(25600, 0, 2, null);
|
||||
public final Histogram f227c = new Histogram(25600, 0, 2, null);
|
||||
public Long d;
|
||||
public a e = new a(0, 0, 0, 0, 0, 0, 0, 0, 255);
|
||||
public long f;
|
||||
|
@ -197,7 +197,7 @@ public final class e {
|
|||
for (Number number2 : e.b) {
|
||||
this.h.put(Integer.valueOf(number2.intValue()), Float.valueOf(0.0f));
|
||||
}
|
||||
for (Number number3 : e.f224c) {
|
||||
for (Number number3 : e.f225c) {
|
||||
this.j.put(Integer.valueOf(number3.intValue()), Float.valueOf(0.0f));
|
||||
}
|
||||
}
|
||||
|
@ -216,7 +216,7 @@ public final class e {
|
|||
public final long b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final a f227c;
|
||||
public final a f228c;
|
||||
|
||||
public g() {
|
||||
this(0, 0, new a(0, 0, 0, 0, 0, 0, 0, 0, 255));
|
||||
|
@ -226,7 +226,7 @@ public final class e {
|
|||
m.checkNotNullParameter(aVar, "aggregatedProperties");
|
||||
this.a = j;
|
||||
this.b = j2;
|
||||
this.f227c = aVar;
|
||||
this.f228c = aVar;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
|
@ -237,12 +237,12 @@ public final class e {
|
|||
return false;
|
||||
}
|
||||
g gVar = (g) obj;
|
||||
return this.a == gVar.a && this.b == gVar.b && m.areEqual(this.f227c, gVar.f227c);
|
||||
return this.a == gVar.a && this.b == gVar.b && m.areEqual(this.f228c, gVar.f228c);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int a = (a0.a.a.b.a(this.b) + (a0.a.a.b.a(this.a) * 31)) * 31;
|
||||
a aVar = this.f227c;
|
||||
a aVar = this.f228c;
|
||||
return a + (aVar != null ? aVar.hashCode() : 0);
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@ public final class e {
|
|||
L.append(", timestamp=");
|
||||
L.append(this.b);
|
||||
L.append(", aggregatedProperties=");
|
||||
L.append(this.f227c);
|
||||
L.append(this.f228c);
|
||||
L.append(")");
|
||||
return L.toString();
|
||||
}
|
||||
|
@ -280,10 +280,10 @@ public final class e {
|
|||
for (Map.Entry<String, C0042e> entry : eVar.m.entrySet()) {
|
||||
C0042e value = entry.getValue();
|
||||
value.b.addSample((long) resourceUsage2.getCpuUsagePercent());
|
||||
value.f226c.addSample(resourceUsage2.getMemoryRssBytes());
|
||||
value.f227c.addSample(resourceUsage2.getMemoryRssBytes());
|
||||
}
|
||||
eVar.l.b.addSample((long) resourceUsage2.getCpuUsagePercent());
|
||||
eVar.l.f226c.addSample(resourceUsage2.getMemoryRssBytes());
|
||||
eVar.l.f227c.addSample(resourceUsage2.getMemoryRssBytes());
|
||||
}
|
||||
return Unit.a;
|
||||
}
|
||||
|
@ -317,17 +317,17 @@ public final class e {
|
|||
f fVar = f.i;
|
||||
eVar.f = (gVar2.b - gVar3.b) + eVar.f;
|
||||
a aVar = eVar.e;
|
||||
a aVar2 = gVar2.f227c;
|
||||
a aVar3 = gVar3.f227c;
|
||||
a aVar2 = gVar2.f228c;
|
||||
a aVar3 = gVar3.f228c;
|
||||
aVar.a = fVar.a(aVar2.a, aVar3.a) + aVar.a;
|
||||
aVar.b = fVar.a(aVar2.b, aVar3.b) + aVar.b;
|
||||
aVar.f225c = fVar.a(aVar2.f225c, aVar3.f225c) + aVar.f225c;
|
||||
aVar.f226c = fVar.a(aVar2.f226c, aVar3.f226c) + aVar.f226c;
|
||||
aVar.d = fVar.a(aVar2.d, aVar3.d) + aVar.d;
|
||||
aVar.e = fVar.a(aVar2.e, aVar3.e) + aVar.e;
|
||||
aVar.f = fVar.a(aVar2.f, aVar3.f) + aVar.f;
|
||||
aVar.g = fVar.a(aVar2.g, aVar3.g) + aVar.g;
|
||||
aVar.h = fVar.a(aVar2.h, aVar3.h) + aVar.h;
|
||||
a aVar4 = gVar2.f227c;
|
||||
a aVar4 = gVar2.f228c;
|
||||
long j = aVar4.f;
|
||||
long j2 = aVar4.a;
|
||||
long j3 = gVar2.b;
|
||||
|
@ -337,11 +337,11 @@ public final class e {
|
|||
if (eVar.a.size() >= 6) {
|
||||
List<g> list3 = eVar.a;
|
||||
g gVar4 = list3.get(list3.size() - 3);
|
||||
a aVar5 = gVar4.f227c;
|
||||
a aVar5 = gVar4.f228c;
|
||||
long j5 = aVar5.f;
|
||||
long j6 = aVar5.a;
|
||||
long j7 = gVar4.b;
|
||||
Iterator<T> it = f224c.iterator();
|
||||
Iterator<T> it = f225c.iterator();
|
||||
while (true) {
|
||||
float f3 = 0.0f;
|
||||
if (!it.hasNext()) {
|
||||
|
@ -416,7 +416,7 @@ public final class e {
|
|||
int i = (f2 > ((float) 0) ? 1 : (f2 == ((float) 0) ? 0 : -1));
|
||||
long roundToLong = (i <= 0 || (valueOf = Float.valueOf(eVar.i / f2)) == null) ? 0 : d0.a0.a.roundToLong(valueOf.floatValue());
|
||||
Histogram.Report report = eVar.b.getReport();
|
||||
Histogram.Report report2 = eVar.f226c.getReport();
|
||||
Histogram.Report report2 = eVar.f227c.getReport();
|
||||
b bVar = d;
|
||||
Map mapOf = h0.mapOf(d0.o.to("duration", Double.valueOf(Math.floor((double) longValue))), c.d.b.a.a.U(bVar, eVar.g.get(8000000), "duration_stream_under_8mbps"), c.d.b.a.a.U(bVar, eVar.g.get(7000000), "duration_stream_under_7mbps"), c.d.b.a.a.U(bVar, eVar.g.get(6000000), "duration_stream_under_6mbps"), c.d.b.a.a.U(bVar, eVar.g.get(5000000), "duration_stream_under_5mbps"), c.d.b.a.a.U(bVar, eVar.g.get(4000000), "duration_stream_under_4mbps"), c.d.b.a.a.U(bVar, eVar.g.get(3000000), "duration_stream_under_3mbps"), c.d.b.a.a.U(bVar, eVar.g.get(2000000), "duration_stream_under_2mbps"), c.d.b.a.a.U(bVar, eVar.g.get(1500000), "duration_stream_under_1_5mbps"), c.d.b.a.a.U(bVar, eVar.g.get(1000000), "duration_stream_under_1mbps"), c.d.b.a.a.U(bVar, eVar.g.get(500000), "duration_stream_under_0_5mbps"), c.d.b.a.a.U(bVar, eVar.g.get(0), "duration_stream_at_0mbps"), c.d.b.a.a.U(bVar, eVar.h.get(60), "duration_fps_under_60"), c.d.b.a.a.U(bVar, eVar.h.get(55), "duration_fps_under_55"), c.d.b.a.a.U(bVar, eVar.h.get(50), "duration_fps_under_50"), c.d.b.a.a.U(bVar, eVar.h.get(45), "duration_fps_under_45"), c.d.b.a.a.U(bVar, eVar.h.get(40), "duration_fps_under_40"), c.d.b.a.a.U(bVar, eVar.h.get(35), "duration_fps_under_35"), c.d.b.a.a.U(bVar, eVar.h.get(30), "duration_fps_under_30"), c.d.b.a.a.U(bVar, eVar.h.get(25), "duration_fps_under_25"), c.d.b.a.a.U(bVar, eVar.h.get(20), "duration_fps_under_20"), c.d.b.a.a.U(bVar, eVar.h.get(15), "duration_fps_under_15"), c.d.b.a.a.U(bVar, eVar.h.get(10), "duration_fps_under_10"), c.d.b.a.a.U(bVar, eVar.h.get(5), "duration_fps_under_5"), c.d.b.a.a.U(bVar, eVar.h.get(0), "duration_fps_at_0"), d0.o.to("avg_resolution", Long.valueOf(roundToLong)), c.d.b.a.a.U(bVar, eVar.j.get(720), "duration_resolution_under_720"), c.d.b.a.a.U(bVar, eVar.j.get(480), "duration_resolution_under_480"), c.d.b.a.a.U(bVar, eVar.j.get(360), "duration_resolution_under_360"), d0.o.to("num_pauses", 0), d0.o.to("duration_paused", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.i.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("duration_zero_receivers", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.j.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("duration_video_stopped", Long.valueOf(b.a(bVar, Float.valueOf(((float) this.k.c(currentTimeMillis)) / 1000.0f)))), d0.o.to("client_performance_cpu_percentile25", Long.valueOf(report.getPercentile25())), d0.o.to("client_performance_cpu_percentile50", Long.valueOf(report.getPercentile50())), d0.o.to("client_performance_cpu_percentile75", Long.valueOf(report.getPercentile75())), d0.o.to("client_performance_cpu_percentile90", Long.valueOf(report.getPercentile90())), d0.o.to("client_performance_cpu_percentile95", Long.valueOf(report.getPercentile95())), d0.o.to("client_performance_memory_percentile25", Long.valueOf(report2.getPercentile25())), d0.o.to("client_performance_memory_percentile50", Long.valueOf(report2.getPercentile50())), d0.o.to("client_performance_memory_percentile75", Long.valueOf(report2.getPercentile75())), d0.o.to("client_performance_memory_percentile90", Long.valueOf(report2.getPercentile90())), d0.o.to("client_performance_memory_percentile95", Long.valueOf(report2.getPercentile95())), d0.o.to("client_performance_memory_min", Long.valueOf(report2.getMin())), d0.o.to("client_performance_memory_max", Long.valueOf(report2.getMax())));
|
||||
a aVar = eVar.e;
|
||||
|
@ -427,7 +427,7 @@ public final class e {
|
|||
pairArr[1] = d0.o.to("avg_fps", Long.valueOf(a3));
|
||||
pairArr[2] = d0.o.to("num_bytes", Long.valueOf(aVar.f));
|
||||
pairArr[3] = d0.o.to("num_packets_lost", Long.valueOf(aVar.d));
|
||||
pairArr[4] = d0.o.to("num_packets", Long.valueOf(aVar.f225c));
|
||||
pairArr[4] = d0.o.to("num_packets", Long.valueOf(aVar.f226c));
|
||||
pairArr[5] = d0.o.to("num_frames", Long.valueOf(aVar.b));
|
||||
Long l2 = eVar.d;
|
||||
pairArr[6] = d0.o.to("time_to_first_frame_ms", Long.valueOf(l2 != null ? l2.longValue() : 0));
|
||||
|
|
|
@ -13,6 +13,6 @@ public final class r extends RtcConnection.b {
|
|||
@Override // com.discord.rtcconnection.RtcConnection.b, com.discord.rtcconnection.RtcConnection.c
|
||||
public void onStateChange(RtcConnection.StateChange stateChange) {
|
||||
m.checkNotNullParameter(stateChange, "stateChange");
|
||||
this.i.f2121s.onNext(stateChange);
|
||||
this.i.f2122s.onNext(stateChange);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
|
|||
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
||||
try {
|
||||
URI uri = new URI(t);
|
||||
rtcConnection.f2122x = uri.getHost();
|
||||
rtcConnection.f2123y = Integer.valueOf(uri.getPort());
|
||||
rtcConnection.f2123x = uri.getHost();
|
||||
rtcConnection.f2124y = Integer.valueOf(uri.getPort());
|
||||
} catch (Exception e) {
|
||||
rtcConnection.T.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default)));
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ public final class b extends k implements Function2<CoroutineScope, Continuation
|
|||
}
|
||||
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
|
||||
RequestBody.Companion companion = RequestBody.Companion;
|
||||
MediaType.a aVar = MediaType.f2905c;
|
||||
MediaType.a aVar = MediaType.f2906c;
|
||||
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
|
||||
Request.a aVar2 = new Request.a();
|
||||
m.checkParameterIsNotNull(a, "body");
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class b extends ContentObserver {
|
|||
public String b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Logger f228c;
|
||||
public final Logger f229c;
|
||||
public final ContentResolver d;
|
||||
public final Clock e;
|
||||
public final Function2<Uri, String, Unit> f;
|
||||
|
@ -44,7 +44,7 @@ public final class b extends ContentObserver {
|
|||
public final long b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final String f229c;
|
||||
public final String f230c;
|
||||
public final String d;
|
||||
public final Uri e;
|
||||
public final long f;
|
||||
|
@ -54,7 +54,7 @@ public final class b extends ContentObserver {
|
|||
m.checkNotNullParameter(str2, "relativePath");
|
||||
m.checkNotNullParameter(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI);
|
||||
this.b = j;
|
||||
this.f229c = str;
|
||||
this.f230c = str;
|
||||
this.d = str2;
|
||||
this.e = uri;
|
||||
this.f = j2;
|
||||
|
@ -69,12 +69,12 @@ public final class b extends ContentObserver {
|
|||
return false;
|
||||
}
|
||||
C0043b bVar = (C0043b) obj;
|
||||
return this.b == bVar.b && m.areEqual(this.f229c, bVar.f229c) && m.areEqual(this.d, bVar.d) && m.areEqual(this.e, bVar.e) && this.f == bVar.f;
|
||||
return this.b == bVar.b && m.areEqual(this.f230c, bVar.f230c) && m.areEqual(this.d, bVar.d) && m.areEqual(this.e, bVar.e) && this.f == bVar.f;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int a = a0.a.a.b.a(this.b) * 31;
|
||||
String str = this.f229c;
|
||||
String str = this.f230c;
|
||||
int i = 0;
|
||||
int hashCode = (a + (str != null ? str.hashCode() : 0)) * 31;
|
||||
String str2 = this.d;
|
||||
|
@ -90,7 +90,7 @@ public final class b extends ContentObserver {
|
|||
StringBuilder L = c.d.b.a.a.L("ScreenshotData(id=");
|
||||
L.append(this.b);
|
||||
L.append(", fileName=");
|
||||
L.append(this.f229c);
|
||||
L.append(this.f230c);
|
||||
L.append(", relativePath=");
|
||||
L.append(this.d);
|
||||
L.append(", uri=");
|
||||
|
@ -108,7 +108,7 @@ public final class b extends ContentObserver {
|
|||
m.checkNotNullParameter(contentResolver, "contentResolver");
|
||||
m.checkNotNullParameter(clock2, "clock");
|
||||
m.checkNotNullParameter(function2, "onScreenshot");
|
||||
this.f228c = logger;
|
||||
this.f229c = logger;
|
||||
this.d = contentResolver;
|
||||
this.e = clock2;
|
||||
this.f = function2;
|
||||
|
@ -159,7 +159,7 @@ public final class b extends ContentObserver {
|
|||
if (w.contains$default((CharSequence) lowerCase, (CharSequence) "screenshots/", false, 2, (Object) null)) {
|
||||
if (Math.abs((this.e.currentTimeMillis() / ((long) 1000)) - bVar.f) <= 10) {
|
||||
this.b = bVar.a;
|
||||
this.f.invoke(bVar.e, bVar.f229c);
|
||||
this.f.invoke(bVar.e, bVar.f230c);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
@ -194,7 +194,7 @@ public final class b extends ContentObserver {
|
|||
try {
|
||||
a(uri);
|
||||
} catch (Exception e) {
|
||||
Logger.e$default(this.f228c, "Error processing screenshot", e, null, 4, null);
|
||||
Logger.e$default(this.f229c, "Error processing screenshot", e, null, 4, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,14 +20,14 @@ public final class a extends Rule<R, Node<R>, S> {
|
|||
public final /* synthetic */ StyleNode.a b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final /* synthetic */ Function3 f230c;
|
||||
public final /* synthetic */ Function3 f231c;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public a(e eVar, Map map, StyleNode.a aVar, Function3 function3, Pattern pattern) {
|
||||
super(pattern);
|
||||
this.a = map;
|
||||
this.b = aVar;
|
||||
this.f230c = function3;
|
||||
this.f231c = function3;
|
||||
}
|
||||
|
||||
@Override // com.discord.simpleast.core.parser.Rule
|
||||
|
@ -56,7 +56,7 @@ public final class a extends Rule<R, Node<R>, S> {
|
|||
} else {
|
||||
aVar = new CodeNode.a.b(group2);
|
||||
}
|
||||
Node node = (Node) this.f230c.invoke(new CodeNode(aVar, group, this.b), Boolean.valueOf(z2), s2);
|
||||
Node node = (Node) this.f231c.invoke(new CodeNode(aVar, group, this.b), Boolean.valueOf(z2), s2);
|
||||
m.checkNotNullParameter(node, "node");
|
||||
return new ParseSpec<>(node, s2);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class e {
|
|||
public static final Pattern b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Pattern f231c;
|
||||
public static final Pattern f232c;
|
||||
public static final Pattern d;
|
||||
public static final Pattern e;
|
||||
public static final e f = new e();
|
||||
|
@ -33,7 +33,7 @@ public final class e {
|
|||
b = compile2;
|
||||
Pattern compile3 = Pattern.compile("^(?:\\n\\s*)+");
|
||||
m.checkNotNullExpressionValue(compile3, "Pattern.compile(\"\"\"^(?:\\n\\s*)+\"\"\")");
|
||||
f231c = compile3;
|
||||
f232c = compile3;
|
||||
Pattern compile4 = Pattern.compile("^[\\s\\S]+?(?=\\b|[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
|
||||
m.checkNotNullExpressionValue(compile4, "Pattern.compile(\"\"\"^[\\s\\…|\\n| {2,}\\n|\\w+:\\S|$)\"\"\")");
|
||||
d = compile4;
|
||||
|
@ -66,7 +66,7 @@ public final class e {
|
|||
m.checkNotNullExpressionValue(c2, "createWordPattern(*builtIns)");
|
||||
Pattern c3 = c((String[]) Arrays.copyOf(strArr3, strArr3.length));
|
||||
m.checkNotNullExpressionValue(c3, "createWordPattern(*keywords)");
|
||||
return u.plus((Collection) list, (Iterable) n.listOf((Object[]) new Rule[]{new b(fVar, strArr4, compile), d(this, c2, 0, fVar.g, 1), d(this, c3, 0, fVar.d, 1), d(this, e, 0, fVar.f232c, 1), d(this, f231c, 0, null, 3), d(this, d, 0, null, 3)}));
|
||||
return u.plus((Collection) list, (Iterable) n.listOf((Object[]) new Rule[]{new b(fVar, strArr4, compile), d(this, c2, 0, fVar.g, 1), d(this, c3, 0, fVar.d, 1), d(this, e, 0, fVar.f233c, 1), d(this, f232c, 0, null, 3), d(this, d, 0, null, 3)}));
|
||||
}
|
||||
|
||||
public final Pattern b(String str) {
|
||||
|
|
|
@ -9,7 +9,7 @@ public final class f<R> {
|
|||
public final StyleNode.a<R> b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final StyleNode.a<R> f232c;
|
||||
public final StyleNode.a<R> f233c;
|
||||
public final StyleNode.a<R> d;
|
||||
public final StyleNode.a<R> e;
|
||||
public final StyleNode.a<R> f;
|
||||
|
@ -33,7 +33,7 @@ public final class f<R> {
|
|||
m.checkNotNullParameter(aVar8, "paramsStyleProvider");
|
||||
this.a = aVar;
|
||||
this.b = aVar2;
|
||||
this.f232c = aVar3;
|
||||
this.f233c = aVar3;
|
||||
this.d = aVar4;
|
||||
this.e = aVar5;
|
||||
this.f = aVar6;
|
||||
|
@ -49,7 +49,7 @@ public final class f<R> {
|
|||
return false;
|
||||
}
|
||||
f fVar = (f) obj;
|
||||
return m.areEqual(this.a, fVar.a) && m.areEqual(this.b, fVar.b) && m.areEqual(this.f232c, fVar.f232c) && m.areEqual(this.d, fVar.d) && m.areEqual(this.e, fVar.e) && m.areEqual(this.f, fVar.f) && m.areEqual(this.g, fVar.g) && m.areEqual(this.h, fVar.h);
|
||||
return m.areEqual(this.a, fVar.a) && m.areEqual(this.b, fVar.b) && m.areEqual(this.f233c, fVar.f233c) && m.areEqual(this.d, fVar.d) && m.areEqual(this.e, fVar.e) && m.areEqual(this.f, fVar.f) && m.areEqual(this.g, fVar.g) && m.areEqual(this.h, fVar.h);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
|
@ -58,7 +58,7 @@ public final class f<R> {
|
|||
int hashCode = (aVar != null ? aVar.hashCode() : 0) * 31;
|
||||
StyleNode.a<R> aVar2 = this.b;
|
||||
int hashCode2 = (hashCode + (aVar2 != null ? aVar2.hashCode() : 0)) * 31;
|
||||
StyleNode.a<R> aVar3 = this.f232c;
|
||||
StyleNode.a<R> aVar3 = this.f233c;
|
||||
int hashCode3 = (hashCode2 + (aVar3 != null ? aVar3.hashCode() : 0)) * 31;
|
||||
StyleNode.a<R> aVar4 = this.d;
|
||||
int hashCode4 = (hashCode3 + (aVar4 != null ? aVar4.hashCode() : 0)) * 31;
|
||||
|
@ -81,7 +81,7 @@ public final class f<R> {
|
|||
L.append(", commentStyleProvider=");
|
||||
L.append(this.b);
|
||||
L.append(", literalStyleProvider=");
|
||||
L.append(this.f232c);
|
||||
L.append(this.f233c);
|
||||
L.append(", keywordStyleProvider=");
|
||||
L.append(this.d);
|
||||
L.append(", identifierStyleProvider=");
|
||||
|
|
|
@ -13,7 +13,7 @@ public final class i {
|
|||
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime"};
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Pattern f233c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
|
||||
public static final Pattern f234c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
|
||||
public static final Pattern d = Pattern.compile("^<(.*)>");
|
||||
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
||||
public static final Pattern f = Pattern.compile("^('[\\s\\S]*?(?<!\\\\)'|\"[\\s\\S]*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
|
||||
|
|
|
@ -13,7 +13,7 @@ public final class m {
|
|||
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Pattern f234c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
||||
public static final Pattern f235c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
||||
public static final Pattern d = Pattern.compile("^@(\\w+)");
|
||||
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
|
||||
public static final m f = null;
|
||||
|
|
|
@ -16,7 +16,7 @@ public final class o {
|
|||
public static final Pattern b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final o f235c = new o();
|
||||
public static final o f236c = new o();
|
||||
|
||||
/* compiled from: Xml.kt */
|
||||
public static final class a<RC> extends Node.a<RC> {
|
||||
|
@ -24,7 +24,7 @@ public final class o {
|
|||
public final String b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final f<RC> f236c;
|
||||
public final f<RC> f237c;
|
||||
|
||||
/* compiled from: Xml.kt */
|
||||
/* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */
|
||||
|
@ -47,7 +47,7 @@ public final class o {
|
|||
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||
this.a = str;
|
||||
this.b = str2;
|
||||
this.f236c = fVar;
|
||||
this.f237c = fVar;
|
||||
}
|
||||
|
||||
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
|
||||
|
@ -83,7 +83,7 @@ public final class o {
|
|||
pair = d0.o.to(this.a, "");
|
||||
}
|
||||
String str4 = (String) pair.component2();
|
||||
C0046a aVar = new C0046a(this.f236c.g);
|
||||
C0046a aVar = new C0046a(this.f237c.g);
|
||||
int length2 = spannableStringBuilder.length();
|
||||
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
|
||||
Iterator<?> it = aVar.invoke(rc).iterator();
|
||||
|
@ -92,7 +92,7 @@ public final class o {
|
|||
}
|
||||
int length3 = spannableStringBuilder.length();
|
||||
spannableStringBuilder.append((CharSequence) (str4 + '>'));
|
||||
Iterator<?> it2 = this.f236c.h.get(rc).iterator();
|
||||
Iterator<?> it2 = this.f237c.h.get(rc).iterator();
|
||||
while (it2.hasNext()) {
|
||||
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ public final class e {
|
|||
public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Pattern f237c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
|
||||
public static final Pattern f238c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
|
||||
public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n");
|
||||
public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
|
||||
public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])");
|
||||
|
@ -86,7 +86,7 @@ public final class e {
|
|||
Pattern pattern5 = g;
|
||||
m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS");
|
||||
arrayList.add(new c(eVar2, pattern5));
|
||||
Pattern pattern6 = f237c;
|
||||
Pattern pattern6 = f238c;
|
||||
m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU");
|
||||
arrayList.add(c(pattern6, f.i));
|
||||
if (z2) {
|
||||
|
|
|
@ -26,7 +26,7 @@ public final class a {
|
|||
public static final Pattern b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Pattern f238c;
|
||||
public static final Pattern f239c;
|
||||
public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern();
|
||||
public static final a e = new a();
|
||||
|
||||
|
@ -120,7 +120,7 @@ public final class a {
|
|||
this(pattern, function1);
|
||||
if ((i & 1) != 0) {
|
||||
a aVar = a.e;
|
||||
pattern = a.f238c;
|
||||
pattern = a.f239c;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -189,6 +189,6 @@ public final class a {
|
|||
b = compile2;
|
||||
Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0);
|
||||
m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)");
|
||||
f238c = compile3;
|
||||
f239c = compile3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
|||
public final DialogInterface b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final d f239c;
|
||||
public final d f240c;
|
||||
|
||||
/* JADX WARNING: Illegal instructions before constructor call */
|
||||
public e0(i iVar, DialogInterface dialogInterface, d dVar) {
|
||||
|
@ -33,7 +33,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
|||
m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root");
|
||||
this.a = iVar;
|
||||
this.b = dialogInterface;
|
||||
this.f239c = dVar;
|
||||
this.f240c = dVar;
|
||||
}
|
||||
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
|
@ -43,13 +43,13 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
|||
Drawable drawable;
|
||||
c0 c0Var2 = c0Var;
|
||||
m.checkNotNullParameter(c0Var2, "data");
|
||||
MaterialTextView materialTextView = this.f239c.d;
|
||||
MaterialTextView materialTextView = this.f240c.d;
|
||||
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
|
||||
b.a(materialTextView, c0Var2.e());
|
||||
MaterialTextView materialTextView2 = this.f239c.b;
|
||||
MaterialTextView materialTextView2 = this.f240c.b;
|
||||
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
|
||||
ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a());
|
||||
SimpleDraweeView simpleDraweeView = this.f239c.f76c;
|
||||
SimpleDraweeView simpleDraweeView = this.f240c.f76c;
|
||||
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
|
||||
int i2 = 0;
|
||||
if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) {
|
||||
|
@ -58,20 +58,20 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
|||
simpleDraweeView.setVisibility(i2);
|
||||
String d = c0Var2.d();
|
||||
if (d != null) {
|
||||
SimpleDraweeView simpleDraweeView2 = this.f239c.f76c;
|
||||
SimpleDraweeView simpleDraweeView2 = this.f240c.f76c;
|
||||
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
|
||||
MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null);
|
||||
} else {
|
||||
Integer b = c0Var2.b();
|
||||
if (b != null) {
|
||||
this.f239c.f76c.setImageResource(b.intValue());
|
||||
this.f240c.f76c.setImageResource(b.intValue());
|
||||
}
|
||||
}
|
||||
Integer c2 = c0Var2.c();
|
||||
if (c2 != null) {
|
||||
this.f239c.f76c.setColorFilter(c2.intValue());
|
||||
this.f240c.f76c.setColorFilter(c2.intValue());
|
||||
}
|
||||
MaterialTextView materialTextView3 = this.f239c.d;
|
||||
MaterialTextView materialTextView3 = this.f240c.d;
|
||||
materialTextView3.setText(c0Var2.e());
|
||||
Integer g = c0Var2.g();
|
||||
if (g != null) {
|
||||
|
@ -86,16 +86,16 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
|||
f.intValue();
|
||||
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue());
|
||||
if (drawable2 != null) {
|
||||
MaterialTextView materialTextView4 = this.f239c.d;
|
||||
MaterialTextView materialTextView4 = this.f240c.d;
|
||||
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
|
||||
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary));
|
||||
drawable = drawable2;
|
||||
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
||||
this.f239c.a.setOnClickListener(new d0(this));
|
||||
this.f240c.a.setOnClickListener(new d0(this));
|
||||
}
|
||||
}
|
||||
drawable = null;
|
||||
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
||||
this.f239c.a.setOnClickListener(new d0(this));
|
||||
this.f240c.a.setOnClickListener(new d0(this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class f extends DividerItemDecoration {
|
|||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final int f240c;
|
||||
public final int f241c;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public f(Context context, int i, int i2, int i3, int i4, int i5) {
|
||||
|
@ -30,7 +30,7 @@ public final class f extends DividerItemDecoration {
|
|||
m.checkNotNullParameter(context, "context");
|
||||
this.a = i2;
|
||||
this.b = i3;
|
||||
this.f240c = i4;
|
||||
this.f241c = i4;
|
||||
Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider);
|
||||
if (drawable != null) {
|
||||
Drawable wrap = DrawableCompat.wrap(drawable);
|
||||
|
@ -45,7 +45,7 @@ public final class f extends DividerItemDecoration {
|
|||
m.checkNotNullParameter(recyclerView, "parent");
|
||||
m.checkNotNullParameter(state, "state");
|
||||
int paddingLeft = recyclerView.getPaddingLeft() + this.b;
|
||||
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f240c;
|
||||
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f241c;
|
||||
Drawable drawable = getDrawable();
|
||||
int childCount = recyclerView.getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
|
|
|
@ -12,12 +12,12 @@ public final class e implements RendererCommon.RendererEvents {
|
|||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final int f241c;
|
||||
public final int f242c;
|
||||
|
||||
public a(int i, int i2, int i3) {
|
||||
this.a = i;
|
||||
this.b = i2;
|
||||
this.f241c = i3;
|
||||
this.f242c = i3;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
|
@ -28,11 +28,11 @@ public final class e implements RendererCommon.RendererEvents {
|
|||
return false;
|
||||
}
|
||||
a aVar = (a) obj;
|
||||
return this.a == aVar.a && this.b == aVar.b && this.f241c == aVar.f241c;
|
||||
return this.a == aVar.a && this.b == aVar.b && this.f242c == aVar.f242c;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (((this.a * 31) + this.b) * 31) + this.f241c;
|
||||
return (((this.a * 31) + this.b) * 31) + this.f242c;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
@ -41,7 +41,7 @@ public final class e implements RendererCommon.RendererEvents {
|
|||
L.append(", height=");
|
||||
L.append(this.b);
|
||||
L.append(", rotation=");
|
||||
return c.d.b.a.a.w(L, this.f241c, ")");
|
||||
return c.d.b.a.a.w(L, this.f242c, ")");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class f<T, R> implements b<e.a, Point> {
|
|||
if (aVar2 == null) {
|
||||
return null;
|
||||
}
|
||||
int i2 = aVar2.f241c;
|
||||
int i2 = aVar2.f242c;
|
||||
return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
|||
public final Subject<Void, Void> w;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public Function1<? super OverlayDialog, Unit> f242x = m.i;
|
||||
public Function1<? super OverlayDialog, Unit> f243x = m.i;
|
||||
|
||||
/* compiled from: Animator.kt */
|
||||
public static final class a implements Animator.AnimatorListener {
|
||||
|
@ -81,7 +81,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
|||
getUnsubscribeSignal().onNext(null);
|
||||
Log.i(getClass().getSimpleName(), "closing");
|
||||
if (!ViewCompat.isAttachedToWindow(this)) {
|
||||
this.f242x.invoke(this);
|
||||
this.f243x.invoke(this);
|
||||
return;
|
||||
}
|
||||
Animator closingAnimator = getClosingAnimator();
|
||||
|
@ -94,7 +94,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
|||
|
||||
/* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1<? super com.discord.overlay.views.OverlayDialog, kotlin.Unit>, kotlin.jvm.functions.Function1<com.discord.overlay.views.OverlayDialog, kotlin.Unit> */
|
||||
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
|
||||
return this.f242x;
|
||||
return this.f243x;
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppComponent
|
||||
|
@ -110,6 +110,6 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
|||
|
||||
public final void setOnDialogClosed(Function1<? super OverlayDialog, Unit> function1) {
|
||||
m.checkNotNullParameter(function1, "<set-?>");
|
||||
this.f242x = function1;
|
||||
this.f243x = function1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
|
|||
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
|
||||
function1.invoke(googlePlayInAppSku);
|
||||
}
|
||||
giftSelectView.i.f1770c.setOnClickListener(null);
|
||||
giftSelectView.i.f1771c.setOnClickListener(null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,10 +29,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
|||
public static final /* synthetic */ int w = 0;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public final r0 f243x;
|
||||
public final r0 f244x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public final Subject<Void, Void> f244y;
|
||||
public final Subject<Void, Void> f245y;
|
||||
|
||||
/* compiled from: OverlayVoiceBubble.kt */
|
||||
public static final class a<T, R> implements j0.k.b<Long, Observable<? extends StoreVoiceParticipants.VoiceUser>> {
|
||||
|
@ -89,10 +89,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
|||
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
|
||||
r0 r0Var = new r0(simpleDraweeView, simpleDraweeView);
|
||||
m.checkNotNullExpressionValue(r0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
|
||||
this.f243x = r0Var;
|
||||
this.f244x = r0Var;
|
||||
PublishSubject k0 = PublishSubject.k0();
|
||||
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
||||
this.f244y = k0;
|
||||
this.f245y = k0;
|
||||
}
|
||||
|
||||
@Override // com.discord.overlay.views.OverlayBubbleWrap
|
||||
|
@ -113,14 +113,14 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
|||
}
|
||||
|
||||
public final SimpleDraweeView getImageView$app_productionCanaryRelease() {
|
||||
SimpleDraweeView simpleDraweeView = this.f243x.b;
|
||||
SimpleDraweeView simpleDraweeView = this.f244x.b;
|
||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
|
||||
return simpleDraweeView;
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppComponent
|
||||
public Subject<Void, Void> getUnsubscribeSignal() {
|
||||
return this.f244y;
|
||||
return this.f245y;
|
||||
}
|
||||
|
||||
public final void h() {
|
||||
|
|
|
@ -25,7 +25,7 @@ public final class x extends o implements Function2<List<? extends WidgetGlobalS
|
|||
m.checkNotNullParameter(list, "<anonymous parameter 0>");
|
||||
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
|
||||
if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) {
|
||||
this.this$0.f245y.f.scrollToPosition(0);
|
||||
this.this$0.f246y.f.scrollToPosition(0);
|
||||
this.this$0.B = this.$searchModel$inlined.getFilter();
|
||||
}
|
||||
return Unit.a;
|
||||
|
|
|
@ -37,10 +37,10 @@ public final class z extends l implements AppComponent {
|
|||
public String B;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public s0 f245y;
|
||||
public s0 f246y;
|
||||
|
||||
/* renamed from: z reason: collision with root package name */
|
||||
public final WidgetGlobalSearchAdapter f246z;
|
||||
public final WidgetGlobalSearchAdapter f247z;
|
||||
|
||||
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
|
||||
public static final class a implements View.OnClickListener {
|
||||
|
@ -106,17 +106,17 @@ public final class z extends l implements AppComponent {
|
|||
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
|
||||
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
|
||||
z zVar = this.this$0;
|
||||
TextView textView = zVar.f245y.d;
|
||||
TextView textView = zVar.f246y.d;
|
||||
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
|
||||
int i = 8;
|
||||
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
|
||||
RecyclerView recyclerView = zVar.f245y.f;
|
||||
RecyclerView recyclerView = zVar.f246y.f;
|
||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
|
||||
i = 0;
|
||||
}
|
||||
recyclerView.setVisibility(i);
|
||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f246z;
|
||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f247z;
|
||||
widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2));
|
||||
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
|
||||
ArrayList arrayList = new ArrayList();
|
||||
|
@ -139,40 +139,40 @@ public final class z extends l implements AppComponent {
|
|||
getWindowLayoutParams().flags &= -9;
|
||||
s0 a2 = s0.a(LayoutInflater.from(getContext()), this, true);
|
||||
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
||||
this.f245y = a2;
|
||||
RecyclerView recyclerView = this.f245y.f;
|
||||
this.f246y = a2;
|
||||
RecyclerView recyclerView = this.f246y.f;
|
||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||
this.f246z = new WidgetGlobalSearchAdapter(recyclerView);
|
||||
this.f247z = new WidgetGlobalSearchAdapter(recyclerView);
|
||||
}
|
||||
|
||||
@Override // c.a.y.l
|
||||
public Animator getClosingAnimator() {
|
||||
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_down_fade_out);
|
||||
loadAnimator.setTarget(this.f245y.f154c);
|
||||
loadAnimator.setTarget(this.f246y.f154c);
|
||||
m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }");
|
||||
return loadAnimator;
|
||||
}
|
||||
|
||||
public final void h() {
|
||||
this.f245y.b.setOnClickListener(new a(this));
|
||||
TextInputLayout textInputLayout = this.f245y.e;
|
||||
this.f246y.b.setOnClickListener(new a(this));
|
||||
TextInputLayout textInputLayout = this.f246y.e;
|
||||
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
|
||||
ViewExtensions.setText(textInputLayout, this.B);
|
||||
TextInputLayout textInputLayout2 = this.f245y.e;
|
||||
TextInputLayout textInputLayout2 = this.f246y.e;
|
||||
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
|
||||
EditText editText = textInputLayout2.getEditText();
|
||||
if (editText != null) {
|
||||
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
|
||||
}
|
||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f246z;
|
||||
RecyclerView recyclerView = this.f245y.f;
|
||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f247z;
|
||||
RecyclerView recyclerView = this.f246y.f;
|
||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||
widgetGlobalSearchAdapter.setRecycler(recyclerView);
|
||||
MGRecyclerAdapter.Companion.configure(this.f246z);
|
||||
MGRecyclerAdapter.Companion.configure(this.f247z);
|
||||
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
|
||||
Observable<String> F = this.A.F(c.i);
|
||||
m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f246z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f247z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
|
||||
}
|
||||
|
||||
@Override // android.view.View, android.view.ViewGroup
|
||||
|
@ -180,7 +180,7 @@ public final class z extends l implements AppComponent {
|
|||
super.onAttachedToWindow();
|
||||
h();
|
||||
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in);
|
||||
loadAnimator.setTarget(this.f245y.f154c);
|
||||
loadAnimator.setTarget(this.f246y.f154c);
|
||||
loadAnimator.start();
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,7 @@ public final class z extends l implements AppComponent {
|
|||
removeAllViewsInLayout();
|
||||
s0 a2 = s0.a(LayoutInflater.from(getContext()), this, true);
|
||||
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
||||
this.f245y = a2;
|
||||
this.f246y = a2;
|
||||
h();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package c.b.a.a;
|
||||
|
||||
import android.content.DialogInterface;
|
||||
import c.i.a.f.e.o.c;
|
||||
import com.lytefast.flexinput.fragment.FlexInputFragment;
|
||||
import com.lytefast.flexinput.viewmodel.FlexInputViewModel;
|
||||
/* compiled from: FlexInputFragment.kt */
|
||||
|
@ -15,7 +16,7 @@ public final class g implements DialogInterface.OnDismissListener {
|
|||
public final void onDismiss(DialogInterface dialogInterface) {
|
||||
FlexInputViewModel flexInputViewModel;
|
||||
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.r) != null) {
|
||||
flexInputViewModel.onContentDialogDismissed();
|
||||
c.c0(flexInputViewModel, false, 1, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package c.b.a.a;
|
||||
|
||||
import android.view.View;
|
||||
import c.i.a.f.e.o.c;
|
||||
import com.lytefast.flexinput.fragment.FlexInputFragment;
|
||||
import com.lytefast.flexinput.viewmodel.FlexInputViewModel;
|
||||
import d0.z.d.m;
|
||||
|
@ -24,7 +25,7 @@ public final class h extends o implements Function1<View, Unit> {
|
|||
m.checkNotNullParameter(view, "it");
|
||||
FlexInputViewModel flexInputViewModel = this.this$0.r;
|
||||
if (flexInputViewModel != null) {
|
||||
flexInputViewModel.onContentDialogDismissed();
|
||||
c.c0(flexInputViewModel, false, 1, null);
|
||||
}
|
||||
return Unit.a;
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
public Cursor b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public int f247c;
|
||||
public int f248c;
|
||||
public int d;
|
||||
public int e;
|
||||
public int f;
|
||||
|
@ -52,7 +52,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
public final c r;
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final /* synthetic */ i f248s;
|
||||
public final /* synthetic */ i f249s;
|
||||
|
||||
/* compiled from: MediaCursorAdapter.kt */
|
||||
/* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */
|
||||
|
@ -86,7 +86,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
public a(i iVar, c cVar) {
|
||||
super(r4);
|
||||
m.checkNotNullParameter(cVar, "binding");
|
||||
this.f248s = iVar;
|
||||
this.f249s = iVar;
|
||||
FrameLayout frameLayout = cVar.a;
|
||||
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
||||
this.r = cVar;
|
||||
|
@ -109,7 +109,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
|
||||
@Override // c.b.a.d.j
|
||||
public SimpleDraweeView a() {
|
||||
SimpleDraweeView simpleDraweeView = this.r.f251c;
|
||||
SimpleDraweeView simpleDraweeView = this.r.f252c;
|
||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
||||
return simpleDraweeView;
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
@Override // android.view.View.OnClickListener
|
||||
public void onClick(View view) {
|
||||
m.checkNotNullParameter(view, "v");
|
||||
SelectionCoordinator<?, Media> selectionCoordinator = this.f248s.a;
|
||||
SelectionCoordinator<?, Media> selectionCoordinator = this.f249s.a;
|
||||
Media media = this.o;
|
||||
int adapterPosition = getAdapterPosition();
|
||||
Objects.requireNonNull(selectionCoordinator);
|
||||
|
@ -169,7 +169,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
m.checkNotNullParameter(obj, "cookie");
|
||||
if (cursor != null) {
|
||||
i iVar = this.a;
|
||||
iVar.f247c = cursor.getColumnIndex("_id");
|
||||
iVar.f248c = cursor.getColumnIndex("_id");
|
||||
iVar.d = cursor.getColumnIndex("_data");
|
||||
iVar.e = cursor.getColumnIndex("_display_name");
|
||||
iVar.f = cursor.getColumnIndex("media_type");
|
||||
|
@ -201,7 +201,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
Long l = null;
|
||||
if (cursor != null) {
|
||||
cursor.moveToPosition(i);
|
||||
long j = cursor.getLong(this.f247c);
|
||||
long j = cursor.getLong(this.f248c);
|
||||
boolean z2 = cursor.getInt(this.f) == 3;
|
||||
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
|
||||
String str2 = z2 ? "vid" : "img";
|
||||
|
@ -269,9 +269,9 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
Context context = frameLayout.getContext();
|
||||
int i2 = 0;
|
||||
if (a2 != null) {
|
||||
aVar2.d(aVar2.f248s.a.a(a2, aVar2.getAdapterPosition()), false);
|
||||
aVar2.d(aVar2.f249s.a.a(a2, aVar2.getAdapterPosition()), false);
|
||||
}
|
||||
aVar2.c(a2, Integer.valueOf(aVar2.f248s.h), Integer.valueOf(aVar2.f248s.i));
|
||||
aVar2.c(a2, Integer.valueOf(aVar2.f249s.h), Integer.valueOf(aVar2.f249s.i));
|
||||
boolean z2 = true;
|
||||
if (a2 == null || !a2.i) {
|
||||
z2 = false;
|
||||
|
@ -293,7 +293,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
|||
m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator");
|
||||
textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.g.video));
|
||||
}
|
||||
SimpleDraweeView simpleDraweeView = aVar2.r.f251c;
|
||||
SimpleDraweeView simpleDraweeView = aVar2.r.f252c;
|
||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
||||
simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image));
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public abstract class j extends RecyclerView.ViewHolder {
|
|||
public CancellationSignal b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public Bitmap f249c;
|
||||
public Bitmap f250c;
|
||||
public final ContentResolver d;
|
||||
|
||||
public b(ContentResolver contentResolver) {
|
||||
|
@ -79,11 +79,11 @@ public abstract class j extends RecyclerView.ViewHolder {
|
|||
cancellationSignal.cancel();
|
||||
}
|
||||
}
|
||||
Bitmap bitmap = this.f249c;
|
||||
Bitmap bitmap = this.f250c;
|
||||
if (bitmap != null) {
|
||||
bitmap.recycle();
|
||||
}
|
||||
this.f249c = null;
|
||||
this.f250c = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -74,8 +74,8 @@ public final class k extends d0.w.h.a.k implements Function2<CoroutineScope, Con
|
|||
} else {
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
bVar.f249c = (Bitmap) obj;
|
||||
this.$onGenerate.invoke(this.this$0.f249c);
|
||||
bVar.f250c = (Bitmap) obj;
|
||||
this.$onGenerate.invoke(this.this$0.f250c);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class a implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final LinearLayout f250c;
|
||||
public final LinearLayout f251c;
|
||||
@NonNull
|
||||
public final RecyclerView d;
|
||||
@NonNull
|
||||
|
@ -52,7 +52,7 @@ public final class a implements ViewBinding {
|
|||
public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) {
|
||||
this.a = linearLayout;
|
||||
this.b = appCompatImageButton;
|
||||
this.f250c = linearLayout2;
|
||||
this.f251c = linearLayout2;
|
||||
this.d = recyclerView;
|
||||
this.e = textView;
|
||||
this.f = linearLayout3;
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class c implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final SimpleDraweeView f251c;
|
||||
public final SimpleDraweeView f252c;
|
||||
@NonNull
|
||||
public final SimpleDraweeView d;
|
||||
@NonNull
|
||||
|
@ -24,7 +24,7 @@ public final class c implements ViewBinding {
|
|||
public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) {
|
||||
this.a = frameLayout;
|
||||
this.b = frameLayout2;
|
||||
this.f251c = simpleDraweeView;
|
||||
this.f252c = simpleDraweeView;
|
||||
this.d = simpleDraweeView2;
|
||||
this.e = textView;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ public class b implements FileManager {
|
|||
public final String b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final String f252c;
|
||||
public final String f253c;
|
||||
|
||||
public b(Context context, String str, String str2, int i) {
|
||||
String str3;
|
||||
|
@ -37,7 +37,7 @@ public class b implements FileManager {
|
|||
m.checkNotNullParameter(str4, "imageDirName");
|
||||
this.a = context;
|
||||
this.b = str3;
|
||||
this.f252c = str4;
|
||||
this.f253c = str4;
|
||||
}
|
||||
|
||||
@Override // com.lytefast.flexinput.managers.FileManager
|
||||
|
@ -53,7 +53,7 @@ public class b implements FileManager {
|
|||
public File b() {
|
||||
String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
|
||||
Context context = this.a;
|
||||
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f252c);
|
||||
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f253c);
|
||||
file.mkdirs();
|
||||
if (!file.exists()) {
|
||||
file = context.getFilesDir();
|
||||
|
|
|
@ -18,7 +18,7 @@ public final class d extends c {
|
|||
public static final ByteString r = ByteString.h("*/");
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final g f254s;
|
||||
public final g f255s;
|
||||
public final e t;
|
||||
public int u = 0;
|
||||
public long v;
|
||||
|
@ -26,11 +26,11 @@ public final class d extends c {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public String f255x;
|
||||
public String f256x;
|
||||
|
||||
public d(g gVar) {
|
||||
Objects.requireNonNull(gVar, "source == null");
|
||||
this.f254s = gVar;
|
||||
this.f255s = gVar;
|
||||
this.t = gVar.g();
|
||||
x(6);
|
||||
}
|
||||
|
@ -307,7 +307,7 @@ public final class d extends c {
|
|||
boolean z3 = false;
|
||||
while (true) {
|
||||
int i6 = i5 + 1;
|
||||
if (!this.f254s.j((long) i6)) {
|
||||
if (!this.f255s.j((long) i6)) {
|
||||
break;
|
||||
}
|
||||
byte r4 = this.t.r((long) i5);
|
||||
|
@ -392,11 +392,11 @@ public final class d extends c {
|
|||
while (true) {
|
||||
if (i9 < length) {
|
||||
int i10 = i9 + 1;
|
||||
if (!this.f254s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
|
||||
if (!this.f255s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
|
||||
break;
|
||||
}
|
||||
i9 = i10;
|
||||
} else if (!this.f254s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
|
||||
} else if (!this.f255s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
|
||||
this.t.skip((long) length);
|
||||
this.u = i;
|
||||
}
|
||||
|
@ -472,14 +472,14 @@ public final class d extends c {
|
|||
int i = 0;
|
||||
while (true) {
|
||||
int i2 = i + 1;
|
||||
if (this.f254s.j((long) i2)) {
|
||||
if (this.f255s.j((long) i2)) {
|
||||
byte r2 = this.t.r((long) i);
|
||||
if (r2 == 10 || r2 == 32 || r2 == 13 || r2 == 9) {
|
||||
i = i2;
|
||||
} else {
|
||||
this.t.skip((long) (i2 - 1));
|
||||
if (r2 == 47) {
|
||||
if (!this.f254s.j(2)) {
|
||||
if (!this.f255s.j(2)) {
|
||||
return r2;
|
||||
}
|
||||
H();
|
||||
|
@ -502,7 +502,7 @@ public final class d extends c {
|
|||
public final String Q(ByteString byteString) throws IOException {
|
||||
StringBuilder sb = null;
|
||||
while (true) {
|
||||
long D = this.f254s.D(byteString);
|
||||
long D = this.f255s.D(byteString);
|
||||
if (D == -1) {
|
||||
G("Unterminated string");
|
||||
throw null;
|
||||
|
@ -526,14 +526,14 @@ public final class d extends c {
|
|||
}
|
||||
|
||||
public final String R() throws IOException {
|
||||
long D = this.f254s.D(p);
|
||||
long D = this.f255s.D(p);
|
||||
return D != -1 ? this.t.H(D) : this.t.G();
|
||||
}
|
||||
|
||||
public final char S() throws IOException {
|
||||
int i;
|
||||
int i2;
|
||||
if (this.f254s.j(1)) {
|
||||
if (this.f255s.j(1)) {
|
||||
byte readByte = this.t.readByte();
|
||||
if (readByte == 10 || readByte == 34 || readByte == 39 || readByte == 47 || readByte == 92) {
|
||||
return (char) readByte;
|
||||
|
@ -558,7 +558,7 @@ public final class d extends c {
|
|||
L.append((char) readByte);
|
||||
G(L.toString());
|
||||
throw null;
|
||||
} else if (this.f254s.j(4)) {
|
||||
} else if (this.f255s.j(4)) {
|
||||
char c2 = 0;
|
||||
for (int i3 = 0; i3 < 4; i3++) {
|
||||
byte r2 = this.t.r((long) i3);
|
||||
|
@ -595,7 +595,7 @@ public final class d extends c {
|
|||
|
||||
public final void T(ByteString byteString) throws IOException {
|
||||
while (true) {
|
||||
long D = this.f254s.D(byteString);
|
||||
long D = this.f255s.D(byteString);
|
||||
if (D == -1) {
|
||||
G("Unterminated string");
|
||||
throw null;
|
||||
|
@ -610,7 +610,7 @@ public final class d extends c {
|
|||
}
|
||||
|
||||
public final void U() throws IOException {
|
||||
long D = this.f254s.D(p);
|
||||
long D = this.f255s.D(p);
|
||||
e eVar = this.t;
|
||||
if (D == -1) {
|
||||
D = eVar.j;
|
||||
|
@ -684,7 +684,7 @@ public final class d extends c {
|
|||
this.j = 1;
|
||||
e eVar = this.t;
|
||||
eVar.skip(eVar.j);
|
||||
this.f254s.close();
|
||||
this.f255s.close();
|
||||
}
|
||||
|
||||
@Override // c.c.a.a0.h0.c
|
||||
|
@ -760,13 +760,13 @@ public final class d extends c {
|
|||
return (double) this.v;
|
||||
}
|
||||
if (i == 17) {
|
||||
this.f255x = this.t.H((long) this.w);
|
||||
this.f256x = this.t.H((long) this.w);
|
||||
} else if (i == 9) {
|
||||
this.f255x = Q(o);
|
||||
this.f256x = Q(o);
|
||||
} else if (i == 8) {
|
||||
this.f255x = Q(n);
|
||||
this.f256x = Q(n);
|
||||
} else if (i == 10) {
|
||||
this.f255x = R();
|
||||
this.f256x = R();
|
||||
} else if (i != 11) {
|
||||
StringBuilder L = a.L("Expected a double but was ");
|
||||
L.append(w());
|
||||
|
@ -776,11 +776,11 @@ public final class d extends c {
|
|||
}
|
||||
this.u = 11;
|
||||
try {
|
||||
double parseDouble = Double.parseDouble(this.f255x);
|
||||
double parseDouble = Double.parseDouble(this.f256x);
|
||||
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
|
||||
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
|
||||
}
|
||||
this.f255x = null;
|
||||
this.f256x = null;
|
||||
this.u = 0;
|
||||
int[] iArr2 = this.m;
|
||||
int i3 = this.j - 1;
|
||||
|
@ -788,7 +788,7 @@ public final class d extends c {
|
|||
return parseDouble;
|
||||
} catch (NumberFormatException unused) {
|
||||
StringBuilder L2 = a.L("Expected a double but was ");
|
||||
L2.append(this.f255x);
|
||||
L2.append(this.f256x);
|
||||
L2.append(" at path ");
|
||||
L2.append(getPath());
|
||||
throw new a(L2.toString());
|
||||
|
@ -818,10 +818,10 @@ public final class d extends c {
|
|||
throw new a(L.toString());
|
||||
}
|
||||
if (i == 17) {
|
||||
this.f255x = this.t.H((long) this.w);
|
||||
this.f256x = this.t.H((long) this.w);
|
||||
} else if (i == 9 || i == 8) {
|
||||
String Q = i == 9 ? Q(o) : Q(n);
|
||||
this.f255x = Q;
|
||||
this.f256x = Q;
|
||||
try {
|
||||
int parseInt = Integer.parseInt(Q);
|
||||
this.u = 0;
|
||||
|
@ -840,10 +840,10 @@ public final class d extends c {
|
|||
}
|
||||
this.u = 11;
|
||||
try {
|
||||
double parseDouble = Double.parseDouble(this.f255x);
|
||||
double parseDouble = Double.parseDouble(this.f256x);
|
||||
int i5 = (int) parseDouble;
|
||||
if (((double) i5) == parseDouble) {
|
||||
this.f255x = null;
|
||||
this.f256x = null;
|
||||
this.u = 0;
|
||||
int[] iArr3 = this.m;
|
||||
int i6 = this.j - 1;
|
||||
|
@ -851,13 +851,13 @@ public final class d extends c {
|
|||
return i5;
|
||||
}
|
||||
StringBuilder L3 = a.L("Expected an int but was ");
|
||||
L3.append(this.f255x);
|
||||
L3.append(this.f256x);
|
||||
L3.append(" at path ");
|
||||
L3.append(getPath());
|
||||
throw new a(L3.toString());
|
||||
} catch (NumberFormatException unused2) {
|
||||
StringBuilder L4 = a.L("Expected an int but was ");
|
||||
L4.append(this.f255x);
|
||||
L4.append(this.f256x);
|
||||
L4.append(" at path ");
|
||||
L4.append(getPath());
|
||||
throw new a(L4.toString());
|
||||
|
@ -878,7 +878,7 @@ public final class d extends c {
|
|||
} else if (i == 12) {
|
||||
str = Q(n);
|
||||
} else if (i == 15) {
|
||||
str = this.f255x;
|
||||
str = this.f256x;
|
||||
} else {
|
||||
StringBuilder L = a.L("Expected a name but was ");
|
||||
L.append(w());
|
||||
|
@ -905,8 +905,8 @@ public final class d extends c {
|
|||
} else if (i == 8) {
|
||||
str = Q(n);
|
||||
} else if (i == 11) {
|
||||
str = this.f255x;
|
||||
this.f255x = null;
|
||||
str = this.f256x;
|
||||
this.f256x = null;
|
||||
} else if (i == 16) {
|
||||
str = Long.toString(this.v);
|
||||
} else if (i == 17) {
|
||||
|
@ -928,7 +928,7 @@ public final class d extends c {
|
|||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder L = a.L("JsonReader(");
|
||||
L.append(this.f254s);
|
||||
L.append(this.f255s);
|
||||
L.append(")");
|
||||
return L.toString();
|
||||
}
|
||||
|
@ -983,9 +983,9 @@ public final class d extends c {
|
|||
return -1;
|
||||
}
|
||||
if (i == 15) {
|
||||
return K(this.f255x, aVar);
|
||||
return K(this.f256x, aVar);
|
||||
}
|
||||
int u0 = this.f254s.u0(aVar.b);
|
||||
int u0 = this.f255s.u0(aVar.b);
|
||||
if (u0 != -1) {
|
||||
this.u = 0;
|
||||
this.l[this.j - 1] = aVar.a[u0];
|
||||
|
@ -996,7 +996,7 @@ public final class d extends c {
|
|||
int K = K(s2, aVar);
|
||||
if (K == -1) {
|
||||
this.u = 15;
|
||||
this.f255x = s2;
|
||||
this.f256x = s2;
|
||||
this.l[this.j - 1] = str;
|
||||
}
|
||||
return K;
|
||||
|
|
|
@ -8,5 +8,5 @@ public class m {
|
|||
public static final c.a b = c.a.a("p", "k");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final c.a f256c = c.a.a("n", "v");
|
||||
public static final c.a f257c = c.a.a("n", "v");
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public class p {
|
|||
public static SparseArrayCompat<WeakReference<Interpolator>> b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static c.a f257c = c.a.a("t", "s", e.a, "o", "i", "h", "to", "ti");
|
||||
public static c.a f258c = c.a.a("t", "s", e.a, "o", "i", "h", "to", "ti");
|
||||
|
||||
public static <T> a<T> a(c cVar, d dVar, float f, g0<T> g0Var, boolean z2) throws IOException {
|
||||
T t;
|
||||
|
@ -41,7 +41,7 @@ public class p {
|
|||
boolean z3 = false;
|
||||
float f2 = 0.0f;
|
||||
while (cVar.e()) {
|
||||
switch (cVar.z(f257c)) {
|
||||
switch (cVar.z(f258c)) {
|
||||
case 0:
|
||||
f2 = (float) cVar.p();
|
||||
break;
|
||||
|
|
|
@ -54,15 +54,15 @@ public class q {
|
|||
i2++;
|
||||
a aVar2 = (a) list.get(i2);
|
||||
aVar.f = Float.valueOf(aVar2.e);
|
||||
if (aVar.f262c == null && (t = aVar2.b) != null) {
|
||||
aVar.f262c = t;
|
||||
if (aVar.f263c == null && (t = aVar2.b) != null) {
|
||||
aVar.f263c = t;
|
||||
if (aVar instanceof h) {
|
||||
((h) aVar).e();
|
||||
}
|
||||
}
|
||||
}
|
||||
a aVar3 = (a) list.get(i);
|
||||
if ((aVar3.b == null || aVar3.f262c == null) && list.size() > 1) {
|
||||
if ((aVar3.b == null || aVar3.f263c == null) && list.size() > 1) {
|
||||
list.remove(aVar3);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class r {
|
|||
public static final c.a b = c.a.a("d", "a");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final c.a f258c = c.a.a("nm");
|
||||
public static final c.a f259c = c.a.a("nm");
|
||||
|
||||
/* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */
|
||||
/* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */
|
||||
|
@ -343,7 +343,7 @@ public class r {
|
|||
while (cVar.e()) {
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(f258c) != 0) {
|
||||
if (cVar.z(f259c) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
|
|
|
@ -21,7 +21,7 @@ public class s {
|
|||
public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u");
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final c.a f259c = c.a.a("list");
|
||||
public static final c.a f260c = c.a.a("list");
|
||||
public static final c.a d = c.a.a("cm", "tm", "dr");
|
||||
|
||||
public static d a(c cVar) throws IOException {
|
||||
|
@ -177,7 +177,7 @@ public class s {
|
|||
f2 = f6;
|
||||
cVar.b();
|
||||
while (cVar.e()) {
|
||||
if (cVar.z(f259c) != 0) {
|
||||
if (cVar.z(f260c) != 0) {
|
||||
cVar.B();
|
||||
cVar.C();
|
||||
} else {
|
||||
|
@ -344,7 +344,7 @@ public class s {
|
|||
dVar.m = f4;
|
||||
dVar.i = arrayList3;
|
||||
dVar.h = longSparseArray;
|
||||
dVar.f263c = hashMap;
|
||||
dVar.f264c = hashMap;
|
||||
dVar.d = hashMap2;
|
||||
dVar.g = sparseArrayCompat2;
|
||||
dVar.e = hashMap3;
|
||||
|
|
|
@ -23,7 +23,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
@VisibleForTesting
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public boolean f260s = false;
|
||||
public boolean f261s = false;
|
||||
|
||||
@Override // android.animation.ValueAnimator, android.animation.Animator
|
||||
@MainThread
|
||||
|
@ -38,7 +38,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
public void doFrame(long j) {
|
||||
l();
|
||||
c.c.a.d dVar = this.r;
|
||||
if (dVar != null && this.f260s) {
|
||||
if (dVar != null && this.f261s) {
|
||||
long j2 = this.m;
|
||||
long j3 = 0;
|
||||
if (j2 != 0) {
|
||||
|
@ -150,7 +150,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
|
||||
@Override // android.animation.ValueAnimator, android.animation.Animator
|
||||
public boolean isRunning() {
|
||||
return this.f260s;
|
||||
return this.f261s;
|
||||
}
|
||||
|
||||
public float j() {
|
||||
|
@ -167,7 +167,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
}
|
||||
|
||||
public void l() {
|
||||
if (this.f260s) {
|
||||
if (this.f261s) {
|
||||
Choreographer.getInstance().removeFrameCallback(this);
|
||||
Choreographer.getInstance().postFrameCallback(this);
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
|||
@MainThread
|
||||
public void m() {
|
||||
Choreographer.getInstance().removeFrameCallback(this);
|
||||
this.f260s = false;
|
||||
this.f261s = false;
|
||||
}
|
||||
|
||||
public void n(float f) {
|
||||
|
|
|
@ -17,7 +17,7 @@ public final class g {
|
|||
public static final Path b = new Path();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Path f261c = new Path();
|
||||
public static final Path f262c = new Path();
|
||||
public static final float[] d = new float[4];
|
||||
public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d));
|
||||
public static float f = -1.0f;
|
||||
|
@ -59,12 +59,12 @@ public final class g {
|
|||
path2.reset();
|
||||
pathMeasure.getSegment(min, max, path2, true);
|
||||
if (max > length) {
|
||||
Path path3 = f261c;
|
||||
Path path3 = f262c;
|
||||
path3.reset();
|
||||
pathMeasure.getSegment(0.0f, max % length, path3, true);
|
||||
path2.addPath(path3);
|
||||
} else if (min < 0.0f) {
|
||||
Path path4 = f261c;
|
||||
Path path4 = f262c;
|
||||
path4.reset();
|
||||
pathMeasure.getSegment(min + length, length, path4, true);
|
||||
path2.addPath(path4);
|
||||
|
|
|
@ -14,7 +14,7 @@ public class a<T> {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public T f262c;
|
||||
public T f263c;
|
||||
@Nullable
|
||||
public final Interpolator d;
|
||||
public final float e;
|
||||
|
@ -40,7 +40,7 @@ public class a<T> {
|
|||
this.n = null;
|
||||
this.a = dVar;
|
||||
this.b = t;
|
||||
this.f262c = t2;
|
||||
this.f263c = t2;
|
||||
this.d = interpolator;
|
||||
this.e = f;
|
||||
this.f = f2;
|
||||
|
@ -57,7 +57,7 @@ public class a<T> {
|
|||
this.n = null;
|
||||
this.a = null;
|
||||
this.b = t;
|
||||
this.f262c = t;
|
||||
this.f263c = t;
|
||||
this.d = null;
|
||||
this.e = Float.MIN_VALUE;
|
||||
this.f = Float.valueOf(Float.MAX_VALUE);
|
||||
|
@ -100,7 +100,7 @@ public class a<T> {
|
|||
StringBuilder L = c.d.b.a.a.L("Keyframe{startValue=");
|
||||
L.append((Object) this.b);
|
||||
L.append(", endValue=");
|
||||
L.append((Object) this.f262c);
|
||||
L.append((Object) this.f263c);
|
||||
L.append(", startFrame=");
|
||||
L.append(this.e);
|
||||
L.append(", endFrame=");
|
||||
|
|
|
@ -17,7 +17,7 @@ public class d {
|
|||
public final HashSet<String> b = new HashSet<>();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public Map<String, List<e>> f263c;
|
||||
public Map<String, List<e>> f264c;
|
||||
public Map<String, k> d;
|
||||
public Map<String, c.c.a.y.d> e;
|
||||
public List<i> f;
|
||||
|
|
|
@ -31,7 +31,7 @@ public class f implements Callable<p<d>> {
|
|||
Pair pair;
|
||||
c cVar = new c(this.i, this.j, this.k);
|
||||
a aVar = a.ZIP;
|
||||
b bVar = cVar.f343c;
|
||||
b bVar = cVar.f344c;
|
||||
d dVar = null;
|
||||
if (bVar != null) {
|
||||
String str = cVar.b;
|
||||
|
|
|
@ -43,7 +43,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public String f264s;
|
||||
public String f265s;
|
||||
@Nullable
|
||||
public b t;
|
||||
@Nullable
|
||||
|
@ -53,13 +53,13 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
public c.c.a.y.m.c w;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public int f265x;
|
||||
public int f266x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public boolean f266y;
|
||||
public boolean f267y;
|
||||
|
||||
/* renamed from: z reason: collision with root package name */
|
||||
public boolean f267z;
|
||||
public boolean f268z;
|
||||
|
||||
/* compiled from: LottieDrawable */
|
||||
public class a implements o {
|
||||
|
@ -125,17 +125,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
public final /* synthetic */ Object b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final /* synthetic */ c.c.a.c0.c f269c;
|
||||
public final /* synthetic */ c.c.a.c0.c f270c;
|
||||
|
||||
public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) {
|
||||
this.a = fVar;
|
||||
this.b = obj;
|
||||
this.f269c = cVar;
|
||||
this.f270c = cVar;
|
||||
}
|
||||
|
||||
@Override // c.c.a.j.o
|
||||
public void a(d dVar) {
|
||||
j.this.a(this.a, this.b, this.f269c);
|
||||
j.this.a(this.a, this.b, this.f270c);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -276,7 +276,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
this.o = new ArrayList<>();
|
||||
f fVar = new f();
|
||||
this.p = fVar;
|
||||
this.f265x = 255;
|
||||
this.f266x = 255;
|
||||
this.A = true;
|
||||
this.B = false;
|
||||
dVar.i.add(fVar);
|
||||
|
@ -293,7 +293,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
if (fVar == c.c.a.y.f.a) {
|
||||
cVar2.g(t, cVar);
|
||||
} else {
|
||||
c.c.a.y.g gVar = fVar.f308c;
|
||||
c.c.a.y.g gVar = fVar.f309c;
|
||||
if (gVar != null) {
|
||||
gVar.g(t, cVar);
|
||||
} else {
|
||||
|
@ -306,7 +306,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
list = arrayList;
|
||||
}
|
||||
for (int i2 = 0; i2 < list.size(); i2++) {
|
||||
((c.c.a.y.f) list.get(i2)).f308c.g(t, cVar);
|
||||
((c.c.a.y.f) list.get(i2)).f309c.g(t, cVar);
|
||||
}
|
||||
z2 = true ^ list.isEmpty();
|
||||
}
|
||||
|
@ -330,7 +330,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
|
||||
public void c() {
|
||||
c.c.a.b0.d dVar = this.k;
|
||||
if (dVar.f260s) {
|
||||
if (dVar.f261s) {
|
||||
dVar.cancel();
|
||||
}
|
||||
this.j = null;
|
||||
|
@ -373,7 +373,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
}
|
||||
this.i.reset();
|
||||
this.i.preScale(width, height);
|
||||
this.w.f(canvas, this.i, this.f265x);
|
||||
this.w.f(canvas, this.i, this.f266x);
|
||||
if (i2 > 0) {
|
||||
canvas.restoreToCount(i2);
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
}
|
||||
this.i.reset();
|
||||
this.i.preScale(min2, min2);
|
||||
this.w.f(canvas, this.i, this.f265x);
|
||||
this.w.f(canvas, this.i, this.f266x);
|
||||
if (i2 > 0) {
|
||||
canvas.restoreToCount(i2);
|
||||
}
|
||||
|
@ -436,7 +436,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public int getAlpha() {
|
||||
return this.f265x;
|
||||
return this.f266x;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
|
@ -471,7 +471,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
if (dVar == null) {
|
||||
return false;
|
||||
}
|
||||
return dVar.f260s;
|
||||
return dVar.f261s;
|
||||
}
|
||||
|
||||
@Override // android.graphics.drawable.Drawable.Callback
|
||||
|
@ -506,7 +506,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
}
|
||||
if (this.m || h() == 0) {
|
||||
c.c.a.b0.d dVar = this.k;
|
||||
dVar.f260s = true;
|
||||
dVar.f261s = true;
|
||||
boolean k2 = dVar.k();
|
||||
for (Animator.AnimatorListener animatorListener : dVar.j) {
|
||||
if (Build.VERSION.SDK_INT >= 26) {
|
||||
|
@ -534,7 +534,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
}
|
||||
if (this.m || h() == 0) {
|
||||
c.c.a.b0.d dVar = this.k;
|
||||
dVar.f260s = true;
|
||||
dVar.f261s = true;
|
||||
dVar.l();
|
||||
dVar.m = 0;
|
||||
if (dVar.k() && dVar.n == dVar.j()) {
|
||||
|
@ -574,7 +574,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
}
|
||||
c.c.a.y.i d2 = dVar.d(str);
|
||||
if (d2 != null) {
|
||||
m((int) (d2.b + d2.f309c));
|
||||
m((int) (d2.b + d2.f310c));
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException(c.d.b.a.a.t("Cannot find marker with name ", str, "."));
|
||||
|
@ -606,7 +606,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
c.c.a.y.i d2 = dVar.d(str);
|
||||
if (d2 != null) {
|
||||
int i2 = (int) d2.b;
|
||||
p(i2, ((int) d2.f309c) + i2);
|
||||
p(i2, ((int) d2.f310c) + i2);
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException(c.d.b.a.a.t("Cannot find marker with name ", str, "."));
|
||||
|
@ -645,7 +645,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
|||
|
||||
@Override // android.graphics.drawable.Drawable
|
||||
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
|
||||
this.f265x = i2;
|
||||
this.f266x = i2;
|
||||
invalidateSelf();
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ public class k {
|
|||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final String f270c;
|
||||
public final String f271c;
|
||||
public final String d;
|
||||
@Nullable
|
||||
public Bitmap e;
|
||||
|
@ -18,7 +18,7 @@ public class k {
|
|||
public k(int i, int i2, String str, String str2, String str3) {
|
||||
this.a = i;
|
||||
this.b = i2;
|
||||
this.f270c = str;
|
||||
this.f271c = str;
|
||||
this.d = str2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ public interface o {
|
|||
public static final Integer b = 2;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public static final Integer f271c = 3;
|
||||
public static final Integer f272c = 3;
|
||||
public static final Integer d = 4;
|
||||
public static final PointF e = new PointF();
|
||||
public static final PointF f = new PointF();
|
||||
|
@ -31,20 +31,20 @@ public interface o {
|
|||
public static final Float r = Float.valueOf(5.0f);
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public static final Float f272s = Float.valueOf(6.0f);
|
||||
public static final Float f273s = Float.valueOf(6.0f);
|
||||
public static final Float t = Float.valueOf(7.0f);
|
||||
public static final Float u = Float.valueOf(8.0f);
|
||||
public static final Float v = Float.valueOf(9.0f);
|
||||
public static final Float w = Float.valueOf(10.0f);
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public static final Float f273x = Float.valueOf(11.0f);
|
||||
public static final Float f274x = Float.valueOf(11.0f);
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public static final Float f274y = Float.valueOf(12.0f);
|
||||
public static final Float f275y = Float.valueOf(12.0f);
|
||||
|
||||
/* renamed from: z reason: collision with root package name */
|
||||
public static final Float f275z = Float.valueOf(12.1f);
|
||||
public static final Float f276z = Float.valueOf(12.1f);
|
||||
|
||||
static {
|
||||
Float valueOf = Float.valueOf(0.0f);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class q implements Runnable {
|
|||
r rVar2 = this.i;
|
||||
Throwable th = pVar.b;
|
||||
synchronized (rVar2) {
|
||||
ArrayList arrayList = new ArrayList(rVar2.f276c);
|
||||
ArrayList arrayList = new ArrayList(rVar2.f277c);
|
||||
if (arrayList.isEmpty()) {
|
||||
c.c("Lottie encountered an error but no failure listener was added:", th);
|
||||
return;
|
||||
|
|
|
@ -17,7 +17,7 @@ public class r<T> {
|
|||
public final Set<l<T>> b = new LinkedHashSet(1);
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Set<l<Throwable>> f276c = new LinkedHashSet(1);
|
||||
public final Set<l<Throwable>> f277c = new LinkedHashSet(1);
|
||||
public final Handler d = new Handler(Looper.getMainLooper());
|
||||
@Nullable
|
||||
public volatile p<T> e = null;
|
||||
|
@ -49,7 +49,7 @@ public class r<T> {
|
|||
if (!(this.e == null || this.e.b == null)) {
|
||||
lVar.a(this.e.b);
|
||||
}
|
||||
this.f276c.add(lVar);
|
||||
this.f277c.add(lVar);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ public class s {
|
|||
public final Set<a> b = new ArraySet();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Map<String, e> f277c = new HashMap();
|
||||
public final Map<String, e> f278c = new HashMap();
|
||||
|
||||
/* compiled from: PerformanceTracker */
|
||||
public interface a {
|
||||
|
|
|
@ -27,7 +27,7 @@ public abstract class a implements a.b, k, e {
|
|||
public final Path b = new Path();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Path f278c = new Path();
|
||||
public final Path f279c = new Path();
|
||||
public final RectF d = new RectF();
|
||||
public final j e;
|
||||
public final c.c.a.y.m.b f;
|
||||
|
@ -106,7 +106,7 @@ public abstract class a implements a.b, k, e {
|
|||
c cVar = list.get(size);
|
||||
if (cVar instanceof s) {
|
||||
s sVar2 = (s) cVar;
|
||||
if (sVar2.f292c == 2) {
|
||||
if (sVar2.f293c == 2) {
|
||||
sVar = sVar2;
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ public abstract class a implements a.b, k, e {
|
|||
c cVar2 = list2.get(size2);
|
||||
if (cVar2 instanceof s) {
|
||||
s sVar3 = (s) cVar2;
|
||||
if (sVar3.f292c == 2) {
|
||||
if (sVar3.f293c == 2) {
|
||||
if (bVar != null) {
|
||||
this.g.add(bVar);
|
||||
}
|
||||
|
@ -249,15 +249,15 @@ public abstract class a implements a.b, k, e {
|
|||
int size3 = bVar.a.size() - 1;
|
||||
float f3 = 0.0f;
|
||||
while (size3 >= 0) {
|
||||
this.f278c.set(bVar.a.get(size3).getPath());
|
||||
this.f278c.transform(matrix);
|
||||
this.a.setPath(this.f278c, z2);
|
||||
this.f279c.set(bVar.a.get(size3).getPath());
|
||||
this.f279c.transform(matrix);
|
||||
this.a.setPath(this.f279c, z2);
|
||||
float length2 = this.a.getLength();
|
||||
if (floatValue3 > length) {
|
||||
float f4 = floatValue3 - length;
|
||||
if (f4 < f3 + length2 && f3 < f4) {
|
||||
g.a(this.f278c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
|
||||
canvas.drawPath(this.f278c, this.i);
|
||||
g.a(this.f279c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
|
||||
canvas.drawPath(this.f279c, this.i);
|
||||
f3 += length2;
|
||||
size3--;
|
||||
z2 = false;
|
||||
|
@ -267,10 +267,10 @@ public abstract class a implements a.b, k, e {
|
|||
float f5 = f3 + length2;
|
||||
if (f5 >= floatValue2 && f3 <= floatValue3) {
|
||||
if (f5 > floatValue3 || floatValue2 >= f3) {
|
||||
g.a(this.f278c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
|
||||
canvas.drawPath(this.f278c, this.i);
|
||||
g.a(this.f279c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
|
||||
canvas.drawPath(this.f279c, this.i);
|
||||
} else {
|
||||
canvas.drawPath(this.f278c, this.i);
|
||||
canvas.drawPath(this.f279c, this.i);
|
||||
}
|
||||
}
|
||||
f3 += length2;
|
||||
|
|
|
@ -23,7 +23,7 @@ public class d implements e, m, a.b, g {
|
|||
public RectF b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Matrix f279c;
|
||||
public final Matrix f280c;
|
||||
public final Path d;
|
||||
public final RectF e;
|
||||
public final String f;
|
||||
|
@ -40,7 +40,7 @@ public class d implements e, m, a.b, g {
|
|||
this(jVar, bVar, r3, r4, r5, r6);
|
||||
l lVar;
|
||||
String str = mVar.a;
|
||||
boolean z2 = mVar.f322c;
|
||||
boolean z2 = mVar.f323c;
|
||||
List<c.c.a.y.l.b> list = mVar.b;
|
||||
ArrayList arrayList = new ArrayList(list.size());
|
||||
int i = 0;
|
||||
|
@ -68,7 +68,7 @@ public class d implements e, m, a.b, g {
|
|||
public d(j jVar, b bVar, String str, boolean z2, List<c> list, @Nullable l lVar) {
|
||||
this.a = new c.c.a.w.a();
|
||||
this.b = new RectF();
|
||||
this.f279c = new Matrix();
|
||||
this.f280c = new Matrix();
|
||||
this.d = new Path();
|
||||
this.e = new RectF();
|
||||
this.f = str;
|
||||
|
@ -143,16 +143,16 @@ public class d implements e, m, a.b, g {
|
|||
|
||||
@Override // c.c.a.w.b.e
|
||||
public void d(RectF rectF, Matrix matrix, boolean z2) {
|
||||
this.f279c.set(matrix);
|
||||
this.f280c.set(matrix);
|
||||
o oVar = this.k;
|
||||
if (oVar != null) {
|
||||
this.f279c.preConcat(oVar.e());
|
||||
this.f280c.preConcat(oVar.e());
|
||||
}
|
||||
this.e.set(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||
c cVar = this.h.get(size);
|
||||
if (cVar instanceof e) {
|
||||
((e) cVar).d(this.e, this.f279c, z2);
|
||||
((e) cVar).d(this.e, this.f280c, z2);
|
||||
rectF.union(this.e);
|
||||
}
|
||||
}
|
||||
|
@ -175,15 +175,15 @@ public class d implements e, m, a.b, g {
|
|||
public void f(Canvas canvas, Matrix matrix, int i) {
|
||||
boolean z2;
|
||||
if (!this.g) {
|
||||
this.f279c.set(matrix);
|
||||
this.f280c.set(matrix);
|
||||
o oVar = this.k;
|
||||
if (oVar != null) {
|
||||
this.f279c.preConcat(oVar.e());
|
||||
this.f280c.preConcat(oVar.e());
|
||||
a<Integer, Integer> aVar = this.k.j;
|
||||
i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f);
|
||||
}
|
||||
boolean z3 = false;
|
||||
if (this.i.f267z) {
|
||||
if (this.i.f268z) {
|
||||
int i2 = 0;
|
||||
int i3 = 0;
|
||||
while (true) {
|
||||
|
@ -203,7 +203,7 @@ public class d implements e, m, a.b, g {
|
|||
}
|
||||
if (z3) {
|
||||
this.b.set(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
d(this.b, this.f279c, true);
|
||||
d(this.b, this.f280c, true);
|
||||
this.a.setAlpha(i);
|
||||
c.c.a.b0.g.f(canvas, this.b, this.a, 31);
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ public class d implements e, m, a.b, g {
|
|||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||
c cVar = this.h.get(size);
|
||||
if (cVar instanceof e) {
|
||||
((e) cVar).f(canvas, this.f279c, i);
|
||||
((e) cVar).f(canvas, this.f280c, i);
|
||||
}
|
||||
}
|
||||
if (z3) {
|
||||
|
@ -237,10 +237,10 @@ public class d implements e, m, a.b, g {
|
|||
|
||||
@Override // c.c.a.w.b.m
|
||||
public Path getPath() {
|
||||
this.f279c.reset();
|
||||
this.f280c.reset();
|
||||
o oVar = this.k;
|
||||
if (oVar != null) {
|
||||
this.f279c.set(oVar.e());
|
||||
this.f280c.set(oVar.e());
|
||||
}
|
||||
this.d.reset();
|
||||
if (this.g) {
|
||||
|
@ -249,7 +249,7 @@ public class d implements e, m, a.b, g {
|
|||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||
c cVar = this.h.get(size);
|
||||
if (cVar instanceof m) {
|
||||
this.d.addPath(((m) cVar).getPath(), this.f279c);
|
||||
this.d.addPath(((m) cVar).getPath(), this.f280c);
|
||||
}
|
||||
}
|
||||
return this.d;
|
||||
|
|
|
@ -15,7 +15,7 @@ public class f implements m, a.b, k {
|
|||
public final String b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final j f280c;
|
||||
public final j f281c;
|
||||
public final a<?, PointF> d;
|
||||
public final a<?, PointF> e;
|
||||
public final c.c.a.y.l.a f;
|
||||
|
@ -24,8 +24,8 @@ public class f implements m, a.b, k {
|
|||
|
||||
public f(j jVar, b bVar, c.c.a.y.l.a aVar) {
|
||||
this.b = aVar.a;
|
||||
this.f280c = jVar;
|
||||
a<PointF, PointF> a = aVar.f312c.a();
|
||||
this.f281c = jVar;
|
||||
a<PointF, PointF> a = aVar.f313c.a();
|
||||
this.d = a;
|
||||
a<PointF, PointF> a2 = aVar.b.a();
|
||||
this.e = a2;
|
||||
|
@ -39,7 +39,7 @@ public class f implements m, a.b, k {
|
|||
@Override // c.c.a.w.c.a.b
|
||||
public void a() {
|
||||
this.h = false;
|
||||
this.f280c.invalidateSelf();
|
||||
this.f281c.invalidateSelf();
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.c
|
||||
|
@ -48,7 +48,7 @@ public class f implements m, a.b, k {
|
|||
c cVar = list.get(i);
|
||||
if (cVar instanceof s) {
|
||||
s sVar = (s) cVar;
|
||||
if (sVar.f292c == 1) {
|
||||
if (sVar.f293c == 1) {
|
||||
this.g.a.add(sVar);
|
||||
sVar.b.add(this);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public class g implements e, a.b, k {
|
|||
public final Paint b = new c.c.a.w.a(1);
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final b f281c;
|
||||
public final b f282c;
|
||||
public final String d;
|
||||
public final boolean e;
|
||||
public final List<m> f = new ArrayList();
|
||||
|
@ -36,8 +36,8 @@ public class g implements e, a.b, k {
|
|||
public g(j jVar, b bVar, l lVar) {
|
||||
Path path = new Path();
|
||||
this.a = path;
|
||||
this.f281c = bVar;
|
||||
this.d = lVar.f321c;
|
||||
this.f282c = bVar;
|
||||
this.d = lVar.f322c;
|
||||
this.e = lVar.f;
|
||||
this.j = jVar;
|
||||
if (lVar.d == null || lVar.e == null) {
|
||||
|
@ -121,7 +121,7 @@ public class g implements e, a.b, k {
|
|||
} else if (t == o.C) {
|
||||
a<ColorFilter, ColorFilter> aVar3 = this.i;
|
||||
if (aVar3 != null) {
|
||||
this.f281c.u.remove(aVar3);
|
||||
this.f282c.u.remove(aVar3);
|
||||
}
|
||||
if (cVar == 0) {
|
||||
this.i = null;
|
||||
|
@ -130,7 +130,7 @@ public class g implements e, a.b, k {
|
|||
p pVar = new p(cVar, null);
|
||||
this.i = pVar;
|
||||
pVar.a.add(this);
|
||||
this.f281c.e(this.i);
|
||||
this.f282c.e(this.i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class h implements e, a.b, k {
|
|||
public final boolean b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final b f282c;
|
||||
public final b f283c;
|
||||
public final LongSparseArray<LinearGradient> d = new LongSparseArray<>();
|
||||
public final LongSparseArray<RadialGradient> e = new LongSparseArray<>();
|
||||
public final Path f;
|
||||
|
@ -55,14 +55,14 @@ public class h implements e, a.b, k {
|
|||
this.g = new c.c.a.w.a(1);
|
||||
this.h = new RectF();
|
||||
this.i = new ArrayList();
|
||||
this.f282c = bVar;
|
||||
this.f283c = bVar;
|
||||
this.a = dVar.g;
|
||||
this.b = dVar.h;
|
||||
this.q = jVar;
|
||||
this.j = dVar.a;
|
||||
path.setFillType(dVar.b);
|
||||
this.r = (int) (jVar.j.b() / 32.0f);
|
||||
a<c, c> a = dVar.f313c.a();
|
||||
a<c, c> a = dVar.f314c.a();
|
||||
this.k = a;
|
||||
a.a.add(this);
|
||||
bVar.e(a);
|
||||
|
@ -193,7 +193,7 @@ public class h implements e, a.b, k {
|
|||
} else if (t == o.C) {
|
||||
a<ColorFilter, ColorFilter> aVar2 = this.o;
|
||||
if (aVar2 != null) {
|
||||
this.f282c.u.remove(aVar2);
|
||||
this.f283c.u.remove(aVar2);
|
||||
}
|
||||
if (cVar == 0) {
|
||||
this.o = null;
|
||||
|
@ -202,11 +202,11 @@ public class h implements e, a.b, k {
|
|||
p pVar = new p(cVar, null);
|
||||
this.o = pVar;
|
||||
pVar.a.add(this);
|
||||
this.f282c.e(this.o);
|
||||
this.f283c.e(this.o);
|
||||
} else if (t == o.D) {
|
||||
p pVar2 = this.p;
|
||||
if (pVar2 != null) {
|
||||
this.f282c.u.remove(pVar2);
|
||||
this.f283c.u.remove(pVar2);
|
||||
}
|
||||
if (cVar == 0) {
|
||||
this.p = null;
|
||||
|
@ -215,7 +215,7 @@ public class h implements e, a.b, k {
|
|||
p pVar3 = new p(cVar, null);
|
||||
this.p = pVar3;
|
||||
pVar3.a.add(this);
|
||||
this.f282c.e(this.p);
|
||||
this.f283c.e(this.p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,18 +24,18 @@ public class i extends a {
|
|||
public final LongSparseArray<RadialGradient> r = new LongSparseArray<>();
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final RectF f283s = new RectF();
|
||||
public final RectF f284s = new RectF();
|
||||
public final int t;
|
||||
public final int u;
|
||||
public final a<c, c> v;
|
||||
public final a<PointF, PointF> w;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public final a<PointF, PointF> f284x;
|
||||
public final a<PointF, PointF> f285x;
|
||||
@Nullable
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public p f285y;
|
||||
public p f286y;
|
||||
|
||||
public i(j jVar, b bVar, e eVar) {
|
||||
super(jVar, bVar, c.c.a.y.b.k(eVar.h), c.c.a.y.b.l(eVar.i), eVar.j, eVar.d, eVar.g, eVar.k, eVar.l);
|
||||
|
@ -43,7 +43,7 @@ public class i extends a {
|
|||
this.t = eVar.b;
|
||||
this.p = eVar.m;
|
||||
this.u = (int) (jVar.j.b() / 32.0f);
|
||||
a<c, c> a = eVar.f314c.a();
|
||||
a<c, c> a = eVar.f315c.a();
|
||||
this.v = a;
|
||||
a.a.add(this);
|
||||
bVar.e(a);
|
||||
|
@ -52,13 +52,13 @@ public class i extends a {
|
|||
a2.a.add(this);
|
||||
bVar.e(a2);
|
||||
a<PointF, PointF> a3 = eVar.f.a();
|
||||
this.f284x = a3;
|
||||
this.f285x = a3;
|
||||
a3.a.add(this);
|
||||
bVar.e(a3);
|
||||
}
|
||||
|
||||
public final int[] e(int[] iArr) {
|
||||
p pVar = this.f285y;
|
||||
p pVar = this.f286y;
|
||||
if (pVar != null) {
|
||||
Integer[] numArr = (Integer[]) pVar.e();
|
||||
int i = 0;
|
||||
|
@ -85,13 +85,13 @@ public class i extends a {
|
|||
public void f(Canvas canvas, Matrix matrix, int i) {
|
||||
RadialGradient radialGradient;
|
||||
if (!this.p) {
|
||||
d(this.f283s, matrix, false);
|
||||
d(this.f284s, matrix, false);
|
||||
if (this.t == 1) {
|
||||
long h = (long) h();
|
||||
radialGradient = this.q.get(h);
|
||||
if (radialGradient == null) {
|
||||
PointF e = this.w.e();
|
||||
PointF e2 = this.f284x.e();
|
||||
PointF e2 = this.f285x.e();
|
||||
c e3 = this.v.e();
|
||||
radialGradient = new LinearGradient(e.x, e.y, e2.x, e2.y, e(e3.b), e3.a, Shader.TileMode.CLAMP);
|
||||
this.q.put(h, radialGradient);
|
||||
|
@ -101,7 +101,7 @@ public class i extends a {
|
|||
radialGradient = this.r.get(h2);
|
||||
if (radialGradient == null) {
|
||||
PointF e4 = this.w.e();
|
||||
PointF e5 = this.f284x.e();
|
||||
PointF e5 = this.f285x.e();
|
||||
c e6 = this.v.e();
|
||||
int[] e7 = e(e6.b);
|
||||
float[] fArr = e6.a;
|
||||
|
@ -123,18 +123,18 @@ public class i extends a {
|
|||
public <T> void g(T t, @Nullable c.c.a.c0.c<T> cVar) {
|
||||
super.g(t, cVar);
|
||||
if (t == o.D) {
|
||||
p pVar = this.f285y;
|
||||
p pVar = this.f286y;
|
||||
if (pVar != null) {
|
||||
this.f.u.remove(pVar);
|
||||
}
|
||||
if (cVar == null) {
|
||||
this.f285y = null;
|
||||
this.f286y = null;
|
||||
return;
|
||||
}
|
||||
p pVar2 = new p(cVar, null);
|
||||
this.f285y = pVar2;
|
||||
this.f286y = pVar2;
|
||||
pVar2.a.add(this);
|
||||
this.f.e(this.f285y);
|
||||
this.f.e(this.f286y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ public class i extends a {
|
|||
|
||||
public final int h() {
|
||||
int round = Math.round(this.w.d * ((float) this.u));
|
||||
int round2 = Math.round(this.f284x.d * ((float) this.u));
|
||||
int round2 = Math.round(this.f285x.d * ((float) this.u));
|
||||
int round3 = Math.round(this.v.d * ((float) this.u));
|
||||
int i = 17;
|
||||
if (round != 0) {
|
||||
|
|
|
@ -15,7 +15,7 @@ public class l implements m, j {
|
|||
public final Path b = new Path();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Path f286c = new Path();
|
||||
public final Path f287c = new Path();
|
||||
public final List<m> d = new ArrayList();
|
||||
public final g e;
|
||||
|
||||
|
@ -40,8 +40,8 @@ public class l implements m, j {
|
|||
if (oVar != null) {
|
||||
matrix2 = oVar.e();
|
||||
} else {
|
||||
dVar.f279c.reset();
|
||||
matrix2 = dVar.f279c;
|
||||
dVar.f280c.reset();
|
||||
matrix2 = dVar.f280c;
|
||||
}
|
||||
path.transform(matrix2);
|
||||
this.b.addPath(path);
|
||||
|
@ -60,8 +60,8 @@ public class l implements m, j {
|
|||
if (oVar2 != null) {
|
||||
matrix = oVar2.e();
|
||||
} else {
|
||||
dVar2.f279c.reset();
|
||||
matrix = dVar2.f279c;
|
||||
dVar2.f280c.reset();
|
||||
matrix = dVar2.f280c;
|
||||
}
|
||||
path2.transform(matrix);
|
||||
this.a.addPath(path2);
|
||||
|
@ -69,7 +69,7 @@ public class l implements m, j {
|
|||
} else {
|
||||
this.a.set(mVar2.getPath());
|
||||
}
|
||||
this.f286c.op(this.a, this.b, op);
|
||||
this.f287c.op(this.a, this.b, op);
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.c
|
||||
|
@ -94,15 +94,15 @@ public class l implements m, j {
|
|||
|
||||
@Override // c.c.a.w.b.m
|
||||
public Path getPath() {
|
||||
this.f286c.reset();
|
||||
this.f287c.reset();
|
||||
g gVar = this.e;
|
||||
if (gVar.f316c) {
|
||||
return this.f286c;
|
||||
if (gVar.f317c) {
|
||||
return this.f287c;
|
||||
}
|
||||
int ordinal = gVar.b.ordinal();
|
||||
if (ordinal == 0) {
|
||||
for (int i = 0; i < this.d.size(); i++) {
|
||||
this.f286c.addPath(this.d.get(i).getPath());
|
||||
this.f287c.addPath(this.d.get(i).getPath());
|
||||
}
|
||||
} else if (ordinal == 1) {
|
||||
a(Path.Op.UNION);
|
||||
|
@ -113,6 +113,6 @@ public class l implements m, j {
|
|||
} else if (ordinal == 4) {
|
||||
a(Path.Op.XOR);
|
||||
}
|
||||
return this.f286c;
|
||||
return this.f287c;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ public class n implements m, a.b, k {
|
|||
public final String b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final j f287c;
|
||||
public final j f288c;
|
||||
public final h.a d;
|
||||
public final boolean e;
|
||||
public final a<?, Float> f;
|
||||
|
@ -34,12 +34,12 @@ public class n implements m, a.b, k {
|
|||
public boolean n;
|
||||
|
||||
public n(j jVar, b bVar, h hVar) {
|
||||
this.f287c = jVar;
|
||||
this.f288c = jVar;
|
||||
this.b = hVar.a;
|
||||
h.a aVar = hVar.b;
|
||||
this.d = aVar;
|
||||
this.e = hVar.j;
|
||||
a<Float, Float> a = hVar.f317c.a();
|
||||
a<Float, Float> a = hVar.f318c.a();
|
||||
this.f = a;
|
||||
a<PointF, PointF> a2 = hVar.d.a();
|
||||
this.g = a2;
|
||||
|
@ -80,7 +80,7 @@ public class n implements m, a.b, k {
|
|||
@Override // c.c.a.w.c.a.b
|
||||
public void a() {
|
||||
this.n = false;
|
||||
this.f287c.invalidateSelf();
|
||||
this.f288c.invalidateSelf();
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.c
|
||||
|
@ -89,7 +89,7 @@ public class n implements m, a.b, k {
|
|||
c cVar = list.get(i);
|
||||
if (cVar instanceof s) {
|
||||
s sVar = (s) cVar;
|
||||
if (sVar.f292c == 1) {
|
||||
if (sVar.f293c == 1) {
|
||||
this.m.a.add(sVar);
|
||||
sVar.b.add(this);
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ public class n implements m, a.b, k {
|
|||
public <T> void g(T t, @Nullable c<T> cVar) {
|
||||
a<?, Float> aVar;
|
||||
a<?, Float> aVar2;
|
||||
if (t == o.f272s) {
|
||||
if (t == o.f273s) {
|
||||
a<?, Float> aVar3 = this.f;
|
||||
c<Float> cVar2 = aVar3.e;
|
||||
aVar3.e = cVar;
|
||||
|
@ -130,7 +130,7 @@ public class n implements m, a.b, k {
|
|||
} else if (t == o.w && (aVar = this.k) != null) {
|
||||
c<Float> cVar7 = aVar.e;
|
||||
aVar.e = cVar;
|
||||
} else if (t == o.f273x) {
|
||||
} else if (t == o.f274x) {
|
||||
a<?, Float> aVar7 = this.l;
|
||||
c<Float> cVar8 = aVar7.e;
|
||||
aVar7.e = cVar;
|
||||
|
|
|
@ -17,7 +17,7 @@ public class o implements a.b, k, m {
|
|||
public final RectF b = new RectF();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final String f288c;
|
||||
public final String f289c;
|
||||
public final boolean d;
|
||||
public final j e;
|
||||
public final a<?, PointF> f;
|
||||
|
@ -27,12 +27,12 @@ public class o implements a.b, k, m {
|
|||
public boolean j;
|
||||
|
||||
public o(j jVar, b bVar, i iVar) {
|
||||
this.f288c = iVar.a;
|
||||
this.f289c = iVar.a;
|
||||
this.d = iVar.e;
|
||||
this.e = jVar;
|
||||
a<PointF, PointF> a = iVar.b.a();
|
||||
this.f = a;
|
||||
a<PointF, PointF> a2 = iVar.f318c.a();
|
||||
a<PointF, PointF> a2 = iVar.f319c.a();
|
||||
this.g = a2;
|
||||
a<Float, Float> a3 = iVar.d.a();
|
||||
this.h = a3;
|
||||
|
@ -56,7 +56,7 @@ public class o implements a.b, k, m {
|
|||
c cVar = list.get(i);
|
||||
if (cVar instanceof s) {
|
||||
s sVar = (s) cVar;
|
||||
if (sVar.f292c == 1) {
|
||||
if (sVar.f293c == 1) {
|
||||
this.i.a.add(sVar);
|
||||
sVar.b.add(this);
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ public class o implements a.b, k, m {
|
|||
|
||||
@Override // c.c.a.w.b.c
|
||||
public String getName() {
|
||||
return this.f288c;
|
||||
return this.f289c;
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.m
|
||||
|
|
|
@ -23,7 +23,7 @@ public class p implements e, m, j, a.b, k {
|
|||
public final Path b = new Path();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final j f289c;
|
||||
public final j f290c;
|
||||
public final b d;
|
||||
public final String e;
|
||||
public final boolean f;
|
||||
|
@ -33,7 +33,7 @@ public class p implements e, m, j, a.b, k {
|
|||
public d j;
|
||||
|
||||
public p(j jVar, b bVar, c.c.a.y.l.j jVar2) {
|
||||
this.f289c = jVar;
|
||||
this.f290c = jVar;
|
||||
this.d = bVar;
|
||||
this.e = jVar2.a;
|
||||
this.f = jVar2.e;
|
||||
|
@ -41,7 +41,7 @@ public class p implements e, m, j, a.b, k {
|
|||
this.g = a;
|
||||
bVar.e(a);
|
||||
a.a.add(this);
|
||||
a<Float, Float> a2 = jVar2.f319c.a();
|
||||
a<Float, Float> a2 = jVar2.f320c.a();
|
||||
this.h = a2;
|
||||
bVar.e(a2);
|
||||
a2.a.add(this);
|
||||
|
@ -55,7 +55,7 @@ public class p implements e, m, j, a.b, k {
|
|||
|
||||
@Override // c.c.a.w.c.a.b
|
||||
public void a() {
|
||||
this.f289c.invalidateSelf();
|
||||
this.f290c.invalidateSelf();
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.c
|
||||
|
@ -84,7 +84,7 @@ public class p implements e, m, j, a.b, k {
|
|||
listIterator.remove();
|
||||
}
|
||||
Collections.reverse(arrayList);
|
||||
this.j = new d(this.f289c, this.d, "Repeater", this.f, arrayList, null);
|
||||
this.j = new d(this.f290c, this.d, "Repeater", this.f, arrayList, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,15 +13,15 @@ public class q implements m, a.b {
|
|||
public final boolean b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final j f290c;
|
||||
public final j f291c;
|
||||
public final a<?, Path> d;
|
||||
public boolean e;
|
||||
public b f = new b();
|
||||
|
||||
public q(j jVar, b bVar, n nVar) {
|
||||
this.b = nVar.d;
|
||||
this.f290c = jVar;
|
||||
a<k, Path> a = nVar.f323c.a();
|
||||
this.f291c = jVar;
|
||||
a<k, Path> a = nVar.f324c.a();
|
||||
this.d = a;
|
||||
bVar.e(a);
|
||||
a.a.add(this);
|
||||
|
@ -30,7 +30,7 @@ public class q implements m, a.b {
|
|||
@Override // c.c.a.w.c.a.b
|
||||
public void a() {
|
||||
this.e = false;
|
||||
this.f290c.invalidateSelf();
|
||||
this.f291c.invalidateSelf();
|
||||
}
|
||||
|
||||
@Override // c.c.a.w.b.c
|
||||
|
@ -39,7 +39,7 @@ public class q implements m, a.b {
|
|||
c cVar = list.get(i);
|
||||
if (cVar instanceof s) {
|
||||
s sVar = (s) cVar;
|
||||
if (sVar.f292c == 1) {
|
||||
if (sVar.f293c == 1) {
|
||||
this.f.a.add(sVar);
|
||||
sVar.b.add(this);
|
||||
}
|
||||
|
|
|
@ -20,10 +20,10 @@ public class r extends a {
|
|||
@Nullable
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public a<ColorFilter, ColorFilter> f291s;
|
||||
public a<ColorFilter, ColorFilter> f292s;
|
||||
|
||||
public r(j jVar, b bVar, o oVar) {
|
||||
super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f324c, oVar.b);
|
||||
super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f325c, oVar.b);
|
||||
this.o = bVar;
|
||||
this.p = oVar.a;
|
||||
this.q = oVar.j;
|
||||
|
@ -39,7 +39,7 @@ public class r extends a {
|
|||
Paint paint = this.i;
|
||||
c.c.a.w.c.b bVar = (c.c.a.w.c.b) this.r;
|
||||
paint.setColor(bVar.j(bVar.a(), bVar.c()));
|
||||
a<ColorFilter, ColorFilter> aVar = this.f291s;
|
||||
a<ColorFilter, ColorFilter> aVar = this.f292s;
|
||||
if (aVar != null) {
|
||||
this.i.setColorFilter(aVar.e());
|
||||
}
|
||||
|
@ -57,16 +57,16 @@ public class r extends a {
|
|||
c<Integer> cVar2 = aVar.e;
|
||||
aVar.e = cVar;
|
||||
} else if (t == c.c.a.o.C) {
|
||||
a<ColorFilter, ColorFilter> aVar2 = this.f291s;
|
||||
a<ColorFilter, ColorFilter> aVar2 = this.f292s;
|
||||
if (aVar2 != null) {
|
||||
this.o.u.remove(aVar2);
|
||||
}
|
||||
if (cVar == 0) {
|
||||
this.f291s = null;
|
||||
this.f292s = null;
|
||||
return;
|
||||
}
|
||||
p pVar = new p(cVar, null);
|
||||
this.f291s = pVar;
|
||||
this.f292s = pVar;
|
||||
pVar.a.add(this);
|
||||
this.o.e(this.r);
|
||||
}
|
||||
|
|
|
@ -11,15 +11,15 @@ public class s implements c, a.b {
|
|||
public final List<a.b> b = new ArrayList();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final int f292c;
|
||||
public final int f293c;
|
||||
public final a<?, Float> d;
|
||||
public final a<?, Float> e;
|
||||
public final a<?, Float> f;
|
||||
|
||||
public s(b bVar, p pVar) {
|
||||
this.a = pVar.f;
|
||||
this.f292c = pVar.b;
|
||||
a<Float, Float> a = pVar.f325c.a();
|
||||
this.f293c = pVar.b;
|
||||
a<Float, Float> a = pVar.f326c.a();
|
||||
this.d = a;
|
||||
a<Float, Float> a2 = pVar.d.a();
|
||||
this.e = a2;
|
||||
|
|
|
@ -12,7 +12,7 @@ public abstract class a<K, A> {
|
|||
public boolean b = false;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final d<K> f293c;
|
||||
public final d<K> f294c;
|
||||
public float d = 0.0f;
|
||||
@Nullable
|
||||
public c.c.a.c0.c<A> e;
|
||||
|
@ -86,7 +86,7 @@ public abstract class a<K, A> {
|
|||
public c.c.a.c0.a<T> b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public c.c.a.c0.a<T> f294c = null;
|
||||
public c.c.a.c0.a<T> f295c = null;
|
||||
public float d = -1.0f;
|
||||
|
||||
public e(List<? extends c.c.a.c0.a<T>> list) {
|
||||
|
@ -96,12 +96,12 @@ public abstract class a<K, A> {
|
|||
|
||||
@Override // c.c.a.w.c.a.d
|
||||
public boolean a(float f) {
|
||||
c.c.a.c0.a<T> aVar = this.f294c;
|
||||
c.c.a.c0.a<T> aVar = this.f295c;
|
||||
c.c.a.c0.a<T> aVar2 = this.b;
|
||||
if (aVar == aVar2 && this.d == f) {
|
||||
return true;
|
||||
}
|
||||
this.f294c = aVar2;
|
||||
this.f295c = aVar2;
|
||||
this.d = f;
|
||||
return false;
|
||||
}
|
||||
|
@ -205,11 +205,11 @@ public abstract class a<K, A> {
|
|||
} else {
|
||||
dVar = list.size() == 1 ? new f<>(list) : new e<>(list);
|
||||
}
|
||||
this.f293c = dVar;
|
||||
this.f294c = dVar;
|
||||
}
|
||||
|
||||
public c.c.a.c0.a<K> a() {
|
||||
c.c.a.c0.a<K> b2 = this.f293c.b();
|
||||
c.c.a.c0.a<K> b2 = this.f294c.b();
|
||||
c.c.a.c.a("BaseKeyframeAnimation#getCurrentKeyframe");
|
||||
return b2;
|
||||
}
|
||||
|
@ -217,7 +217,7 @@ public abstract class a<K, A> {
|
|||
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
||||
public float b() {
|
||||
if (this.h == -1.0f) {
|
||||
this.h = this.f293c.d();
|
||||
this.h = this.f294c.d();
|
||||
}
|
||||
return this.h;
|
||||
}
|
||||
|
@ -243,7 +243,7 @@ public abstract class a<K, A> {
|
|||
|
||||
public A e() {
|
||||
float c2 = c();
|
||||
if (this.e == null && this.f293c.a(c2)) {
|
||||
if (this.e == null && this.f294c.a(c2)) {
|
||||
return this.f;
|
||||
}
|
||||
A f2 = f(a(), c2);
|
||||
|
@ -260,14 +260,14 @@ public abstract class a<K, A> {
|
|||
}
|
||||
|
||||
public void h(@FloatRange(from = 0.0d, to = 1.0d) float f2) {
|
||||
if (!this.f293c.isEmpty()) {
|
||||
if (!this.f294c.isEmpty()) {
|
||||
if (this.g == -1.0f) {
|
||||
this.g = this.f293c.e();
|
||||
this.g = this.f294c.e();
|
||||
}
|
||||
float f3 = this.g;
|
||||
if (f2 < f3) {
|
||||
if (f3 == -1.0f) {
|
||||
this.g = this.f293c.e();
|
||||
this.g = this.f294c.e();
|
||||
}
|
||||
f2 = this.g;
|
||||
} else if (f2 > b()) {
|
||||
|
@ -275,7 +275,7 @@ public abstract class a<K, A> {
|
|||
}
|
||||
if (f2 != this.d) {
|
||||
this.d = f2;
|
||||
if (this.f293c.c(f2)) {
|
||||
if (this.f294c.c(f2)) {
|
||||
g();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,11 +19,11 @@ public class b extends f<Integer> {
|
|||
public int j(a<Integer> aVar, float f) {
|
||||
Integer num;
|
||||
Integer num2 = aVar.b;
|
||||
if (num2 == null || aVar.f262c == null) {
|
||||
if (num2 == null || aVar.f263c == null) {
|
||||
throw new IllegalStateException("Missing values for keyframe.");
|
||||
}
|
||||
int intValue = num2.intValue();
|
||||
int intValue2 = aVar.f262c.intValue();
|
||||
int intValue2 = aVar.f263c.intValue();
|
||||
c<A> cVar = this.e;
|
||||
return (cVar == 0 || (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), Integer.valueOf(intValue), Integer.valueOf(intValue2), f, d(), this.d)) == null) ? AnimatableValueParser.k0(f.b(f, 0.0f, 1.0f), intValue, intValue2) : num.intValue();
|
||||
}
|
||||
|
|
|
@ -20,11 +20,11 @@ public class c extends f<Float> {
|
|||
|
||||
public float k(a<Float> aVar, float f) {
|
||||
Float f2;
|
||||
if (aVar.b == null || aVar.f262c == null) {
|
||||
if (aVar.b == null || aVar.f263c == null) {
|
||||
throw new IllegalStateException("Missing values for keyframe.");
|
||||
}
|
||||
c.c.a.c0.c<A> cVar = this.e;
|
||||
if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f262c, f, d(), this.d)) != null) {
|
||||
if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f263c, f, d(), this.d)) != null) {
|
||||
return f2.floatValue();
|
||||
}
|
||||
if (aVar.g == -3987645.8f) {
|
||||
|
@ -32,7 +32,7 @@ public class c extends f<Float> {
|
|||
}
|
||||
float f3 = aVar.g;
|
||||
if (aVar.h == -3987645.8f) {
|
||||
aVar.h = aVar.f262c.floatValue();
|
||||
aVar.h = aVar.f263c.floatValue();
|
||||
}
|
||||
return f.e(f3, aVar.h, f);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ public class d extends f<c> {
|
|||
public Object f(a aVar, float f) {
|
||||
c cVar = this.i;
|
||||
c cVar2 = aVar.b;
|
||||
c cVar3 = aVar.f262c;
|
||||
c cVar3 = aVar.f263c;
|
||||
Objects.requireNonNull(cVar);
|
||||
if (cVar2.b.length == cVar3.b.length) {
|
||||
for (int i = 0; i < cVar2.b.length; i++) {
|
||||
|
|
|
@ -18,11 +18,11 @@ public class e extends f<Integer> {
|
|||
|
||||
public int j(a<Integer> aVar, float f) {
|
||||
Integer num;
|
||||
if (aVar.b == null || aVar.f262c == null) {
|
||||
if (aVar.b == null || aVar.f263c == null) {
|
||||
throw new IllegalStateException("Missing values for keyframe.");
|
||||
}
|
||||
c<A> cVar = this.e;
|
||||
if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f262c, f, d(), this.d)) != null) {
|
||||
if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f263c, f, d(), this.d)) != null) {
|
||||
return num.intValue();
|
||||
}
|
||||
if (aVar.i == 784923401) {
|
||||
|
@ -30,7 +30,7 @@ public class e extends f<Integer> {
|
|||
}
|
||||
int i = aVar.i;
|
||||
if (aVar.j == 784923401) {
|
||||
aVar.j = aVar.f262c.intValue();
|
||||
aVar.j = aVar.f263c.intValue();
|
||||
}
|
||||
int i2 = aVar.j;
|
||||
PointF pointF = f.a;
|
||||
|
|
|
@ -11,15 +11,15 @@ public class g {
|
|||
public final List<a<Integer, Integer>> b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final List<f> f295c;
|
||||
public final List<f> f296c;
|
||||
|
||||
public g(List<f> list) {
|
||||
this.f295c = list;
|
||||
this.f296c = list;
|
||||
this.a = new ArrayList(list.size());
|
||||
this.b = new ArrayList(list.size());
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
this.a.add(list.get(i).b.a());
|
||||
this.b.add(list.get(i).f315c.a());
|
||||
this.b.add(list.get(i).f316c.a());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,16 +14,16 @@ public class h extends a<PointF> {
|
|||
public final a<PointF> p;
|
||||
|
||||
public h(d dVar, a<PointF> aVar) {
|
||||
super(dVar, aVar.b, aVar.f262c, aVar.d, aVar.e, aVar.f);
|
||||
super(dVar, aVar.b, aVar.f263c, aVar.d, aVar.e, aVar.f);
|
||||
this.p = aVar;
|
||||
e();
|
||||
}
|
||||
|
||||
public void e() {
|
||||
PointF pointF;
|
||||
PointF pointF2 = this.f262c;
|
||||
PointF pointF2 = this.f263c;
|
||||
boolean z2 = (pointF2 == null || (pointF = this.b) == null || !pointF.equals(pointF2.x, pointF2.y)) ? false : true;
|
||||
PointF pointF3 = this.f262c;
|
||||
PointF pointF3 = this.f263c;
|
||||
if (pointF3 != null && !z2) {
|
||||
PointF pointF4 = this.b;
|
||||
PointF pointF5 = pointF3;
|
||||
|
|
|
@ -29,7 +29,7 @@ public class i extends f<PointF> {
|
|||
return aVar.b;
|
||||
}
|
||||
c<A> cVar = this.e;
|
||||
if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f262c, d(), f, this.d)) != null) {
|
||||
if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f263c, d(), f, this.d)) != null) {
|
||||
return pointF;
|
||||
}
|
||||
if (this.k != hVar) {
|
||||
|
|
|
@ -17,7 +17,7 @@ public class j extends f<PointF> {
|
|||
PointF pointF;
|
||||
PointF pointF2;
|
||||
PointF pointF3 = aVar.b;
|
||||
if (pointF3 == null || (pointF = aVar.f262c) == null) {
|
||||
if (pointF3 == null || (pointF = aVar.f263c) == null) {
|
||||
throw new IllegalStateException("Missing values for keyframe.");
|
||||
}
|
||||
PointF pointF4 = pointF3;
|
||||
|
|
|
@ -18,7 +18,7 @@ public class k extends f<d> {
|
|||
d dVar;
|
||||
d dVar2;
|
||||
d dVar3 = aVar.b;
|
||||
if (dVar3 == null || (dVar = aVar.f262c) == null) {
|
||||
if (dVar3 == null || (dVar = aVar.f263c) == null) {
|
||||
throw new IllegalStateException("Missing values for keyframe.");
|
||||
}
|
||||
d dVar4 = dVar3;
|
||||
|
|
|
@ -21,12 +21,12 @@ public class l extends a<k, Path> {
|
|||
@Override // c.c.a.w.c.a
|
||||
public Path f(a<k> aVar, float f) {
|
||||
k kVar = aVar.b;
|
||||
k kVar2 = aVar.f262c;
|
||||
k kVar2 = aVar.f263c;
|
||||
k kVar3 = this.i;
|
||||
if (kVar3.b == null) {
|
||||
kVar3.b = new PointF();
|
||||
}
|
||||
kVar3.f320c = kVar.f320c || kVar2.f320c;
|
||||
kVar3.f321c = kVar.f321c || kVar2.f321c;
|
||||
if (kVar.a.size() != kVar2.a.size()) {
|
||||
StringBuilder L = c.d.b.a.a.L("Curves must have the same number of control points. Shape 1: ");
|
||||
L.append(kVar.a.size());
|
||||
|
@ -58,13 +58,13 @@ public class l extends a<k, Path> {
|
|||
c.c.a.y.a aVar3 = kVar2.a.get(size3);
|
||||
PointF pointF3 = aVar2.a;
|
||||
PointF pointF4 = aVar2.b;
|
||||
PointF pointF5 = aVar2.f299c;
|
||||
PointF pointF5 = aVar2.f300c;
|
||||
PointF pointF6 = aVar3.a;
|
||||
PointF pointF7 = aVar3.b;
|
||||
PointF pointF8 = aVar3.f299c;
|
||||
PointF pointF8 = aVar3.f300c;
|
||||
kVar3.a.get(size3).a.set(f.e(pointF3.x, pointF6.x, f), f.e(pointF3.y, pointF6.y, f));
|
||||
kVar3.a.get(size3).b.set(f.e(pointF4.x, pointF7.x, f), f.e(pointF4.y, pointF7.y, f));
|
||||
kVar3.a.get(size3).f299c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f));
|
||||
kVar3.a.get(size3).f300c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f));
|
||||
}
|
||||
k kVar4 = this.i;
|
||||
Path path = this.j;
|
||||
|
@ -76,7 +76,7 @@ public class l extends a<k, Path> {
|
|||
c.c.a.y.a aVar4 = kVar4.a.get(i);
|
||||
PointF pointF10 = aVar4.a;
|
||||
PointF pointF11 = aVar4.b;
|
||||
PointF pointF12 = aVar4.f299c;
|
||||
PointF pointF12 = aVar4.f300c;
|
||||
if (!pointF10.equals(f.a) || !pointF11.equals(pointF12)) {
|
||||
path.cubicTo(pointF10.x, pointF10.y, pointF11.x, pointF11.y, pointF12.x, pointF12.y);
|
||||
} else {
|
||||
|
@ -84,7 +84,7 @@ public class l extends a<k, Path> {
|
|||
}
|
||||
f.a.set(pointF12.x, pointF12.y);
|
||||
}
|
||||
if (kVar4.f320c) {
|
||||
if (kVar4.f321c) {
|
||||
path.close();
|
||||
}
|
||||
return this.j;
|
||||
|
|
|
@ -19,7 +19,7 @@ public class o {
|
|||
public final Matrix b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Matrix f296c;
|
||||
public final Matrix f297c;
|
||||
public final Matrix d;
|
||||
public final float[] e;
|
||||
@NonNull
|
||||
|
@ -46,7 +46,7 @@ public class o {
|
|||
this.f = eVar == null ? null : eVar.a();
|
||||
m<PointF, PointF> mVar = lVar.b;
|
||||
this.g = mVar == null ? null : mVar.a();
|
||||
g gVar = lVar.f311c;
|
||||
g gVar = lVar.f312c;
|
||||
this.h = gVar == null ? null : gVar.a();
|
||||
b bVar = lVar.d;
|
||||
this.i = bVar == null ? null : bVar.a();
|
||||
|
@ -55,12 +55,12 @@ public class o {
|
|||
this.k = cVar;
|
||||
if (cVar != null) {
|
||||
this.b = new Matrix();
|
||||
this.f296c = new Matrix();
|
||||
this.f297c = new Matrix();
|
||||
this.d = new Matrix();
|
||||
this.e = new float[9];
|
||||
} else {
|
||||
this.b = null;
|
||||
this.f296c = null;
|
||||
this.f297c = null;
|
||||
this.d = null;
|
||||
this.e = null;
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ public class o {
|
|||
c<Float> cVar7 = aVar6.e;
|
||||
aVar6.e = cVar;
|
||||
return true;
|
||||
} else if (t == c.c.a.o.f271c) {
|
||||
} else if (t == c.c.a.o.f272c) {
|
||||
a<Integer, Integer> aVar7 = this.j;
|
||||
if (aVar7 == null) {
|
||||
this.j = new p(cVar, 100);
|
||||
|
@ -187,8 +187,8 @@ public class o {
|
|||
c<Integer> cVar8 = aVar7.e;
|
||||
aVar7.e = cVar;
|
||||
return true;
|
||||
} else if (t != c.c.a.o.f274y || (aVar2 = this.m) == null) {
|
||||
if (t != c.c.a.o.f275z || (aVar = this.n) == null) {
|
||||
} else if (t != c.c.a.o.f275y || (aVar2 = this.m) == null) {
|
||||
if (t != c.c.a.o.f276z || (aVar = this.n) == null) {
|
||||
if (t == c.c.a.o.m && (cVar3 = this.k) != null) {
|
||||
if (cVar3 == null) {
|
||||
this.k = new c(Collections.singletonList(new c.c.a.c0.a(Float.valueOf(0.0f))));
|
||||
|
@ -269,7 +269,7 @@ public class o {
|
|||
fArr2[3] = (float) Math.tan(Math.toRadians((double) this.k.j()));
|
||||
fArr2[4] = 1.0f;
|
||||
fArr2[8] = 1.0f;
|
||||
this.f296c.setValues(fArr2);
|
||||
this.f297c.setValues(fArr2);
|
||||
d();
|
||||
float[] fArr3 = this.e;
|
||||
fArr3[0] = cos;
|
||||
|
@ -278,8 +278,8 @@ public class o {
|
|||
fArr3[4] = cos;
|
||||
fArr3[8] = 1.0f;
|
||||
this.d.setValues(fArr3);
|
||||
this.f296c.preConcat(this.b);
|
||||
this.d.preConcat(this.f296c);
|
||||
this.f297c.preConcat(this.b);
|
||||
this.d.preConcat(this.f297c);
|
||||
this.a.preConcat(this.d);
|
||||
}
|
||||
a<d, d> aVar3 = this.h;
|
||||
|
|
|
@ -14,7 +14,7 @@ public class a {
|
|||
public final Map<j<String>, Typeface> b = new HashMap();
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Map<String, Typeface> f297c = new HashMap();
|
||||
public final Map<String, Typeface> f298c = new HashMap();
|
||||
public final AssetManager d;
|
||||
public String e = ".ttf";
|
||||
|
||||
|
|
|
@ -18,17 +18,17 @@ public class b {
|
|||
public final Context b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public String f298c;
|
||||
public String f299c;
|
||||
@Nullable
|
||||
public c.c.a.b d;
|
||||
public final Map<String, k> e;
|
||||
|
||||
public b(Drawable.Callback callback, String str, c.c.a.b bVar, Map<String, k> map) {
|
||||
this.f298c = str;
|
||||
this.f299c = str;
|
||||
if (!TextUtils.isEmpty(str)) {
|
||||
String str2 = this.f298c;
|
||||
String str2 = this.f299c;
|
||||
if (str2.charAt(str2.length() - 1) != '/') {
|
||||
this.f298c = a.C(new StringBuilder(), this.f298c, MentionUtilsKt.SLASH_CHAR);
|
||||
this.f299c = a.C(new StringBuilder(), this.f299c, MentionUtilsKt.SLASH_CHAR);
|
||||
}
|
||||
}
|
||||
if (!(callback instanceof View)) {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue