98.6 - Stable (98006)
This commit is contained in:
parent
41aca4f815
commit
39fb11356f
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 96006
|
||||
versionName "96.6 - Stable"
|
||||
versionCode 98006
|
||||
versionName "98.6 - Stable"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="96006" android:versionName="96.6 - Stable" 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="98006" android:versionName="98.6 - Stable" 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"/>
|
||||
|
|
|
@ -1,7 +1,33 @@
|
|||
package a0.a.a;
|
||||
public /* synthetic */ class a {
|
||||
public static /* synthetic */ int a(double d) {
|
||||
long doubleToLongBits = Double.doubleToLongBits(d);
|
||||
return (int) (doubleToLongBits ^ (doubleToLongBits >>> 32));
|
||||
|
||||
import a0.a.a.e.c;
|
||||
import android.graphics.Bitmap;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import java.util.Objects;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Compressor.kt */
|
||||
public final class a extends o implements Function1<a0.a.a.e.a, Unit> {
|
||||
public static final a i = new a();
|
||||
|
||||
public a() {
|
||||
super(1);
|
||||
}
|
||||
|
||||
/* 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 Unit invoke(a0.a.a.e.a aVar) {
|
||||
a0.a.a.e.a aVar2 = aVar;
|
||||
m.checkParameterIsNotNull(aVar2, "$receiver");
|
||||
Bitmap.CompressFormat compressFormat = Bitmap.CompressFormat.JPEG;
|
||||
m.checkParameterIsNotNull(aVar2, "$this$default");
|
||||
m.checkParameterIsNotNull(compressFormat, "format");
|
||||
c cVar = new c(612, 816, compressFormat, 80);
|
||||
Objects.requireNonNull(aVar2);
|
||||
m.checkParameterIsNotNull(cVar, "constraint");
|
||||
aVar2.a.add(cVar);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,159 @@
|
|||
package a0.a.a;
|
||||
public /* synthetic */ class b {
|
||||
public static /* synthetic */ int a(long j) {
|
||||
return (int) (j ^ (j >>> 32));
|
||||
|
||||
import a0.a.a.e.a;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import androidx.core.app.NotificationCompat;
|
||||
import c0.l;
|
||||
import c0.w.h.c;
|
||||
import c0.w.i.a.e;
|
||||
import c0.w.i.a.k;
|
||||
import c0.z.d.m;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
import kotlin.Unit;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlinx.coroutines.CoroutineScope;
|
||||
/* compiled from: Compressor.kt */
|
||||
@e(c = "id.zelory.compressor.Compressor$compress$6", f = "Compressor.kt", l = {}, m = "invokeSuspend")
|
||||
public final class b extends k implements Function2<CoroutineScope, Continuation<? super File>, Object> {
|
||||
public final /* synthetic */ Function1 $compressionPatch;
|
||||
public final /* synthetic */ Context $context;
|
||||
public final /* synthetic */ Uri $imageFileUri;
|
||||
public int label;
|
||||
private CoroutineScope p$;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public b(Function1 function1, Context context, Uri uri, Continuation continuation) {
|
||||
super(2, continuation);
|
||||
this.$compressionPatch = function1;
|
||||
this.$context = context;
|
||||
this.$imageFileUri = uri;
|
||||
}
|
||||
|
||||
@Override // c0.w.i.a.a
|
||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||
m.checkParameterIsNotNull(continuation, "completion");
|
||||
b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation);
|
||||
bVar.p$ = (CoroutineScope) obj;
|
||||
return bVar;
|
||||
}
|
||||
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function2
|
||||
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super File> continuation) {
|
||||
Continuation<? super File> continuation2 = continuation;
|
||||
m.checkParameterIsNotNull(continuation2, "completion");
|
||||
b bVar = new b(this.$compressionPatch, this.$context, this.$imageFileUri, continuation2);
|
||||
bVar.p$ = coroutineScope;
|
||||
return bVar.invokeSuspend(Unit.a);
|
||||
}
|
||||
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:42:0x015e, code lost:
|
||||
r2 = move-exception;
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:43:0x015f, code lost:
|
||||
c0.y.b.closeFinally(r0, r13);
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:44:0x0162, code lost:
|
||||
throw r2;
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:47:0x0164, code lost:
|
||||
r0 = move-exception;
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:48:0x0165, code lost:
|
||||
c0.y.b.closeFinally(r1, r13);
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:49:0x0168, code lost:
|
||||
throw r0;
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:55:0x0182, code lost:
|
||||
r0 = move-exception;
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:56:0x0183, code lost:
|
||||
c0.y.b.closeFinally(r1, r13);
|
||||
*/
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:57:0x0186, code lost:
|
||||
throw r0;
|
||||
*/
|
||||
@Override // c0.w.i.a.a
|
||||
public final Object invokeSuspend(Object obj) {
|
||||
String str;
|
||||
c.getCOROUTINE_SUSPENDED();
|
||||
if (this.label == 0) {
|
||||
l.throwOnFailure(obj);
|
||||
a aVar = new a();
|
||||
this.$compressionPatch.invoke(aVar);
|
||||
Context context = this.$context;
|
||||
Uri uri = this.$imageFileUri;
|
||||
String str2 = d.a;
|
||||
m.checkParameterIsNotNull(context, "context");
|
||||
m.checkParameterIsNotNull(uri, "srcFileUri");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
StringBuilder sb2 = new StringBuilder();
|
||||
File cacheDir = context.getCacheDir();
|
||||
m.checkExpressionValueIsNotNull(cacheDir, "context.cacheDir");
|
||||
sb2.append(cacheDir.getPath());
|
||||
String str3 = d.a;
|
||||
sb2.append(str3);
|
||||
sb2.append("compressor");
|
||||
sb2.append(str3);
|
||||
sb.append(sb2.toString());
|
||||
m.checkParameterIsNotNull(context, "context");
|
||||
m.checkParameterIsNotNull(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI);
|
||||
ContentResolver contentResolver = context.getContentResolver();
|
||||
Cursor query = contentResolver.query(uri, new String[]{"_display_name"}, null, null, null);
|
||||
if (query == null) {
|
||||
m.throwNpe();
|
||||
}
|
||||
int columnIndex = query.getColumnIndex("_display_name");
|
||||
if (query.moveToFirst()) {
|
||||
str = query.getString(columnIndex);
|
||||
m.checkExpressionValueIsNotNull(str, "it.getString(nameIndex)");
|
||||
c0.y.b.closeFinally(query, null);
|
||||
} else {
|
||||
String str4 = "IMG_" + new SimpleDateFormat("yyyyMMdd_", Locale.getDefault()).format(new Date()) + System.nanoTime();
|
||||
String type = contentResolver.getType(uri);
|
||||
if (m.areEqual(type, "image/jpg") || m.areEqual(type, "image/jpeg")) {
|
||||
str = str4 + ".jpeg";
|
||||
} else if (m.areEqual(type, "image/png")) {
|
||||
str = str4 + ".png";
|
||||
} else {
|
||||
throw new IllegalStateException(type + " fallback display name not supported");
|
||||
}
|
||||
c0.y.b.closeFinally(query, null);
|
||||
}
|
||||
sb.append(str);
|
||||
File file = new File(sb.toString());
|
||||
File parentFile = file.getParentFile();
|
||||
if (parentFile != null) {
|
||||
parentFile.mkdirs();
|
||||
}
|
||||
if (file.exists()) {
|
||||
file.delete();
|
||||
}
|
||||
file.createNewFile();
|
||||
file.deleteOnExit();
|
||||
ParcelFileDescriptor.AutoCloseInputStream autoCloseInputStream = new ParcelFileDescriptor.AutoCloseInputStream(context.getContentResolver().openFileDescriptor(uri, "r"));
|
||||
FileOutputStream fileOutputStream = new FileOutputStream(file);
|
||||
c0.y.a.copyTo$default(autoCloseInputStream, fileOutputStream, 0, 2, null);
|
||||
c0.y.b.closeFinally(fileOutputStream, null);
|
||||
c0.y.b.closeFinally(autoCloseInputStream, null);
|
||||
for (a0.a.a.e.b bVar : aVar.a) {
|
||||
while (!bVar.b(file)) {
|
||||
file = bVar.a(file);
|
||||
}
|
||||
}
|
||||
return file;
|
||||
}
|
||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
package a0.a.a;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
public final /* synthetic */ class c {
|
||||
public static final /* synthetic */ int[] a;
|
||||
|
||||
static {
|
||||
int[] iArr = new int[Bitmap.CompressFormat.values().length];
|
||||
a = iArr;
|
||||
iArr[Bitmap.CompressFormat.PNG.ordinal()] = 1;
|
||||
iArr[Bitmap.CompressFormat.WEBP.ordinal()] = 2;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package a0.a.a;
|
||||
|
||||
import java.io.File;
|
||||
/* compiled from: Util.kt */
|
||||
public final class d {
|
||||
public static final String a = File.separator;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package a0.a.a.e;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
/* compiled from: Compression.kt */
|
||||
public final class a {
|
||||
public final List<b> a = new ArrayList();
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
package a0.a.a.e;
|
||||
|
||||
import java.io.File;
|
||||
/* compiled from: Constraint.kt */
|
||||
public interface b {
|
||||
File a(File file);
|
||||
|
||||
boolean b(File file);
|
||||
}
|
|
@ -0,0 +1,198 @@
|
|||
package a0.a.a.e;
|
||||
|
||||
import a0.a.a.d;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.Matrix;
|
||||
import android.media.ExifInterface;
|
||||
import c0.g0.w;
|
||||
import c0.o;
|
||||
import c0.y.h;
|
||||
import c0.z.d.m;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import kotlin.Pair;
|
||||
import kotlin.TypeCastException;
|
||||
/* compiled from: DefaultConstraint.kt */
|
||||
public final class c implements b {
|
||||
public boolean a;
|
||||
public final int b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final int f13c;
|
||||
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.f13c = i2;
|
||||
this.d = compressFormat;
|
||||
this.e = i3;
|
||||
}
|
||||
|
||||
/* JADX WARNING: Removed duplicated region for block: B:34:0x0111 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:35:0x0113 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:43:0x0164 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:54:0x0182 */
|
||||
@Override // a0.a.a.e.b
|
||||
public File a(File file) {
|
||||
int i;
|
||||
Bitmap.CompressFormat compressFormat;
|
||||
File file2;
|
||||
File parentFile;
|
||||
Throwable th;
|
||||
FileOutputStream fileOutputStream;
|
||||
m.checkParameterIsNotNull(file, "imageFile");
|
||||
int i2 = this.b;
|
||||
int i3 = this.f13c;
|
||||
String str = d.a;
|
||||
m.checkParameterIsNotNull(file, "imageFile");
|
||||
BitmapFactory.Options options = new BitmapFactory.Options();
|
||||
options.inJustDecodeBounds = true;
|
||||
BitmapFactory.decodeFile(file.getAbsolutePath(), options);
|
||||
m.checkParameterIsNotNull(options, "options");
|
||||
Pair pair = o.to(Integer.valueOf(options.outHeight), Integer.valueOf(options.outWidth));
|
||||
int intValue = ((Number) pair.component1()).intValue();
|
||||
int intValue2 = ((Number) pair.component2()).intValue();
|
||||
if (intValue > i3 || intValue2 > i2) {
|
||||
int i4 = intValue / 2;
|
||||
int i5 = intValue2 / 2;
|
||||
i = 1;
|
||||
while (i4 / i >= i3 && i5 / i >= i2) {
|
||||
i *= 2;
|
||||
}
|
||||
} else {
|
||||
i = 1;
|
||||
}
|
||||
options.inSampleSize = i;
|
||||
options.inJustDecodeBounds = false;
|
||||
Bitmap decodeFile = BitmapFactory.decodeFile(file.getAbsolutePath(), options);
|
||||
m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.decodeFile…eFile.absolutePath, this)");
|
||||
m.checkExpressionValueIsNotNull(decodeFile, "BitmapFactory.Options().…absolutePath, this)\n }");
|
||||
m.checkParameterIsNotNull(file, "imageFile");
|
||||
m.checkParameterIsNotNull(decodeFile, "bitmap");
|
||||
int attributeInt = new ExifInterface(file.getAbsolutePath()).getAttributeInt(androidx.exifinterface.media.ExifInterface.TAG_ORIENTATION, 0);
|
||||
Matrix matrix = new Matrix();
|
||||
if (attributeInt == 3) {
|
||||
matrix.postRotate(180.0f);
|
||||
} else if (attributeInt == 6) {
|
||||
matrix.postRotate(90.0f);
|
||||
} else if (attributeInt == 8) {
|
||||
matrix.postRotate(270.0f);
|
||||
}
|
||||
Bitmap createBitmap = Bitmap.createBitmap(decodeFile, 0, 0, decodeFile.getWidth(), decodeFile.getHeight(), matrix, true);
|
||||
m.checkExpressionValueIsNotNull(createBitmap, "Bitmap.createBitmap(bitm…map.height, matrix, true)");
|
||||
Bitmap.CompressFormat compressFormat2 = this.d;
|
||||
int i6 = this.e;
|
||||
m.checkParameterIsNotNull(file, "imageFile");
|
||||
m.checkParameterIsNotNull(createBitmap, "bitmap");
|
||||
m.checkParameterIsNotNull(compressFormat2, "format");
|
||||
m.checkParameterIsNotNull(file, "$this$compressFormat");
|
||||
String extension = h.getExtension(file);
|
||||
if (extension != null) {
|
||||
String lowerCase = extension.toLowerCase();
|
||||
m.checkExpressionValueIsNotNull(lowerCase, "(this as java.lang.String).toLowerCase()");
|
||||
int hashCode = lowerCase.hashCode();
|
||||
String str2 = "webp";
|
||||
if (hashCode != 111145) {
|
||||
if (hashCode == 3645340 && lowerCase.equals(str2)) {
|
||||
compressFormat = Bitmap.CompressFormat.WEBP;
|
||||
FileOutputStream fileOutputStream2 = null;
|
||||
if (compressFormat2 == compressFormat) {
|
||||
file2 = file;
|
||||
} else {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String absolutePath = file.getAbsolutePath();
|
||||
m.checkExpressionValueIsNotNull(absolutePath, "imageFile.absolutePath");
|
||||
sb.append(w.substringBeforeLast$default(absolutePath, ".", (String) null, 2, (Object) null));
|
||||
sb.append('.');
|
||||
m.checkParameterIsNotNull(compressFormat2, "$this$extension");
|
||||
int i7 = a0.a.a.c.a[compressFormat2.ordinal()];
|
||||
if (i7 == 1) {
|
||||
str2 = "png";
|
||||
} else if (i7 != 2) {
|
||||
str2 = "jpg";
|
||||
}
|
||||
sb.append(str2);
|
||||
file2 = new File(sb.toString());
|
||||
}
|
||||
file.delete();
|
||||
m.checkParameterIsNotNull(createBitmap, "bitmap");
|
||||
m.checkParameterIsNotNull(file2, "destination");
|
||||
m.checkParameterIsNotNull(compressFormat2, "format");
|
||||
parentFile = file2.getParentFile();
|
||||
if (parentFile != null) {
|
||||
parentFile.mkdirs();
|
||||
}
|
||||
fileOutputStream = new FileOutputStream(file2.getAbsolutePath());
|
||||
createBitmap.compress(compressFormat2, i6, fileOutputStream);
|
||||
fileOutputStream.flush();
|
||||
fileOutputStream.close();
|
||||
this.a = true;
|
||||
return file2;
|
||||
}
|
||||
} else if (lowerCase.equals("png")) {
|
||||
compressFormat = Bitmap.CompressFormat.PNG;
|
||||
FileOutputStream fileOutputStream2 = null;
|
||||
if (compressFormat2 == compressFormat) {
|
||||
}
|
||||
file.delete();
|
||||
m.checkParameterIsNotNull(createBitmap, "bitmap");
|
||||
m.checkParameterIsNotNull(file2, "destination");
|
||||
m.checkParameterIsNotNull(compressFormat2, "format");
|
||||
parentFile = file2.getParentFile();
|
||||
if (parentFile != null) {
|
||||
}
|
||||
fileOutputStream = new FileOutputStream(file2.getAbsolutePath());
|
||||
createBitmap.compress(compressFormat2, i6, fileOutputStream);
|
||||
fileOutputStream.flush();
|
||||
fileOutputStream.close();
|
||||
this.a = true;
|
||||
return file2;
|
||||
}
|
||||
compressFormat = Bitmap.CompressFormat.JPEG;
|
||||
FileOutputStream fileOutputStream2 = null;
|
||||
if (compressFormat2 == compressFormat) {
|
||||
}
|
||||
file.delete();
|
||||
m.checkParameterIsNotNull(createBitmap, "bitmap");
|
||||
m.checkParameterIsNotNull(file2, "destination");
|
||||
m.checkParameterIsNotNull(compressFormat2, "format");
|
||||
parentFile = file2.getParentFile();
|
||||
if (parentFile != null) {
|
||||
}
|
||||
try {
|
||||
fileOutputStream = new FileOutputStream(file2.getAbsolutePath());
|
||||
try {
|
||||
createBitmap.compress(compressFormat2, i6, fileOutputStream);
|
||||
fileOutputStream.flush();
|
||||
fileOutputStream.close();
|
||||
this.a = true;
|
||||
return file2;
|
||||
} catch (Throwable th2) {
|
||||
th = th2;
|
||||
fileOutputStream2 = fileOutputStream;
|
||||
if (fileOutputStream2 != null) {
|
||||
fileOutputStream2.flush();
|
||||
fileOutputStream2.close();
|
||||
}
|
||||
throw th;
|
||||
}
|
||||
} catch (Throwable th3) {
|
||||
th = th3;
|
||||
if (fileOutputStream2 != null) {
|
||||
}
|
||||
throw th;
|
||||
}
|
||||
} else {
|
||||
throw new TypeCastException("null cannot be cast to non-null type java.lang.String");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // a0.a.a.e.b
|
||||
public boolean b(File file) {
|
||||
m.checkParameterIsNotNull(file, "imageFile");
|
||||
return this.a;
|
||||
}
|
||||
}
|
|
@ -31,7 +31,7 @@ import java.lang.ref.WeakReference;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import x.a.b.b.a.b;
|
||||
import w.a.b.b.a.b;
|
||||
public final class MediaBrowserCompat {
|
||||
public static final boolean a = Log.isLoggable("MediaBrowserCompat", 3);
|
||||
public final c b;
|
||||
|
@ -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.f13c);
|
||||
dVar.f = new h(binder, dVar.f14c);
|
||||
Messenger messenger = new Messenger(dVar.d);
|
||||
dVar.g = messenger;
|
||||
dVar.d.a(messenger);
|
||||
|
@ -237,7 +237,7 @@ public final class MediaBrowserCompat {
|
|||
Log.i("MediaBrowserCompat", "Remote error registering client messenger.");
|
||||
}
|
||||
}
|
||||
x.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER));
|
||||
w.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER));
|
||||
if (e != null) {
|
||||
dVar.h = MediaSessionCompat.Token.a(dVar.b.getSessionToken(), e);
|
||||
}
|
||||
|
@ -302,7 +302,7 @@ public final class MediaBrowserCompat {
|
|||
public final MediaBrowser b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Bundle f13c;
|
||||
public final Bundle f14c;
|
||||
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.f13c = bundle2;
|
||||
this.f14c = bundle2;
|
||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1);
|
||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid());
|
||||
bVar.setInternalConnectionCallback(this);
|
||||
|
|
|
@ -18,8 +18,8 @@ import java.lang.ref.WeakReference;
|
|||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import x.a.b.b.a.b;
|
||||
import x.a.b.b.a.c;
|
||||
import w.a.b.b.a.b;
|
||||
import w.a.b.b.a.c;
|
||||
@RequiresApi(21)
|
||||
public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||
public final MediaController a;
|
||||
|
@ -27,7 +27,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
|||
@GuardedBy("mLock")
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final List<c> f14c = new ArrayList();
|
||||
public final List<c> f15c = new ArrayList();
|
||||
public HashMap<c, a> d = new HashMap<>();
|
||||
public final MediaSessionCompat.Token e;
|
||||
|
||||
|
@ -65,32 +65,32 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
|||
super(cVar);
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void T(CharSequence charSequence) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void U() throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void V(MediaMetadataCompat mediaMetadataCompat) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void x(Bundle bundle) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void x0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void y(List<MediaSessionCompat.QueueItem> list) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
|||
@GuardedBy("mLock")
|
||||
public void a() {
|
||||
if (this.e.b() != null) {
|
||||
for (c cVar : this.f14c) {
|
||||
for (c cVar : this.f15c) {
|
||||
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.f14c.clear();
|
||||
this.f15c.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ import androidx.annotation.GuardedBy;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import androidx.versionedparcelable.VersionedParcelable;
|
||||
import x.a.b.b.a.b;
|
||||
import w.a.b.b.a.b;
|
||||
public class MediaSessionCompat {
|
||||
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
|
|
|
@ -19,10 +19,10 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
public final CharSequence o;
|
||||
public final long p;
|
||||
public List<CustomAction> q;
|
||||
public final long r;
|
||||
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final Bundle f15s;
|
||||
/* renamed from: r reason: collision with root package name */
|
||||
public final long f16r;
|
||||
public final Bundle s;
|
||||
|
||||
public static final class CustomAction implements Parcelable {
|
||||
public static final Parcelable.Creator<CustomAction> CREATOR = new a();
|
||||
|
@ -108,8 +108,8 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
this.o = charSequence;
|
||||
this.p = j4;
|
||||
this.q = new ArrayList(list);
|
||||
this.r = j5;
|
||||
this.f15s = bundle;
|
||||
this.f16r = j5;
|
||||
this.s = bundle;
|
||||
}
|
||||
|
||||
public PlaybackStateCompat(Parcel parcel) {
|
||||
|
@ -121,8 +121,8 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
this.m = parcel.readLong();
|
||||
this.o = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel);
|
||||
this.q = parcel.createTypedArrayList(CustomAction.CREATOR);
|
||||
this.r = parcel.readLong();
|
||||
this.f15s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
||||
this.f16r = parcel.readLong();
|
||||
this.s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
||||
this.n = parcel.readInt();
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
sb.append(", custom actions=");
|
||||
sb.append(this.q);
|
||||
sb.append(", active item id=");
|
||||
return c.d.b.a.a.A(sb, this.r, "}");
|
||||
return c.d.b.a.a.A(sb, this.f16r, "}");
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
@ -166,8 +166,8 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
parcel.writeLong(this.m);
|
||||
TextUtils.writeToParcel(this.o, parcel, i);
|
||||
parcel.writeTypedList(this.q);
|
||||
parcel.writeLong(this.r);
|
||||
parcel.writeBundle(this.f15s);
|
||||
parcel.writeLong(this.f16r);
|
||||
parcel.writeBundle(this.s);
|
||||
parcel.writeInt(this.n);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@ import android.os.Parcelable;
|
|||
import android.os.RemoteException;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import java.util.Objects;
|
||||
import x.a.b.c.a;
|
||||
import w.a.b.c.a;
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
|
||||
public class ResultReceiver implements Parcelable {
|
||||
public static final Parcelable.Creator<ResultReceiver> CREATOR = new a();
|
||||
public x.a.b.c.a i;
|
||||
public w.a.b.c.a i;
|
||||
|
||||
public class a implements Parcelable.Creator<ResultReceiver> {
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
|
@ -34,7 +34,7 @@ public class ResultReceiver implements Parcelable {
|
|||
public b() {
|
||||
}
|
||||
|
||||
@Override // x.a.b.c.a
|
||||
@Override // w.a.b.c.a
|
||||
public void w0(int i, Bundle bundle) {
|
||||
Objects.requireNonNull(ResultReceiver.this);
|
||||
ResultReceiver.this.a(i, bundle);
|
||||
|
@ -42,14 +42,14 @@ public class ResultReceiver implements Parcelable {
|
|||
}
|
||||
|
||||
public ResultReceiver(Parcel parcel) {
|
||||
x.a.b.c.a aVar;
|
||||
w.a.b.c.a aVar;
|
||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||
int i = a.AbstractBinderC0361a.a;
|
||||
if (readStrongBinder == null) {
|
||||
aVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0361a.C0362a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
|
||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0361a.C0362a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
|
||||
}
|
||||
this.i = aVar;
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ public class ResultReceiver implements Parcelable {
|
|||
}
|
||||
|
||||
public void b(int i, Bundle bundle) {
|
||||
x.a.b.c.a aVar = this.i;
|
||||
w.a.b.c.a aVar = this.i;
|
||||
if (aVar != null) {
|
||||
try {
|
||||
aVar.w0(i, bundle);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.ViewModelStore;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
/* compiled from: ActivityViewModelLazy.kt */
|
||||
public final class ActivityViewModelLazyKt$viewModels$1 extends o implements Function0<ViewModelStore> {
|
||||
|
@ -16,7 +16,7 @@ public final class ActivityViewModelLazyKt$viewModels$1 extends o implements Fun
|
|||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public final ViewModelStore mo1invoke() {
|
||||
public final ViewModelStore mo17invoke() {
|
||||
ViewModelStore viewModelStore = this.$this_viewModels.getViewModelStore();
|
||||
m.checkNotNullExpressionValue(viewModelStore, "viewModelStore");
|
||||
return viewModelStore;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.o;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
/* compiled from: ActivityViewModelLazy.kt */
|
||||
public final class ActivityViewModelLazyKt$viewModels$factoryPromise$1 extends o implements Function0<ViewModelProvider.Factory> {
|
||||
|
@ -15,7 +15,7 @@ public final class ActivityViewModelLazyKt$viewModels$factoryPromise$1 extends o
|
|||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public final ViewModelProvider.Factory mo1invoke() {
|
||||
public final ViewModelProvider.Factory mo17invoke() {
|
||||
return this.$this_viewModels.getDefaultViewModelProviderFactory();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@ import androidx.annotation.MainThread;
|
|||
import androidx.lifecycle.ViewModel;
|
||||
import androidx.lifecycle.ViewModelLazy;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import d0.z.d.a0;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.a0;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
/* compiled from: ActivityViewModelLazy.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.LifecycleOwner;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: OnBackPressedDispatcher.kt */
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package androidx.activity.contextaware;
|
||||
|
||||
import android.content.Context;
|
||||
import d0.k;
|
||||
import d0.l;
|
||||
import d0.z.d.m;
|
||||
import c0.k;
|
||||
import c0.l;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlinx.coroutines.CancellableContinuation;
|
||||
/* compiled from: ContextAware.kt */
|
||||
|
@ -25,10 +25,10 @@ public final class ContextAwareKt$withContextAvailable$$inlined$suspendCancellab
|
|||
CancellableContinuation cancellableContinuation = this.$co;
|
||||
try {
|
||||
k.a aVar = k.i;
|
||||
obj = k.m76constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
obj = k.m2constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
} catch (Throwable th) {
|
||||
k.a aVar2 = k.i;
|
||||
obj = k.m76constructorimpl(l.createFailure(th));
|
||||
obj = k.m2constructorimpl(l.createFailure(th));
|
||||
}
|
||||
cancellableContinuation.resumeWith(obj);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.activity.contextaware;
|
||||
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: ContextAware.kt */
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package androidx.activity.contextaware;
|
||||
|
||||
import android.content.Context;
|
||||
import d0.w.h.b;
|
||||
import d0.w.h.c;
|
||||
import d0.w.i.a.g;
|
||||
import d0.z.d.l;
|
||||
import c0.w.h.b;
|
||||
import c0.w.h.c;
|
||||
import c0.w.i.a.g;
|
||||
import c0.z.d.l;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import s.a.k;
|
||||
import r.a.k;
|
||||
/* compiled from: ContextAware.kt */
|
||||
public final class ContextAwareKt {
|
||||
public static final <R> Object withContextAvailable(ContextAware contextAware, Function1<? super Context, ? extends R> function1, Continuation<? super R> continuation) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity.result;
|
||||
|
||||
import androidx.activity.result.contract.ActivityResultContract;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: ActivityResultCaller.kt */
|
||||
|
|
|
@ -3,8 +3,8 @@ package androidx.activity.result;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import androidx.activity.result.contract.ActivityResultContract;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
/* compiled from: ActivityResultCaller.kt */
|
||||
|
@ -42,7 +42,7 @@ public final class ActivityResultCallerLauncher$resultContract$2 extends o imple
|
|||
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public final AnonymousClass1 mo1invoke() {
|
||||
public final AnonymousClass1 mo17invoke() {
|
||||
return new AnonymousClass1(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@ package androidx.activity.result;
|
|||
|
||||
import androidx.activity.result.contract.ActivityResultContract;
|
||||
import androidx.core.app.ActivityOptionsCompat;
|
||||
import d0.g;
|
||||
import d0.z.d.m;
|
||||
import c0.g;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.Unit;
|
||||
/* compiled from: ActivityResultCaller.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity.result;
|
||||
|
||||
import android.content.Intent;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: ActivityResult.kt */
|
||||
public final class ActivityResultKt {
|
||||
public static final int component1(ActivityResult activityResult) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity.result;
|
||||
|
||||
import androidx.core.app.ActivityOptionsCompat;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
/* compiled from: ActivityResultLauncher.kt */
|
||||
public final class ActivityResultLauncherKt {
|
||||
|
|
|
@ -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 f16x;
|
||||
public int f17x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public int f17y;
|
||||
public int f18y;
|
||||
|
||||
@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.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f17x, panelFeatureState.f18y, 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.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f17x, panelFeatureState.f18y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
layoutParams3.gravity = panelFeatureState.gravity;
|
||||
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
||||
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
||||
|
|
|
@ -9,6 +9,7 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.RequiresPermission;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.core.content.PermissionChecker;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import java.util.Calendar;
|
||||
public class TwilightManager {
|
||||
private static final int SUNRISE = 6;
|
||||
|
@ -37,7 +38,7 @@ public class TwilightManager {
|
|||
public static TwilightManager getInstance(@NonNull Context context) {
|
||||
if (sInstance == null) {
|
||||
Context applicationContext = context.getApplicationContext();
|
||||
sInstance = new TwilightManager(applicationContext, (LocationManager) applicationContext.getSystemService("location"));
|
||||
sInstance = new TwilightManager(applicationContext, (LocationManager) applicationContext.getSystemService(ModelAuditLogEntry.CHANGE_KEY_LOCATION));
|
||||
}
|
||||
return sInstance;
|
||||
}
|
||||
|
|
|
@ -20,8 +20,8 @@ import androidx.annotation.RestrictTo;
|
|||
import androidx.browser.customtabs.CustomTabsSession;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import x.a.a.a;
|
||||
import x.a.a.b;
|
||||
import w.a.a.a;
|
||||
import w.a.a.b;
|
||||
public class CustomTabsClient {
|
||||
private static final String TAG = "CustomTabsClient";
|
||||
private final Context mApplicationContext;
|
||||
|
@ -138,14 +138,14 @@ public class CustomTabsClient {
|
|||
this.val$callback = customTabsCallback;
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void extraCallback(String str, Bundle bundle) throws RemoteException {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass2(str, bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public Bundle extraCallbackWithResult(@NonNull String str, @Nullable Bundle bundle) throws RemoteException {
|
||||
CustomTabsCallback customTabsCallback = this.val$callback;
|
||||
if (customTabsCallback == null) {
|
||||
|
@ -154,28 +154,28 @@ public class CustomTabsClient {
|
|||
return customTabsCallback.extraCallbackWithResult(str, bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onMessageChannelReady(Bundle bundle) throws RemoteException {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass3(bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onNavigationEvent(int i, Bundle bundle) {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass1(i, bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onPostMessage(String str, Bundle bundle) throws RemoteException {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass4(str, bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onRelationshipValidationResult(int i, Uri uri, boolean z2, @Nullable Bundle bundle) throws RemoteException {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass5(i, uri, z2, bundle));
|
||||
|
|
|
@ -15,8 +15,8 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.List;
|
||||
import java.util.NoSuchElementException;
|
||||
import x.a.a.a;
|
||||
import x.a.a.b;
|
||||
import w.a.a.a;
|
||||
import w.a.a.b;
|
||||
public abstract class CustomTabsService extends Service {
|
||||
public static final String ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService";
|
||||
public static final String CATEGORY_COLOR_SCHEME_CUSTOMIZATION = "androidx.browser.customtabs.category.ColorSchemeCustomization";
|
||||
|
@ -54,7 +54,7 @@ public abstract class CustomTabsService extends Service {
|
|||
private boolean newSessionInternal(@NonNull a aVar, @Nullable PendingIntent pendingIntent) {
|
||||
CustomTabsSessionToken customTabsSessionToken = new CustomTabsSessionToken(aVar, pendingIntent);
|
||||
try {
|
||||
y.a.a.a aVar2 = new y.a.a.a(this, customTabsSessionToken);
|
||||
x.a.a.a aVar2 = new x.a.a.a(this, customTabsSessionToken);
|
||||
synchronized (CustomTabsService.this.mDeathRecipientMap) {
|
||||
aVar.asBinder().linkToDeath(aVar2, 0);
|
||||
CustomTabsService.this.mDeathRecipientMap.put(aVar.asBinder(), aVar2);
|
||||
|
@ -65,57 +65,57 @@ public abstract class CustomTabsService extends Service {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public Bundle extraCommand(@NonNull String str, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.extraCommand(str, bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean mayLaunchUrl(@Nullable a aVar, @Nullable Uri uri, @Nullable Bundle bundle, @Nullable List<Bundle> list) {
|
||||
return CustomTabsService.this.mayLaunchUrl(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri, bundle, list);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean newSession(@NonNull a aVar) {
|
||||
return newSessionInternal(aVar, null);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean newSessionWithExtras(@NonNull a aVar, @Nullable Bundle bundle) {
|
||||
return newSessionInternal(aVar, getSessionIdFromBundle(bundle));
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public int postMessage(@NonNull a aVar, @NonNull String str, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.postMessage(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), str, bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean receiveFile(@NonNull a aVar, @NonNull Uri uri, int i, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.receiveFile(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri, i, bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean requestPostMessageChannel(@NonNull a aVar, @NonNull Uri uri) {
|
||||
return CustomTabsService.this.requestPostMessageChannel(new CustomTabsSessionToken(aVar, null), uri);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean requestPostMessageChannelWithExtras(@NonNull a aVar, @NonNull Uri uri, @NonNull Bundle bundle) {
|
||||
return CustomTabsService.this.requestPostMessageChannel(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), uri);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean updateVisuals(@NonNull a aVar, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.updateVisuals(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean validateRelationship(@NonNull a aVar, int i, @NonNull Uri uri, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.validateRelationship(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), i, uri, bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean warmup(long j) {
|
||||
return CustomTabsService.this.warmup(j);
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import android.os.IBinder;
|
|||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import x.a.a.b;
|
||||
import w.a.a.b;
|
||||
public abstract class CustomTabsServiceConnection implements ServiceConnection {
|
||||
@Nullable
|
||||
private Context mApplicationContext;
|
||||
|
|
|
@ -14,8 +14,8 @@ import androidx.annotation.RestrictTo;
|
|||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.browser.customtabs.CustomTabsSessionToken;
|
||||
import java.util.List;
|
||||
import x.a.a.a;
|
||||
import x.a.a.b;
|
||||
import w.a.a.a;
|
||||
import w.a.a.b;
|
||||
public final class CustomTabsSession {
|
||||
private static final String TAG = "CustomTabsSession";
|
||||
private final a mCallback;
|
||||
|
@ -26,57 +26,57 @@ public final class CustomTabsSession {
|
|||
private final b mService;
|
||||
|
||||
public static class MockSession extends b.a {
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public Bundle extraCommand(String str, Bundle bundle) throws RemoteException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean mayLaunchUrl(a aVar, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean newSession(a aVar) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean newSessionWithExtras(a aVar, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public int postMessage(a aVar, String str, Bundle bundle) throws RemoteException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean receiveFile(a aVar, Uri uri, int i, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean requestPostMessageChannel(a aVar, Uri uri) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean requestPostMessageChannelWithExtras(a aVar, Uri uri, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean updateVisuals(a aVar, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean validateRelationship(a aVar, int i, Uri uri, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // x.a.a.b
|
||||
@Override // w.a.a.b
|
||||
public boolean warmup(long j) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import androidx.core.app.BundleCompat;
|
||||
import x.a.a.a;
|
||||
import w.a.a.a;
|
||||
public class CustomTabsSessionToken {
|
||||
private static final String TAG = "CustomTabsSessionToken";
|
||||
@Nullable
|
||||
|
@ -84,33 +84,33 @@ public class CustomTabsSessionToken {
|
|||
}
|
||||
|
||||
public static class MockCallback extends a.AbstractBinderC0350a {
|
||||
@Override // x.a.a.a.AbstractBinderC0350a, android.os.IInterface
|
||||
@Override // w.a.a.a.AbstractBinderC0350a, android.os.IInterface
|
||||
public IBinder asBinder() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void extraCallback(String str, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public Bundle extraCallbackWithResult(String str, Bundle bundle) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onMessageChannelReady(Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onNavigationEvent(int i, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onPostMessage(String str, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // x.a.a.a
|
||||
@Override // w.a.a.a
|
||||
public void onRelationshipValidationResult(int i, Uri uri, boolean z2, Bundle bundle) {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import android.os.IBinder;
|
|||
import android.os.RemoteException;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import x.a.a.a;
|
||||
import x.a.a.c;
|
||||
import w.a.a.a;
|
||||
import w.a.a.c;
|
||||
public class PostMessageService extends Service {
|
||||
private c.a mBinder = new AnonymousClass1();
|
||||
|
||||
|
@ -17,12 +17,12 @@ public class PostMessageService extends Service {
|
|||
public AnonymousClass1() {
|
||||
}
|
||||
|
||||
@Override // x.a.a.c
|
||||
@Override // w.a.a.c
|
||||
public void onMessageChannelReady(@NonNull a aVar, @Nullable Bundle bundle) throws RemoteException {
|
||||
aVar.onMessageChannelReady(bundle);
|
||||
}
|
||||
|
||||
@Override // x.a.a.c
|
||||
@Override // w.a.a.c
|
||||
public void onPostMessage(@NonNull a aVar, @NonNull String str, @Nullable Bundle bundle) throws RemoteException {
|
||||
aVar.onPostMessage(str, bundle);
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@ import android.util.Log;
|
|||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import x.a.a.a;
|
||||
import x.a.a.c;
|
||||
import w.a.a.a;
|
||||
import w.a.a.c;
|
||||
public abstract class PostMessageServiceConnection implements PostMessageBackend, ServiceConnection {
|
||||
private static final String TAG = "PostMessageServConn";
|
||||
private final Object mLock = new Object();
|
||||
|
|
|
@ -10,7 +10,7 @@ import androidx.concurrent.futures.CallbackToFutureAdapter;
|
|||
import c.d.b.a.a;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import x.a.a.d.b;
|
||||
import w.a.a.d.b;
|
||||
public class ConnectionHolder implements ServiceConnection {
|
||||
private static final int STATE_AWAITING_CONNECTION = 0;
|
||||
private static final int STATE_CANCELLED = 3;
|
||||
|
@ -85,7 +85,7 @@ public class ConnectionHolder implements ServiceConnection {
|
|||
@NonNull
|
||||
@MainThread
|
||||
public c.i.b.d.a.a<TrustedWebActivityServiceConnection> getServiceWrapper() {
|
||||
return CallbackToFutureAdapter.getFuture(new y.a.b.a(this));
|
||||
return CallbackToFutureAdapter.getFuture(new x.a.b.a(this));
|
||||
}
|
||||
|
||||
@Override // android.content.ServiceConnection
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import y.a.b.b;
|
||||
import x.a.b.b;
|
||||
public final class TokenContents {
|
||||
@NonNull
|
||||
private final byte[] mContents;
|
||||
|
|
|
@ -5,7 +5,7 @@ import android.os.IBinder;
|
|||
import android.os.RemoteException;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import x.a.a.d.a;
|
||||
import w.a.a.d.a;
|
||||
public class TrustedWebActivityCallbackRemote {
|
||||
private final a mCallbackBinder;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import androidx.annotation.RestrictTo;
|
|||
import androidx.browser.trusted.TrustedWebActivityServiceConnection;
|
||||
import androidx.core.app.NotificationManagerCompat;
|
||||
import java.util.Locale;
|
||||
import x.a.a.d.b;
|
||||
import w.a.a.d.b;
|
||||
public abstract class TrustedWebActivityService extends Service {
|
||||
@SuppressLint({"ActionValue", "ServiceName"})
|
||||
public static final String ACTION_TRUSTED_WEB_ACTIVITY_SERVICE = "android.support.customtabs.trusted.TRUSTED_WEB_ACTIVITY_SERVICE";
|
||||
|
@ -68,44 +68,44 @@ public abstract class TrustedWebActivityService extends Service {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public Bundle areNotificationsEnabled(Bundle bundle) {
|
||||
checkCaller();
|
||||
return new TrustedWebActivityServiceConnection.ResultArgs(TrustedWebActivityService.this.onAreNotificationsEnabled(TrustedWebActivityServiceConnection.NotificationsEnabledArgs.fromBundle(bundle).channelName)).toBundle();
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public void cancelNotification(Bundle bundle) {
|
||||
checkCaller();
|
||||
TrustedWebActivityServiceConnection.CancelNotificationArgs fromBundle = TrustedWebActivityServiceConnection.CancelNotificationArgs.fromBundle(bundle);
|
||||
TrustedWebActivityService.this.onCancelNotification(fromBundle.platformTag, fromBundle.platformId);
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onExtraCommand(str, bundle, TrustedWebActivityCallbackRemote.fromBinder(iBinder));
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public Bundle getActiveNotifications() {
|
||||
checkCaller();
|
||||
return new TrustedWebActivityServiceConnection.ActiveNotificationsArgs(TrustedWebActivityService.this.onGetActiveNotifications()).toBundle();
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public Bundle getSmallIconBitmap() {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onGetSmallIconBitmap();
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public int getSmallIconId() {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onGetSmallIconId();
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.b
|
||||
@Override // w.a.a.d.b
|
||||
public Bundle notifyNotificationWithChannel(Bundle bundle) {
|
||||
checkCaller();
|
||||
TrustedWebActivityServiceConnection.NotifyNotificationArgs fromBundle = TrustedWebActivityServiceConnection.NotifyNotificationArgs.fromBundle(bundle);
|
||||
|
|
|
@ -10,8 +10,8 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import x.a.a.d.a;
|
||||
import x.a.a.d.b;
|
||||
import w.a.a.d.a;
|
||||
import w.a.a.d.b;
|
||||
public final class TrustedWebActivityServiceConnection {
|
||||
private static final String KEY_ACTIVE_NOTIFICATIONS = "android.support.customtabs.trusted.ACTIVE_NOTIFICATIONS";
|
||||
private static final String KEY_CHANNEL_NAME = "android.support.customtabs.trusted.CHANNEL_NAME";
|
||||
|
@ -30,7 +30,7 @@ public final class TrustedWebActivityServiceConnection {
|
|||
this.val$callback = trustedWebActivityCallback;
|
||||
}
|
||||
|
||||
@Override // x.a.a.d.a
|
||||
@Override // w.a.a.d.a
|
||||
public void onExtraCallback(String str, Bundle bundle) throws RemoteException {
|
||||
this.val$callback.onExtraCallback(str, bundle);
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.Iterator;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.Executor;
|
||||
import y.a.b.c;
|
||||
import x.a.b.c;
|
||||
public final class TrustedWebActivityServiceConnectionPool {
|
||||
private static final String TAG = "TWAConnectionPool";
|
||||
private final Map<Uri, ConnectionHolder> mConnections = new HashMap();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Pair;
|
||||
/* compiled from: ArrayMap.kt */
|
||||
public final class ArrayMapKt {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: ArraySet.kt */
|
||||
public final class ArraySetKt {
|
||||
public static final <T> ArraySet<T> arraySetOf() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.t.d0;
|
||||
import c0.t.d0;
|
||||
/* compiled from: LongSparseArray.kt */
|
||||
public final class LongSparseArrayKt$keyIterator$1 extends d0 {
|
||||
public final /* synthetic */ LongSparseArray $this_keyIterator;
|
||||
|
@ -19,7 +19,7 @@ public final class LongSparseArrayKt$keyIterator$1 extends d0 {
|
|||
return this.index < this.$this_keyIterator.size();
|
||||
}
|
||||
|
||||
@Override // d0.t.d0
|
||||
@Override // c0.t.d0
|
||||
public long nextLong() {
|
||||
LongSparseArray longSparseArray = this.$this_keyIterator;
|
||||
int i = this.index;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.g0.a;
|
||||
import c0.z.d.g0.a;
|
||||
import java.util.Iterator;
|
||||
/* compiled from: LongSparseArray.kt */
|
||||
public final class LongSparseArrayKt$valueIterator$1 implements Iterator<T>, a {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.t.d0;
|
||||
import d0.z.d.m;
|
||||
import c0.t.d0;
|
||||
import c0.z.d.m;
|
||||
import java.util.Iterator;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
@ -31,7 +31,7 @@ public final class LongSparseArrayKt {
|
|||
m.checkParameterIsNotNull(longSparseArray, "receiver$0");
|
||||
m.checkParameterIsNotNull(function0, "defaultValue");
|
||||
T t = longSparseArray.get(j);
|
||||
return t != null ? t : (T) function0.mo1invoke();
|
||||
return t != null ? t : (T) function0.mo17invoke();
|
||||
}
|
||||
|
||||
public static final <T> int getSize(LongSparseArray<T> longSparseArray) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
/* compiled from: LruCache.kt */
|
||||
public final class LruCacheKt$lruCache$1 extends o implements Function2<K, V, Integer> {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: LruCache.kt */
|
||||
public final class LruCacheKt$lruCache$2 extends o implements Function1<K, V> {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
/* compiled from: LruCache.kt */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.t.c0;
|
||||
import c0.t.c0;
|
||||
/* compiled from: SparseArray.kt */
|
||||
public final class SparseArrayKt$keyIterator$1 extends c0 {
|
||||
public final /* synthetic */ SparseArrayCompat $this_keyIterator;
|
||||
|
@ -19,7 +19,7 @@ public final class SparseArrayKt$keyIterator$1 extends c0 {
|
|||
return this.index < this.$this_keyIterator.size();
|
||||
}
|
||||
|
||||
@Override // d0.t.c0
|
||||
@Override // c0.t.c0
|
||||
public int nextInt() {
|
||||
SparseArrayCompat sparseArrayCompat = this.$this_keyIterator;
|
||||
int i = this.index;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.z.d.g0.a;
|
||||
import c0.z.d.g0.a;
|
||||
import java.util.Iterator;
|
||||
/* compiled from: SparseArray.kt */
|
||||
public final class SparseArrayKt$valueIterator$1 implements Iterator<T>, a {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import d0.t.c0;
|
||||
import d0.z.d.m;
|
||||
import c0.t.c0;
|
||||
import c0.z.d.m;
|
||||
import java.util.Iterator;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
@ -31,7 +31,7 @@ public final class SparseArrayKt {
|
|||
m.checkParameterIsNotNull(sparseArrayCompat, "receiver$0");
|
||||
m.checkParameterIsNotNull(function0, "defaultValue");
|
||||
T t = sparseArrayCompat.get(i);
|
||||
return t != null ? t : (T) function0.mo1invoke();
|
||||
return t != null ? t : (T) function0.mo17invoke();
|
||||
}
|
||||
|
||||
public static final <T> int getSize(SparseArrayCompat<T> sparseArrayCompat) {
|
||||
|
|
|
@ -45,10 +45,10 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
|
|||
private float width;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
private float f18x;
|
||||
private float f19x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
private float f19y;
|
||||
private float f20y;
|
||||
|
||||
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.f18x, motionConstrainedPoint.f18x);
|
||||
zArr[2] = zArr[2] | diff(this.f19y, motionConstrainedPoint.f19y);
|
||||
zArr[1] = zArr[1] | diff(this.f19x, motionConstrainedPoint.f19x);
|
||||
zArr[2] = zArr[2] | diff(this.f20y, motionConstrainedPoint.f20y);
|
||||
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.f18x, this.f19y, 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.f19x, this.f20y, 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.f18x = f;
|
||||
this.f19y = f2;
|
||||
this.f19x = f;
|
||||
this.f20y = f2;
|
||||
this.width = f3;
|
||||
this.height = f4;
|
||||
}
|
||||
|
|
|
@ -488,10 +488,10 @@ public class MotionController {
|
|||
return;
|
||||
}
|
||||
MotionPaths motionPaths = this.mEndMotionPath;
|
||||
float f5 = motionPaths.f21x;
|
||||
float f5 = motionPaths.f22x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f6 = f5 - motionPaths2.f21x;
|
||||
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||
float f6 = f5 - motionPaths2.f22x;
|
||||
float f7 = motionPaths.f23y - motionPaths2.f23y;
|
||||
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.f21x;
|
||||
return this.mEndMotionPath.f22x;
|
||||
}
|
||||
|
||||
public float getFinalY() {
|
||||
return this.mEndMotionPath.f22y;
|
||||
return this.mEndMotionPath.f23y;
|
||||
}
|
||||
|
||||
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.f21x;
|
||||
float f3 = motionPaths.f22x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f4 = motionPaths2.f21x;
|
||||
float f4 = motionPaths2.f22x;
|
||||
float f5 = f3 - f4;
|
||||
float f6 = motionPaths.f22y;
|
||||
float f7 = motionPaths2.f22y;
|
||||
float f6 = motionPaths.f23y;
|
||||
float f7 = motionPaths2.f23y;
|
||||
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.f21x;
|
||||
float f3 = motionPaths.f22x;
|
||||
rectF.left = f3;
|
||||
float f4 = motionPaths.f22y;
|
||||
float f4 = motionPaths.f23y;
|
||||
rectF.top = f4;
|
||||
rectF.right = f3 + motionPaths.width;
|
||||
rectF.bottom = f4 + motionPaths.height;
|
||||
RectF rectF2 = new RectF();
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float f5 = motionPaths2.f21x;
|
||||
float f5 = motionPaths2.f22x;
|
||||
rectF2.left = f5;
|
||||
float f6 = motionPaths2.f22y;
|
||||
float f6 = motionPaths2.f23y;
|
||||
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.f21x;
|
||||
float f5 = motionPaths.f22x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f6 = f5 - motionPaths2.f21x;
|
||||
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||
float f6 = f5 - motionPaths2.f22x;
|
||||
float f7 = motionPaths.f23y - motionPaths2.f23y;
|
||||
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.f21x;
|
||||
return this.mStartMotionPath.f22x;
|
||||
}
|
||||
|
||||
public float getStartY() {
|
||||
return this.mStartMotionPath.f22y;
|
||||
return this.mStartMotionPath.f23y;
|
||||
}
|
||||
|
||||
public int getkeyFramePositions(int[] iArr, float[] fArr) {
|
||||
|
@ -823,11 +823,11 @@ public class MotionController {
|
|||
}
|
||||
} else {
|
||||
MotionPaths motionPaths = this.mStartMotionPath;
|
||||
float f2 = motionPaths.f21x;
|
||||
float f2 = motionPaths.f22x;
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float a = a.a(motionPaths2.f21x, f2, adjustedPosition, f2);
|
||||
float f3 = motionPaths.f22y;
|
||||
float a2 = a.a(motionPaths2.f22y, f3, adjustedPosition, f3);
|
||||
float a = a.a(motionPaths2.f22x, f2, adjustedPosition, f2);
|
||||
float f3 = motionPaths.f23y;
|
||||
float a2 = a.a(motionPaths2.f23y, 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.f21x;
|
||||
float f3 = motionPaths.f22x;
|
||||
rectF.left = f3;
|
||||
float f4 = motionPaths.f22y;
|
||||
float f4 = motionPaths.f23y;
|
||||
rectF.top = f4;
|
||||
rectF.right = f3 + motionPaths.width;
|
||||
rectF.bottom = f4 + motionPaths.height;
|
||||
RectF rectF2 = new RectF();
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float f5 = motionPaths2.f21x;
|
||||
float f5 = motionPaths2.f22x;
|
||||
rectF2.left = f5;
|
||||
float f6 = motionPaths2.f22y;
|
||||
float f6 = motionPaths2.f23y;
|
||||
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].f21x;
|
||||
dArr6[i20][1] = (double) motionPathsArr[i20].f22y;
|
||||
dArr6[i20][0] = (double) motionPathsArr[i20].f22x;
|
||||
dArr6[i20][1] = (double) motionPathsArr[i20].f23y;
|
||||
}
|
||||
this.mArcSpline = CurveFit.getArc(iArr6, dArr5, dArr6);
|
||||
}
|
||||
|
@ -1243,13 +1243,13 @@ public class MotionController {
|
|||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O(" start: x: ");
|
||||
O.append(this.mStartMotionPath.f21x);
|
||||
O.append(this.mStartMotionPath.f22x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mStartMotionPath.f22y);
|
||||
O.append(this.mStartMotionPath.f23y);
|
||||
O.append(" end: x: ");
|
||||
O.append(this.mEndMotionPath.f21x);
|
||||
O.append(this.mEndMotionPath.f22x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mEndMotionPath.f22y);
|
||||
O.append(this.mEndMotionPath.f23y);
|
||||
return O.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 f20me = new MyTracker();
|
||||
private static MyTracker f21me = new MyTracker();
|
||||
public VelocityTracker tracker;
|
||||
|
||||
private MyTracker() {
|
||||
}
|
||||
|
||||
public static MyTracker obtain() {
|
||||
f20me.tracker = VelocityTracker.obtain();
|
||||
return f20me;
|
||||
f21me.tracker = VelocityTracker.obtain();
|
||||
return f21me;
|
||||
}
|
||||
|
||||
@Override // androidx.constraintlayout.motion.widget.MotionLayout.MotionTracker
|
||||
|
|
|
@ -39,10 +39,10 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
|||
public float width;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public float f21x;
|
||||
public float f22x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public float f22y;
|
||||
public float f23y;
|
||||
|
||||
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.f21x, motionPaths.f21x) | z2;
|
||||
zArr[2] = z2 | diff(this.f22y, motionPaths.f22y) | zArr[2];
|
||||
zArr[1] = zArr[1] | diff(this.f22x, motionPaths.f22x) | z2;
|
||||
zArr[2] = z2 | diff(this.f23y, motionPaths.f23y) | 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.f21x, this.f22y, this.width, this.height, this.mPathRotate};
|
||||
float[] fArr = {this.position, this.f22x, this.f23y, 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.f21x;
|
||||
float f2 = this.f22y;
|
||||
float f = this.f22x;
|
||||
float f2 = this.f23y;
|
||||
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.f21x;
|
||||
float f2 = this.f22y;
|
||||
float f = this.f22x;
|
||||
float f2 = this.f23y;
|
||||
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.f21x;
|
||||
float f11 = motionPaths.f22y;
|
||||
float f12 = ((f4 / 2.0f) + motionPaths2.f21x) - ((f5 / 2.0f) + f10);
|
||||
float f13 = ((f7 / 2.0f) + motionPaths2.f22y) - ((f8 / 2.0f) + f11);
|
||||
float f10 = motionPaths.f22x;
|
||||
float f11 = motionPaths.f23y;
|
||||
float f12 = ((f4 / 2.0f) + motionPaths2.f22x) - ((f5 / 2.0f) + f10);
|
||||
float f13 = ((f7 / 2.0f) + motionPaths2.f23y) - ((f8 / 2.0f) + f11);
|
||||
float f14 = f6 * f2;
|
||||
float f15 = f14 / 2.0f;
|
||||
this.f21x = (float) ((int) (((f12 * f) + f10) - f15));
|
||||
this.f22x = (float) ((int) (((f12 * f) + f10) - f15));
|
||||
float f16 = (f13 * f) + f11;
|
||||
float f17 = f9 * f3;
|
||||
float f18 = f17 / 2.0f;
|
||||
this.f22y = (float) ((int) (f16 - f18));
|
||||
this.f23y = (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.f21x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f21x)) - f15));
|
||||
this.f22y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f22y)) - f18));
|
||||
this.f22x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f22x)) - f15));
|
||||
this.f23y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f23y)) - 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.f21x;
|
||||
float f6 = motionPaths.f22x;
|
||||
float f7 = motionPaths.width;
|
||||
float f8 = motionPaths.f22y;
|
||||
float f8 = motionPaths.f23y;
|
||||
float f9 = motionPaths.height;
|
||||
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f21x) - ((f7 / 2.0f) + f6);
|
||||
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f22y) - ((f9 / 2.0f) + f8);
|
||||
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f22x) - ((f7 / 2.0f) + f6);
|
||||
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f23y) - ((f9 / 2.0f) + f8);
|
||||
float f12 = f10 * f;
|
||||
float f13 = f4 * f2;
|
||||
float f14 = f13 / 2.0f;
|
||||
this.f21x = (float) ((int) ((f6 + f12) - f14));
|
||||
this.f22x = (float) ((int) ((f6 + f12) - f14));
|
||||
float f15 = f * f11;
|
||||
float f16 = f5 * f3;
|
||||
float f17 = f16 / 2.0f;
|
||||
this.f22y = (float) ((int) ((f8 + f15) - f17));
|
||||
this.f23y = (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.f21x + f12) - f14));
|
||||
this.f21x = f19;
|
||||
float f20 = (float) ((int) ((motionPaths.f22y + f15) - f17));
|
||||
this.f22y = f20;
|
||||
this.f21x = f19 + ((-f11) * f18);
|
||||
this.f22y = f20 + (f10 * f18);
|
||||
float f19 = (float) ((int) ((motionPaths.f22x + f12) - f14));
|
||||
this.f22x = f19;
|
||||
float f20 = (float) ((int) ((motionPaths.f23y + f15) - f17));
|
||||
this.f23y = f20;
|
||||
this.f22x = f19 + ((-f11) * f18);
|
||||
this.f23y = 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.f21x;
|
||||
float f11 = motionPaths.f22y;
|
||||
float f12 = (f4 / 2.0f) + motionPaths2.f21x;
|
||||
float f13 = (f7 / 2.0f) + motionPaths2.f22y;
|
||||
float f10 = motionPaths.f22x;
|
||||
float f11 = motionPaths.f23y;
|
||||
float f12 = (f4 / 2.0f) + motionPaths2.f22x;
|
||||
float f13 = (f7 / 2.0f) + motionPaths2.f23y;
|
||||
float f14 = f6 * f2;
|
||||
this.f21x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
||||
this.f22x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
||||
float f15 = f9 * f3;
|
||||
this.f22y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
|
||||
this.f23y = (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.f21x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
||||
this.f22x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
||||
}
|
||||
if (!Float.isNaN(keyPosition.mPercentY)) {
|
||||
this.f22y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
|
||||
this.f23y = (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.f21x = f;
|
||||
this.f22y = f2;
|
||||
this.f22x = f;
|
||||
this.f23y = 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.f21x;
|
||||
float f3 = this.f22y;
|
||||
float f2 = this.f22x;
|
||||
float f3 = this.f23y;
|
||||
float f4 = this.width;
|
||||
float f5 = this.height;
|
||||
if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) {
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
|||
if (i == -1) {
|
||||
this.mHead = 0;
|
||||
this.mArrayValues[0] = f;
|
||||
this.mArrayIndices[0] = solverVariable.f23id;
|
||||
this.mArrayIndices[0] = solverVariable.f24id;
|
||||
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.f23id;
|
||||
int i6 = solverVariable.f24id;
|
||||
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.f23id;
|
||||
this.mArrayIndices[i7] = solverVariable.f24id;
|
||||
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.f23id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f24id) {
|
||||
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.f23id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f24id) {
|
||||
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.f23id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f24id) {
|
||||
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.f23id;
|
||||
this.mArrayIndices[0] = solverVariable.f24id;
|
||||
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.f23id;
|
||||
int i6 = solverVariable.f24id;
|
||||
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.f23id;
|
||||
this.mArrayIndices[i7] = solverVariable.f24id;
|
||||
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.f23id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f24id) {
|
||||
if (i == this.mHead) {
|
||||
this.mHead = this.mArrayNextIndices[i];
|
||||
} else {
|
||||
|
|
|
@ -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.f23id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
||||
if ((zArr == null || !zArr[variable.f24id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
||||
f = variableValue;
|
||||
solverVariable2 = variable;
|
||||
}
|
||||
|
|
|
@ -206,7 +206,7 @@ public class LinearSystem {
|
|||
int i = this.mVariablesID + 1;
|
||||
this.mVariablesID = i;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f23id = i;
|
||||
acquireSolverVariable.f24id = i;
|
||||
if (this.mVariables == null) {
|
||||
this.mVariables = new HashMap<>();
|
||||
}
|
||||
|
@ -281,7 +281,7 @@ public class LinearSystem {
|
|||
while (i9 < i7) {
|
||||
float f3 = variable.strengthVector[i9] / f2;
|
||||
if ((f3 < f && i9 == i5) || i9 > i5) {
|
||||
i4 = variable.f23id;
|
||||
i4 = variable.f24id;
|
||||
i5 = i9;
|
||||
i3 = i6;
|
||||
f = f3;
|
||||
|
@ -387,12 +387,12 @@ public class LinearSystem {
|
|||
return i2;
|
||||
}
|
||||
if (row.getKey() != null) {
|
||||
this.mAlreadyTestedCandidates[row.getKey().f23id] = true;
|
||||
this.mAlreadyTestedCandidates[row.getKey().f24id] = true;
|
||||
}
|
||||
SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates);
|
||||
if (pivotCandidate != null) {
|
||||
boolean[] zArr = this.mAlreadyTestedCandidates;
|
||||
int i3 = pivotCandidate.f23id;
|
||||
int i3 = pivotCandidate.f24id;
|
||||
if (zArr[i3]) {
|
||||
return i2;
|
||||
}
|
||||
|
@ -594,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.f23id) {
|
||||
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f24id) {
|
||||
solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f);
|
||||
}
|
||||
}
|
||||
|
@ -715,7 +715,7 @@ public class LinearSystem {
|
|||
int i2 = this.mVariablesID + 1;
|
||||
this.mVariablesID = i2;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f23id = i2;
|
||||
acquireSolverVariable.f24id = i2;
|
||||
acquireSolverVariable.strength = i;
|
||||
this.mCache.mIndexedVariables[i2] = acquireSolverVariable;
|
||||
this.mGoal.addError(acquireSolverVariable);
|
||||
|
@ -734,7 +734,7 @@ public class LinearSystem {
|
|||
int i = this.mVariablesID + 1;
|
||||
this.mVariablesID = i;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f23id = i;
|
||||
acquireSolverVariable.f24id = i;
|
||||
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
||||
return acquireSolverVariable;
|
||||
}
|
||||
|
@ -754,7 +754,7 @@ public class LinearSystem {
|
|||
constraintAnchor.resetSolverVariable(this.mCache);
|
||||
solverVariable = constraintAnchor.getSolverVariable();
|
||||
}
|
||||
int i = solverVariable.f23id;
|
||||
int i = solverVariable.f24id;
|
||||
if (i == -1 || i > this.mVariablesID || this.mCache.mIndexedVariables[i] == null) {
|
||||
if (i != -1) {
|
||||
solverVariable.reset();
|
||||
|
@ -762,7 +762,7 @@ public class LinearSystem {
|
|||
int i2 = this.mVariablesID + 1;
|
||||
this.mVariablesID = i2;
|
||||
this.mNumColumns++;
|
||||
solverVariable.f23id = i2;
|
||||
solverVariable.f24id = i2;
|
||||
solverVariable.mType = SolverVariable.Type.UNRESTRICTED;
|
||||
this.mCache.mIndexedVariables[i2] = solverVariable;
|
||||
}
|
||||
|
@ -805,7 +805,7 @@ public class LinearSystem {
|
|||
int i = this.mVariablesID + 1;
|
||||
this.mVariablesID = i;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f23id = i;
|
||||
acquireSolverVariable.f24id = i;
|
||||
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
||||
return acquireSolverVariable;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
}
|
||||
|
||||
public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) {
|
||||
return solverVariable.f23id - solverVariable2.f23id;
|
||||
return solverVariable.f24id - solverVariable2.f24id;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
|
||||
@Override // java.lang.Comparable
|
||||
public int compareTo(Object obj) {
|
||||
return this.variable.f23id - ((SolverVariable) obj).f23id;
|
||||
return this.variable.f24id - ((SolverVariable) obj).f24id;
|
||||
}
|
||||
|
||||
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].f23id > solverVariable.f23id) {
|
||||
if (i4 > 1 && solverVariableArr3[i4 - 1].f24id > solverVariable.f24id) {
|
||||
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.f23id]) {
|
||||
if (!zArr[solverVariable.f24id]) {
|
||||
this.accessor.init(solverVariable);
|
||||
if (i == -1) {
|
||||
if (!this.accessor.isNegative()) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public class SolverVariable {
|
|||
public float[] goalStrengthVector;
|
||||
|
||||
/* renamed from: id reason: collision with root package name */
|
||||
public int f23id;
|
||||
public int f24id;
|
||||
public boolean inGoal;
|
||||
public HashSet<ArrayRow> inRows;
|
||||
public boolean isFinalValue;
|
||||
|
@ -82,7 +82,7 @@ public class SolverVariable {
|
|||
}
|
||||
|
||||
public SolverVariable(Type type, String str) {
|
||||
this.f23id = -1;
|
||||
this.f24id = -1;
|
||||
this.definitionId = -1;
|
||||
this.strength = 0;
|
||||
this.isFinalValue = false;
|
||||
|
@ -99,7 +99,7 @@ public class SolverVariable {
|
|||
}
|
||||
|
||||
public SolverVariable(String str, Type type) {
|
||||
this.f23id = -1;
|
||||
this.f24id = -1;
|
||||
this.definitionId = -1;
|
||||
this.strength = 0;
|
||||
this.isFinalValue = false;
|
||||
|
@ -216,7 +216,7 @@ public class SolverVariable {
|
|||
this.mName = null;
|
||||
this.mType = Type.UNKNOWN;
|
||||
this.strength = 0;
|
||||
this.f23id = -1;
|
||||
this.f24id = -1;
|
||||
this.definitionId = -1;
|
||||
this.computedValue = 0.0f;
|
||||
this.isFinalValue = false;
|
||||
|
@ -253,7 +253,7 @@ public class SolverVariable {
|
|||
|
||||
public void setSynonym(LinearSystem linearSystem, SolverVariable solverVariable, float f) {
|
||||
this.isSynonym = true;
|
||||
this.synonym = solverVariable.f23id;
|
||||
this.synonym = solverVariable.f24id;
|
||||
this.synonymDelta = f;
|
||||
int i = this.mClientEquationsCount;
|
||||
this.definitionId = -1;
|
||||
|
@ -302,7 +302,7 @@ public class SolverVariable {
|
|||
return O.toString();
|
||||
}
|
||||
StringBuilder O2 = a.O("");
|
||||
O2.append(this.f23id);
|
||||
O2.append(this.f24id);
|
||||
return O2.toString();
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
|||
|
||||
private void addToHashMap(SolverVariable solverVariable, int i) {
|
||||
int[] iArr;
|
||||
int i2 = solverVariable.f23id % this.HASH_SIZE;
|
||||
int i2 = solverVariable.f24id % 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.f23id;
|
||||
this.variables[i] = solverVariable.f24id;
|
||||
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.f23id;
|
||||
int i = solverVariable.f24id;
|
||||
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.f23id;
|
||||
int i = solverVariable.f24id;
|
||||
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.f23id;
|
||||
int i6 = solverVariable.f24id;
|
||||
if (i5 == i6) {
|
||||
this.values[i2] = f;
|
||||
return;
|
||||
|
|
|
@ -4,28 +4,28 @@ public class Rectangle {
|
|||
public int width;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public int f24x;
|
||||
public int f25x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public int f25y;
|
||||
public int f26y;
|
||||
|
||||
public boolean contains(int i, int i2) {
|
||||
int i3;
|
||||
int i4 = this.f24x;
|
||||
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f25y) && i2 < i3 + this.height;
|
||||
int i4 = this.f25x;
|
||||
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f26y) && i2 < i3 + this.height;
|
||||
}
|
||||
|
||||
public int getCenterX() {
|
||||
return (this.f24x + this.width) / 2;
|
||||
return (this.f25x + this.width) / 2;
|
||||
}
|
||||
|
||||
public int getCenterY() {
|
||||
return (this.f25y + this.height) / 2;
|
||||
return (this.f26y + this.height) / 2;
|
||||
}
|
||||
|
||||
public void grow(int i, int i2) {
|
||||
this.f24x -= i;
|
||||
this.f25y -= i2;
|
||||
this.f25x -= i;
|
||||
this.f26y -= 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.f24x;
|
||||
int i4 = rectangle.f24x;
|
||||
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f25y) >= (i2 = rectangle.f25y) && i < i2 + rectangle.height;
|
||||
int i3 = this.f25x;
|
||||
int i4 = rectangle.f25x;
|
||||
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f26y) >= (i2 = rectangle.f26y) && i < i2 + rectangle.height;
|
||||
}
|
||||
|
||||
public void setBounds(int i, int i2, int i3, int i4) {
|
||||
this.f24x = i;
|
||||
this.f25y = i2;
|
||||
this.f25x = i;
|
||||
this.f26y = i2;
|
||||
this.width = i3;
|
||||
this.height = i4;
|
||||
}
|
||||
|
|
|
@ -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.f26id)) {
|
||||
if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f27id)) {
|
||||
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.f26id) {
|
||||
if (i == widgetGroup.f27id) {
|
||||
return widgetGroup;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ public class WidgetGroup {
|
|||
public boolean authoritative = false;
|
||||
|
||||
/* renamed from: id reason: collision with root package name */
|
||||
public int f26id = -1;
|
||||
public int f27id = -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.f26id = i2;
|
||||
this.f27id = 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.f26id) {
|
||||
if (this.moveTo == widgetGroup.f27id) {
|
||||
moveTo(this.orientation, widgetGroup);
|
||||
}
|
||||
}
|
||||
|
@ -143,7 +143,7 @@ public class WidgetGroup {
|
|||
}
|
||||
|
||||
public int getId() {
|
||||
return this.f26id;
|
||||
return this.f27id;
|
||||
}
|
||||
|
||||
public int getOrientation() {
|
||||
|
@ -181,7 +181,7 @@ public class WidgetGroup {
|
|||
next.verticalGroup = widgetGroup.getId();
|
||||
}
|
||||
}
|
||||
this.moveTo = widgetGroup.f26id;
|
||||
this.moveTo = widgetGroup.f27id;
|
||||
}
|
||||
|
||||
public void setAuthoritative(boolean z2) {
|
||||
|
@ -200,7 +200,7 @@ public class WidgetGroup {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getOrientationString());
|
||||
sb.append(" [");
|
||||
String z2 = a.z(sb, this.f26id, "] <");
|
||||
String z2 = a.z(sb, this.f27id, "] <");
|
||||
Iterator<ConstraintWidget> it = this.widgets.iterator();
|
||||
while (it.hasNext()) {
|
||||
StringBuilder S = a.S(z2, " ");
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnCancel$$inlined$addListener$default$1 implements Animator.AnimatorListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnEnd$$inlined$addListener$default$1 implements Animator.AnimatorListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnPause$$inlined$addPauseListener$default$1 implements Animator.AnimatorPauseListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnRepeat$$inlined$addListener$default$1 implements Animator.AnimatorListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnResume$$inlined$addPauseListener$default$1 implements Animator.AnimatorPauseListener {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.animation;
|
||||
|
||||
import android.animation.Animator;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
public final class AnimatorKt$doOnStart$$inlined$addListener$default$1 implements Animator.AnimatorListener {
|
||||
|
|
|
@ -2,7 +2,7 @@ package androidx.core.animation;
|
|||
|
||||
import android.animation.Animator;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Animator.kt */
|
||||
|
|
|
@ -6,14 +6,14 @@ import android.content.Intent;
|
|||
import android.os.Binder;
|
||||
import android.os.IBinder;
|
||||
import android.os.RemoteException;
|
||||
import x.a.b.a.a;
|
||||
import w.a.b.a.a;
|
||||
public abstract class NotificationCompatSideChannelService extends Service {
|
||||
|
||||
public class NotificationSideChannelStub extends a.AbstractBinderC0357a {
|
||||
public NotificationSideChannelStub() {
|
||||
}
|
||||
|
||||
@Override // x.a.b.a.a
|
||||
@Override // w.a.b.a.a
|
||||
public void cancel(String str, int i, String str2) throws RemoteException {
|
||||
NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str);
|
||||
long clearCallingIdentity = Binder.clearCallingIdentity();
|
||||
|
@ -24,7 +24,7 @@ public abstract class NotificationCompatSideChannelService extends Service {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // x.a.b.a.a
|
||||
@Override // w.a.b.a.a
|
||||
public void cancelAll(String str) {
|
||||
NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str);
|
||||
long clearCallingIdentity = Binder.clearCallingIdentity();
|
||||
|
@ -35,7 +35,7 @@ public abstract class NotificationCompatSideChannelService extends Service {
|
|||
}
|
||||
}
|
||||
|
||||
@Override // x.a.b.a.a
|
||||
@Override // w.a.b.a.a
|
||||
public void notify(String str, int i, String str2, Notification notification) throws RemoteException {
|
||||
NotificationCompatSideChannelService.this.checkPermission(Binder.getCallingUid(), str);
|
||||
long clearCallingIdentity = Binder.clearCallingIdentity();
|
||||
|
|
|
@ -36,7 +36,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import x.a.b.a.a;
|
||||
import w.a.b.a.a;
|
||||
public final class NotificationManagerCompat {
|
||||
public static final String ACTION_BIND_SIDE_CHANNEL = "android.support.BIND_NOTIFICATION_SIDE_CHANNEL";
|
||||
private static final String CHECK_OP_NO_THROW = "checkOpNoThrow";
|
||||
|
@ -69,20 +69,20 @@ public final class NotificationManagerCompat {
|
|||
public final boolean all;
|
||||
|
||||
/* renamed from: id reason: collision with root package name */
|
||||
public final int f27id;
|
||||
public final int f28id;
|
||||
public final String packageName;
|
||||
public final String tag;
|
||||
|
||||
public CancelTask(String str) {
|
||||
this.packageName = str;
|
||||
this.f27id = 0;
|
||||
this.f28id = 0;
|
||||
this.tag = null;
|
||||
this.all = true;
|
||||
}
|
||||
|
||||
public CancelTask(String str, int i, String str2) {
|
||||
this.packageName = str;
|
||||
this.f27id = i;
|
||||
this.f28id = i;
|
||||
this.tag = str2;
|
||||
this.all = false;
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ public final class NotificationManagerCompat {
|
|||
if (this.all) {
|
||||
aVar.cancelAll(this.packageName);
|
||||
} else {
|
||||
aVar.cancel(this.packageName, this.f27id, this.tag);
|
||||
aVar.cancel(this.packageName, this.f28id, this.tag);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ public final class NotificationManagerCompat {
|
|||
sb.append("packageName:");
|
||||
sb.append(this.packageName);
|
||||
sb.append(", id:");
|
||||
sb.append(this.f27id);
|
||||
sb.append(this.f28id);
|
||||
sb.append(", tag:");
|
||||
sb.append(this.tag);
|
||||
sb.append(", all:");
|
||||
|
@ -113,21 +113,21 @@ public final class NotificationManagerCompat {
|
|||
public static class NotifyTask implements Task {
|
||||
|
||||
/* renamed from: id reason: collision with root package name */
|
||||
public final int f28id;
|
||||
public final int f29id;
|
||||
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.f28id = i;
|
||||
this.f29id = 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.f28id, this.tag, this.notif);
|
||||
aVar.notify(this.packageName, this.f29id, this.tag, this.notif);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
@ -136,7 +136,7 @@ public final class NotificationManagerCompat {
|
|||
sb.append("packageName:");
|
||||
sb.append(this.packageName);
|
||||
sb.append(", id:");
|
||||
sb.append(this.f28id);
|
||||
sb.append(this.f29id);
|
||||
sb.append(", tag:");
|
||||
return c.d.b.a.a.G(sb, this.tag, "]");
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.content;
|
||||
|
||||
import android.content.ContentValues;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Pair;
|
||||
/* compiled from: ContentValues.kt */
|
||||
public final class ContentValuesKt {
|
||||
|
|
|
@ -73,6 +73,7 @@ import androidx.appcompat.widget.ActivityChooserModel;
|
|||
import androidx.core.app.NotificationCompat;
|
||||
import androidx.core.content.res.ResourcesCompat;
|
||||
import androidx.core.os.ExecutorCompat;
|
||||
import com.discord.models.domain.ModelAuditLogEntry;
|
||||
import com.discord.utilities.analytics.ChatInputComponentTypes;
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
|
@ -265,7 +266,7 @@ public class ContextCompat {
|
|||
hashMap.put(InputMethodManager.class, "input_method");
|
||||
hashMap.put(KeyguardManager.class, "keyguard");
|
||||
hashMap.put(LayoutInflater.class, "layout_inflater");
|
||||
hashMap.put(LocationManager.class, "location");
|
||||
hashMap.put(LocationManager.class, ModelAuditLogEntry.CHANGE_KEY_LOCATION);
|
||||
hashMap.put(NfcManager.class, "nfc");
|
||||
hashMap.put(NotificationManager.class, "notification");
|
||||
hashMap.put(PowerManager.class, "power");
|
||||
|
|
|
@ -6,7 +6,7 @@ import android.util.AttributeSet;
|
|||
import androidx.annotation.AttrRes;
|
||||
import androidx.annotation.StyleRes;
|
||||
import androidx.exifinterface.media.ExifInterface;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Context.kt */
|
||||
|
|
|
@ -2,7 +2,7 @@ package androidx.core.content;
|
|||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.SharedPreferences;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: SharedPreferences.kt */
|
||||
|
|
|
@ -9,7 +9,7 @@ import androidx.annotation.ColorInt;
|
|||
import androidx.annotation.Dimension;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.StyleableRes;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: TypedArray.kt */
|
||||
public final class TypedArrayKt {
|
||||
|
@ -135,8 +135,8 @@ public final class TypedArrayKt {
|
|||
public static final <R> R use(TypedArray typedArray, Function1<? super TypedArray, ? extends R> function1) {
|
||||
m.checkNotNullParameter(typedArray, "<this>");
|
||||
m.checkNotNullParameter(function1, "block");
|
||||
R r = (R) function1.invoke(typedArray);
|
||||
R r2 = (R) function1.invoke(typedArray);
|
||||
typedArray.recycle();
|
||||
return r;
|
||||
return r2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.database;
|
||||
|
||||
import android.database.Cursor;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: Cursor.kt */
|
||||
public final class CursorKt {
|
||||
public static final byte[] getBlobOrNull(Cursor cursor, int i) {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.core.database.sqlite;
|
||||
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import d0.z.d.l;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.l;
|
||||
import c0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: SQLiteDatabase.kt */
|
||||
public final class SQLiteDatabaseKt {
|
||||
|
|
|
@ -7,7 +7,7 @@ import android.graphics.Point;
|
|||
import android.graphics.PointF;
|
||||
import androidx.annotation.ColorInt;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Bitmap.kt */
|
||||
|
|
|
@ -6,7 +6,7 @@ import android.graphics.Path;
|
|||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import c.d.b.a.a;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: Canvas.kt */
|
||||
|
|
|
@ -4,7 +4,7 @@ import android.graphics.Color;
|
|||
import android.graphics.ColorSpace;
|
||||
import androidx.annotation.ColorInt;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: Color.kt */
|
||||
public final class ColorKt {
|
||||
@RequiresApi(26)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.graphics;
|
||||
|
||||
import android.graphics.ImageDecoder;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
/* compiled from: ImageDecoder.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.graphics;
|
||||
|
||||
import android.graphics.ImageDecoder;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
/* compiled from: ImageDecoder.kt */
|
||||
|
|
|
@ -4,7 +4,7 @@ import android.graphics.Bitmap;
|
|||
import android.graphics.ImageDecoder;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function3;
|
||||
/* compiled from: ImageDecoder.kt */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.graphics;
|
||||
|
||||
import android.graphics.Matrix;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: Matrix.kt */
|
||||
public final class MatrixKt {
|
||||
public static final Matrix rotationMatrix(float f, float f2, float f3) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.core.graphics;
|
||||
|
||||
import android.graphics.Paint;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
/* compiled from: Paint.kt */
|
||||
public final class PaintKt {
|
||||
public static final boolean setBlendMode(Paint paint, BlendModeCompat blendModeCompat) {
|
||||
|
|
|
@ -2,7 +2,7 @@ package androidx.core.graphics;
|
|||
|
||||
import android.graphics.Path;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import d0.z.d.m;
|
||||
import c0.z.d.m;
|
||||
import java.util.Collection;
|
||||
/* compiled from: Path.kt */
|
||||
public final class PathKt {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue