87.6 - Beta (87106)

This commit is contained in:
Juby210 2021-08-10 12:47:20 +02:00
parent 02b39b5eaf
commit ce4ab7fe25
3849 changed files with 57182 additions and 47218 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 86107
versionName "86.7 - Beta"
versionCode 87106
versionName "87.6 - Beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="86107" android:versionName="86.7 - Beta" 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="87106" android:versionName="87.6 - Beta" 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"/>
@ -174,7 +174,7 @@
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
<meta-data android:name="libdiscord_version" android:value="89.0.7-texture-crop-scale"/>
<meta-data android:name="libdiscord_version" android:value="89.0.9-aarch64-opus-optimization"/>
<activity android:theme="@style/res_2131952264_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
<intent-filter>

View File

@ -219,7 +219,7 @@ public final class MediaBrowserCompat {
extras.getInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 0);
IBinder binder = BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER);
if (binder != null) {
dVar.f = new h(binder, dVar.f10c);
dVar.f = new h(binder, dVar.f11c);
Messenger messenger = new Messenger(dVar.d);
dVar.g = messenger;
dVar.d.a(messenger);
@ -302,7 +302,7 @@ public final class MediaBrowserCompat {
public final MediaBrowser b;
/* renamed from: c reason: collision with root package name */
public final Bundle f10c;
public final Bundle f11c;
public final a d = new a(this);
public final ArrayMap<String, i> e = new ArrayMap<>();
public h f;
@ -312,7 +312,7 @@ public final class MediaBrowserCompat {
public d(Context context, ComponentName componentName, b bVar, Bundle bundle) {
this.a = context;
Bundle bundle2 = bundle != null ? new Bundle(bundle) : new Bundle();
this.f10c = bundle2;
this.f11c = bundle2;
bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1);
bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid());
bVar.setInternalConnectionCallback(this);

View File

@ -27,7 +27,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
@GuardedBy("mLock")
/* renamed from: c reason: collision with root package name */
public final List<c> f11c = new ArrayList();
public final List<c> f12c = new ArrayList();
public HashMap<c, a> d = new HashMap<>();
public final MediaSessionCompat.Token e;
@ -108,7 +108,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
@GuardedBy("mLock")
public void a() {
if (this.e.b() != null) {
for (c cVar : this.f11c) {
for (c cVar : this.f12c) {
a aVar = new a(cVar);
this.d.put(cVar, aVar);
cVar.a = aVar;
@ -118,7 +118,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
Log.e("MediaControllerCompat", "Dead object in registerCallback.", e);
}
}
this.f11c.clear();
this.f12c.clear();
}
}
}

View File

@ -22,7 +22,7 @@ public final class PlaybackStateCompat implements Parcelable {
public final long r;
/* renamed from: s reason: collision with root package name */
public final Bundle f12s;
public final Bundle f13s;
public static final class CustomAction implements Parcelable {
public static final Parcelable.Creator<CustomAction> CREATOR = new a();
@ -109,7 +109,7 @@ public final class PlaybackStateCompat implements Parcelable {
this.p = j4;
this.q = new ArrayList(list);
this.r = j5;
this.f12s = bundle;
this.f13s = bundle;
}
public PlaybackStateCompat(Parcel parcel) {
@ -122,7 +122,7 @@ public final class PlaybackStateCompat implements Parcelable {
this.o = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel);
this.q = parcel.createTypedArrayList(CustomAction.CREATOR);
this.r = parcel.readLong();
this.f12s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
this.f13s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
this.n = parcel.readInt();
}
@ -167,7 +167,7 @@ public final class PlaybackStateCompat implements Parcelable {
TextUtils.writeToParcel(this.o, parcel, i);
parcel.writeTypedList(this.q);
parcel.writeLong(this.r);
parcel.writeBundle(this.f12s);
parcel.writeBundle(this.f13s);
parcel.writeInt(this.n);
}
}

View File

@ -754,10 +754,10 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
public int windowAnimations;
/* renamed from: x reason: collision with root package name */
public int f13x;
public int f14x;
/* renamed from: y reason: collision with root package name */
public int f14y;
public int f15y;
@SuppressLint({"BanParcelableUsage"})
public static class SavedState implements Parcelable {
@ -1555,7 +1555,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
if (!(view == null || (layoutParams = view.getLayoutParams()) == null || layoutParams.width != -1)) {
i = -1;
panelFeatureState.isHandled = false;
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f13x, panelFeatureState.f14y, PointerIconCompat.TYPE_HAND, 8519680, -3);
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f14x, panelFeatureState.f15y, PointerIconCompat.TYPE_HAND, 8519680, -3);
layoutParams3.gravity = panelFeatureState.gravity;
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
windowManager.addView(panelFeatureState.decorView, layoutParams3);
@ -1565,7 +1565,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
}
i = -2;
panelFeatureState.isHandled = false;
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f13x, panelFeatureState.f14y, PointerIconCompat.TYPE_HAND, 8519680, -3);
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f14x, panelFeatureState.f15y, PointerIconCompat.TYPE_HAND, 8519680, -3);
layoutParams3.gravity = panelFeatureState.gravity;
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
windowManager.addView(panelFeatureState.decorView, layoutParams3);

View File

@ -49,6 +49,7 @@ import androidx.core.view.ViewCompat;
import androidx.cursoradapter.widget.CursorAdapter;
import androidx.customview.view.AbsSavedState;
import c.d.b.a.a;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.lang.reflect.Method;
import java.util.WeakHashMap;
public class SearchView extends LinearLayoutCompat implements CollapsibleActionView {
@ -776,7 +777,7 @@ public class SearchView extends LinearLayoutCompat implements CollapsibleActionV
columnString3 = this.mSearchable.getSuggestIntentData();
}
if (!(columnString3 == null || (columnString = SuggestionsAdapter.getColumnString(cursor, "suggest_intent_data_id")) == null)) {
columnString3 = columnString3 + "/" + Uri.encode(columnString);
columnString3 = columnString3 + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + Uri.encode(columnString);
}
return createIntent(columnString2, columnString3 == null ? null : Uri.parse(columnString3), SuggestionsAdapter.getColumnString(cursor, "suggest_intent_extra_data"), SuggestionsAdapter.getColumnString(cursor, "suggest_intent_query"), i, str);
} catch (RuntimeException e) {

View File

@ -25,6 +25,7 @@ import androidx.appcompat.R;
import androidx.core.content.ContextCompat;
import androidx.cursoradapter.widget.ResourceCursorAdapter;
import c.d.b.a.a;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
@ -188,7 +189,7 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On
}
try {
int parseInt = Integer.parseInt(str);
String str2 = "android.resource://" + this.mProviderContext.getPackageName() + "/" + parseInt;
String str2 = "android.resource://" + this.mProviderContext.getPackageName() + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + parseInt;
Drawable checkIconCache = checkIconCache(str2);
if (checkIconCache != null) {
return checkIconCache;

View File

@ -45,10 +45,10 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
private float width;
/* renamed from: x reason: collision with root package name */
private float f15x;
private float f16x;
/* renamed from: y reason: collision with root package name */
private float f16y;
private float f17y;
private boolean diff(float f, float f2) {
return (Float.isNaN(f) || Float.isNaN(f2)) ? Float.isNaN(f) != Float.isNaN(f2) : Math.abs(f - f2) > 1.0E-6f;
@ -362,14 +362,14 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
public void different(MotionConstrainedPoint motionConstrainedPoint, boolean[] zArr, String[] strArr) {
zArr[0] = zArr[0] | diff(this.position, motionConstrainedPoint.position);
zArr[1] = zArr[1] | diff(this.f15x, motionConstrainedPoint.f15x);
zArr[2] = zArr[2] | diff(this.f16y, motionConstrainedPoint.f16y);
zArr[1] = zArr[1] | diff(this.f16x, motionConstrainedPoint.f16x);
zArr[2] = zArr[2] | diff(this.f17y, motionConstrainedPoint.f17y);
zArr[3] = zArr[3] | diff(this.width, motionConstrainedPoint.width);
zArr[4] = diff(this.height, motionConstrainedPoint.height) | zArr[4];
}
public void fillStandard(double[] dArr, int[] iArr) {
float[] fArr = {this.position, this.f15x, this.f16y, this.width, this.height, this.alpha, this.elevation, this.rotation, this.rotationX, this.rotationY, this.scaleX, this.scaleY, this.mPivotX, this.mPivotY, this.translationX, this.translationY, this.translationZ, this.mPathRotate};
float[] fArr = {this.position, this.f16x, this.f17y, this.width, this.height, this.alpha, this.elevation, this.rotation, this.rotationX, this.rotationY, this.scaleX, this.scaleY, this.mPivotX, this.mPivotY, this.translationX, this.translationY, this.translationZ, this.mPathRotate};
int i = 0;
for (int i2 = 0; i2 < iArr.length; i2++) {
if (iArr[i2] < 18) {
@ -406,8 +406,8 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
}
public void setBounds(float f, float f2, float f3, float f4) {
this.f15x = f;
this.f16y = f2;
this.f16x = f;
this.f17y = f2;
this.width = f3;
this.height = f4;
}

View File

@ -488,10 +488,10 @@ public class MotionController {
return;
}
MotionPaths motionPaths = this.mEndMotionPath;
float f5 = motionPaths.f18x;
float f5 = motionPaths.f19x;
MotionPaths motionPaths2 = this.mStartMotionPath;
float f6 = f5 - motionPaths2.f18x;
float f7 = motionPaths.f19y - motionPaths2.f19y;
float f6 = f5 - motionPaths2.f19x;
float f7 = motionPaths.f20y - motionPaths2.f20y;
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
}
@ -506,11 +506,11 @@ public class MotionController {
}
public float getFinalX() {
return this.mEndMotionPath.f18x;
return this.mEndMotionPath.f19x;
}
public float getFinalY() {
return this.mEndMotionPath.f19y;
return this.mEndMotionPath.f20y;
}
public MotionPaths getKeyFrame(int i) {
@ -558,12 +558,12 @@ public class MotionController {
public float getKeyFrameParameter(int i, float f, float f2) {
MotionPaths motionPaths = this.mEndMotionPath;
float f3 = motionPaths.f18x;
float f3 = motionPaths.f19x;
MotionPaths motionPaths2 = this.mStartMotionPath;
float f4 = motionPaths2.f18x;
float f4 = motionPaths2.f19x;
float f5 = f3 - f4;
float f6 = motionPaths.f19y;
float f7 = motionPaths2.f19y;
float f6 = motionPaths.f20y;
float f7 = motionPaths2.f20y;
float f8 = f6 - f7;
float f9 = (motionPaths2.width / 2.0f) + f4;
float f10 = (motionPaths2.height / 2.0f) + f7;
@ -601,17 +601,17 @@ public class MotionController {
public KeyPositionBase getPositionKeyframe(int i, int i2, float f, float f2) {
RectF rectF = new RectF();
MotionPaths motionPaths = this.mStartMotionPath;
float f3 = motionPaths.f18x;
float f3 = motionPaths.f19x;
rectF.left = f3;
float f4 = motionPaths.f19y;
float f4 = motionPaths.f20y;
rectF.top = f4;
rectF.right = f3 + motionPaths.width;
rectF.bottom = f4 + motionPaths.height;
RectF rectF2 = new RectF();
MotionPaths motionPaths2 = this.mEndMotionPath;
float f5 = motionPaths2.f18x;
float f5 = motionPaths2.f19x;
rectF2.left = f5;
float f6 = motionPaths2.f19y;
float f6 = motionPaths2.f20y;
rectF2.top = f6;
rectF2.right = f5 + motionPaths2.width;
rectF2.bottom = f6 + motionPaths2.height;
@ -692,10 +692,10 @@ public class MotionController {
}
} else {
MotionPaths motionPaths = this.mEndMotionPath;
float f5 = motionPaths.f18x;
float f5 = motionPaths.f19x;
MotionPaths motionPaths2 = this.mStartMotionPath;
float f6 = f5 - motionPaths2.f18x;
float f7 = motionPaths.f19y - motionPaths2.f19y;
float f6 = f5 - motionPaths2.f19x;
float f7 = motionPaths.f20y - motionPaths2.f20y;
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
velocityMatrix.clear();
@ -710,11 +710,11 @@ public class MotionController {
}
public float getStartX() {
return this.mStartMotionPath.f18x;
return this.mStartMotionPath.f19x;
}
public float getStartY() {
return this.mStartMotionPath.f19y;
return this.mStartMotionPath.f20y;
}
public int getkeyFramePositions(int[] iArr, float[] fArr) {
@ -823,11 +823,11 @@ public class MotionController {
}
} else {
MotionPaths motionPaths = this.mStartMotionPath;
float f2 = motionPaths.f18x;
float f2 = motionPaths.f19x;
MotionPaths motionPaths2 = this.mEndMotionPath;
float a = a.a(motionPaths2.f18x, f2, adjustedPosition, f2);
float f3 = motionPaths.f19y;
float a2 = a.a(motionPaths2.f19y, f3, adjustedPosition, f3);
float a = a.a(motionPaths2.f19x, f2, adjustedPosition, f2);
float f3 = motionPaths.f20y;
float a2 = a.a(motionPaths2.f20y, f3, adjustedPosition, f3);
float f4 = motionPaths.width;
float f5 = motionPaths2.width;
float a3 = a.a(f5, f4, adjustedPosition, f4);
@ -867,17 +867,17 @@ public class MotionController {
public void positionKeyframe(View view, KeyPositionBase keyPositionBase, float f, float f2, String[] strArr, float[] fArr) {
RectF rectF = new RectF();
MotionPaths motionPaths = this.mStartMotionPath;
float f3 = motionPaths.f18x;
float f3 = motionPaths.f19x;
rectF.left = f3;
float f4 = motionPaths.f19y;
float f4 = motionPaths.f20y;
rectF.top = f4;
rectF.right = f3 + motionPaths.width;
rectF.bottom = f4 + motionPaths.height;
RectF rectF2 = new RectF();
MotionPaths motionPaths2 = this.mEndMotionPath;
float f5 = motionPaths2.f18x;
float f5 = motionPaths2.f19x;
rectF2.left = f5;
float f6 = motionPaths2.f19y;
float f6 = motionPaths2.f20y;
rectF2.top = f6;
rectF2.right = f5 + motionPaths2.width;
rectF2.bottom = f6 + motionPaths2.height;
@ -1208,8 +1208,8 @@ public class MotionController {
for (int i20 = 0; i20 < size; i20++) {
iArr6[i20] = motionPathsArr[i20].mPathMotionArc;
dArr5[i20] = (double) motionPathsArr[i20].time;
dArr6[i20][0] = (double) motionPathsArr[i20].f18x;
dArr6[i20][1] = (double) motionPathsArr[i20].f19y;
dArr6[i20][0] = (double) motionPathsArr[i20].f19x;
dArr6[i20][1] = (double) motionPathsArr[i20].f20y;
}
this.mArcSpline = CurveFit.getArc(iArr6, dArr5, dArr6);
}
@ -1243,13 +1243,13 @@ public class MotionController {
public String toString() {
StringBuilder K = a.K(" start: x: ");
K.append(this.mStartMotionPath.f18x);
K.append(this.mStartMotionPath.f19x);
K.append(" y: ");
K.append(this.mStartMotionPath.f19y);
K.append(this.mStartMotionPath.f20y);
K.append(" end: x: ");
K.append(this.mEndMotionPath.f18x);
K.append(this.mEndMotionPath.f19x);
K.append(" y: ");
K.append(this.mEndMotionPath.f19y);
K.append(this.mEndMotionPath.f20y);
return K.toString();
}
}

View File

@ -926,15 +926,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
public static class MyTracker implements MotionTracker {
/* renamed from: me reason: collision with root package name */
private static MyTracker f17me = new MyTracker();
private static MyTracker f18me = new MyTracker();
public VelocityTracker tracker;
private MyTracker() {
}
public static MyTracker obtain() {
f17me.tracker = VelocityTracker.obtain();
return f17me;
f18me.tracker = VelocityTracker.obtain();
return f18me;
}
@Override // androidx.constraintlayout.motion.widget.MotionLayout.MotionTracker

View File

@ -39,10 +39,10 @@ public class MotionPaths implements Comparable<MotionPaths> {
public float width;
/* renamed from: x reason: collision with root package name */
public float f18x;
public float f19x;
/* renamed from: y reason: collision with root package name */
public float f19y;
public float f20y;
public MotionPaths() {
this.mDrawPath = 0;
@ -107,14 +107,14 @@ public class MotionPaths implements Comparable<MotionPaths> {
public void different(MotionPaths motionPaths, boolean[] zArr, String[] strArr, boolean z2) {
zArr[0] = zArr[0] | diff(this.position, motionPaths.position);
zArr[1] = zArr[1] | diff(this.f18x, motionPaths.f18x) | z2;
zArr[2] = z2 | diff(this.f19y, motionPaths.f19y) | zArr[2];
zArr[1] = zArr[1] | diff(this.f19x, motionPaths.f19x) | z2;
zArr[2] = z2 | diff(this.f20y, motionPaths.f20y) | zArr[2];
zArr[3] = zArr[3] | diff(this.width, motionPaths.width);
zArr[4] = diff(this.height, motionPaths.height) | zArr[4];
}
public void fillStandard(double[] dArr, int[] iArr) {
float[] fArr = {this.position, this.f18x, this.f19y, this.width, this.height, this.mPathRotate};
float[] fArr = {this.position, this.f19x, this.f20y, this.width, this.height, this.mPathRotate};
int i = 0;
for (int i2 = 0; i2 < iArr.length; i2++) {
if (iArr[i2] < 6) {
@ -141,8 +141,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
}
public void getCenter(int[] iArr, double[] dArr, float[] fArr, int i) {
float f = this.f18x;
float f2 = this.f19y;
float f = this.f19x;
float f2 = this.f20y;
float f3 = this.width;
float f4 = this.height;
for (int i2 = 0; i2 < iArr.length; i2++) {
@ -185,8 +185,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
}
public void getRect(int[] iArr, double[] dArr, float[] fArr, int i) {
float f = this.f18x;
float f2 = this.f19y;
float f = this.f19x;
float f2 = this.f20y;
float f3 = this.width;
float f4 = this.height;
for (int i2 = 0; i2 < iArr.length; i2++) {
@ -239,17 +239,17 @@ public class MotionPaths implements Comparable<MotionPaths> {
float f8 = motionPaths.height;
float f9 = f7 - f8;
this.position = this.time;
float f10 = motionPaths.f18x;
float f11 = motionPaths.f19y;
float f12 = ((f4 / 2.0f) + motionPaths2.f18x) - ((f5 / 2.0f) + f10);
float f13 = ((f7 / 2.0f) + motionPaths2.f19y) - ((f8 / 2.0f) + f11);
float f10 = motionPaths.f19x;
float f11 = motionPaths.f20y;
float f12 = ((f4 / 2.0f) + motionPaths2.f19x) - ((f5 / 2.0f) + f10);
float f13 = ((f7 / 2.0f) + motionPaths2.f20y) - ((f8 / 2.0f) + f11);
float f14 = f6 * f2;
float f15 = f14 / 2.0f;
this.f18x = (float) ((int) (((f12 * f) + f10) - f15));
this.f19x = (float) ((int) (((f12 * f) + f10) - f15));
float f16 = (f13 * f) + f11;
float f17 = f9 * f3;
float f18 = f17 / 2.0f;
this.f19y = (float) ((int) (f16 - f18));
this.f20y = (float) ((int) (f16 - f18));
this.width = (float) ((int) (f5 + f14));
this.height = (float) ((int) (f8 + f17));
float f19 = Float.isNaN(keyPosition.mPercentX) ? f : keyPosition.mPercentX;
@ -262,8 +262,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
f20 = keyPosition.mAltPercentX;
}
this.mMode = 2;
this.f18x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f18x)) - f15));
this.f19y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f19y)) - f18));
this.f19x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f19x)) - f15));
this.f20y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f20y)) - f18));
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
this.mPathMotionArc = keyPosition.mPathMotionArc;
}
@ -280,30 +280,30 @@ public class MotionPaths implements Comparable<MotionPaths> {
if (!Float.isNaN(keyPosition.mPercentX)) {
f = keyPosition.mPercentX;
}
float f6 = motionPaths.f18x;
float f6 = motionPaths.f19x;
float f7 = motionPaths.width;
float f8 = motionPaths.f19y;
float f8 = motionPaths.f20y;
float f9 = motionPaths.height;
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f18x) - ((f7 / 2.0f) + f6);
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f19y) - ((f9 / 2.0f) + f8);
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f19x) - ((f7 / 2.0f) + f6);
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f20y) - ((f9 / 2.0f) + f8);
float f12 = f10 * f;
float f13 = f4 * f2;
float f14 = f13 / 2.0f;
this.f18x = (float) ((int) ((f6 + f12) - f14));
this.f19x = (float) ((int) ((f6 + f12) - f14));
float f15 = f * f11;
float f16 = f5 * f3;
float f17 = f16 / 2.0f;
this.f19y = (float) ((int) ((f8 + f15) - f17));
this.f20y = (float) ((int) ((f8 + f15) - f17));
this.width = (float) ((int) (f7 + f13));
this.height = (float) ((int) (f9 + f16));
float f18 = Float.isNaN(keyPosition.mPercentY) ? 0.0f : keyPosition.mPercentY;
this.mMode = 1;
float f19 = (float) ((int) ((motionPaths.f18x + f12) - f14));
this.f18x = f19;
float f20 = (float) ((int) ((motionPaths.f19y + f15) - f17));
this.f19y = f20;
this.f18x = f19 + ((-f11) * f18);
this.f19y = f20 + (f10 * f18);
float f19 = (float) ((int) ((motionPaths.f19x + f12) - f14));
this.f19x = f19;
float f20 = (float) ((int) ((motionPaths.f20y + f15) - f17));
this.f20y = f20;
this.f19x = f19 + ((-f11) * f18);
this.f20y = f20 + (f10 * f18);
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
this.mPathMotionArc = keyPosition.mPathMotionArc;
}
@ -321,30 +321,30 @@ public class MotionPaths implements Comparable<MotionPaths> {
float f8 = motionPaths.height;
float f9 = f7 - f8;
this.position = this.time;
float f10 = motionPaths.f18x;
float f11 = motionPaths.f19y;
float f12 = (f4 / 2.0f) + motionPaths2.f18x;
float f13 = (f7 / 2.0f) + motionPaths2.f19y;
float f10 = motionPaths.f19x;
float f11 = motionPaths.f20y;
float f12 = (f4 / 2.0f) + motionPaths2.f19x;
float f13 = (f7 / 2.0f) + motionPaths2.f20y;
float f14 = f6 * f2;
this.f18x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
this.f19x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
float f15 = f9 * f3;
this.f19y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
this.f20y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
this.width = (float) ((int) (f5 + f14));
this.height = (float) ((int) (f8 + f15));
this.mMode = 3;
if (!Float.isNaN(keyPosition.mPercentX)) {
this.f18x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
this.f19x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
}
if (!Float.isNaN(keyPosition.mPercentY)) {
this.f19y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
this.f20y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
}
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
this.mPathMotionArc = keyPosition.mPathMotionArc;
}
public void setBounds(float f, float f2, float f3, float f4) {
this.f18x = f;
this.f19y = f2;
this.f19x = f;
this.f20y = f2;
this.width = f3;
this.height = f4;
}
@ -376,8 +376,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
public void setView(View view, int[] iArr, double[] dArr, double[] dArr2, double[] dArr3) {
float f;
float f2 = this.f18x;
float f3 = this.f19y;
float f2 = this.f19x;
float f3 = this.f20y;
float f4 = this.width;
float f5 = this.height;
if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) {

View File

@ -25,6 +25,7 @@ import androidx.constraintlayout.widget.R;
import androidx.constraintlayout.widget.StateSet;
import c.d.b.a.a;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import com.google.android.material.shadow.ShadowDrawableWrapper;
import java.io.IOException;
import java.io.PrintStream;
@ -389,7 +390,7 @@ public class MotionScene {
} else if (i2 == 3) {
String string = typedArray.getString(index);
this.mDefaultInterpolatorString = string;
if (string.indexOf("/") > 0) {
if (string.indexOf(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) > 0) {
this.mDefaultInterpolatorID = typedArray.getResourceId(index, -1);
this.mDefaultInterpolator = -2;
} else {
@ -545,7 +546,7 @@ public class MotionScene {
private int getId(Context context, String str) {
int i;
if (str.contains("/")) {
if (str.contains(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)) {
i = context.getResources().getIdentifier(str.substring(str.indexOf(47) + 1), ModelAuditLogEntry.CHANGE_KEY_ID, context.getPackageName());
if (this.DEBUG_DESKTOP) {
PrintStream printStream = System.out;

View File

@ -34,7 +34,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
if (i == -1) {
this.mHead = 0;
this.mArrayValues[0] = f;
this.mArrayIndices[0] = solverVariable.f20id;
this.mArrayIndices[0] = solverVariable.f21id;
this.mArrayNextIndices[0] = -1;
solverVariable.usageInRowCount++;
solverVariable.addToRow(this.mRow);
@ -57,7 +57,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
while (i != -1 && i3 < this.currentSize) {
int[] iArr2 = this.mArrayIndices;
int i5 = iArr2[i];
int i6 = solverVariable.f20id;
int i6 = solverVariable.f21id;
if (i5 == i6) {
float[] fArr = this.mArrayValues;
float f3 = fArr[i] + f;
@ -127,7 +127,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
}
this.mArrayIndices[i7] = solverVariable.f20id;
this.mArrayIndices[i7] = solverVariable.f21id;
this.mArrayValues[i7] = f;
if (i4 != -1) {
int[] iArr8 = this.mArrayNextIndices;
@ -178,7 +178,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
}
int i2 = 0;
while (i != -1 && i2 < this.currentSize) {
if (this.mArrayIndices[i] == solverVariable.f20id) {
if (this.mArrayIndices[i] == solverVariable.f21id) {
return true;
}
i = this.mArrayNextIndices[i];
@ -218,7 +218,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
int i = this.mHead;
int i2 = 0;
while (i != -1 && i2 < this.currentSize) {
if (this.mArrayIndices[i] == solverVariable.f20id) {
if (this.mArrayIndices[i] == solverVariable.f21id) {
return this.mArrayValues[i];
}
i = this.mArrayNextIndices[i];
@ -318,7 +318,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
}
int i2 = 0;
while (i != -1 && i2 < this.currentSize) {
if (this.mArrayIndices[i] == solverVariable.f20id) {
if (this.mArrayIndices[i] == solverVariable.f21id) {
return i;
}
i = this.mArrayNextIndices[i];
@ -349,7 +349,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
if (i == -1) {
this.mHead = 0;
this.mArrayValues[0] = f;
this.mArrayIndices[0] = solverVariable.f20id;
this.mArrayIndices[0] = solverVariable.f21id;
this.mArrayNextIndices[0] = -1;
solverVariable.usageInRowCount++;
solverVariable.addToRow(this.mRow);
@ -372,7 +372,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
while (i != -1 && i3 < this.currentSize) {
int[] iArr2 = this.mArrayIndices;
int i5 = iArr2[i];
int i6 = solverVariable.f20id;
int i6 = solverVariable.f21id;
if (i5 == i6) {
this.mArrayValues[i] = f;
return;
@ -419,7 +419,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
}
this.mArrayIndices[i7] = solverVariable.f20id;
this.mArrayIndices[i7] = solverVariable.f21id;
this.mArrayValues[i7] = f;
if (i4 != -1) {
int[] iArr7 = this.mArrayNextIndices;
@ -458,7 +458,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
int i2 = 0;
int i3 = -1;
while (i != -1 && i2 < this.currentSize) {
if (this.mArrayIndices[i] == solverVariable.f20id) {
if (this.mArrayIndices[i] == solverVariable.f21id) {
if (i == this.mHead) {
this.mHead = this.mArrayNextIndices[i];
} else {

View File

@ -66,7 +66,7 @@ public class ArrayRow implements LinearSystem.Row {
float variableValue = this.variables.getVariableValue(i);
if (variableValue < 0.0f) {
SolverVariable variable = this.variables.getVariable(i);
if ((zArr == null || !zArr[variable.f20id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
if ((zArr == null || !zArr[variable.f21id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
f = variableValue;
solverVariable2 = variable;
}

View File

@ -4,6 +4,7 @@ import androidx.constraintlayout.solver.SolverVariable;
import androidx.constraintlayout.solver.widgets.ConstraintAnchor;
import androidx.constraintlayout.solver.widgets.ConstraintWidget;
import c.d.b.a.a;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.PrintStream;
import java.util.Arrays;
import java.util.HashMap;
@ -205,7 +206,7 @@ public class LinearSystem {
int i = this.mVariablesID + 1;
this.mVariablesID = i;
this.mNumColumns++;
acquireSolverVariable.f20id = i;
acquireSolverVariable.f21id = i;
if (this.mVariables == null) {
this.mVariables = new HashMap<>();
}
@ -280,7 +281,7 @@ public class LinearSystem {
while (i9 < i7) {
float f3 = variable.strengthVector[i9] / f2;
if ((f3 < f && i9 == i5) || i9 > i5) {
i4 = variable.f20id;
i4 = variable.f21id;
i5 = i9;
i3 = i6;
f = f3;
@ -386,12 +387,12 @@ public class LinearSystem {
return i2;
}
if (row.getKey() != null) {
this.mAlreadyTestedCandidates[row.getKey().f20id] = true;
this.mAlreadyTestedCandidates[row.getKey().f21id] = true;
}
SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates);
if (pivotCandidate != null) {
boolean[] zArr = this.mAlreadyTestedCandidates;
int i3 = pivotCandidate.f20id;
int i3 = pivotCandidate.f21id;
if (zArr[i3]) {
return i2;
}
@ -593,7 +594,7 @@ public class LinearSystem {
solverVariable.setFinalValue(this, f);
for (int i3 = 0; i3 < this.mVariablesID + 1; i3++) {
SolverVariable solverVariable2 = this.mCache.mIndexedVariables[i3];
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f20id) {
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f21id) {
solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f);
}
}
@ -714,7 +715,7 @@ public class LinearSystem {
int i2 = this.mVariablesID + 1;
this.mVariablesID = i2;
this.mNumColumns++;
acquireSolverVariable.f20id = i2;
acquireSolverVariable.f21id = i2;
acquireSolverVariable.strength = i;
this.mCache.mIndexedVariables[i2] = acquireSolverVariable;
this.mGoal.addError(acquireSolverVariable);
@ -733,7 +734,7 @@ public class LinearSystem {
int i = this.mVariablesID + 1;
this.mVariablesID = i;
this.mNumColumns++;
acquireSolverVariable.f20id = i;
acquireSolverVariable.f21id = i;
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
return acquireSolverVariable;
}
@ -753,7 +754,7 @@ public class LinearSystem {
constraintAnchor.resetSolverVariable(this.mCache);
solverVariable = constraintAnchor.getSolverVariable();
}
int i = solverVariable.f20id;
int i = solverVariable.f21id;
if (i == -1 || i > this.mVariablesID || this.mCache.mIndexedVariables[i] == null) {
if (i != -1) {
solverVariable.reset();
@ -761,7 +762,7 @@ public class LinearSystem {
int i2 = this.mVariablesID + 1;
this.mVariablesID = i2;
this.mNumColumns++;
solverVariable.f20id = i2;
solverVariable.f21id = i2;
solverVariable.mType = SolverVariable.Type.UNRESTRICTED;
this.mCache.mIndexedVariables[i2] = solverVariable;
}
@ -804,7 +805,7 @@ public class LinearSystem {
int i = this.mVariablesID + 1;
this.mVariablesID = i;
this.mNumColumns++;
acquireSolverVariable.f20id = i;
acquireSolverVariable.f21id = i;
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
return acquireSolverVariable;
}
@ -868,11 +869,11 @@ public class LinearSystem {
K.append(getDisplaySize(i3));
K.append(" rows: ");
K.append(this.mNumRows);
K.append("/");
K.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
K.append(this.mMaxRows);
K.append(" cols: ");
K.append(this.mNumColumns);
K.append("/");
K.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
K.append(this.mMaxColumns);
K.append(" ");
K.append(0);

View File

@ -21,7 +21,7 @@ public class PriorityGoalRow extends ArrayRow {
}
public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) {
return solverVariable.f20id - solverVariable2.f20id;
return solverVariable.f21id - solverVariable2.f21id;
}
}
@ -77,7 +77,7 @@ public class PriorityGoalRow extends ArrayRow {
@Override // java.lang.Comparable
public int compareTo(Object obj) {
return this.variable.f20id - ((SolverVariable) obj).f20id;
return this.variable.f21id - ((SolverVariable) obj).f21id;
}
public void init(SolverVariable solverVariable) {
@ -167,7 +167,7 @@ public class PriorityGoalRow extends ArrayRow {
solverVariableArr3[i3] = solverVariable;
int i4 = i3 + 1;
this.numGoals = i4;
if (i4 > 1 && solverVariableArr3[i4 - 1].f20id > solverVariable.f20id) {
if (i4 > 1 && solverVariableArr3[i4 - 1].f21id > solverVariable.f21id) {
int i5 = 0;
while (true) {
i = this.numGoals;
@ -228,7 +228,7 @@ public class PriorityGoalRow extends ArrayRow {
int i = -1;
for (int i2 = 0; i2 < this.numGoals; i2++) {
SolverVariable solverVariable = this.arrayGoals[i2];
if (!zArr[solverVariable.f20id]) {
if (!zArr[solverVariable.f21id]) {
this.accessor.init(solverVariable);
if (i == -1) {
if (!this.accessor.isNegative()) {

View File

@ -28,7 +28,7 @@ public class SolverVariable {
public float[] goalStrengthVector;
/* renamed from: id reason: collision with root package name */
public int f20id;
public int f21id;
public boolean inGoal;
public HashSet<ArrayRow> inRows;
public boolean isFinalValue;
@ -83,7 +83,7 @@ public class SolverVariable {
}
public SolverVariable(Type type, String str) {
this.f20id = -1;
this.f21id = -1;
this.definitionId = -1;
this.strength = 0;
this.isFinalValue = false;
@ -100,7 +100,7 @@ public class SolverVariable {
}
public SolverVariable(String str, Type type) {
this.f20id = -1;
this.f21id = -1;
this.definitionId = -1;
this.strength = 0;
this.isFinalValue = false;
@ -217,7 +217,7 @@ public class SolverVariable {
this.mName = null;
this.mType = Type.UNKNOWN;
this.strength = 0;
this.f20id = -1;
this.f21id = -1;
this.definitionId = -1;
this.computedValue = 0.0f;
this.isFinalValue = false;
@ -254,7 +254,7 @@ public class SolverVariable {
public void setSynonym(LinearSystem linearSystem, SolverVariable solverVariable, float f) {
this.isSynonym = true;
this.synonym = solverVariable.f20id;
this.synonym = solverVariable.f21id;
this.synonymDelta = f;
int i = this.mClientEquationsCount;
this.definitionId = -1;
@ -303,7 +303,7 @@ public class SolverVariable {
return K.toString();
}
StringBuilder K2 = a.K("");
K2.append(this.f20id);
K2.append(this.f21id);
return K2.toString();
}

View File

@ -30,7 +30,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
private void addToHashMap(SolverVariable solverVariable, int i) {
int[] iArr;
int i2 = solverVariable.f20id % this.HASH_SIZE;
int i2 = solverVariable.f21id % this.HASH_SIZE;
int[] iArr2 = this.keys;
int i3 = iArr2[i2];
if (i3 == -1) {
@ -49,7 +49,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
}
private void addVariable(int i, SolverVariable solverVariable, float f) {
this.variables[i] = solverVariable.f20id;
this.variables[i] = solverVariable.f21id;
this.values[i] = f;
this.previous[i] = -1;
this.next[i] = -1;
@ -129,7 +129,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
private void removeFromHashMap(SolverVariable solverVariable) {
int[] iArr;
int i = solverVariable.f20id;
int i = solverVariable.f21id;
int i2 = i % this.HASH_SIZE;
int[] iArr2 = this.keys;
int i3 = iArr2[i2];
@ -281,7 +281,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
public int indexOf(SolverVariable solverVariable) {
int[] iArr;
if (!(this.mCount == 0 || solverVariable == null)) {
int i = solverVariable.f20id;
int i = solverVariable.f21id;
int i2 = this.keys[i % this.HASH_SIZE];
if (i2 == -1) {
return -1;
@ -341,7 +341,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
for (int i4 = 0; i4 < i; i4++) {
int[] iArr = this.variables;
int i5 = iArr[i2];
int i6 = solverVariable.f20id;
int i6 = solverVariable.f21id;
if (i5 == i6) {
this.values[i2] = f;
return;

View File

@ -4,28 +4,28 @@ public class Rectangle {
public int width;
/* renamed from: x reason: collision with root package name */
public int f21x;
public int f22x;
/* renamed from: y reason: collision with root package name */
public int f22y;
public int f23y;
public boolean contains(int i, int i2) {
int i3;
int i4 = this.f21x;
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f22y) && i2 < i3 + this.height;
int i4 = this.f22x;
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f23y) && i2 < i3 + this.height;
}
public int getCenterX() {
return (this.f21x + this.width) / 2;
return (this.f22x + this.width) / 2;
}
public int getCenterY() {
return (this.f22y + this.height) / 2;
return (this.f23y + this.height) / 2;
}
public void grow(int i, int i2) {
this.f21x -= i;
this.f22y -= i2;
this.f22x -= i;
this.f23y -= i2;
this.width = (i * 2) + this.width;
this.height = (i2 * 2) + this.height;
}
@ -33,14 +33,14 @@ public class Rectangle {
public boolean intersects(Rectangle rectangle) {
int i;
int i2;
int i3 = this.f21x;
int i4 = rectangle.f21x;
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f22y) >= (i2 = rectangle.f22y) && i < i2 + rectangle.height;
int i3 = this.f22x;
int i4 = rectangle.f22x;
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f23y) >= (i2 = rectangle.f23y) && i < i2 + rectangle.height;
}
public void setBounds(int i, int i2, int i3, int i4) {
this.f21x = i;
this.f22y = i2;
this.f22x = i;
this.f23y = i2;
this.width = i3;
this.height = i4;
}

View File

@ -8,6 +8,7 @@ import androidx.constraintlayout.solver.widgets.Guideline;
import androidx.constraintlayout.solver.widgets.HelperWidget;
import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure;
import c.d.b.a.a;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.HashSet;
@ -469,7 +470,7 @@ public class DependencyGraph {
if (runGroup != null) {
StringBuilder K = a.K(" [");
K.append(runGroup.groupIndex + 1);
K.append("/");
K.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
str2 = a.w(K, RunGroup.index, "]");
} else {
str2 = "";

View File

@ -19,7 +19,7 @@ public class Grouping {
int findGroupInDependents;
int i2 = i == 0 ? constraintWidget.horizontalGroup : constraintWidget.verticalGroup;
int i3 = 0;
if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f23id)) {
if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f24id)) {
int i4 = 0;
while (true) {
if (i4 >= arrayList.size()) {
@ -87,7 +87,7 @@ public class Grouping {
int size = arrayList.size();
for (int i2 = 0; i2 < size; i2++) {
WidgetGroup widgetGroup = arrayList.get(i2);
if (i == widgetGroup.f23id) {
if (i == widgetGroup.f24id) {
return widgetGroup;
}
}

View File

@ -14,7 +14,7 @@ public class WidgetGroup {
public boolean authoritative = false;
/* renamed from: id reason: collision with root package name */
public int f23id = -1;
public int f24id = -1;
private int moveTo = -1;
public int orientation = 0;
public ArrayList<MeasureResult> results = null;
@ -50,7 +50,7 @@ public class WidgetGroup {
public WidgetGroup(int i) {
int i2 = count;
count = i2 + 1;
this.f23id = i2;
this.f24id = i2;
this.orientation = i;
}
@ -128,7 +128,7 @@ public class WidgetGroup {
if (this.moveTo != -1 && size > 0) {
for (int i = 0; i < arrayList.size(); i++) {
WidgetGroup widgetGroup = arrayList.get(i);
if (this.moveTo == widgetGroup.f23id) {
if (this.moveTo == widgetGroup.f24id) {
moveTo(this.orientation, widgetGroup);
}
}
@ -143,7 +143,7 @@ public class WidgetGroup {
}
public int getId() {
return this.f23id;
return this.f24id;
}
public int getOrientation() {
@ -181,7 +181,7 @@ public class WidgetGroup {
next.verticalGroup = widgetGroup.getId();
}
}
this.moveTo = widgetGroup.f23id;
this.moveTo = widgetGroup.f24id;
}
public void setAuthoritative(boolean z2) {
@ -200,7 +200,7 @@ public class WidgetGroup {
StringBuilder sb = new StringBuilder();
sb.append(getOrientationString());
sb.append(" [");
String w = a.w(sb, this.f23id, "] <");
String w = a.w(sb, this.f24id, "] <");
Iterator<ConstraintWidget> it = this.widgets.iterator();
while (it.hasNext()) {
StringBuilder O = a.O(w, " ");

View File

@ -26,6 +26,7 @@ import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure;
import androidx.core.internal.view.SupportMenu;
import androidx.core.view.ViewCompat;
import androidx.exifinterface.media.ExifInterface;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.util.ArrayList;
import java.util.HashMap;
public class ConstraintLayout extends ViewGroup {
@ -1803,7 +1804,7 @@ public class ConstraintLayout extends ViewGroup {
this.mDesignIds = new HashMap<>();
}
String str = (String) obj;
int indexOf = str.indexOf("/");
int indexOf = str.indexOf(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
if (indexOf != -1) {
str = str.substring(indexOf + 1);
}

View File

@ -7,6 +7,7 @@ import android.util.Log;
import android.util.SparseArray;
import android.util.Xml;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.IOException;
import java.util.ArrayList;
import org.xmlpull.v1.XmlPullParser;
@ -192,7 +193,7 @@ public class ConstraintLayoutStates {
for (int i = 0; i < attributeCount; i++) {
if (ModelAuditLogEntry.CHANGE_KEY_ID.equals(xmlPullParser.getAttributeName(i))) {
String attributeValue = xmlPullParser.getAttributeValue(i);
int identifier = attributeValue.contains("/") ? context.getResources().getIdentifier(attributeValue.substring(attributeValue.indexOf(47) + 1), ModelAuditLogEntry.CHANGE_KEY_ID, context.getPackageName()) : -1;
int identifier = attributeValue.contains(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) ? context.getResources().getIdentifier(attributeValue.substring(attributeValue.indexOf(47) + 1), ModelAuditLogEntry.CHANGE_KEY_ID, context.getPackageName()) : -1;
if (identifier == -1) {
if (attributeValue.length() > 1) {
identifier = Integer.parseInt(attributeValue.substring(1));

View File

@ -67,20 +67,20 @@ public final class NotificationManagerCompat {
public final boolean all;
/* renamed from: id reason: collision with root package name */
public final int f24id;
public final int f25id;
public final String packageName;
public final String tag;
public CancelTask(String str) {
this.packageName = str;
this.f24id = 0;
this.f25id = 0;
this.tag = null;
this.all = true;
}
public CancelTask(String str, int i, String str2) {
this.packageName = str;
this.f24id = i;
this.f25id = i;
this.tag = str2;
this.all = false;
}
@ -90,7 +90,7 @@ public final class NotificationManagerCompat {
if (this.all) {
aVar.cancelAll(this.packageName);
} else {
aVar.cancel(this.packageName, this.f24id, this.tag);
aVar.cancel(this.packageName, this.f25id, this.tag);
}
}
@ -100,7 +100,7 @@ public final class NotificationManagerCompat {
sb.append("packageName:");
sb.append(this.packageName);
sb.append(", id:");
sb.append(this.f24id);
sb.append(this.f25id);
sb.append(", tag:");
sb.append(this.tag);
sb.append(", all:");
@ -111,21 +111,21 @@ public final class NotificationManagerCompat {
public static class NotifyTask implements Task {
/* renamed from: id reason: collision with root package name */
public final int f25id;
public final int f26id;
public final Notification notif;
public final String packageName;
public final String tag;
public NotifyTask(String str, int i, String str2, Notification notification) {
this.packageName = str;
this.f25id = i;
this.f26id = i;
this.tag = str2;
this.notif = notification;
}
@Override // androidx.core.app.NotificationManagerCompat.Task
public void send(a aVar) throws RemoteException {
aVar.notify(this.packageName, this.f25id, this.tag, this.notif);
aVar.notify(this.packageName, this.f26id, this.tag, this.notif);
}
@NonNull
@ -134,7 +134,7 @@ public final class NotificationManagerCompat {
sb.append("packageName:");
sb.append(this.packageName);
sb.append(", id:");
sb.append(this.f25id);
sb.append(this.f26id);
sb.append(", tag:");
return c.d.b.a.a.C(sb, this.tag, "]");
}

View File

@ -17,6 +17,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import c.d.b.a.a;
import com.discord.widgets.chat.input.MentionUtilsKt;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
@ -27,7 +28,7 @@ public class FileProvider extends ContentProvider {
private static final String ATTR_NAME = "name";
private static final String ATTR_PATH = "path";
private static final String[] COLUMNS = {"_display_name", "_size"};
private static final File DEVICE_ROOT = new File("/");
private static final File DEVICE_ROOT = new File(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
private static final String META_DATA_FILE_PROVIDER_PATHS = "android.support.FILE_PROVIDER_PATHS";
private static final String TAG_CACHE_PATH = "cache-path";
private static final String TAG_EXTERNAL = "external-path";
@ -102,8 +103,8 @@ public class FileProvider extends ContentProvider {
}
if (entry != null) {
String path2 = entry.getValue().getPath();
String substring = path2.endsWith("/") ? canonicalPath.substring(path2.length()) : canonicalPath.substring(path2.length() + 1);
return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + MentionUtilsKt.SLASH_CHAR + Uri.encode(substring, "/")).build();
String substring = path2.endsWith(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) ? canonicalPath.substring(path2.length()) : canonicalPath.substring(path2.length() + 1);
return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + MentionUtilsKt.SLASH_CHAR + Uri.encode(substring, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)).build();
}
throw new IllegalArgumentException(a.s("Failed to find configured root that contains ", canonicalPath));
} catch (IOException unused) {

View File

@ -2,6 +2,7 @@ package androidx.core.content;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.util.ArrayList;
public final class MimeTypeFilter {
private MimeTypeFilter() {
@ -12,9 +13,9 @@ public final class MimeTypeFilter {
if (str == null) {
return null;
}
String[] split = str.split("/");
String[] split = str.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
for (String str2 : strArr) {
if (mimeTypeAgainstFilter(split, str2.split("/"))) {
if (mimeTypeAgainstFilter(split, str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN))) {
return str2;
}
}
@ -26,9 +27,9 @@ public final class MimeTypeFilter {
if (strArr == null) {
return null;
}
String[] split = str.split("/");
String[] split = str.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
for (String str2 : strArr) {
if (mimeTypeAgainstFilter(str2.split("/"), split)) {
if (mimeTypeAgainstFilter(str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN), split)) {
return str2;
}
}
@ -39,7 +40,7 @@ public final class MimeTypeFilter {
if (str == null) {
return false;
}
return mimeTypeAgainstFilter(str.split("/"), str2.split("/"));
return mimeTypeAgainstFilter(str.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN), str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN));
}
@NonNull
@ -48,9 +49,9 @@ public final class MimeTypeFilter {
return new String[0];
}
ArrayList arrayList = new ArrayList();
String[] split = str.split("/");
String[] split = str.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
for (String str2 : strArr) {
if (mimeTypeAgainstFilter(str2.split("/"), split)) {
if (mimeTypeAgainstFilter(str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN), split)) {
arrayList.add(str2);
}
}

View File

@ -40,6 +40,7 @@ import androidx.core.util.Preconditions;
import androidx.core.view.ViewCompat;
import androidx.versionedparcelable.CustomVersionedParcelable;
import c.d.b.a.a;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
@ -537,12 +538,12 @@ public class IconCompat extends CustomVersionedParcelable {
String str = (String) this.mObj1;
if (str.contains(":")) {
String str2 = str.split(":", -1)[1];
String str3 = str2.split("/", -1)[0];
String str4 = str2.split("/", -1)[1];
String str3 = str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1)[0];
String str4 = str2.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1)[1];
String str5 = str.split(":", -1)[0];
int identifier = getResources(context, str5).getIdentifier(str4, str3, str5);
if (this.mInt1 != identifier) {
Log.i(TAG, "Id has changed for " + str5 + "/" + str4);
Log.i(TAG, "Id has changed for " + str5 + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + str4);
this.mInt1 = identifier;
}
}

View File

@ -19,6 +19,7 @@ import androidx.core.view.InputDeviceCompat;
import androidx.media.AudioAttributesCompat;
import c.d.b.a.a;
import com.discord.widgets.chat.input.MentionUtilsKt;
import com.discord.widgets.chat.input.autocomplete.AutocompleteViewModel;
import com.google.android.material.badge.BadgeDrawable;
import com.google.android.material.shadow.ShadowDrawableWrapper;
import com.google.android.material.snackbar.BaseTransientBottomBar;
@ -1445,7 +1446,7 @@ public class ExifInterface {
}
public String toString() {
return this.numerator + "/" + this.denominator;
return this.numerator + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + this.denominator;
}
}
@ -1671,10 +1672,10 @@ public class ExifInterface {
private static double convertRationalLatLonToDouble(String str, String str2) {
try {
String[] split = str.split(",", -1);
String[] split2 = split[0].split("/", -1);
String[] split2 = split[0].split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1);
double parseDouble = Double.parseDouble(split2[0].trim()) / Double.parseDouble(split2[1].trim());
String[] split3 = split[1].split("/", -1);
String[] split4 = split[2].split("/", -1);
String[] split3 = split[1].split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1);
String[] split4 = split[2].split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1);
double parseDouble2 = ((Double.parseDouble(split4[0].trim()) / Double.parseDouble(split4[1].trim())) / 3600.0d) + ((Double.parseDouble(split3[0].trim()) / Double.parseDouble(split3[1].trim())) / 60.0d) + parseDouble;
if (!str2.equals(LATITUDE_SOUTH)) {
if (!str2.equals(LONGITUDE_WEST)) {
@ -2311,8 +2312,8 @@ public class ExifInterface {
}
}
return guessDataFormat;
} else if (str.contains("/")) {
String[] split2 = str.split("/", -1);
} else if (str.contains(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)) {
String[] split2 = str.split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1);
if (split2.length == 2) {
try {
long parseDouble = (long) Double.parseDouble(split2[0]);
@ -4769,7 +4770,7 @@ public class ExifInterface {
Rational[] rationalArr = new Rational[split3.length];
int i10 = 0;
while (i10 < split3.length) {
String[] split4 = split3[i10].split("/", i5);
String[] split4 = split3[i10].split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, i5);
rationalArr[i10] = new Rational((long) Double.parseDouble(split4[0]), (long) Double.parseDouble(split4[1]));
i10++;
i5 = -1;
@ -4799,7 +4800,7 @@ public class ExifInterface {
Rational[] rationalArr2 = new Rational[split6.length];
int i12 = 0;
while (i12 < split6.length) {
String[] split7 = split6[i12].split("/", -1);
String[] split7 = split6[i12].split(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, -1);
rationalArr2[i12] = new Rational((long) Double.parseDouble(split7[c2]), (long) Double.parseDouble(split7[i3]));
i12++;
c2 = 0;

View File

@ -17,8 +17,8 @@ public class DiffUtil {
/* renamed from: androidx.recyclerview.widget.DiffUtil$1 reason: invalid class name */
public static class AnonymousClass1 implements Comparator<Snake> {
public int compare(Snake snake, Snake snake2) {
int i = snake.f26x - snake2.f26x;
return i == 0 ? snake.f27y - snake2.f27y : i;
int i = snake.f27x - snake2.f27x;
return i == 0 ? snake.f28y - snake2.f28y : i;
}
}
@ -70,10 +70,10 @@ public class DiffUtil {
private void addRootSnake() {
Snake snake = this.mSnakes.isEmpty() ? null : this.mSnakes.get(0);
if (snake == null || snake.f26x != 0 || snake.f27y != 0) {
if (snake == null || snake.f27x != 0 || snake.f28y != 0) {
Snake snake2 = new Snake();
snake2.f26x = 0;
snake2.f27y = 0;
snake2.f27x = 0;
snake2.f28y = 0;
snake2.removal = false;
snake2.size = 0;
snake2.reverse = false;
@ -161,10 +161,10 @@ public class DiffUtil {
}
while (i3 >= 0) {
Snake snake = this.mSnakes.get(i3);
int i6 = snake.f26x;
int i6 = snake.f27x;
int i7 = snake.size;
int i8 = i6 + i7;
int i9 = snake.f27y + i7;
int i9 = snake.f28y + i7;
int i10 = 8;
if (z2) {
for (int i11 = i4 - 1; i11 >= i8; i11--) {
@ -192,8 +192,8 @@ public class DiffUtil {
}
continue;
}
i4 = snake.f26x;
i2 = snake.f27y;
i4 = snake.f27x;
i2 = snake.f28y;
i3--;
}
return false;
@ -204,10 +204,10 @@ public class DiffUtil {
int i2 = this.mNewListSize;
for (int size = this.mSnakes.size() - 1; size >= 0; size--) {
Snake snake = this.mSnakes.get(size);
int i3 = snake.f26x;
int i3 = snake.f27x;
int i4 = snake.size;
int i5 = i3 + i4;
int i6 = snake.f27y + i4;
int i6 = snake.f28y + i4;
if (this.mDetectMoves) {
while (i > i5) {
findAddition(i, i2, size);
@ -219,14 +219,14 @@ public class DiffUtil {
}
}
for (int i7 = 0; i7 < snake.size; i7++) {
int i8 = snake.f26x + i7;
int i9 = snake.f27y + i7;
int i8 = snake.f27x + i7;
int i9 = snake.f28y + i7;
int i10 = this.mCallback.areContentsTheSame(i8, i9) ? 1 : 2;
this.mOldItemStatuses[i8] = (i9 << 5) | i10;
this.mNewItemStatuses[i9] = (i8 << 5) | i10;
}
i = snake.f26x;
i2 = snake.f27y;
i = snake.f27x;
i2 = snake.f28y;
}
}
@ -287,8 +287,8 @@ public class DiffUtil {
for (int size = this.mSnakes.size() - 1; size >= 0; size--) {
Snake snake = this.mSnakes.get(size);
int i3 = snake.size;
int i4 = snake.f26x + i3;
int i5 = snake.f27y + i3;
int i4 = snake.f27x + i3;
int i5 = snake.f28y + i3;
if (i4 < i) {
dispatchRemovals(arrayList, batchingListUpdateCallback, i4, i - i4, i4);
}
@ -297,13 +297,13 @@ public class DiffUtil {
}
for (int i6 = i3 - 1; i6 >= 0; i6--) {
int[] iArr = this.mOldItemStatuses;
int i7 = snake.f26x;
int i7 = snake.f27x;
if ((iArr[i7 + i6] & 31) == 2) {
batchingListUpdateCallback.onChanged(i7 + i6, 1, this.mCallback.getChangePayload(i7 + i6, snake.f27y + i6));
batchingListUpdateCallback.onChanged(i7 + i6, 1, this.mCallback.getChangePayload(i7 + i6, snake.f28y + i6));
}
}
i = snake.f26x;
i2 = snake.f27y;
i = snake.f27x;
i2 = snake.f28y;
}
batchingListUpdateCallback.dispatchLastEvent();
}
@ -364,10 +364,10 @@ public class DiffUtil {
public int size;
/* renamed from: x reason: collision with root package name */
public int f26x;
public int f27x;
/* renamed from: y reason: collision with root package name */
public int f27y;
public int f28y;
}
private DiffUtil() {
@ -397,37 +397,37 @@ public class DiffUtil {
if (diffPartial.size > 0) {
arrayList.add(diffPartial);
}
diffPartial.f26x += range.oldListStart;
diffPartial.f27y += range.newListStart;
diffPartial.f27x += range.oldListStart;
diffPartial.f28y += range.newListStart;
Range range2 = arrayList3.isEmpty() ? new Range() : (Range) arrayList3.remove(arrayList3.size() - 1);
range2.oldListStart = range.oldListStart;
range2.newListStart = range.newListStart;
if (diffPartial.reverse) {
range2.oldListEnd = diffPartial.f26x;
range2.newListEnd = diffPartial.f27y;
range2.oldListEnd = diffPartial.f27x;
range2.newListEnd = diffPartial.f28y;
} else if (diffPartial.removal) {
range2.oldListEnd = diffPartial.f26x - 1;
range2.newListEnd = diffPartial.f27y;
range2.oldListEnd = diffPartial.f27x - 1;
range2.newListEnd = diffPartial.f28y;
} else {
range2.oldListEnd = diffPartial.f26x;
range2.newListEnd = diffPartial.f27y - 1;
range2.oldListEnd = diffPartial.f27x;
range2.newListEnd = diffPartial.f28y - 1;
}
arrayList2.add(range2);
if (!diffPartial.reverse) {
int i2 = diffPartial.f26x;
int i2 = diffPartial.f27x;
int i3 = diffPartial.size;
range.oldListStart = i2 + i3;
range.newListStart = diffPartial.f27y + i3;
range.newListStart = diffPartial.f28y + i3;
} else if (diffPartial.removal) {
int i4 = diffPartial.f26x;
int i4 = diffPartial.f27x;
int i5 = diffPartial.size;
range.oldListStart = i4 + i5 + 1;
range.newListStart = diffPartial.f27y + i5;
range.newListStart = diffPartial.f28y + i5;
} else {
int i6 = diffPartial.f26x;
int i6 = diffPartial.f27x;
int i7 = diffPartial.size;
range.oldListStart = i6 + i7;
range.newListStart = diffPartial.f27y + i7 + 1;
range.newListStart = diffPartial.f28y + i7 + 1;
}
arrayList2.add(range);
} else {
@ -490,8 +490,8 @@ public class DiffUtil {
} else {
Snake snake = new Snake();
int i24 = iArr2[i23];
snake.f26x = i24;
snake.f27y = i24 - i21;
snake.f27x = i24;
snake.f28y = i24 - i21;
snake.size = iArr[i23] - iArr2[i23];
snake.removal = z3;
snake.reverse = false;
@ -547,8 +547,8 @@ public class DiffUtil {
} else {
Snake snake2 = new Snake();
int i29 = iArr2[i28];
snake2.f26x = i29;
snake2.f27y = i29 - i26;
snake2.f27x = i29;
snake2.f28y = i29 - i26;
snake2.size = iArr[i28] - iArr2[i28];
snake2.removal = z2;
snake2.reverse = true;

View File

@ -51,7 +51,7 @@ public abstract class WorkRequest {
this.mId = UUID.randomUUID();
WorkSpec workSpec = new WorkSpec(this.mWorkSpec);
this.mWorkSpec = workSpec;
workSpec.f28id = this.mId.toString();
workSpec.f29id = this.mId.toString();
return buildInternal;
}

View File

@ -51,7 +51,7 @@ public class Schedulers {
if (eligibleWorkForScheduling != null && eligibleWorkForScheduling.size() > 0) {
long currentTimeMillis = System.currentTimeMillis();
for (WorkSpec workSpec : eligibleWorkForScheduling) {
workSpecDao.markWorkSpecScheduled(workSpec.f28id, currentTimeMillis);
workSpecDao.markWorkSpecScheduled(workSpec.f29id, currentTimeMillis);
}
}
workDatabase.setTransactionSuccessful();

View File

@ -24,7 +24,7 @@ public class DelayedWorkTracker {
@Override // java.lang.Runnable
public void run() {
Logger.get().debug(DelayedWorkTracker.TAG, String.format("Scheduling work %s", this.val$workSpec.f28id), new Throwable[0]);
Logger.get().debug(DelayedWorkTracker.TAG, String.format("Scheduling work %s", this.val$workSpec.f29id), new Throwable[0]);
DelayedWorkTracker.this.mGreedyScheduler.schedule(this.val$workSpec);
}
}
@ -35,12 +35,12 @@ public class DelayedWorkTracker {
}
public void schedule(@NonNull WorkSpec workSpec) {
Runnable remove = this.mRunnables.remove(workSpec.f28id);
Runnable remove = this.mRunnables.remove(workSpec.f29id);
if (remove != null) {
this.mRunnableScheduler.cancel(remove);
}
AnonymousClass1 r0 = new AnonymousClass1(workSpec);
this.mRunnables.put(workSpec.f28id, r0);
this.mRunnables.put(workSpec.f29id, r0);
long currentTimeMillis = System.currentTimeMillis();
this.mRunnableScheduler.scheduleWithDelay(workSpec.calculateNextRunTime() - currentTimeMillis, r0);
}

View File

@ -98,7 +98,7 @@ public class GreedyScheduler implements Scheduler, WorkConstraintsCallback, Exec
break;
}
WorkSpec next = it.next();
if (next.f28id.equals(str)) {
if (next.f29id.equals(str)) {
Logger.get().debug(TAG, String.format("Stopping tracking for %s", str), new Throwable[0]);
this.mConstrainedWorkSpecs.remove(next);
this.mWorkConstraintsTracker.replace(this.mConstrainedWorkSpecs);
@ -179,13 +179,13 @@ public class GreedyScheduler implements Scheduler, WorkConstraintsCallback, Exec
Logger.get().debug(TAG, String.format("Ignoring WorkSpec %s, Requires device idle.", workSpec), new Throwable[0]);
} else if (i < 24 || !workSpec.constraints.hasContentUriTriggers()) {
hashSet.add(workSpec);
hashSet2.add(workSpec.f28id);
hashSet2.add(workSpec.f29id);
} else {
Logger.get().debug(TAG, String.format("Ignoring WorkSpec %s, Requires ContentUri triggers.", workSpec), new Throwable[0]);
}
} else {
Logger.get().debug(TAG, String.format("Starting work for %s", workSpec.f28id), new Throwable[0]);
this.mWorkManagerImpl.startWork(workSpec.f28id);
Logger.get().debug(TAG, String.format("Starting work for %s", workSpec.f29id), new Throwable[0]);
this.mWorkManagerImpl.startWork(workSpec.f29id);
}
}
}

View File

@ -35,14 +35,14 @@ public class ConstraintsCommandHandler {
ArrayList arrayList = new ArrayList(scheduledWork.size());
long currentTimeMillis = System.currentTimeMillis();
for (WorkSpec workSpec : scheduledWork) {
String str = workSpec.f28id;
String str = workSpec.f29id;
if (currentTimeMillis >= workSpec.calculateNextRunTime() && (!workSpec.hasConstraints() || this.mWorkConstraintsTracker.areAllConstraintsMet(str))) {
arrayList.add(workSpec);
}
}
Iterator it = arrayList.iterator();
while (it.hasNext()) {
String str2 = ((WorkSpec) it.next()).f28id;
String str2 = ((WorkSpec) it.next()).f29id;
Intent createDelayMetIntent = CommandHandler.createDelayMetIntent(this.mContext, str2);
Logger.get().debug(TAG, String.format("Creating a delay_met command for workSpec with id (%s)", str2), new Throwable[0]);
SystemAlarmDispatcher systemAlarmDispatcher = this.mDispatcher;

View File

@ -16,8 +16,8 @@ public class SystemAlarmScheduler implements Scheduler {
}
private void scheduleWorkSpec(@NonNull WorkSpec workSpec) {
Logger.get().debug(TAG, String.format("Scheduling work with workSpecId %s", workSpec.f28id), new Throwable[0]);
this.mContext.startService(CommandHandler.createScheduleWorkIntent(this.mContext, workSpec.f28id));
Logger.get().debug(TAG, String.format("Scheduling work with workSpecId %s", workSpec.f29id), new Throwable[0]);
this.mContext.startService(CommandHandler.createScheduleWorkIntent(this.mContext, workSpec.f29id));
}
@Override // androidx.work.impl.Scheduler

View File

@ -90,7 +90,7 @@ public class SystemJobInfoConverter {
Constraints constraints = workSpec.constraints;
int convertNetworkType = convertNetworkType(constraints.getRequiredNetworkType());
PersistableBundle persistableBundle = new PersistableBundle();
persistableBundle.putString(EXTRA_WORK_SPEC_ID, workSpec.f28id);
persistableBundle.putString(EXTRA_WORK_SPEC_ID, workSpec.f29id);
persistableBundle.putBoolean(EXTRA_IS_PERIODIC, workSpec.isPeriodic());
JobInfo.Builder extras = new JobInfo.Builder(i, this.mWorkServiceComponent).setRequiredNetworkType(convertNetworkType).setRequiresCharging(constraints.requiresCharging()).setRequiresDeviceIdle(constraints.requiresDeviceIdle()).setExtras(persistableBundle);
if (!constraints.requiresDeviceIdle()) {

View File

@ -151,21 +151,21 @@ public class SystemJobScheduler implements Scheduler {
for (WorkSpec workSpec : workSpecArr) {
workDatabase.beginTransaction();
try {
WorkSpec workSpec2 = workDatabase.workSpecDao().getWorkSpec(workSpec.f28id);
WorkSpec workSpec2 = workDatabase.workSpecDao().getWorkSpec(workSpec.f29id);
if (workSpec2 == null) {
Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f28id + " because it's no longer in the DB", new Throwable[0]);
Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f29id + " because it's no longer in the DB", new Throwable[0]);
workDatabase.setTransactionSuccessful();
} else if (workSpec2.state != WorkInfo.State.ENQUEUED) {
Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f28id + " because it is no longer enqueued", new Throwable[0]);
Logger.get().warning(TAG, "Skipping scheduling " + workSpec.f29id + " because it is no longer enqueued", new Throwable[0]);
workDatabase.setTransactionSuccessful();
} else {
SystemIdInfo systemIdInfo = workDatabase.systemIdInfoDao().getSystemIdInfo(workSpec.f28id);
SystemIdInfo systemIdInfo = workDatabase.systemIdInfoDao().getSystemIdInfo(workSpec.f29id);
int nextJobSchedulerIdWithRange = systemIdInfo != null ? systemIdInfo.systemId : idGenerator.nextJobSchedulerIdWithRange(this.mWorkManager.getConfiguration().getMinJobSchedulerId(), this.mWorkManager.getConfiguration().getMaxJobSchedulerId());
if (systemIdInfo == null) {
this.mWorkManager.getWorkDatabase().systemIdInfoDao().insertSystemIdInfo(new SystemIdInfo(workSpec.f28id, nextJobSchedulerIdWithRange));
this.mWorkManager.getWorkDatabase().systemIdInfoDao().insertSystemIdInfo(new SystemIdInfo(workSpec.f29id, nextJobSchedulerIdWithRange));
}
scheduleInternal(workSpec, nextJobSchedulerIdWithRange);
if (Build.VERSION.SDK_INT == 23 && (pendingJobIds = getPendingJobIds(this.mContext, this.mJobScheduler, workSpec.f28id)) != null) {
if (Build.VERSION.SDK_INT == 23 && (pendingJobIds = getPendingJobIds(this.mContext, this.mJobScheduler, workSpec.f29id)) != null) {
int indexOf = pendingJobIds.indexOf(Integer.valueOf(nextJobSchedulerIdWithRange));
if (indexOf >= 0) {
pendingJobIds.remove(indexOf);
@ -185,7 +185,7 @@ public class SystemJobScheduler implements Scheduler {
@VisibleForTesting
public void scheduleInternal(WorkSpec workSpec, int i) {
JobInfo convert = this.mSystemJobInfoConverter.convert(workSpec, i);
Logger.get().debug(TAG, String.format("Scheduling work ID %s Job ID %s", workSpec.f28id, Integer.valueOf(i)), new Throwable[0]);
Logger.get().debug(TAG, String.format("Scheduling work ID %s Job ID %s", workSpec.f29id, Integer.valueOf(i)), new Throwable[0]);
try {
this.mJobScheduler.schedule(convert);
} catch (IllegalStateException e) {

View File

@ -52,7 +52,7 @@ public abstract class ConstraintController<T> implements ConstraintListener<T> {
this.mMatchingWorkSpecIds.clear();
for (WorkSpec workSpec : iterable) {
if (hasConstraint(workSpec)) {
this.mMatchingWorkSpecIds.add(workSpec.f28id);
this.mMatchingWorkSpecIds.add(workSpec.f29id);
}
}
if (this.mMatchingWorkSpecIds.isEmpty()) {

View File

@ -66,7 +66,7 @@ public final class RawWorkInfoDao_Impl implements RawWorkInfoDao {
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
if (columnIndex != -1) {
workInfoPojo.f30id = query.getString(columnIndex);
workInfoPojo.f31id = query.getString(columnIndex);
}
if (columnIndex2 != -1) {
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndex2));
@ -266,7 +266,7 @@ public final class RawWorkInfoDao_Impl implements RawWorkInfoDao {
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
if (columnIndex != -1) {
workInfoPojo.f30id = query.getString(columnIndex);
workInfoPojo.f31id = query.getString(columnIndex);
}
if (columnIndex2 != -1) {
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndex2));

View File

@ -42,7 +42,7 @@ public final class WorkSpec {
@ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID)
/* renamed from: id reason: collision with root package name */
public String f28id;
public String f29id;
@ColumnInfo(name = "initial_delay")
public long initialDelay;
@NonNull
@ -91,7 +91,7 @@ public final class WorkSpec {
@ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID)
/* renamed from: id reason: collision with root package name */
public String f29id;
public String f30id;
@ColumnInfo(name = "state")
public WorkInfo.State state;
@ -106,11 +106,11 @@ public final class WorkSpec {
if (this.state != idAndState.state) {
return false;
}
return this.f29id.equals(idAndState.f29id);
return this.f30id.equals(idAndState.f30id);
}
public int hashCode() {
return this.state.hashCode() + (this.f29id.hashCode() * 31);
return this.state.hashCode() + (this.f30id.hashCode() * 31);
}
}
@ -118,7 +118,7 @@ public final class WorkSpec {
@ColumnInfo(name = ModelAuditLogEntry.CHANGE_KEY_ID)
/* renamed from: id reason: collision with root package name */
public String f30id;
public String f31id;
@ColumnInfo(name = "output")
public Data output;
@Relation(entity = WorkProgress.class, entityColumn = "work_spec_id", parentColumn = ModelAuditLogEntry.CHANGE_KEY_ID, projection = {"progress"})
@ -141,8 +141,8 @@ public final class WorkSpec {
if (this.runAttemptCount != workInfoPojo.runAttemptCount) {
return false;
}
String str = this.f30id;
if (str == null ? workInfoPojo.f30id != null : !str.equals(workInfoPojo.f30id)) {
String str = this.f31id;
if (str == null ? workInfoPojo.f31id != null : !str.equals(workInfoPojo.f31id)) {
return false;
}
if (this.state != workInfoPojo.state) {
@ -162,7 +162,7 @@ public final class WorkSpec {
}
public int hashCode() {
String str = this.f30id;
String str = this.f31id;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
WorkInfo.State state = this.state;
@ -181,7 +181,7 @@ public final class WorkSpec {
@NonNull
public WorkInfo toWorkInfo() {
List<Data> list = this.progress;
return new WorkInfo(UUID.fromString(this.f30id), this.state, this.output, this.tags, (list == null || list.isEmpty()) ? Data.EMPTY : this.progress.get(0), this.runAttemptCount);
return new WorkInfo(UUID.fromString(this.f31id), this.state, this.output, this.tags, (list == null || list.isEmpty()) ? Data.EMPTY : this.progress.get(0), this.runAttemptCount);
}
}
@ -193,7 +193,7 @@ public final class WorkSpec {
this.backoffPolicy = BackoffPolicy.EXPONENTIAL;
this.backoffDelayDuration = 30000;
this.scheduleRequestedAt = -1;
this.f28id = workSpec.f28id;
this.f29id = workSpec.f29id;
this.workerClassName = workSpec.workerClassName;
this.state = workSpec.state;
this.inputMergerClassName = workSpec.inputMergerClassName;
@ -220,7 +220,7 @@ public final class WorkSpec {
this.backoffPolicy = BackoffPolicy.EXPONENTIAL;
this.backoffDelayDuration = 30000;
this.scheduleRequestedAt = -1;
this.f28id = str;
this.f29id = str;
this.workerClassName = str2;
}
@ -274,7 +274,7 @@ public final class WorkSpec {
return false;
}
WorkSpec workSpec = (WorkSpec) obj;
if (this.initialDelay != workSpec.initialDelay || this.intervalDuration != workSpec.intervalDuration || this.flexDuration != workSpec.flexDuration || this.runAttemptCount != workSpec.runAttemptCount || this.backoffDelayDuration != workSpec.backoffDelayDuration || this.periodStartTime != workSpec.periodStartTime || this.minimumRetentionDuration != workSpec.minimumRetentionDuration || this.scheduleRequestedAt != workSpec.scheduleRequestedAt || this.runInForeground != workSpec.runInForeground || !this.f28id.equals(workSpec.f28id) || this.state != workSpec.state || !this.workerClassName.equals(workSpec.workerClassName)) {
if (this.initialDelay != workSpec.initialDelay || this.intervalDuration != workSpec.intervalDuration || this.flexDuration != workSpec.flexDuration || this.runAttemptCount != workSpec.runAttemptCount || this.backoffDelayDuration != workSpec.backoffDelayDuration || this.periodStartTime != workSpec.periodStartTime || this.minimumRetentionDuration != workSpec.minimumRetentionDuration || this.scheduleRequestedAt != workSpec.scheduleRequestedAt || this.runInForeground != workSpec.runInForeground || !this.f29id.equals(workSpec.f29id) || this.state != workSpec.state || !this.workerClassName.equals(workSpec.workerClassName)) {
return false;
}
String str = this.inputMergerClassName;
@ -289,7 +289,7 @@ public final class WorkSpec {
}
public int hashCode() {
int m = a.m(this.workerClassName, (this.state.hashCode() + (this.f28id.hashCode() * 31)) * 31, 31);
int m = a.m(this.workerClassName, (this.state.hashCode() + (this.f29id.hashCode() * 31)) * 31, 31);
String str = this.inputMergerClassName;
int hashCode = str != null ? str.hashCode() : 0;
int hashCode2 = this.input.hashCode();
@ -353,6 +353,6 @@ public final class WorkSpec {
@NonNull
public String toString() {
return a.C(a.K("{WorkSpec: "), this.f28id, "}");
return a.C(a.K("{WorkSpec: "), this.f29id, "}");
}
}

View File

@ -39,7 +39,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
}
public void bind(SupportSQLiteStatement supportSQLiteStatement, WorkSpec workSpec) {
String str = workSpec.f28id;
String str = workSpec.f29id;
if (str == null) {
supportSQLiteStatement.bindNull(1);
} else {
@ -162,7 +162,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -237,7 +237,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -312,7 +312,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -1340,7 +1340,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
ArrayList arrayList = new ArrayList(query.getCount());
while (query.moveToNext()) {
WorkSpec.IdAndState idAndState = new WorkSpec.IdAndState();
idAndState.f29id = query.getString(columnIndexOrThrow);
idAndState.f30id = query.getString(columnIndexOrThrow);
idAndState.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
arrayList.add(idAndState);
}
@ -1521,7 +1521,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList = new ArrayList<>();
}
WorkSpec.WorkInfoPojo workInfoPojo2 = new WorkSpec.WorkInfoPojo();
workInfoPojo2.f30id = query.getString(columnIndexOrThrow);
workInfoPojo2.f31id = query.getString(columnIndexOrThrow);
workInfoPojo2.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo2.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo2.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -1600,7 +1600,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList<>();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -1670,7 +1670,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList<>();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);
@ -1740,7 +1740,7 @@ public final class WorkSpecDao_Impl implements WorkSpecDao {
arrayList3 = new ArrayList<>();
}
WorkSpec.WorkInfoPojo workInfoPojo = new WorkSpec.WorkInfoPojo();
workInfoPojo.f30id = query.getString(columnIndexOrThrow);
workInfoPojo.f31id = query.getString(columnIndexOrThrow);
workInfoPojo.state = WorkTypeConverters.intToState(query.getInt(columnIndexOrThrow2));
workInfoPojo.output = Data.fromByteArray(query.getBlob(columnIndexOrThrow3));
workInfoPojo.runAttemptCount = query.getInt(columnIndexOrThrow4);

View File

@ -100,7 +100,7 @@ public class EnqueueRunnable implements Runnable {
DependencyDao dependencyDao2 = workDatabase.dependencyDao();
ArrayList arrayList2 = new ArrayList();
for (WorkSpec.IdAndState idAndState : workSpecIdAndStatesForName) {
if (!dependencyDao2.hasDependents(idAndState.f29id)) {
if (!dependencyDao2.hasDependents(idAndState.f30id)) {
WorkInfo.State state2 = idAndState.state;
dependencyDao = dependencyDao2;
boolean z9 = (state2 == WorkInfo.State.SUCCEEDED) & z4;
@ -109,7 +109,7 @@ public class EnqueueRunnable implements Runnable {
} else if (state2 == WorkInfo.State.CANCELLED) {
z3 = true;
}
arrayList2.add(idAndState.f29id);
arrayList2.add(idAndState.f30id);
z4 = z9;
} else {
dependencyDao = dependencyDao2;
@ -122,7 +122,7 @@ public class EnqueueRunnable implements Runnable {
} else {
WorkSpecDao workSpecDao = workDatabase.workSpecDao();
for (WorkSpec.IdAndState idAndState2 : workSpecDao.getWorkSpecIdAndStatesForName(str)) {
workSpecDao.delete(idAndState2.f29id);
workSpecDao.delete(idAndState2.f30id);
}
z6 = false;
z3 = false;
@ -145,7 +145,7 @@ public class EnqueueRunnable implements Runnable {
CancelWorkRunnable.forName(str, workManagerImpl2, false).run();
WorkSpecDao workSpecDao2 = workDatabase.workSpecDao();
for (WorkSpec.IdAndState idAndState4 : workSpecIdAndStatesForName) {
workSpecDao2.delete(idAndState4.f29id);
workSpecDao2.delete(idAndState4.f30id);
}
z5 = true;
for (WorkRequest workRequest : list) {

View File

@ -88,8 +88,8 @@ public class ForceStopRunnable implements Runnable {
boolean z2 = runningWork != null && !runningWork.isEmpty();
if (z2) {
for (WorkSpec workSpec : runningWork) {
workSpecDao.setState(WorkInfo.State.ENQUEUED, workSpec.f28id);
workSpecDao.markWorkSpecScheduled(workSpec.f28id, -1);
workSpecDao.setState(WorkInfo.State.ENQUEUED, workSpec.f29id);
workSpecDao.markWorkSpecScheduled(workSpec.f29id, -1);
}
}
workProgressDao.deleteAll();

View File

@ -30,7 +30,7 @@ public class DiagnosticsWorker extends Worker {
@NonNull
private static String workSpecRow(@NonNull WorkSpec workSpec, @Nullable String str, @Nullable Integer num, @NonNull String str2) {
return String.format("\n%s\t %s\t %s\t %s\t %s\t %s\t", workSpec.f28id, workSpec.workerClassName, num, workSpec.state.name(), str, str2);
return String.format("\n%s\t %s\t %s\t %s\t %s\t %s\t", workSpec.f29id, workSpec.workerClassName, num, workSpec.state.name(), str, str2);
}
@NonNull
@ -39,11 +39,11 @@ public class DiagnosticsWorker extends Worker {
sb.append(String.format("\n Id \t Class Name\t %s\t State\t Unique Name\t Tags\t", Build.VERSION.SDK_INT >= 23 ? "Job Id" : "Alarm Id"));
for (WorkSpec workSpec : list) {
Integer num = null;
SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpec.f28id);
SystemIdInfo systemIdInfo = systemIdInfoDao.getSystemIdInfo(workSpec.f29id);
if (systemIdInfo != null) {
num = Integer.valueOf(systemIdInfo.systemId);
}
sb.append(workSpecRow(workSpec, TextUtils.join(",", workNameDao.getNamesForWorkSpecId(workSpec.f28id)), num, TextUtils.join(",", workTagDao.getTagsForWorkSpecId(workSpec.f28id))));
sb.append(workSpecRow(workSpec, TextUtils.join(",", workNameDao.getNamesForWorkSpecId(workSpec.f29id)), num, TextUtils.join(",", workTagDao.getTagsForWorkSpecId(workSpec.f29id))));
}
return sb.toString();
}

View File

@ -19,14 +19,14 @@ public final class c implements b {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f31c;
public final int f32c;
public final Bitmap.CompressFormat d;
public final int e;
public c(int i, int i2, Bitmap.CompressFormat compressFormat, int i3) {
m.checkParameterIsNotNull(compressFormat, "format");
this.b = i;
this.f31c = i2;
this.f32c = i2;
this.d = compressFormat;
this.e = i3;
}
@ -45,7 +45,7 @@ public final class c implements b {
FileOutputStream fileOutputStream;
m.checkParameterIsNotNull(file, "imageFile");
int i2 = this.b;
int i3 = this.f31c;
int i3 = this.f32c;
String str = d.a;
m.checkParameterIsNotNull(file, "imageFile");
BitmapFactory.Options options = new BitmapFactory.Options();

View File

@ -9,7 +9,7 @@ import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import c.a.j.u;
import c.a.j.t;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.dialogs.ImageUploadDialog;
@ -70,7 +70,7 @@ public final class a extends AppDialog {
((a) this.j).dismiss();
} else if (i == 4) {
KProperty[] kPropertyArr = a.i;
((a) this.j).g().f167c.toggle();
((a) this.j).g().f163c.toggle();
} else {
throw null;
}
@ -98,17 +98,17 @@ public final class a extends AppDialog {
}
/* compiled from: ImageUploadFailedDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, u> {
public static final /* synthetic */ class c extends k implements Function1<View, t> {
public static final c i = new c();
public c() {
super(1, u.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0);
super(1, t.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public u invoke(View view) {
public t invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.chat_input_upload_too_large_center_file;
@ -147,7 +147,7 @@ public final class a extends AppDialog {
i2 = R.id.setting_subtext;
TextView textView3 = (TextView) view2.findViewById(R.id.setting_subtext);
if (textView3 != null) {
return new u((RelativeLayout) view2, imageView, materialButton, switchMaterial, relativeLayout, findViewById, materialButton2, relativeLayout2, materialButton3, materialButton4, textView, textView2, textView3);
return new t((RelativeLayout) view2, imageView, materialButton, switchMaterial, relativeLayout, findViewById, materialButton2, relativeLayout2, materialButton3, materialButton4, textView, textView2, textView3);
}
}
}
@ -178,8 +178,8 @@ public final class a extends AppDialog {
super(R.layout.image_upload_failed_dialog);
}
public final u g() {
return (u) this.k.getValue((Fragment) this, i[0]);
public final t g() {
return (t) this.k.getValue((Fragment) this, i[0]);
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0169: APUT (r3v2 java.lang.Object[]), (0 ??[int, short, byte, char]), (r10v7 java.lang.CharSequence) */
@ -221,10 +221,10 @@ public final class a extends AppDialog {
}
relativeLayout2.setVisibility(i3);
g().d.setOnClickListener(new View$OnClickListenerC0001a(4, this));
SwitchMaterial switchMaterial = g().f167c;
SwitchMaterial switchMaterial = g().f163c;
m.checkNotNullExpressionValue(switchMaterial, "binding.imageUploadFaile…mpressionSettingsCheckbox");
switchMaterial.setChecked(StoreStream.Companion.getUserSettings().getIsAutoImageCompressionEnabled());
g().f167c.setOnCheckedChangeListener(d.a);
g().f163c.setOnCheckedChangeListener(d.a);
TextView textView = g().j;
m.checkNotNullExpressionValue(textView, "binding.imageUploadFailedText");
CharSequence charSequence = null;

View File

@ -10,7 +10,7 @@ import c.a.a.b.f;
import c.a.e.h0;
import c.a.e.j0;
import c.a.e.o;
import c.a.j.o1;
import c.a.j.n1;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppViewModel;
@ -80,17 +80,17 @@ public final class a extends AppDialog {
}
/* compiled from: UserActionsDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, o1> {
public static final /* synthetic */ class c extends k implements Function1<View, n1> {
public static final c i = new c();
public c() {
super(1, o1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/UserActionsDialogBinding;", 0);
super(1, n1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/UserActionsDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public o1 invoke(View view) {
public n1 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.user_actions_dialog_avatar;
@ -108,7 +108,7 @@ public final class a extends AppDialog {
i2 = R.id.user_actions_dialog_user_name;
TextView textView4 = (TextView) view2.findViewById(R.id.user_actions_dialog_user_name);
if (textView4 != null) {
return new o1((LinearLayout) view2, simpleDraweeView, textView, textView2, textView3, textView4);
return new n1((LinearLayout) view2, simpleDraweeView, textView, textView2, textView3, textView4);
}
}
}
@ -164,10 +164,10 @@ public final class a extends AppDialog {
Context requireContext = aVar3.requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
textView.setText(UserNameFormatterKt.getSpannableForUserNameWithDiscrim(user, str, requireContext, R.attr.colorHeaderPrimary, R.attr.font_primary_semibold, R.integer.uikit_textsize_large_sp, R.attr.colorTextMuted, R.attr.font_primary_normal, R.integer.uikit_textsize_large_sp));
TextView textView2 = aVar3.g().f136c;
TextView textView2 = aVar3.g().f132c;
m.checkNotNullExpressionValue(textView2, "binding.userActionsDialogBlockItem");
int i = 8;
textView2.setVisibility(aVar2.f33c ? 0 : 8);
textView2.setVisibility(aVar2.f34c ? 0 : 8);
TextView textView3 = aVar3.g().e;
m.checkNotNullExpressionValue(textView3, "binding.userActionsDialogUnblockItem");
textView3.setVisibility(aVar2.d ? 0 : 8);
@ -235,8 +235,8 @@ public final class a extends AppDialog {
this.m = new MGImages.DistinctChangeDetector();
}
public final o1 g() {
return (o1) this.k.getValue((Fragment) this, i[0]);
public final n1 g() {
return (n1) this.k.getValue((Fragment) this, i[0]);
}
public final f h() {
@ -247,7 +247,7 @@ public final class a extends AppDialog {
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
g().f136c.setOnClickListener(new View$OnClickListenerC0002a(0, this));
g().f132c.setOnClickListener(new View$OnClickListenerC0002a(0, this));
g().e.setOnClickListener(new View$OnClickListenerC0002a(1, this));
g().d.setOnClickListener(new View$OnClickListenerC0002a(2, this));
}

View File

@ -36,7 +36,7 @@ public final class b extends o implements Function1<f.c, Unit> {
boolean z2 = type != 2;
boolean z3 = type == 2;
boolean z4 = type == 1;
GuildMember guildMember = cVar2.f32c;
GuildMember guildMember = cVar2.f33c;
fVar.updateViewState(new f.d.a(user, guildMember != null ? guildMember.getNick() : null, z2, z3, z4));
}
return Unit.a;

View File

@ -102,12 +102,12 @@ public final class f extends AppViewModel<d> {
public final Integer b;
/* renamed from: c reason: collision with root package name */
public final GuildMember f32c;
public final GuildMember f33c;
public c(User user, Integer num, GuildMember guildMember) {
this.a = user;
this.b = num;
this.f32c = guildMember;
this.f33c = guildMember;
}
}
@ -120,7 +120,7 @@ public final class f extends AppViewModel<d> {
public final String b;
/* renamed from: c reason: collision with root package name */
public final boolean f33c;
public final boolean f34c;
public final boolean d;
public final boolean e;
@ -130,7 +130,7 @@ public final class f extends AppViewModel<d> {
m.checkNotNullParameter(user, "user");
this.a = user;
this.b = str;
this.f33c = z2;
this.f34c = z2;
this.d = z3;
this.e = z4;
}
@ -143,7 +143,7 @@ public final class f extends AppViewModel<d> {
return false;
}
a aVar = (a) obj;
return m.areEqual(this.a, aVar.a) && m.areEqual(this.b, aVar.b) && this.f33c == aVar.f33c && this.d == aVar.d && this.e == aVar.e;
return m.areEqual(this.a, aVar.a) && m.areEqual(this.b, aVar.b) && this.f34c == aVar.f34c && this.d == aVar.d && this.e == aVar.e;
}
public int hashCode() {
@ -155,7 +155,7 @@ public final class f extends AppViewModel<d> {
i = str.hashCode();
}
int i2 = (hashCode + i) * 31;
boolean z2 = this.f33c;
boolean z2 = this.f34c;
int i3 = 1;
if (z2) {
z2 = true;
@ -185,7 +185,7 @@ public final class f extends AppViewModel<d> {
K.append(", userNickname=");
K.append(this.b);
K.append(", showBlockItem=");
K.append(this.f33c);
K.append(this.f34c);
K.append(", showUnblockItem=");
K.append(this.d);
K.append(", showRemoveFriendItem=");

View File

@ -11,7 +11,7 @@ import androidx.fragment.app.FragmentViewModelLazyKt;
import c.a.a.c.f;
import c.a.e.h0;
import c.a.e.j0;
import c.a.j.w0;
import c.a.j.v0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppViewFlipper;
@ -100,17 +100,17 @@ public final class a extends AppDialog {
}
/* compiled from: PremiumGuildSubscriptionCancelDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, w0> {
public static final /* synthetic */ class c extends k implements Function1<View, v0> {
public static final c i = new c();
public c() {
super(1, w0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionCancelDialogBinding;", 0);
super(1, v0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionCancelDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public w0 invoke(View view) {
public v0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.active_subscription_progress;
@ -137,7 +137,7 @@ public final class a extends AppDialog {
i2 = R.id.premium_guild_subscription_cancel_nevermind;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_guild_subscription_cancel_nevermind);
if (materialButton != null) {
return new w0((LinearLayout) view2, progressBar, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, materialButton);
return new v0((LinearLayout) view2, progressBar, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, materialButton);
}
}
}
@ -180,9 +180,9 @@ public final class a extends AppDialog {
materialButton.setVisibility(i);
MaterialButton materialButton2 = aVar.g().g;
m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionCancelNevermind");
ViewExtensions.setEnabledAndAlpha$default(materialButton2, cVar2.f34c, 0.0f, 2, null);
ViewExtensions.setEnabledAndAlpha$default(materialButton2, cVar2.f35c, 0.0f, 2, null);
aVar.setCancelable(cVar2.e);
aVar.g().f180c.setIsLoading(cVar2.d);
aVar.g().f176c.setIsLoading(cVar2.d);
AppViewFlipper appViewFlipper = aVar.g().e;
m.checkNotNullExpressionValue(appViewFlipper, "binding.premiumGuildSubscriptionCancelFlipper");
appViewFlipper.setDisplayedChild(!(cVar2 instanceof f.c.C0009f) ? 1 : 0);
@ -202,7 +202,7 @@ public final class a extends AppDialog {
m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionCancelBody");
c.a.l.b.n(textView3, R.string.premium_guild_subscription_cancel_body_guild, new Object[]{renderUtcDate$default}, null, 4);
}
aVar.g().f180c.setBackgroundColor(ColorCompat.getColor(aVar, (int) R.color.status_red_500));
aVar.g().f176c.setBackgroundColor(ColorCompat.getColor(aVar, (int) R.color.status_red_500));
} else if (cVar2 instanceof f.c.b) {
TextView textView4 = aVar.g().f;
m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionCancelHeader");
@ -214,8 +214,8 @@ public final class a extends AppDialog {
Context requireContext2 = aVar.requireContext();
m.checkNotNullExpressionValue(requireContext2, "requireContext()");
c.a.l.b.n(textView5, R.string.premium_guild_subscription_confirm_body, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4);
aVar.g().f180c.setText(aVar.getString(R.string.okay));
aVar.g().f180c.setBackgroundColor(ColorCompat.getThemedColor(aVar, (int) R.attr.color_brand_500));
aVar.g().f176c.setText(aVar.getString(R.string.okay));
aVar.g().f176c.setBackgroundColor(ColorCompat.getThemedColor(aVar, (int) R.attr.color_brand_500));
} else if (cVar2 instanceof f.c.C0008c) {
Integer num = ((f.c.C0008c) cVar2).f;
if (num != null) {
@ -274,8 +274,8 @@ public final class a extends AppDialog {
this.m = g.lazy(new e(this));
}
public final w0 g() {
return (w0) this.k.getValue((Fragment) this, i[0]);
public final v0 g() {
return (v0) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -283,7 +283,7 @@ public final class a extends AppDialog {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
g().g.setOnClickListener(new View$OnClickListenerC0005a(0, this));
g().f180c.setOnClickListener(new View$OnClickListenerC0005a(1, this));
g().f176c.setOnClickListener(new View$OnClickListenerC0005a(1, this));
}
@Override // com.discord.app.AppDialog

View File

@ -11,7 +11,7 @@ import androidx.fragment.app.FragmentViewModelLazyKt;
import c.a.a.c.k;
import c.a.e.h0;
import c.a.e.j0;
import c.a.j.x0;
import c.a.j.w0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppViewFlipper;
@ -100,17 +100,17 @@ public final class b extends AppDialog {
}
/* compiled from: PremiumGuildSubscriptionUncancelDialog.kt */
public static final /* synthetic */ class c extends d0.z.d.k implements Function1<View, x0> {
public static final /* synthetic */ class c extends d0.z.d.k implements Function1<View, w0> {
public static final c i = new c();
public c() {
super(1, x0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionUncancelDialogBinding;", 0);
super(1, w0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionUncancelDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public x0 invoke(View view) {
public w0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.notice_header_container;
@ -137,7 +137,7 @@ public final class b extends AppDialog {
i2 = R.id.premium_guild_subscription_uncancel_nevermind;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_guild_subscription_uncancel_nevermind);
if (materialButton != null) {
return new x0((LinearLayout) view2, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, imageView, materialButton);
return new w0((LinearLayout) view2, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, imageView, materialButton);
}
}
}
@ -176,7 +176,7 @@ public final class b extends AppDialog {
m.checkNotNullExpressionValue(textView, "binding.premiumGuildSubscriptionUncancelError");
boolean z3 = cVar2 instanceof k.c.b;
int i = 8;
textView.setVisibility(z3 && ((k.c.b) cVar2).f35c ? 0 : 8);
textView.setVisibility(z3 && ((k.c.b) cVar2).f36c ? 0 : 8);
MaterialButton materialButton = bVar.g().h;
m.checkNotNullExpressionValue(materialButton, "binding.premiumGuildSubscriptionUncancelNevermind");
if (z3) {
@ -186,7 +186,7 @@ public final class b extends AppDialog {
MaterialButton materialButton2 = bVar.g().h;
m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionUncancelNevermind");
ViewExtensions.setEnabledAndAlpha$default(materialButton2, z3 && !((k.c.b) cVar2).b, 0.0f, 2, null);
bVar.g().f184c.setIsLoading(z3 && ((k.c.b) cVar2).b);
bVar.g().f180c.setIsLoading(z3 && ((k.c.b) cVar2).b);
k.c.C0010c cVar3 = k.c.C0010c.a;
if (!(!m.areEqual(cVar2, cVar3)) || !z3 || ((k.c.b) cVar2).b) {
z2 = false;
@ -210,7 +210,7 @@ public final class b extends AppDialog {
TextView textView5 = bVar.g().b;
m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionUncancelBody");
textView5.setText(bVar.getString(R.string.premium_guild_subscription_inventory_uncancel_confirm_description));
bVar.g().f184c.setText(bVar.getString(R.string.okay));
bVar.g().f180c.setText(bVar.getString(R.string.okay));
} else if (cVar2 instanceof k.c.a) {
Integer num = ((k.c.a) cVar2).a;
if (num != null) {
@ -270,8 +270,8 @@ public final class b extends AppDialog {
this.m = g.lazy(new e(this));
}
public final x0 g() {
return (x0) this.k.getValue((Fragment) this, i[0]);
public final w0 g() {
return (w0) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -279,7 +279,7 @@ public final class b extends AppDialog {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
g().h.setOnClickListener(new a(0, this));
g().f184c.setOnClickListener(new a(1, this));
g().f180c.setOnClickListener(new a(1, this));
}
@Override // com.discord.app.AppDialog

View File

@ -8,7 +8,7 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import c.a.j.v0;
import c.a.j.u0;
import com.airbnb.lottie.LottieAnimationView;
import com.discord.R;
import com.discord.app.AppDialog;
@ -56,17 +56,17 @@ public final class c extends AppDialog {
}
/* compiled from: PremiumGuildSubscriptionActivatedDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, v0> {
public static final /* synthetic */ class b extends k implements Function1<View, u0> {
public static final b i = new b();
public b() {
super(1, v0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionActivatedDialogBinding;", 0);
super(1, u0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionActivatedDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public v0 invoke(View view) {
public u0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_guild_subscription_activated_body1;
@ -81,7 +81,7 @@ public final class c extends AppDialog {
i2 = R.id.premium_guild_subscription_activated_ok;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_guild_subscription_activated_ok);
if (materialButton != null) {
return new v0((LinearLayout) view2, textView, textView2, lottieAnimationView, materialButton);
return new u0((LinearLayout) view2, textView, textView2, lottieAnimationView, materialButton);
}
}
}
@ -109,8 +109,8 @@ public final class c extends AppDialog {
super(R.layout.premium_guild_subscription_activated_dialog);
}
public final v0 g() {
return (v0) this.l.getValue((Fragment) this, i[0]);
public final u0 g() {
return (u0) this.l.getValue((Fragment) this, i[0]);
}
@Override // androidx.fragment.app.DialogFragment, android.content.DialogInterface.OnDismissListener
@ -131,7 +131,7 @@ public final class c extends AppDialog {
Bundle arguments = getArguments();
CharSequence charSequence = null;
textView.setText(arguments != null ? arguments.getCharSequence("extra_body1_text") : null);
TextView textView2 = g().f174c;
TextView textView2 = g().f170c;
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionActivatedBody2");
Bundle arguments2 = getArguments();
if (arguments2 != null) {

View File

@ -80,7 +80,7 @@ public final class f extends AppViewModel<c> {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final boolean f34c;
public final boolean f35c;
public final boolean d;
public final boolean e;
@ -282,7 +282,7 @@ public final class f extends AppViewModel<c> {
public c(boolean z2, boolean z3, boolean z4, boolean z5, boolean z6, DefaultConstructorMarker defaultConstructorMarker) {
this.a = z2;
this.b = z3;
this.f34c = z4;
this.f35c = z4;
this.d = z5;
this.e = z6;
}

View File

@ -109,7 +109,7 @@ public final class k extends AppViewModel<c> {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final boolean f35c;
public final boolean f36c;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public b(ModelSubscription modelSubscription, boolean z2, boolean z3) {
@ -117,7 +117,7 @@ public final class k extends AppViewModel<c> {
m.checkNotNullParameter(modelSubscription, Traits.Payment.Type.SUBSCRIPTION);
this.a = modelSubscription;
this.b = z2;
this.f35c = z3;
this.f36c = z3;
}
public static b a(b bVar, ModelSubscription modelSubscription, boolean z2, boolean z3, int i) {
@ -126,7 +126,7 @@ public final class k extends AppViewModel<c> {
z2 = bVar.b;
}
if ((i & 4) != 0) {
z3 = bVar.f35c;
z3 = bVar.f36c;
}
Objects.requireNonNull(bVar);
m.checkNotNullParameter(modelSubscription2, Traits.Payment.Type.SUBSCRIPTION);
@ -141,7 +141,7 @@ public final class k extends AppViewModel<c> {
return false;
}
b bVar = (b) obj;
return m.areEqual(this.a, bVar.a) && this.b == bVar.b && this.f35c == bVar.f35c;
return m.areEqual(this.a, bVar.a) && this.b == bVar.b && this.f36c == bVar.f36c;
}
public int hashCode() {
@ -156,7 +156,7 @@ public final class k extends AppViewModel<c> {
int i3 = z2 ? 1 : 0;
int i4 = z2 ? 1 : 0;
int i5 = (hashCode + i2) * 31;
boolean z3 = this.f35c;
boolean z3 = this.f36c;
if (!z3) {
i = z3 ? 1 : 0;
}
@ -169,7 +169,7 @@ public final class k extends AppViewModel<c> {
K.append(", uncancelInProgress=");
K.append(this.b);
K.append(", error=");
return c.d.b.a.a.F(K, this.f35c, ")");
return c.d.b.a.a.F(K, this.f36c, ")");
}
}

View File

@ -5,7 +5,7 @@ import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.i1;
import c.a.j.h1;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.dialogs.SimpleConfirmationDialogArgs;
@ -98,17 +98,17 @@ public final class d extends AppDialog {
/* compiled from: SimpleConfirmationDialog.kt */
/* renamed from: c.a.a.d$d reason: collision with other inner class name */
public static final /* synthetic */ class C0011d extends k implements Function1<View, i1> {
public static final /* synthetic */ class C0011d extends k implements Function1<View, h1> {
public static final C0011d i = new C0011d();
public C0011d() {
super(1, i1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SimpleConfirmationDialogBinding;", 0);
super(1, h1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SimpleConfirmationDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public i1 invoke(View view) {
public h1 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.notice_header_container;
@ -126,7 +126,7 @@ public final class d extends AppDialog {
i2 = R.id.simple_confirmation_dialog_title;
TextView textView2 = (TextView) view2.findViewById(R.id.simple_confirmation_dialog_title);
if (textView2 != null) {
return new i1((LinearLayout) view2, linearLayout, textView, materialButton, materialButton2, textView2);
return new h1((LinearLayout) view2, linearLayout, textView, materialButton, materialButton2, textView2);
}
}
}
@ -144,8 +144,8 @@ public final class d extends AppDialog {
return (SimpleConfirmationDialogArgs) this.k.getValue();
}
public final i1 h() {
return (i1) this.m.getValue((Fragment) this, i[0]);
public final h1 h() {
return (h1) this.m.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -154,8 +154,8 @@ public final class d extends AppDialog {
requireDialog().setCanceledOnTouchOutside(true);
h().d.setOnClickListener(new a(0, this));
h().d.setText(g().k);
h().f106c.setOnClickListener(new a(1, this));
MaterialButton materialButton = h().f106c;
h().f102c.setOnClickListener(new a(1, this));
MaterialButton materialButton = h().f102c;
m.checkNotNullExpressionValue(materialButton, "binding.simpleConfirmationDialogNegative");
materialButton.setText(g().l);
TextView textView = h().e;

View File

@ -8,7 +8,7 @@ import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import c.a.j.y0;
import c.a.j.x0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.analytics.AnalyticsTracker;
@ -125,17 +125,17 @@ public final class a extends AppDialog {
}
/* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, y0> {
public static final /* synthetic */ class c extends k implements Function1<View, x0> {
public static final c i = new c();
public c() {
super(1, y0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 0);
super(1, x0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public y0 invoke(View view) {
public x0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_guild_upsell_close;
@ -147,7 +147,7 @@ public final class a extends AppDialog {
i2 = R.id.premium_guild_upsell_subscribe_button;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_guild_upsell_subscribe_button);
if (materialButton != null) {
return new y0((RelativeLayout) view2, imageView, textView, materialButton);
return new x0((RelativeLayout) view2, imageView, textView, materialButton);
}
}
}
@ -186,8 +186,8 @@ public final class a extends AppDialog {
super(R.layout.premium_guild_subscription_upsell_dialog);
}
public final y0 g() {
return (y0) this.k.getValue((Fragment) this, i[0]);
public final x0 g() {
return (x0) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -202,6 +202,6 @@ public final class a extends AppDialog {
Bundle arguments3 = getArguments();
g().d.setOnClickListener(new d(this, j2, valueOf, arguments3 != null ? arguments3.getString("extra_page") : null, string));
g().b.setOnClickListener(new View$OnClickListenerC0012a(0, this));
g().f189c.setOnClickListener(new View$OnClickListenerC0012a(1, this));
g().f185c.setOnClickListener(new View$OnClickListenerC0012a(1, this));
}
}

View File

@ -12,8 +12,8 @@ import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import androidx.viewpager2.widget.ViewPager2;
import c.a.j.k5;
import c.a.j.n0;
import c.a.j.j5;
import c.a.j.m0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppFragment;
@ -125,14 +125,14 @@ public final class b extends AppDialog {
public CharSequence b;
/* renamed from: c reason: collision with root package name */
public CharSequence f36c;
public CharSequence f37c;
public c(@DrawableRes int i, CharSequence charSequence, CharSequence charSequence2) {
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
this.a = i;
this.b = charSequence;
this.f36c = charSequence2;
this.f37c = charSequence2;
}
public boolean equals(Object obj) {
@ -143,7 +143,7 @@ public final class b extends AppDialog {
return false;
}
c cVar = (c) obj;
return this.a == cVar.a && m.areEqual(this.b, cVar.b) && m.areEqual(this.f36c, cVar.f36c);
return this.a == cVar.a && m.areEqual(this.b, cVar.b) && m.areEqual(this.f37c, cVar.f37c);
}
public int hashCode() {
@ -151,7 +151,7 @@ public final class b extends AppDialog {
CharSequence charSequence = this.b;
int i2 = 0;
int hashCode = (i + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.f36c;
CharSequence charSequence2 = this.f37c;
if (charSequence2 != null) {
i2 = charSequence2.hashCode();
}
@ -164,7 +164,7 @@ public final class b extends AppDialog {
K.append(", headerText=");
K.append(this.b);
K.append(", bodyText=");
K.append(this.f36c);
K.append(this.f37c);
K.append(")");
return K.toString();
}
@ -184,17 +184,17 @@ public final class b extends AppDialog {
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
/* renamed from: c.a.a.e.b$d$b reason: collision with other inner class name */
public static final /* synthetic */ class C0014b extends k implements Function1<View, k5> {
public static final /* synthetic */ class C0014b extends k implements Function1<View, j5> {
public static final C0014b i = new C0014b();
public C0014b() {
super(1, k5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0);
super(1, j5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public k5 invoke(View view) {
public j5 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_upsell_body;
@ -206,7 +206,7 @@ public final class b extends AppDialog {
i2 = R.id.premium_upsell_img;
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_img);
if (imageView != null) {
return new k5((LinearLayout) view2, textView, textView2, imageView);
return new j5((LinearLayout) view2, textView, textView2, imageView);
}
}
}
@ -218,8 +218,8 @@ public final class b extends AppDialog {
super(R.layout.widget_premium_upsell);
}
public final k5 g() {
return (k5) this.k.getValue((Fragment) this, i[0]);
public final j5 g() {
return (j5) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppFragment
@ -229,7 +229,7 @@ public final class b extends AppDialog {
ImageView imageView = g().d;
Bundle arguments = getArguments();
imageView.setImageResource(arguments != null ? arguments.getInt("extra_image_id") : 0);
TextView textView = g().f119c;
TextView textView = g().f114c;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellHeader");
Bundle arguments2 = getArguments();
textView.setText(arguments2 != null ? arguments2.getString("extra_header_string") : null);
@ -258,7 +258,7 @@ public final class b extends AppDialog {
d.a aVar = d.j;
int i2 = cVar.a;
CharSequence charSequence = cVar.b;
CharSequence charSequence2 = cVar.f36c;
CharSequence charSequence2 = cVar.f37c;
Objects.requireNonNull(aVar);
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
@ -278,17 +278,17 @@ public final class b extends AppDialog {
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class f extends k implements Function1<View, n0> {
public static final /* synthetic */ class f extends k implements Function1<View, m0> {
public static final f i = new f();
public f() {
super(1, n0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0);
super(1, m0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public n0 invoke(View view) {
public m0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_upsell_button_container;
@ -312,7 +312,7 @@ public final class b extends AppDialog {
i2 = R.id.premium_upsell_viewpager;
ViewPager2 viewPager2 = (ViewPager2) view2.findViewById(R.id.premium_upsell_viewpager);
if (viewPager2 != null) {
return new n0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
return new m0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
}
}
}
@ -344,8 +344,8 @@ public final class b extends AppDialog {
bVar.dismiss();
}
public final n0 h() {
return (n0) this.k.getValue((Fragment) this, i[0]);
public final m0 h() {
return (m0) this.k.getValue((Fragment) this, i[0]);
}
public final boolean i() {
@ -410,7 +410,7 @@ public final class b extends AppDialog {
}
Objects.requireNonNull(cVar2);
m.checkNotNullParameter(str2, "<set-?>");
cVar2.f36c = str2;
cVar2.f37c = str2;
}
c cVar3 = (c) listOf.get(i2);
List mutableListOf = n.mutableListOf(cVar3);
@ -431,11 +431,11 @@ public final class b extends AppDialog {
m.throwUninitializedPropertyAccessException("pagerAdapter");
}
viewPager2.setAdapter(eVar);
TabLayout tabLayout = h().f131c;
TabLayout tabLayout = h().f127c;
m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots");
int i2 = 8;
tabLayout.setVisibility(j() ? 0 : 8);
TabLayout tabLayout2 = h().f131c;
TabLayout tabLayout2 = h().f127c;
m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots");
ViewPager2 viewPager22 = h().f;
m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager");

View File

@ -8,7 +8,7 @@ import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.z0;
import c.a.j.y0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.resources.StringResourceUtilsKt;
@ -73,17 +73,17 @@ public final class c extends AppDialog {
/* compiled from: UpgradePremiumGuildDialog.kt */
/* renamed from: c.a.a.e.c$c reason: collision with other inner class name */
public static final /* synthetic */ class C0015c extends k implements Function1<View, z0> {
public static final /* synthetic */ class C0015c extends k implements Function1<View, y0> {
public static final C0015c i = new C0015c();
public C0015c() {
super(1, z0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0);
super(1, y0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public z0 invoke(View view) {
public y0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.continue_button;
@ -101,7 +101,7 @@ public final class c extends AppDialog {
i2 = R.id.upgrade_button;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.upgrade_button);
if (materialButton != null) {
return new z0((RelativeLayout) view2, textView, imageView, textView2, textView3, materialButton);
return new y0((RelativeLayout) view2, textView, imageView, textView2, textView3, materialButton);
}
}
}
@ -115,8 +115,8 @@ public final class c extends AppDialog {
super(R.layout.premium_guild_upgrade_dialog);
}
public final z0 g() {
return (z0) this.o.getValue((Fragment) this, i[0]);
public final y0 g() {
return (y0) this.o.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
@ -150,6 +150,6 @@ public final class c extends AppDialog {
textView3.setVisibility(this.n ^ true ? 0 : 8);
g().b.setOnClickListener(new a(0, this));
g().f.setOnClickListener(new a(1, this));
g().f194c.setOnClickListener(new a(2, this));
g().f190c.setOnClickListener(new a(2, this));
}
}

View File

@ -8,7 +8,7 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import c.a.j.j1;
import c.a.j.i1;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
@ -65,17 +65,17 @@ public final class d extends AppDialog {
}
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, j1> {
public static final /* synthetic */ class c extends k implements Function1<View, i1> {
public static final c i = new c();
public c() {
super(1, j1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
super(1, i1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public j1 invoke(View view) {
public i1 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.button_container;
@ -102,7 +102,7 @@ public final class d extends AppDialog {
i2 = R.id.value_prop_image;
ImageView imageView = (ImageView) view2.findViewById(R.id.value_prop_image);
if (imageView != null) {
return new j1((LinearLayout) view2, linearLayout, materialButton, findViewById, shinyButton, findViewById2, textView, textView2, imageView);
return new i1((LinearLayout) view2, linearLayout, materialButton, findViewById, shinyButton, findViewById2, textView, textView2, imageView);
}
}
}
@ -119,8 +119,8 @@ public final class d extends AppDialog {
super(R.layout.single_value_prop_premium_upsell_dialog);
}
public final j1 g() {
return (j1) this.k.getValue((Fragment) this, i[0]);
public final i1 g() {
return (i1) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -150,6 +150,6 @@ public final class d extends AppDialog {
textView2.setText(str);
}
g().b.setOnClickListener(new a(0, this));
g().f111c.setOnClickListener(new a(1, this));
g().f107c.setOnClickListener(new a(1, this));
}
}

View File

@ -7,7 +7,7 @@ import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.a1;
import c.a.j.z0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
@ -69,17 +69,17 @@ public final class e extends AppDialog {
}
/* compiled from: UpgradePremiumYearlyDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, a1> {
public static final /* synthetic */ class c extends k implements Function1<View, z0> {
public static final c i = new c();
public c() {
super(1, a1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
super(1, z0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public a1 invoke(View view) {
public z0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_upsell_header;
@ -97,7 +97,7 @@ public final class e extends AppDialog {
i2 = R.id.purchase_premium_yearly;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.purchase_premium_yearly);
if (materialButton != null) {
return new a1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
return new z0((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
}
}
}
@ -111,8 +111,8 @@ public final class e extends AppDialog {
super(R.layout.premium_upgrade_yearly_dialog);
}
public final a1 g() {
return (a1) this.o.getValue((Fragment) this, i[0]);
public final z0 g() {
return (z0) this.o.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
@ -138,7 +138,7 @@ public final class e extends AppDialog {
TextView textView = g().d;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
c.a.l.b.n(textView, R.string.premium_upsell_yearly_title, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), k}, null, 4);
TextView textView2 = g().f61c;
TextView textView2 = g().f196c;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
c.a.l.b.n(textView2, R.string.premium_upsell_yearly_description, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
MaterialButton materialButton = g().f;

View File

@ -9,7 +9,7 @@ import android.widget.TextView;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import c.a.j.t0;
import c.a.j.s0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.drawable.DrawableCompat;
@ -48,17 +48,17 @@ public final class f extends AppDialog {
}
/* compiled from: PremiumActivatedDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, t0> {
public static final /* synthetic */ class b extends k implements Function1<View, s0> {
public static final b i = new b();
public b() {
super(1, t0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumActivatedDialogBinding;", 0);
super(1, s0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumActivatedDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public t0 invoke(View view) {
public s0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_activated_confirm;
@ -79,7 +79,7 @@ public final class f extends AppDialog {
i2 = R.id.premium_activated_wumpus;
ImageView imageView4 = (ImageView) view2.findViewById(R.id.premium_activated_wumpus);
if (imageView4 != null) {
return new t0((LinearLayout) view2, materialButton, textView, imageView, imageView2, imageView3, imageView4);
return new s0((LinearLayout) view2, materialButton, textView, imageView, imageView2, imageView3, imageView4);
}
}
}
@ -112,8 +112,8 @@ public final class f extends AppDialog {
super(R.layout.premium_activated_dialog);
}
public final t0 g() {
return (t0) this.l.getValue((Fragment) this, i[0]);
public final s0 g() {
return (s0) this.l.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment
@ -144,7 +144,7 @@ public final class f extends AppDialog {
m.checkNotNullExpressionValue(imageView, "binding.premiumActivatedWumpus");
imageView.setScaleX(z2 ? 1.0f : -1.0f);
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), i2));
TextView textView = g().f162c;
TextView textView = g().f158c;
m.checkNotNullExpressionValue(textView, "binding.premiumActivatedDescription");
textView.setText(getString(i6));
requireDialog().setCanceledOnTouchOutside(true);

View File

@ -5,7 +5,7 @@ import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.u0;
import c.a.j.t0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
@ -32,17 +32,17 @@ public final class g extends AppDialog {
}
/* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, u0> {
public static final /* synthetic */ class b extends k implements Function1<View, t0> {
public static final b i = new b();
public b() {
super(1, u0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0);
super(1, t0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public u0 invoke(View view) {
public t0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.premium_activated_confirm;
@ -51,7 +51,7 @@ public final class g extends AppDialog {
i2 = R.id.premium_and_premium_guild_activated_text;
TextView textView = (TextView) view2.findViewById(R.id.premium_and_premium_guild_activated_text);
if (textView != null) {
return new u0((LinearLayout) view2, materialButton, textView);
return new t0((LinearLayout) view2, materialButton, textView);
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
@ -94,10 +94,10 @@ public final class g extends AppDialog {
m.checkNotNullExpressionValue(str, "arguments?.getString(EXTRA_PLAN_NAME) ?: \"\"");
FragmentViewBindingDelegate fragmentViewBindingDelegate = this.l;
KProperty<?>[] kPropertyArr = i;
TextView textView = ((u0) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f168c;
TextView textView = ((t0) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f164c;
m.checkNotNullExpressionValue(textView, "binding.premiumAndPremiumGuildActivatedText");
c.a.l.b.n(textView, R.string.billing_premium_and_premium_guild_plan_activated, new Object[]{str}, null, 4);
requireDialog().setCanceledOnTouchOutside(true);
((u0) this.l.getValue((Fragment) this, kPropertyArr[0])).b.setOnClickListener(new c(this));
((t0) this.l.getValue((Fragment) this, kPropertyArr[0])).b.setOnClickListener(new c(this));
}
}

View File

@ -161,14 +161,14 @@ public final class a extends AppDialog {
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionBluetoothRadio");
i = materialRadioButton4.getId();
}
aVar3.i().f66c.check(i);
aVar3.i().f68c.check(i);
MaterialRadioButton materialRadioButton5 = aVar3.i().b;
m.checkNotNullExpressionValue(materialRadioButton5, "binding.audioOutputSelectionBluetoothRadio");
int i2 = 0;
materialRadioButton5.setVisibility(aVar4.b ? 0 : 8);
MaterialRadioButton materialRadioButton6 = aVar3.i().b;
m.checkNotNullExpressionValue(materialRadioButton6, "binding.audioOutputSelectionBluetoothRadio");
String str = aVar4.f37c;
String str = aVar4.f38c;
if (str == null) {
str = aVar3.getString(R.string.audio_devices_bluetooth);
}

View File

@ -25,7 +25,7 @@ public final class d extends AppViewModel<a> {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final String f37c;
public final String f38c;
public final boolean d;
public final boolean e;
public final boolean f;
@ -36,7 +36,7 @@ public final class d extends AppViewModel<a> {
m.checkNotNullParameter(deviceTypes, "selectedAudioOutput");
this.a = deviceTypes;
this.b = z2;
this.f37c = str;
this.f38c = str;
this.d = z3;
this.e = z4;
this.f = z5;
@ -50,7 +50,7 @@ public final class d extends AppViewModel<a> {
return false;
}
C0017a aVar = (C0017a) obj;
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f37c, aVar.f37c) && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f;
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f38c, aVar.f38c) && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f;
}
public int hashCode() {
@ -66,7 +66,7 @@ public final class d extends AppViewModel<a> {
int i4 = z2 ? 1 : 0;
int i5 = z2 ? 1 : 0;
int i6 = (hashCode + i3) * 31;
String str = this.f37c;
String str = this.f38c;
if (str != null) {
i = str.hashCode();
}
@ -100,7 +100,7 @@ public final class d extends AppViewModel<a> {
K.append(", showBluetoothItem=");
K.append(this.b);
K.append(", bluetoothDeviceName=");
K.append(this.f37c);
K.append(this.f38c);
K.append(", showSpeakerItem=");
K.append(this.d);
K.append(", showWiredItem=");

View File

@ -6,7 +6,7 @@ import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.g5;
import c.a.j.f5;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.stores.StoreNotices;
@ -79,17 +79,17 @@ public final class a extends AppDialog {
}
/* compiled from: WidgetMaskedLinksDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, g5> {
public static final /* synthetic */ class c extends k implements Function1<View, f5> {
public static final c i = new c();
public c() {
super(1, g5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0);
super(1, f5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public g5 invoke(View view) {
public f5 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.masked_links_body_text;
@ -107,7 +107,7 @@ public final class a extends AppDialog {
i2 = R.id.view_dialog_confirmation_header;
TextView textView3 = (TextView) view2.findViewById(R.id.view_dialog_confirmation_header);
if (textView3 != null) {
return new g5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3);
return new f5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3);
}
}
}
@ -135,8 +135,8 @@ public final class a extends AppDialog {
super(R.layout.widget_masked_links_dialog);
}
public final g5 g() {
return (g5) this.k.getValue((Fragment) this, i[0]);
public final f5 g() {
return (f5) this.k.getValue((Fragment) this, i[0]);
}
@Override // androidx.fragment.app.Fragment
@ -167,7 +167,7 @@ public final class a extends AppDialog {
TextView textView = g().b;
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
c.a.l.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4);
g().f100c.setOnClickListener(new d(this));
g().f95c.setOnClickListener(new d(this));
g().d.setOnClickListener(new View$OnClickListenerC0018a(0, this, str));
g().e.setOnClickListener(new View$OnClickListenerC0018a(1, this, str));
}

View File

@ -133,7 +133,7 @@ public final class h extends AppDialog {
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
h().f59c.setOnClickListener(new a(0, this));
h().f61c.setOnClickListener(new a(0, this));
h().d.setOnClickListener(new a(1, this));
TextView textView = h().b;
m.checkNotNullExpressionValue(textView, "binding.accessibilityDetectionBodyText");

View File

@ -111,11 +111,11 @@ public final class i extends AppDialog {
String string2 = getArgumentsOrDefault().getString("ARG_USERNAME", "");
int i2 = getArgumentsOrDefault().getInt("ARG_PLATFORM_IMAGE_RES", 0);
if (i2 != 0) {
TextView textView = g().f101c;
TextView textView = g().f100c;
m.checkNotNullExpressionValue(textView, "binding.connectedAccountActionsDialogHeader");
ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView, i2, 0, 0, 0, 14, null);
}
TextView textView2 = g().f101c;
TextView textView2 = g().f100c;
m.checkNotNullExpressionValue(textView2, "binding.connectedAccountActionsDialogHeader");
textView2.setText(string2);
TextView textView3 = g().d;

View File

@ -4,7 +4,7 @@ import android.view.View;
import android.widget.LinearLayout;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import c.a.j.s;
import c.a.j.r;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
@ -32,17 +32,17 @@ public final class m extends AppDialog {
}
/* compiled from: GuildVideoAtCapacityDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, s> {
public static final /* synthetic */ class b extends k implements Function1<View, r> {
public static final b i = new b();
public b() {
super(1, s.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0);
super(1, r.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public s invoke(View view) {
public r invoke(View view) {
View view2 = view;
d0.z.d.m.checkNotNullParameter(view2, "p1");
int i2 = R.id.guild_video_at_capacity_confirm;
@ -51,7 +51,7 @@ public final class m extends AppDialog {
i2 = R.id.notice_header_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.notice_header_container);
if (linearLayout != null) {
return new s((LinearLayout) view2, materialButton, linearLayout);
return new r((LinearLayout) view2, materialButton, linearLayout);
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
@ -80,6 +80,6 @@ public final class m extends AppDialog {
public void onResume() {
super.onResume();
requireDialog().setCanceledOnTouchOutside(true);
((s) this.k.getValue((Fragment) this, i[0])).b.setOnClickListener(new c(this));
((r) this.k.getValue((Fragment) this, i[0])).b.setOnClickListener(new c(this));
}
}

View File

@ -12,6 +12,7 @@ import androidx.recyclerview.widget.RecyclerView;
import c.a.j.l;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.databinding.DialogSimpleSelectorItemBinding;
import com.discord.utilities.view.recycler.MaxHeightRecyclerView;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
@ -22,7 +23,6 @@ import d0.z.d.a0;
import d0.z.d.k;
import d0.z.d.m;
import d0.z.d.o;
import java.util.Objects;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
@ -58,17 +58,17 @@ public final class n extends AppDialog {
/* compiled from: SelectorDialog.kt */
public final class b extends SimpleRecyclerAdapter.ViewHolder<CharSequence> {
public final c.a.j.m a;
public final DialogSimpleSelectorItemBinding a;
public final /* synthetic */ n b;
/* JADX WARNING: Illegal instructions before constructor call */
public b(n nVar, c.a.j.m mVar) {
public b(n nVar, DialogSimpleSelectorItemBinding dialogSimpleSelectorItemBinding) {
super(r2);
m.checkNotNullParameter(mVar, "binding");
m.checkNotNullParameter(dialogSimpleSelectorItemBinding, "binding");
this.b = nVar;
TextView textView = mVar.a;
TextView textView = dialogSimpleSelectorItemBinding.a;
m.checkNotNullExpressionValue(textView, "binding.root");
this.a = mVar;
this.a = dialogSimpleSelectorItemBinding;
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@ -146,11 +146,9 @@ public final class n extends AppDialog {
ViewGroup viewGroup2 = viewGroup;
m.checkNotNullParameter(layoutInflater2, "inflater");
m.checkNotNullParameter(viewGroup2, "parent");
View inflate = layoutInflater2.inflate(R.layout.dialog_simple_selector_item, viewGroup2, false);
Objects.requireNonNull(inflate, "rootView");
c.a.j.m mVar = new c.a.j.m((TextView) inflate);
m.checkNotNullExpressionValue(mVar, "DialogSimpleSelectorItem…(inflater, parent, false)");
return new b(this.this$0, mVar);
DialogSimpleSelectorItemBinding a = DialogSimpleSelectorItemBinding.a(layoutInflater2, viewGroup2, false);
m.checkNotNullExpressionValue(a, "DialogSimpleSelectorItem…(inflater, parent, false)");
return new b(this.this$0, a);
}
}
@ -178,10 +176,10 @@ public final class n extends AppDialog {
g().b.setOnClickListener(new d(this));
CharSequence[] charSequenceArray = getArgumentsOrDefault().getCharSequenceArray("INTENT_DIALOG_OPTIONS");
if (charSequenceArray != null) {
MaxHeightRecyclerView maxHeightRecyclerView = g().f120c;
MaxHeightRecyclerView maxHeightRecyclerView = g().f121c;
m.checkNotNullExpressionValue(maxHeightRecyclerView, "binding.dialogSelections");
maxHeightRecyclerView.setAdapter(new SimpleRecyclerAdapter(j.asList(charSequenceArray), new e(this)));
MaxHeightRecyclerView maxHeightRecyclerView2 = g().f120c;
MaxHeightRecyclerView maxHeightRecyclerView2 = g().f121c;
RecyclerView.Adapter adapter = maxHeightRecyclerView2.getAdapter();
if (adapter != null) {
adapter.notifyDataSetChanged();
@ -189,7 +187,7 @@ public final class n extends AppDialog {
maxHeightRecyclerView2.setHasFixedSize(false);
maxHeightRecyclerView2.setNestedScrollingEnabled(false);
SimpleRecyclerAdapter.Companion companion = SimpleRecyclerAdapter.Companion;
MaxHeightRecyclerView maxHeightRecyclerView3 = g().f120c;
MaxHeightRecyclerView maxHeightRecyclerView3 = g().f121c;
m.checkNotNullExpressionValue(maxHeightRecyclerView3, "binding.dialogSelections");
companion.addThemedDivider(maxHeightRecyclerView3);
}

View File

@ -5,7 +5,7 @@ import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import c.a.j.z4;
import c.a.j.y4;
import com.discord.R;
import com.discord.api.auth.mfa.EnableMfaResponse;
import com.discord.app.AppDialog;
@ -42,17 +42,17 @@ public final class r extends AppDialog {
}
/* compiled from: WidgetEnableTwoFactorPasswordDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, z4> {
public static final /* synthetic */ class b extends k implements Function1<View, y4> {
public static final b i = new b();
public b() {
super(1, z4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0);
super(1, y4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public z4 invoke(View view) {
public y4 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.enable_two_factor_password_body_container;
@ -76,7 +76,7 @@ public final class r extends AppDialog {
i2 = R.id.enable_two_factor_password_view_input;
TextInputLayout textInputLayout = (TextInputLayout) view2.findViewById(R.id.enable_two_factor_password_view_input);
if (textInputLayout != null) {
return new z4((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout);
return new y4((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout);
}
}
}
@ -145,7 +145,7 @@ public final class r extends AppDialog {
m.checkNotNullParameter(error2, "error");
r rVar = this.this$0.i;
KProperty[] kPropertyArr = r.i;
rVar.g().f198c.setIsLoading(false);
rVar.g().f194c.setIsLoading(false);
Error.Response response = error2.getResponse();
m.checkNotNullExpressionValue(response, "error.response");
if (response.getCode() == 60005) {
@ -173,7 +173,7 @@ public final class r extends AppDialog {
TextInputLayout textInputLayout = rVar.g().d;
m.checkNotNullExpressionValue(textInputLayout, "binding.enableTwoFactorPasswordViewInput");
String textOrEmpty = ViewExtensions.getTextOrEmpty(textInputLayout);
this.i.g().f198c.setIsLoading(true);
this.i.g().f194c.setIsLoading(true);
Observable ui$default = ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().enableMFA(new RestAPIParams.EnableMFA("random code", "random secret", textOrEmpty)), false, 1, null), this.i, null, 2, null);
a aVar = a.i;
ObservableExtensionsKt.appSubscribe$default(ui$default, this.i.getClass(), this.j.getContext(), (Function1) null, new b(this), (Function0) null, (Function0) null, aVar, 52, (Object) null);
@ -201,8 +201,8 @@ public final class r extends AppDialog {
super(R.layout.widget_enable_two_factor_password_dialog);
}
public final z4 g() {
return (z4) this.k.getValue((Fragment) this, i[0]);
public final y4 g() {
return (y4) this.k.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog
@ -210,8 +210,8 @@ public final class r extends AppDialog {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
setCancelable(false);
g().f198c.setIsLoading(false);
g().f198c.setOnClickListener(new d(this, view));
g().f194c.setIsLoading(false);
g().f194c.setOnClickListener(new d(this, view));
g().b.setOnClickListener(new e(this));
}
}

View File

@ -10,7 +10,7 @@ import androidx.fragment.app.FragmentViewModelLazyKt;
import c.a.a.w;
import c.a.e.h0;
import c.a.e.j0;
import c.a.j.t5;
import c.a.j.s5;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppViewModel;
@ -46,17 +46,17 @@ public final class s extends AppDialog {
}
/* compiled from: WidgetUrgentMessageDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, t5> {
public static final /* synthetic */ class b extends k implements Function1<View, s5> {
public static final b i = new b();
public b() {
super(1, t5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0);
super(1, s5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public t5 invoke(View view) {
public s5 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.view_dialog_confirmation_confirm;
@ -68,7 +68,7 @@ public final class s extends AppDialog {
i2 = R.id.view_dialog_confirmation_text;
TextView textView2 = (TextView) view2.findViewById(R.id.view_dialog_confirmation_text);
if (textView2 != null) {
return new t5((LinearLayout) view2, loadingButton, textView, textView2);
return new s5((LinearLayout) view2, loadingButton, textView, textView2);
}
}
}
@ -94,7 +94,7 @@ public final class s extends AppDialog {
m.checkNotNullParameter(dVar2, "viewState");
s sVar = this.this$0;
KProperty[] kPropertyArr = s.i;
TextView textView = sVar.g().f166c;
TextView textView = sVar.g().f162c;
m.checkNotNullExpressionValue(textView, "binding.viewDialogConfirmationHeader");
textView.setText(sVar.getString(R.string.system_dm_urgent_message_modal_header));
TextView textView2 = sVar.g().d;
@ -160,8 +160,8 @@ public final class s extends AppDialog {
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(w.class), new m(1, h0Var), new j0(eVar));
}
public final t5 g() {
return (t5) this.k.getValue((Fragment) this, i[0]);
public final s5 g() {
return (s5) this.k.getValue((Fragment) this, i[0]);
}
public final w h() {

View File

@ -9,7 +9,7 @@ import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import c.a.j.p;
import c.a.j.o;
import com.discord.R;
import com.discord.api.premium.PremiumTier;
import com.discord.api.premium.SubscriptionInterval;
@ -27,7 +27,6 @@ import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.google.android.material.button.MaterialButton;
import d0.z.d.k;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
@ -49,17 +48,17 @@ public final class a extends AppDialog {
}
/* compiled from: GiftPurchasedDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, p> {
public static final /* synthetic */ class b extends k implements Function1<View, o> {
public static final b i = new b();
public b() {
super(1, p.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/GiftPurchasedDialogBinding;", 0);
super(1, o.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/GiftPurchasedDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public p invoke(View view) {
public o invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.gift_entitlement_code;
@ -83,7 +82,7 @@ public final class a extends AppDialog {
i2 = R.id.gift_purchased_icon;
ImageView imageView = (ImageView) view2.findViewById(R.id.gift_purchased_icon);
if (imageView != null) {
return new p((LinearLayout) view2, textView, relativeLayout, materialButton, linkifiedTextView, materialButton2, textView2, imageView);
return new o((LinearLayout) view2, textView, relativeLayout, materialButton, linkifiedTextView, materialButton2, textView2, imageView);
}
}
}
@ -114,7 +113,7 @@ public final class a extends AppDialog {
}
/* compiled from: GiftPurchasedDialog.kt */
public static final class d extends o implements Function1<RenderContext, Unit> {
public static final class d extends d0.z.d.o implements Function1<RenderContext, Unit> {
public final /* synthetic */ a this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
@ -162,7 +161,7 @@ public final class a extends AppDialog {
MaterialButton materialButton = aVar.g().d;
m.checkNotNullExpressionValue(materialButton, "binding.giftEntitlementCopy");
materialButton.setText(context.getString(R.string.copied));
this.i.g().f139c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, (int) R.attr.gift_code_copied_outline, 0, 2, (Object) null));
this.i.g().f135c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, (int) R.attr.gift_code_copied_outline, 0, 2, (Object) null));
}
}
}
@ -171,8 +170,8 @@ public final class a extends AppDialog {
super(R.layout.gift_purchased_dialog);
}
public final p g() {
return (p) this.l.getValue((Fragment) this, i[0]);
public final o g() {
return (o) this.l.getValue((Fragment) this, i[0]);
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment

View File

@ -10,7 +10,7 @@ import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.fragment.app.FragmentManager;
import c.a.e.f;
import c.a.j.e4;
import c.a.j.d4;
import com.discord.R;
import com.discord.api.application.Application;
import com.discord.api.premium.SubscriptionPlan;
@ -102,17 +102,17 @@ public final class c extends AppDialog {
}
/* compiled from: WidgetGiftAcceptDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, e4> {
public static final /* synthetic */ class b extends k implements Function1<View, d4> {
public static final b i = new b();
public b() {
super(1, e4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0);
super(1, d4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public e4 invoke(View view) {
public d4 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i2 = R.id.accept_gift_body_container;
@ -142,7 +142,7 @@ public final class c extends AppDialog {
i2 = R.id.accept_gift_progress;
ProgressBar progressBar = (ProgressBar) view2.findViewById(R.id.accept_gift_progress);
if (progressBar != null) {
return new e4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar);
return new d4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar);
}
}
}
@ -218,7 +218,7 @@ public final class c extends AppDialog {
str = "";
}
CharSequence i2 = cVar2.i(gift);
LinearLayout linearLayout = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_header_success_nitro, new Object[]{str}, null, 4) : c.a.l.b.k(cVar2, R.string.gift_confirmation_header_success, new Object[0], null, 4), cVar2).f89c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_classic_mobile, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_mobile, new Object[]{i2}, null, 4) : c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_mobile, new Object[]{str}, null, 4), cVar2).e;
LinearLayout linearLayout = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_header_success_nitro, new Object[]{str}, null, 4) : c.a.l.b.k(cVar2, R.string.gift_confirmation_header_success, new Object[0], null, 4), cVar2).f84c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_classic_mobile, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_nitro_mobile, new Object[]{i2}, null, 4) : c.a.l.b.k(cVar2, R.string.gift_confirmation_body_success_mobile, new Object[]{str}, null, 4), cVar2).e;
m.checkNotNullExpressionValue(linearLayout, "binding.acceptGiftDisclaimerContainer");
linearLayout.setVisibility(8);
MaterialButton materialButton = cVar2.h().d;
@ -237,7 +237,7 @@ public final class c extends AppDialog {
TextView textView = cVar3.h().h;
m.checkNotNullExpressionValue(textView, "binding.acceptGiftHeader");
c.a.l.b.n(textView, R.string.gift_confirmation_header_fail, new Object[0], null, 4);
TextView textView2 = cVar3.h().f89c;
TextView textView2 = cVar3.h().f84c;
m.checkNotNullExpressionValue(textView2, "binding.acceptGiftBodyText");
c.a.l.b.n(textView2, R.string.gift_confirmation_body_claimed, new Object[0], null, 4);
LinearLayout linearLayout2 = cVar3.h().e;
@ -254,7 +254,7 @@ public final class c extends AppDialog {
cVar4.g(gift3);
ModelStoreListing storeListing2 = gift3.getStoreListing();
String name = (storeListing2 == null || (sku2 = storeListing2.getSku()) == null) ? null : sku2.getName();
LinearLayout linearLayout3 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.l.b.k(cVar4, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name}, null, 4) : c.a.l.b.k(cVar4, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar4).f89c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.l.b.k(cVar4, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.l.b.k(cVar4, R.string.gift_confirmation_body_confirm, new Object[]{name}, null, 4), cVar4).e;
LinearLayout linearLayout3 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.l.b.k(cVar4, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name}, null, 4) : c.a.l.b.k(cVar4, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar4).f84c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.l.b.k(cVar4, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.l.b.k(cVar4, R.string.gift_confirmation_body_confirm, new Object[]{name}, null, 4), cVar4).e;
m.checkNotNullExpressionValue(linearLayout3, "binding.acceptGiftDisclaimerContainer");
if (!gift3.isAnyNitroGift()) {
i = 8;
@ -282,7 +282,7 @@ public final class c extends AppDialog {
ProgressBar progressBar = cVar5.h().i;
m.checkNotNullExpressionValue(progressBar, "binding.acceptGiftProgress");
progressBar.setVisibility(0);
LinearLayout linearLayout4 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.l.b.k(cVar5, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name2}, null, 4) : c.a.l.b.k(cVar5, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar5).f89c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.l.b.k(cVar5, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.l.b.k(cVar5, R.string.gift_confirmation_body_confirm, new Object[]{name2}, null, 4), cVar5).e;
LinearLayout linearLayout4 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.l.b.k(cVar5, R.string.gift_confirmation_header_confirm_nitro, new Object[]{name2}, null, 4) : c.a.l.b.k(cVar5, R.string.gift_confirmation_header_confirm, new Object[0], null, 4), cVar5).f84c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.l.b.k(cVar5, R.string.gift_confirmation_body_confirm_nitro, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.l.b.k(cVar5, R.string.gift_confirmation_body_confirm, new Object[]{name2}, null, 4), cVar5).e;
m.checkNotNullExpressionValue(linearLayout4, "binding.acceptGiftDisclaimerContainer");
if (!gift4.isAnyNitroGift()) {
i = 8;
@ -297,11 +297,11 @@ public final class c extends AppDialog {
TextView textView3 = cVar6.h().h;
m.checkNotNullExpressionValue(textView3, "binding.acceptGiftHeader");
textView3.setText(c.a.l.b.k(cVar6, R.string.gift_confirmation_header_fail, new Object[0], null, 4));
TextView textView4 = cVar6.h().f89c;
TextView textView4 = cVar6.h().f84c;
m.checkNotNullExpressionValue(textView4, "binding.acceptGiftBodyText");
c.a.l.b.n(textView4, R.string.gift_confirmation_body_unknown_error, new Object[0], null, 4);
if (redeemedFailed.getCanRetry()) {
TextView textView5 = cVar6.h().f89c;
TextView textView5 = cVar6.h().f84c;
m.checkNotNullExpressionValue(textView5, "binding.acceptGiftBodyText");
c.a.l.b.n(textView5, R.string.gift_confirmation_body_unknown_error, new Object[0], null, 4);
MaterialButton materialButton5 = cVar6.h().d;
@ -315,13 +315,13 @@ public final class c extends AppDialog {
} else {
Integer errorCode = redeemedFailed.getErrorCode();
if (errorCode != null && errorCode.intValue() == 50054) {
cVar6.h().f89c.setText(R.string.gift_confirmation_body_self_gift_no_payment);
cVar6.h().f84c.setText(R.string.gift_confirmation_body_self_gift_no_payment);
} else if (errorCode != null && errorCode.intValue() == 100024) {
cVar6.h().f89c.setText(R.string.gift_confirmation_body_error_nitro_upgrade_downgrade);
cVar6.h().f84c.setText(R.string.gift_confirmation_body_error_nitro_upgrade_downgrade);
} else if (errorCode != null && errorCode.intValue() == 100022) {
cVar6.h().f89c.setText(R.string.gift_confirmation_body_error_subscription_managed);
cVar6.h().f84c.setText(R.string.gift_confirmation_body_error_subscription_managed);
} else if (errorCode != null && errorCode.intValue() == 100025) {
cVar6.h().f89c.setText(R.string.gift_confirmation_body_error_invoice_open);
cVar6.h().f84c.setText(R.string.gift_confirmation_body_error_invoice_open);
}
MaterialButton materialButton6 = cVar6.h().d;
m.checkNotNullExpressionValue(materialButton6, "binding.acceptGiftConfirm");
@ -376,8 +376,8 @@ public final class c extends AppDialog {
progressBar.setVisibility(8);
}
public final e4 h() {
return (e4) this.k.getValue((Fragment) this, i[0]);
public final d4 h() {
return (d4) this.k.getValue((Fragment) this, i[0]);
}
public final CharSequence i(ModelGift modelGift) {

View File

@ -28,6 +28,8 @@ import com.discord.api.guild.GuildVerificationLevel;
import com.discord.api.guild.GuildVerificationLevelTypeAdapter;
import com.discord.api.guildjoinrequest.ApplicationStatus;
import com.discord.api.guildjoinrequest.ApplicationStatusTypeAdapter;
import com.discord.api.guildrolesubscription.GuildRoleSubscriptionBenefitType;
import com.discord.api.guildrolesubscription.GuildRoleSubscriptionBenefitTypeAdapter;
import com.discord.api.guildscheduledevent.GuildScheduledEventEntityType;
import com.discord.api.guildscheduledevent.GuildScheduledEventEntityTypeTypeAdapter;
import com.discord.api.guildscheduledevent.GuildScheduledEventStatus;
@ -40,6 +42,8 @@ import com.discord.api.message.embed.EmbedType;
import com.discord.api.message.embed.EmbedTypeTypeAdapter;
import com.discord.api.premium.PremiumTier;
import com.discord.api.premium.PremiumTierTypeAdapter;
import com.discord.api.premium.PriceTierType;
import com.discord.api.premium.PriceTierTypeAdapter;
import com.discord.api.report.ReportNodeBottomButton;
import com.discord.api.report.ReportNodeBottomButtonTypeAdapter;
import com.discord.api.report.ReportNodeChild;
@ -70,7 +74,7 @@ import java.util.Map;
import kotlin.jvm.functions.Function0;
/* compiled from: TypeAdapterRegistrar.kt */
public final class a {
public static final Map<Class<? extends Object>, Function0<Object>> a = h0.mapOf(o.to(ActivityPlatform.class, b.i), o.to(ApplicationStatus.class, C0024a.C), o.to(UtcDateTime.class, C0024a.D), o.to(NsfwAllowance.class, C0024a.E), o.to(PremiumTier.class, C0024a.F), o.to(ActivityType.class, C0024a.G), o.to(Phone.class, C0024a.H), o.to(ApplicationCommandType.class, C0024a.I), o.to(OAuthScope.class, C0024a.J), o.to(GuildVerificationLevel.class, C0024a.i), o.to(GuildExplicitContentFilter.class, C0024a.j), o.to(GuildMaxVideoChannelUsers.class, C0024a.k), o.to(ComponentType.class, C0024a.l), o.to(ButtonStyle.class, C0024a.m), o.to(ReportNodeChild.class, C0024a.n), o.to(ReportNodeElementData.class, C0024a.o), o.to(ReportNodeBottomButton.class, C0024a.p), o.to(ApplicationCommandPermissionType.class, C0024a.q), o.to(StageInstancePrivacyLevel.class, C0024a.r), o.to(FriendSuggestionReasonType.class, C0024a.f38s), o.to(AllowedInSuggestionsType.class, C0024a.t), o.to(StickerFormatType.class, C0024a.u), o.to(LocalizedString.class, C0024a.v), o.to(MessageActivityType.class, C0024a.w), o.to(EmbedType.class, C0024a.f39x), o.to(StickerType.class, C0024a.f40y), o.to(GuildScheduledEventStatus.class, C0024a.f41z), o.to(GuildScheduledEventEntityType.class, C0024a.A), o.to(Science.Event.SchemaObject.class, C0024a.B));
public static final Map<Class<? extends Object>, Function0<Object>> a = h0.mapOf(o.to(ActivityPlatform.class, b.i), o.to(ApplicationStatus.class, C0024a.C), o.to(UtcDateTime.class, C0024a.F), o.to(NsfwAllowance.class, C0024a.G), o.to(PremiumTier.class, C0024a.H), o.to(ActivityType.class, C0024a.I), o.to(Phone.class, C0024a.J), o.to(ApplicationCommandType.class, C0024a.K), o.to(OAuthScope.class, C0024a.L), o.to(GuildVerificationLevel.class, C0024a.i), o.to(GuildExplicitContentFilter.class, C0024a.j), o.to(GuildMaxVideoChannelUsers.class, C0024a.k), o.to(ComponentType.class, C0024a.l), o.to(ButtonStyle.class, C0024a.m), o.to(ReportNodeChild.class, C0024a.n), o.to(ReportNodeElementData.class, C0024a.o), o.to(ReportNodeBottomButton.class, C0024a.p), o.to(ApplicationCommandPermissionType.class, C0024a.q), o.to(StageInstancePrivacyLevel.class, C0024a.r), o.to(FriendSuggestionReasonType.class, C0024a.f39s), o.to(AllowedInSuggestionsType.class, C0024a.t), o.to(StickerFormatType.class, C0024a.u), o.to(LocalizedString.class, C0024a.v), o.to(MessageActivityType.class, C0024a.w), o.to(EmbedType.class, C0024a.f40x), o.to(StickerType.class, C0024a.f41y), o.to(GuildScheduledEventStatus.class, C0024a.f42z), o.to(GuildScheduledEventEntityType.class, C0024a.A), o.to(Science.Event.SchemaObject.class, C0024a.B), o.to(GuildRoleSubscriptionBenefitType.class, C0024a.D), o.to(PriceTierType.class, C0024a.E));
public static final List<c.i.d.o> b = n.listOf((Object[]) new c.i.d.o[]{ComponentRuntimeTypeAdapter.INSTANCE.a(), new NullSerializableTypeAdapterFactory()});
/* compiled from: kotlin-style lambda group */
@ -86,6 +90,8 @@ public final class a {
public static final C0024a H = new C0024a(25);
public static final C0024a I = new C0024a(26);
public static final C0024a J = new C0024a(27);
public static final C0024a K = new C0024a(28);
public static final C0024a L = new C0024a(29);
public static final C0024a i = new C0024a(0);
public static final C0024a j = new C0024a(1);
public static final C0024a k = new C0024a(2);
@ -98,32 +104,32 @@ public final class a {
public static final C0024a r = new C0024a(9);
/* renamed from: s reason: collision with root package name */
public static final C0024a f38s = new C0024a(10);
public static final C0024a f39s = new C0024a(10);
public static final C0024a t = new C0024a(11);
public static final C0024a u = new C0024a(12);
public static final C0024a v = new C0024a(13);
public static final C0024a w = new C0024a(14);
/* renamed from: x reason: collision with root package name */
public static final C0024a f39x = new C0024a(15);
public static final C0024a f40x = new C0024a(15);
/* renamed from: y reason: collision with root package name */
public static final C0024a f40y = new C0024a(16);
public static final C0024a f41y = new C0024a(16);
/* renamed from: z reason: collision with root package name */
public static final C0024a f41z = new C0024a(17);
public final /* synthetic */ int K;
public static final C0024a f42z = new C0024a(17);
public final /* synthetic */ int M;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0024a(int i2) {
super(0);
this.K = i2;
this.M = i2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final Object mo1invoke() {
switch (this.K) {
switch (this.M) {
case 0:
return new GuildVerificationLevelTypeAdapter();
case 1:
@ -167,18 +173,22 @@ public final class a {
case 20:
return new ApplicationStatusTypeAdapter();
case 21:
return new UtcDateTimeTypeAdapter();
return new GuildRoleSubscriptionBenefitTypeAdapter();
case 22:
return new NsfwAllowanceTypeAdapter();
return new PriceTierTypeAdapter();
case 23:
return new PremiumTierTypeAdapter();
return new UtcDateTimeTypeAdapter();
case 24:
return new ActivityTypeTypeAdapter();
return new NsfwAllowanceTypeAdapter();
case 25:
return new PhoneTypeAdapter();
return new PremiumTierTypeAdapter();
case 26:
return new CommandTypeAdapter();
return new ActivityTypeTypeAdapter();
case 27:
return new PhoneTypeAdapter();
case 28:
return new CommandTypeAdapter();
case 29:
return new OAuthScopeTypeAdapter();
default:
throw null;

View File

@ -0,0 +1,72 @@
package c.a.d.a.a;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackWelcomeCtaClicked.kt */
public final class a implements AnalyticsSchema {
public final transient String a;
public final Boolean b;
/* renamed from: c reason: collision with root package name */
public final CharSequence f43c;
public final Long d;
public final Long e;
public a() {
this.b = null;
this.f43c = null;
this.d = null;
this.e = null;
this.a = "welcome_cta_clicked";
}
public a(Boolean bool, CharSequence charSequence, Long l, Long l2) {
this.b = bool;
this.f43c = charSequence;
this.d = l;
this.e = l2;
this.a = "welcome_cta_clicked";
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof a)) {
return false;
}
a aVar = (a) obj;
return m.areEqual(this.b, aVar.b) && m.areEqual(this.f43c, aVar.f43c) && m.areEqual(this.d, aVar.d) && m.areEqual(this.e, aVar.e);
}
@Override // com.discord.api.science.AnalyticsSchema
public String getType() {
return this.a;
}
public int hashCode() {
Boolean bool = this.b;
int i = 0;
int hashCode = (bool != null ? bool.hashCode() : 0) * 31;
CharSequence charSequence = this.f43c;
int hashCode2 = (hashCode + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Long l = this.d;
int hashCode3 = (hashCode2 + (l != null ? l.hashCode() : 0)) * 31;
Long l2 = this.e;
if (l2 != null) {
i = l2.hashCode();
}
return hashCode3 + i;
}
public String toString() {
StringBuilder K = c.d.b.a.a.K("TrackWelcomeCtaClicked(isReply=");
K.append(this.b);
K.append(", stickerId=");
K.append(this.f43c);
K.append(", targetUser=");
K.append(this.d);
K.append(", sender=");
return c.d.b.a.a.A(K, this.e, ")");
}
}

View File

@ -0,0 +1,10 @@
package c.a.d.a.a.b;
import com.discord.api.science.AnalyticsSchema;
/* compiled from: TrackImpressionHubWaitlistSignup.kt */
public final class a implements AnalyticsSchema {
@Override // com.discord.api.science.AnalyticsSchema
public String getType() {
return "impression_hub_waitlist_signup";
}
}

View File

@ -1,23 +1,24 @@
package c.a.d.a.a.a;
package c.a.d.a.a.b;
import c.d.b.a.a;
import com.discord.api.science.AnalyticsSchema;
import d0.z.d.m;
/* compiled from: TrackImpressionInviteAccept.kt */
public final class a implements AnalyticsSchema {
public final class b implements AnalyticsSchema {
public final transient String a;
public final CharSequence b;
/* renamed from: c reason: collision with root package name */
public final CharSequence f42c;
public final CharSequence f44c;
public a() {
public b() {
this(null, null, 3);
}
public a(CharSequence charSequence, CharSequence charSequence2, int i) {
public b(CharSequence charSequence, CharSequence charSequence2, int i) {
int i2 = i & 2;
this.b = (i & 1) != 0 ? null : charSequence;
this.f42c = null;
this.f44c = null;
this.a = "impression_invite_accept";
}
@ -25,11 +26,11 @@ public final class a implements AnalyticsSchema {
if (this == obj) {
return true;
}
if (!(obj instanceof a)) {
if (!(obj instanceof b)) {
return false;
}
a aVar = (a) obj;
return m.areEqual(this.b, aVar.b) && m.areEqual(this.f42c, aVar.f42c);
b bVar = (b) obj;
return m.areEqual(this.b, bVar.b) && m.areEqual(this.f44c, bVar.f44c);
}
@Override // com.discord.api.science.AnalyticsSchema
@ -41,7 +42,7 @@ public final class a implements AnalyticsSchema {
CharSequence charSequence = this.b;
int i = 0;
int hashCode = (charSequence != null ? charSequence.hashCode() : 0) * 31;
CharSequence charSequence2 = this.f42c;
CharSequence charSequence2 = this.f44c;
if (charSequence2 != null) {
i = charSequence2.hashCode();
}
@ -49,10 +50,10 @@ public final class a implements AnalyticsSchema {
}
public String toString() {
StringBuilder K = c.d.b.a.a.K("TrackImpressionInviteAccept(inviteCode=");
StringBuilder K = a.K("TrackImpressionInviteAccept(inviteCode=");
K.append(this.b);
K.append(", deeplinkAttemptId=");
K.append(this.f42c);
K.append(this.f44c);
K.append(")");
return K.toString();
}

View File

@ -10,12 +10,12 @@ public final class b implements Toolbar.OnMenuItemClickListener {
public final /* synthetic */ Action2 b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ Action1 f43c;
public final /* synthetic */ Action1 f45c;
public b(Toolbar toolbar, int i, Action2 action2, Action1 action1) {
this.a = toolbar;
this.b = action2;
this.f43c = action1;
this.f45c = action1;
}
@Override // androidx.appcompat.widget.Toolbar.OnMenuItemClickListener

View File

@ -88,7 +88,7 @@ public final class l {
public static final List<c<WidgetAgeVerify>> b = m.listOf(a0.getOrCreateKotlinClass(WidgetAgeVerify.class));
/* renamed from: c reason: collision with root package name */
public static final List<c<? extends WidgetOauth2Authorize>> f44c = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetOauth2Authorize.class), a0.getOrCreateKotlinClass(WidgetOauth2AuthorizeSamsung.class)});
public static final List<c<? extends WidgetOauth2Authorize>> f46c = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetOauth2Authorize.class), a0.getOrCreateKotlinClass(WidgetOauth2AuthorizeSamsung.class)});
public static final List<c<? extends AppFragment>> d = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetSettingsAccount.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountBackupCodes.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountChangePassword.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountUsernameEdit.class), a0.getOrCreateKotlinClass(WidgetSettingsAccountEmailEdit.class), a0.getOrCreateKotlinClass(WidgetUserPasswordVerify.class), a0.getOrCreateKotlinClass(WidgetEnableMFASteps.class), a0.getOrCreateKotlinClass(WidgetSettingsAppearance.class), a0.getOrCreateKotlinClass(WidgetSettingsBehavior.class), a0.getOrCreateKotlinClass(WidgetSettingsLanguage.class), a0.getOrCreateKotlinClass(WidgetSettingsMedia.class), a0.getOrCreateKotlinClass(WidgetSettingsPremium.class), a0.getOrCreateKotlinClass(WidgetSettingsNotifications.class), a0.getOrCreateKotlinClass(WidgetSettingsUserConnections.class), a0.getOrCreateKotlinClass(WidgetSettingsVoice.class), a0.getOrCreateKotlinClass(WidgetSettingsPrivacy.class), a0.getOrCreateKotlinClass(WidgetSettingsAuthorizedApps.class), a0.getOrCreateKotlinClass(WidgetServerNotifications.class), a0.getOrCreateKotlinClass(WidgetServerSettingsOverview.class), a0.getOrCreateKotlinClass(WidgetServerSettingsChannels.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEditMember.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEditRole.class), a0.getOrCreateKotlinClass(WidgetServerSettingsIntegrations.class), a0.getOrCreateKotlinClass(WidgetServerSettingsModeration.class), a0.getOrCreateKotlinClass(WidgetServerSettingsVanityUrl.class), a0.getOrCreateKotlinClass(WidgetServerSettingsSecurity.class), a0.getOrCreateKotlinClass(WidgetServerSettingsMembers.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEmojis.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEmojisEdit.class), a0.getOrCreateKotlinClass(WidgetServerSettingsRolesList.class), a0.getOrCreateKotlinClass(WidgetServerSettingsInstantInvites.class), a0.getOrCreateKotlinClass(WidgetServerSettingsBans.class), a0.getOrCreateKotlinClass(WidgetChannelSettingsEditPermissions.class), a0.getOrCreateKotlinClass(WidgetChannelSettingsPermissionsOverview.class), a0.getOrCreateKotlinClass(WidgetAuthRegisterIdentity.class), a0.getOrCreateKotlinClass(WidgetAuthRegisterAccountInformation.class), a0.getOrCreateKotlinClass(WidgetAuthBirthday.class), a0.getOrCreateKotlinClass(WidgetAuthAgeGated.class), a0.getOrCreateKotlinClass(WidgetAuthLogin.class), a0.getOrCreateKotlinClass(WidgetAuthPhoneVerify.class), a0.getOrCreateKotlinClass(WidgetAuthResetPassword.class), a0.getOrCreateKotlinClass(WidgetSettingsDeveloper.class), a0.getOrCreateKotlinClass(WidgetSettingsBlockedUsers.class), a0.getOrCreateKotlinClass(WidgetNuxChannelPrompt.class), a0.getOrCreateKotlinClass(WidgetChoosePlan.class), a0.getOrCreateKotlinClass(WidgetServerSettingsCommunityOverview.class), a0.getOrCreateKotlinClass(WidgetServerSettingsEnableCommunitySteps.class), a0.getOrCreateKotlinClass(WidgetSettingsUserProfile.class)});
public static final List<c<? extends AppFragment>> e = n.listOf((Object[]) new c[]{a0.getOrCreateKotlinClass(WidgetUserAccountVerify.class), a0.getOrCreateKotlinClass(WidgetUserEmailVerify.class), a0.getOrCreateKotlinClass(WidgetUserEmailUpdate.class), a0.getOrCreateKotlinClass(WidgetUserPhoneManage.class), a0.getOrCreateKotlinClass(WidgetUserPhoneVerify.class), a0.getOrCreateKotlinClass(WidgetUserPasswordVerify.class)});
public static final List<c<WidgetTabsHost>> f = m.listOf(a0.getOrCreateKotlinClass(WidgetTabsHost.class));

View File

@ -11,7 +11,7 @@ public final class n {
public static final BehaviorSubject<Integer> b = BehaviorSubject.l0(0);
/* renamed from: c reason: collision with root package name */
public static final n f45c = new n();
public static final n f47c = new n();
public final synchronized void a(Object obj) {
m.checkNotNullParameter(obj, "consumer");

View File

@ -9,6 +9,6 @@ public final class n0 {
public static final List<String> b = new ArrayList();
/* renamed from: c reason: collision with root package name */
public static boolean f46c;
public static boolean f48c;
public static final n0 d = new n0();
}

View File

@ -18,7 +18,7 @@ public final class b {
public static final String b;
/* renamed from: c reason: collision with root package name */
public static final String f47c;
public static final String f49c;
public static final String d;
public static final String e;
public static final String f;
@ -36,20 +36,20 @@ public final class b {
public static final Regex r;
/* renamed from: s reason: collision with root package name */
public static final Regex f48s;
public static final Regex f50s;
public static final Regex t;
public static final Regex u;
public static final Regex v;
public static final Regex w;
/* renamed from: x reason: collision with root package name */
public static final Regex f49x;
public static final Regex f51x;
/* renamed from: y reason: collision with root package name */
public static final Regex f50y;
public static final Regex f52y;
/* renamed from: z reason: collision with root package name */
public static final Regex f51z;
public static final Regex f53z;
static {
b bVar = new b();
@ -59,7 +59,7 @@ public final class b {
String b3 = bVar.b(BuildConfig.HOST_ALTERNATE);
b = b3;
String b4 = bVar.b(BuildConfig.HOST_GIFT);
f47c = b4;
f49c = b4;
String b5 = bVar.b(BuildConfig.HOST_INVITE);
d = b5;
String b6 = bVar.b(BuildConfig.HOST_GUILD_TEMPLATE);
@ -101,14 +101,14 @@ public final class b {
String sb6 = sb5.toString();
m.checkNotNullExpressionValue(sb6, "StringBuilder()\n …?\")\n .toString()");
r = new Regex(sb6, iVar);
f48s = new Regex("^/connect(?:/(\\d+))?/?$", iVar);
f50s = new Regex("^/connect(?:/(\\d+))?/?$", iVar);
t = new Regex("^/channels/((?:@me)|(?:\\d+))(?:/(\\d+))?(?:/(\\d+))?/?$", iVar);
u = new Regex("^/channels/@me/-1?/?$", iVar);
v = new Regex("^/lurk/(\\d+)(?:/(\\d+))?/?$", iVar);
w = new Regex("^/channels/@me/user/(\\d+)/?$", iVar);
f49x = new Regex("^/users/(\\d+)/?$", iVar);
f50y = new Regex("^/discovery/?$", iVar);
f51z = new Regex("^/settings(/\\w+)*/?$", iVar);
f51x = new Regex("^/users/(\\d+)/?$", iVar);
f52y = new Regex("^/discovery/?$", iVar);
f53z = new Regex("^/settings(/\\w+)*/?$", iVar);
A = new Regex("^/feature(/\\w+)*/?$", iVar);
B = new Regex("^/query(/\\w+)*/?$", iVar);
C = new Regex("^/(?:oauth2|connect)/authorize/?$", iVar);
@ -119,7 +119,7 @@ public final class b {
if (str == null) {
return false;
}
if (!m.areEqual(str, a) && !m.areEqual(str, b) && !m.areEqual(str, f47c) && !m.areEqual(str, e) && !m.areEqual(str, d)) {
if (!m.areEqual(str, a) && !m.areEqual(str, b) && !m.areEqual(str, f49c) && !m.areEqual(str, e) && !m.areEqual(str, d)) {
return l.matches(str);
}
return true;

View File

@ -19,7 +19,7 @@ public final /* synthetic */ class a extends k implements Function1<Boolean, Uni
boolean z2 = d.a;
Objects.requireNonNull((d) this.receiver);
d.a = booleanValue;
Subscription subscription = d.f52c;
Subscription subscription = d.f54c;
if (subscription != null) {
subscription.unsubscribe();
}

View File

@ -42,7 +42,7 @@ public final class b implements Application.ActivityLifecycleCallbacks {
if (function1 != null) {
function1 = new c(function1);
}
d.f52c = q.W(cVar, (Action1) function1);
d.f54c = q.W(cVar, (Action1) function1);
}
@Override // android.app.Application.ActivityLifecycleCallbacks
@ -50,7 +50,7 @@ public final class b implements Application.ActivityLifecycleCallbacks {
m.checkNotNullParameter(activity, ActivityChooserModel.ATTRIBUTE_ACTIVITY);
d dVar = d.d;
d.a = false;
Subscription subscription = d.f52c;
Subscription subscription = d.f54c;
if (subscription != null) {
subscription.unsubscribe();
}

View File

@ -11,7 +11,7 @@ public final class d {
public static final Subject<Boolean, Boolean> b;
/* renamed from: c reason: collision with root package name */
public static Subscription f52c;
public static Subscription f54c;
public static final d d = new d();
static {

View File

@ -23,7 +23,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f53c;
public final int f55c;
public final int d;
public final int e;
public final int f;
@ -31,7 +31,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
public C0025a(int i, float f, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) {
this.a = i;
this.b = i2;
this.f53c = i3;
this.f55c = i3;
this.d = i4;
this.e = i5;
this.f = i8;
@ -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.f1590z.clearFocus();
this.p.f1598z.clearFocus();
ChipsView<K, T> chipsView = this.p;
Objects.requireNonNull(chipsView);
m.checkNotNullParameter(this, "chip");

View File

@ -22,7 +22,7 @@ public final class b implements Runnable {
m.checkNotNullExpressionValue(relativeLayout, "it");
Drawable background = relativeLayout.getBackground();
m.checkNotNullExpressionValue(background, "it.background");
int i = this.j.o.f53c;
int i = this.j.o.f55c;
Objects.requireNonNull(aVar);
background.setColorFilter(i, PorterDuff.Mode.SRC_ATOP);
}

View File

@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
this.i.f1590z.requestFocus();
this.i.f1598z.requestFocus();
this.i.f(null);
}
}

View File

@ -15,12 +15,12 @@ public final class a implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final TextView f54c;
public final TextView f56c;
public a(@NonNull RelativeLayout relativeLayout, @NonNull ImageView imageView, @NonNull TextView textView) {
this.a = relativeLayout;
this.b = imageView;
this.f54c = textView;
this.f56c = textView;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -17,7 +17,7 @@ public final class a {
public final float[] b = new float[3];
/* renamed from: c reason: collision with root package name */
public final int[] f55c;
public final int[] f57c;
public final SparseIntArray d;
public final List<d> e;
@ -45,7 +45,7 @@ public final class a {
public int b;
/* renamed from: c reason: collision with root package name */
public int f56c;
public int f58c;
public int d;
public int e;
public int f;
@ -60,7 +60,7 @@ public final class a {
public final void a() {
this.e = 255;
this.f56c = 255;
this.f58c = 255;
this.a = 255;
this.f = 0;
this.d = 0;
@ -69,7 +69,7 @@ public final class a {
int i2 = this.h;
if (i <= i2) {
while (true) {
int i3 = a.this.f55c[i];
int i3 = a.this.f57c[i];
int red = Color.red(i3);
int green = Color.green(i3);
int blue = Color.blue(i3);
@ -82,8 +82,8 @@ public final class a {
if (green > this.d) {
this.d = green;
}
if (green < this.f56c) {
this.f56c = green;
if (green < this.f58c) {
this.f58c = green;
}
if (blue > this.f) {
this.f = blue;
@ -101,7 +101,7 @@ public final class a {
}
public final int b() {
return ((this.f - this.e) + 1) * ((this.d - this.f56c) + 1) * ((this.b - this.a) + 1);
return ((this.f - this.e) + 1) * ((this.d - this.f58c) + 1) * ((this.b - this.a) + 1);
}
}
@ -124,13 +124,13 @@ public final class a {
if (i >= 1) {
int i6 = bVar.d;
int[] iArr = bVar.b;
int[] iArr2 = bVar.f57c;
int[] iArr2 = bVar.f59c;
this.d = new SparseIntArray(i6);
int length = iArr.length;
for (int i7 = 0; i7 < length; i7++) {
this.d.append(iArr[i7], iArr2[i7]);
}
this.f55c = new int[i6];
this.f57c = new int[i6];
int i8 = 0;
for (int i9 : iArr) {
int alpha = Color.alpha(i9);
@ -145,7 +145,7 @@ public final class a {
if (!z5) {
z4 = false;
if (z4) {
this.f55c[i8] = i9;
this.f57c[i8] = i9;
i8++;
}
}
@ -162,7 +162,7 @@ public final class a {
}
if (i8 <= i) {
this.e = new ArrayList();
int[] iArr3 = this.f55c;
int[] iArr3 = this.f57c;
for (int i10 : iArr3) {
this.e.add(new d(i10, this.d.get(i10)));
}
@ -179,13 +179,13 @@ public final class a {
}
if (i13 > 1) {
int i14 = cVar.b - cVar.a;
int i15 = cVar.d - cVar.f56c;
int i15 = cVar.d - cVar.f58c;
int i16 = cVar.f - cVar.e;
int i17 = (i14 < i15 || i14 < i16) ? (i15 < i14 || i15 < i16) ? -1 : -2 : -3;
a(a.this, i17, i12, i11);
Arrays.sort(a.this.f55c, cVar.g, cVar.h + 1);
Arrays.sort(a.this.f57c, cVar.g, cVar.h + 1);
a(a.this, i17, cVar.g, cVar.h);
int i18 = i17 != -3 ? i17 != -2 ? i17 != -1 ? (cVar.a + cVar.b) / 2 : (cVar.e + cVar.f) / 2 : (cVar.f56c + cVar.d) / 2 : (cVar.a + cVar.b) / 2;
int i18 = i17 != -3 ? i17 != -2 ? i17 != -1 ? (cVar.a + cVar.b) / 2 : (cVar.e + cVar.f) / 2 : (cVar.f58c + cVar.d) / 2 : (cVar.a + cVar.b) / 2;
int i19 = cVar.g;
int i20 = cVar.h;
while (true) {
@ -193,7 +193,7 @@ public final class a {
i19 = cVar.g;
break;
}
int i21 = a.this.f55c[i19];
int i21 = a.this.f57c[i19];
if (i17 != -3) {
if (i17 != -2) {
if (i17 == -1 && Color.blue(i21) > i18) {
@ -229,7 +229,7 @@ public final class a {
i2 = 0;
while (true) {
a aVar = a.this;
int i24 = aVar.f55c[i22];
int i24 = aVar.f57c[i22];
int i25 = aVar.d.get(i24);
i5 += i25;
i4 = (Color.red(i24) * i25) + i4;
@ -297,14 +297,14 @@ public final class a {
Objects.requireNonNull(aVar);
if (i == -2) {
while (i2 <= i3) {
int[] iArr = aVar.f55c;
int[] iArr = aVar.f57c;
int i4 = iArr[i2];
iArr[i2] = Color.rgb((i4 >> 8) & 255, (i4 >> 16) & 255, i4 & 255);
i2++;
}
} else if (i == -1) {
while (i2 <= i3) {
int[] iArr2 = aVar.f55c;
int[] iArr2 = aVar.f57c;
int i5 = iArr2[i2];
iArr2[i2] = Color.rgb(i5 & 255, (i5 >> 8) & 255, (i5 >> 16) & 255);
i2++;

View File

@ -9,7 +9,7 @@ public final class b {
public final int[] b;
/* renamed from: c reason: collision with root package name */
public final int[] f57c;
public final int[] f59c;
public final int d;
/* compiled from: ColorHistogram.kt */
@ -41,7 +41,7 @@ public final class b {
int[] iArr2 = new int[i];
this.b = iArr2;
int[] iArr3 = new int[i];
this.f57c = iArr3;
this.f59c = iArr3;
if (!(iArr.length == 0)) {
int i6 = iArr[0];
iArr2[0] = i6;
@ -50,13 +50,13 @@ public final class b {
int length2 = iArr.length;
for (int i7 = 1; i7 < length2; i7++) {
if (iArr[i7] == i6) {
int[] iArr4 = this.f57c;
int[] iArr4 = this.f59c;
iArr4[i2] = iArr4[i2] + 1;
} else {
i6 = iArr[i7];
i2++;
this.b[i2] = i6;
this.f57c[i2] = 1;
this.f59c[i2] = 1;
}
}
}

View File

@ -9,7 +9,7 @@ public final class d {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f58c;
public final int f60c;
public final int d;
public final int e;
public float[] f;
@ -17,7 +17,7 @@ public final class d {
public d(int i, int i2) {
this.a = Color.red(i);
this.b = Color.green(i);
this.f58c = Color.blue(i);
this.f60c = Color.blue(i);
this.d = i;
this.e = i2;
}
@ -25,7 +25,7 @@ public final class d {
public d(int i, int i2, int i3, int i4) {
this.a = i;
this.b = i2;
this.f58c = i3;
this.f60c = i3;
this.d = Color.rgb(i, i2, i3);
this.e = i4;
}
@ -34,7 +34,7 @@ public final class d {
if (this.f == null) {
float[] fArr = new float[3];
this.f = fArr;
c.a(this.a, this.b, this.f58c, fArr);
c.a(this.a, this.b, this.f60c, fArr);
}
return this.f;
}

View File

@ -15,14 +15,14 @@ public final class a implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final MaterialButton f59c;
public final MaterialButton f61c;
@NonNull
public final MaterialButton d;
public a(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) {
this.a = linearLayout;
this.b = textView;
this.f59c = materialButton;
this.f61c = materialButton;
this.d = materialButton2;
}

View File

@ -5,26 +5,23 @@ import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import com.discord.utilities.view.text.LinkifiedTextView;
import com.discord.views.phone.PhoneOrEmailInputView;
import com.google.android.material.button.MaterialButton;
/* compiled from: LayoutAgeVerifyUnderageBinding */
/* compiled from: LayoutContactSyncAddPhoneBinding */
public final class a0 implements ViewBinding {
@NonNull
public final ConstraintLayout a;
@NonNull
public final MaterialButton b;
public final PhoneOrEmailInputView b;
@NonNull
/* renamed from: c reason: collision with root package name */
public final LinkifiedTextView f60c;
@NonNull
public final TextView d;
public final MaterialButton f62c;
public a0(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView, @NonNull TextView textView2) {
public a0(@NonNull ConstraintLayout constraintLayout, @NonNull PhoneOrEmailInputView phoneOrEmailInputView, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2) {
this.a = constraintLayout;
this.b = materialButton;
this.f60c = linkifiedTextView;
this.d = textView2;
this.b = phoneOrEmailInputView;
this.f62c = materialButton;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -1,36 +1,30 @@
package c.a.j;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;
import com.google.android.material.button.MaterialButton;
/* compiled from: PremiumUpgradeYearlyDialogBinding */
/* compiled from: PrivateChannelSideBarActionsViewBinding */
public final class a1 implements ViewBinding {
@NonNull
public final LinearLayout a;
public final View a;
@NonNull
public final ImageView b;
public final MaterialButton b;
@NonNull
/* renamed from: c reason: collision with root package name */
public final TextView f61c;
public final MaterialButton f63c;
@NonNull
public final TextView d;
public final MaterialButton d;
@NonNull
public final TextView e;
@NonNull
public final MaterialButton f;
public final MaterialButton e;
public a1(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull MaterialButton materialButton) {
this.a = linearLayout;
this.b = imageView;
this.f61c = textView;
this.d = textView2;
this.e = textView3;
this.f = materialButton;
public a1(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4) {
this.a = view;
this.b = materialButton;
this.f63c = materialButton2;
this.d = materialButton3;
this.e = materialButton4;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -1,19 +1,25 @@
package c.a.j;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;
import com.discord.views.discovery.speakers.SpeakersRecyclerView;
/* compiled from: ViewDiscoveryStageCardSpeakersBinding */
import com.facebook.drawee.view.SimpleDraweeView;
/* compiled from: ViewDiscoveryStageCardTopHatBinding */
public final class a2 implements ViewBinding {
@NonNull
public final View a;
@NonNull
public final SpeakersRecyclerView b;
public final SimpleDraweeView b;
@NonNull
public a2(@NonNull View view, @NonNull SpeakersRecyclerView speakersRecyclerView) {
/* renamed from: c reason: collision with root package name */
public final TextView f64c;
public a2(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) {
this.a = view;
this.b = speakersRecyclerView;
this.b = simpleDraweeView;
this.f64c = textView;
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -1,38 +1,55 @@
package c.a.j;
import android.view.View;
import android.widget.GridLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;
import com.discord.views.GuildView;
/* compiled from: ViewServerFolderBinding */
import com.discord.R;
/* compiled from: ViewServerMemberCountBinding */
public final class a3 implements ViewBinding {
@NonNull
public final View a;
public final LinearLayout a;
@NonNull
public final ImageView b;
@NonNull
/* renamed from: c reason: collision with root package name */
public final GuildView f62c;
public final TextView f65c;
@NonNull
public final GuildView d;
public final ImageView d;
@NonNull
public final GuildView e;
@NonNull
public final GuildView f;
@NonNull
public final GridLayout g;
public final TextView e;
public a3(@NonNull View view, @NonNull ImageView imageView, @NonNull GuildView guildView, @NonNull GuildView guildView2, @NonNull GuildView guildView3, @NonNull GuildView guildView4, @NonNull GridLayout gridLayout) {
this.a = view;
public a3(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull ImageView imageView2, @NonNull TextView textView2) {
this.a = linearLayout;
this.b = imageView;
this.f62c = guildView;
this.d = guildView2;
this.e = guildView3;
this.f = guildView4;
this.g = gridLayout;
this.f65c = textView;
this.d = imageView2;
this.e = textView2;
}
@NonNull
public static a3 a(@NonNull View view) {
int i = R.id.item_invite_online_dot;
ImageView imageView = (ImageView) view.findViewById(R.id.item_invite_online_dot);
if (imageView != null) {
i = R.id.item_invite_online_text;
TextView textView = (TextView) view.findViewById(R.id.item_invite_online_text);
if (textView != null) {
i = R.id.item_invite_total_member_dot;
ImageView imageView2 = (ImageView) view.findViewById(R.id.item_invite_total_member_dot);
if (imageView2 != null) {
i = R.id.item_invite_total_member_text;
TextView textView2 = (TextView) view.findViewById(R.id.item_invite_total_member_text);
if (textView2 != null) {
return new a3((LinearLayout) view, imageView, textView, imageView2, textView2);
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
@Override // androidx.viewbinding.ViewBinding

View File

@ -1,82 +1,25 @@
package c.a.j;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.Space;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import com.discord.views.VoiceUserView;
import com.discord.views.calls.AppVideoStreamRenderer;
import com.facebook.drawee.view.SimpleDraweeView;
/* compiled from: ViewVideoCallParticipantBinding */
/* compiled from: ViewVoiceUserBinding */
public final class a4 implements ViewBinding {
@NonNull
public final View a;
@NonNull
public final View b;
public final SimpleDraweeView b;
@NonNull
/* renamed from: c reason: collision with root package name */
public final View f63c;
@NonNull
public final ImageView d;
@NonNull
public final ConstraintLayout e;
@NonNull
public final ImageView f;
@NonNull
public final TextView g;
@NonNull
public final TextView h;
@NonNull
public final TextView i;
@NonNull
public final ImageView j;
@NonNull
public final ConstraintLayout k;
@NonNull
public final TextView l;
@NonNull
public final SimpleDraweeView m;
@NonNull
public final TextView n;
@NonNull
public final TextView o;
@NonNull
public final ProgressBar p;
@NonNull
public final AppVideoStreamRenderer q;
@NonNull
public final LinearLayout r;
@NonNull
public final TextView f66c;
/* renamed from: s reason: collision with root package name */
public final VoiceUserView f64s;
public a4(@NonNull View view, @NonNull View view2, @NonNull View view3, @NonNull ImageView imageView, @NonNull ConstraintLayout constraintLayout, @NonNull Space space, @NonNull ImageView imageView2, @NonNull TextView textView, @NonNull LinearLayout linearLayout, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull ImageView imageView3, @NonNull ConstraintLayout constraintLayout2, @NonNull ImageView imageView4, @NonNull TextView textView4, @NonNull TextView textView5, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView6, @NonNull TextView textView7, @NonNull ProgressBar progressBar, @NonNull AppVideoStreamRenderer appVideoStreamRenderer, @NonNull LinearLayout linearLayout2, @NonNull VoiceUserView voiceUserView) {
public a4(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) {
this.a = view;
this.b = view2;
this.f63c = view3;
this.d = imageView;
this.e = constraintLayout;
this.f = imageView2;
this.g = textView;
this.h = textView2;
this.i = textView3;
this.j = imageView3;
this.k = constraintLayout2;
this.l = textView5;
this.m = simpleDraweeView;
this.n = textView6;
this.o = textView7;
this.p = progressBar;
this.q = appVideoStreamRenderer;
this.r = linearLayout2;
this.f64s = voiceUserView;
this.b = simpleDraweeView;
this.f66c = textView;
}
@Override // androidx.viewbinding.ViewBinding

Some files were not shown because too many files have changed in this diff Show More