100.16 - Stable (100016)
This commit is contained in:
parent
0ef8130585
commit
115c50ac46
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 99020
|
||||
versionName "99.20 - Stable"
|
||||
versionCode 100016
|
||||
versionName "100.16 - 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="99020" android:versionName="99.20 - 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="100016" android:versionName="100.16 - Stable" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<action android:name="android.intent.action.MAIN"/>
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<intent-filter android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
@ -99,6 +99,8 @@
|
|||
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/query/.*"/>
|
||||
<data android:scheme="http" android:host="discord.com" android:pathPattern="/ra/.*"/>
|
||||
<data android:scheme="https" android:host="discord.com" android:pathPattern="/ra/.*"/>
|
||||
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/events/.*"/>
|
||||
<data android:scheme="https" android:host="discord.com" android:pathPattern="/events/.*"/>
|
||||
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/app"/>
|
||||
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/app"/>
|
||||
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/gifts/.*"/>
|
||||
|
@ -118,8 +120,10 @@
|
|||
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/discovery"/>
|
||||
<data android:scheme="http" android:host="discordapp.com" android:pathPattern="/ra/.*"/>
|
||||
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/ra/.*"/>
|
||||
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/events/.*"/>
|
||||
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/events/.*"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<intent-filter android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
@ -138,7 +142,7 @@
|
|||
<data android:scheme="discord" android:host="action" android:pathPattern="/oauth2/authorize"/>
|
||||
<data android:scheme="discord" android:host="action" android:pathPattern="/connect/authorize"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<intent-filter android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
@ -201,8 +205,8 @@
|
|||
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
|
||||
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
|
||||
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
|
||||
<meta-data android:name="libdiscord_version" android:value="89.0.13-echo-cancellation-stats-jni"/>
|
||||
<activity android:theme="@style/res_2131952266_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
||||
<meta-data android:name="libdiscord_version" android:value="89.0.26-pixel6-hwdec"/>
|
||||
<activity android:theme="@style/res_2131952267_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
||||
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.service.chooser.ChooserTargetService"/>
|
||||
|
@ -292,7 +296,7 @@
|
|||
<service android:name="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="false"/>
|
||||
<receiver android:name="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" android:exported="false"/>
|
||||
<service android:name="androidx.room.MultiInstanceInvalidationService" android:exported="false" android:directBootAware="true"/>
|
||||
<meta-data android:name="com.google.android.play.billingclient.version" android:value="3.0.3"/>
|
||||
<meta-data android:name="com.google.android.play.billingclient.version" android:value="4.0.0"/>
|
||||
<activity android:theme="@android:style/Theme.Translucent.NoTitleBar" android:name="com.android.billingclient.api.ProxyBillingActivity" android:exported="false" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||
<meta-data android:name="com.android.vending.derived.apk.id" android:value="1"/>
|
||||
</application>
|
||||
|
|
|
@ -1,33 +1,7 @@
|
|||
package a0.a.a;
|
||||
|
||||
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;
|
||||
public /* synthetic */ class a {
|
||||
public static /* synthetic */ int a(double d) {
|
||||
long doubleToLongBits = Double.doubleToLongBits(d);
|
||||
return (int) (doubleToLongBits ^ (doubleToLongBits >>> 32));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,159 +1,6 @@
|
|||
package a0.a.a;
|
||||
|
||||
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");
|
||||
public /* synthetic */ class b {
|
||||
public static /* synthetic */ int a(long j) {
|
||||
return (int) (j ^ (j >>> 32));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
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;
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
package a0.a.a;
|
||||
|
||||
import java.io.File;
|
||||
/* compiled from: Util.kt */
|
||||
public final class d {
|
||||
public static final String a = File.separator;
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
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();
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
package a0.a.a.e;
|
||||
|
||||
import java.io.File;
|
||||
/* compiled from: Constraint.kt */
|
||||
public interface b {
|
||||
File a(File file);
|
||||
|
||||
boolean b(File file);
|
||||
}
|
|
@ -1,198 +0,0 @@
|
|||
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;
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@ package android.support.v4.media;
|
|||
import android.annotation.SuppressLint;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.media.MediaDescription;
|
||||
import android.media.browse.MediaBrowser;
|
||||
import android.os.BadParcelableException;
|
||||
import android.os.Binder;
|
||||
|
@ -20,6 +21,7 @@ import android.support.v4.media.session.MediaSessionCompat;
|
|||
import android.support.v4.os.ResultReceiver;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import androidx.annotation.DoNotInline;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.collection.ArrayMap;
|
||||
|
@ -31,10 +33,10 @@ import java.lang.ref.WeakReference;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import w.a.b.b.a.b;
|
||||
import x.a.b.b.a.b;
|
||||
public final class MediaBrowserCompat {
|
||||
public static final boolean a = Log.isLoggable("MediaBrowserCompat", 3);
|
||||
public final c b;
|
||||
public final d b;
|
||||
|
||||
public static class CustomActionResultReceiver extends ResultReceiver {
|
||||
@Override // android.support.v4.os.ResultReceiver
|
||||
|
@ -105,7 +107,7 @@ public final class MediaBrowserCompat {
|
|||
for (Object obj : list) {
|
||||
if (obj != null) {
|
||||
MediaBrowser.MediaItem mediaItem2 = (MediaBrowser.MediaItem) obj;
|
||||
mediaItem = new MediaItem(MediaDescriptionCompat.a(mediaItem2.getDescription()), mediaItem2.getFlags());
|
||||
mediaItem = new MediaItem(MediaDescriptionCompat.a(a.a(mediaItem2)), a.b(mediaItem2));
|
||||
} else {
|
||||
mediaItem = null;
|
||||
}
|
||||
|
@ -151,12 +153,25 @@ public final class MediaBrowserCompat {
|
|||
}
|
||||
}
|
||||
|
||||
public static class a extends Handler {
|
||||
public final WeakReference<g> a;
|
||||
@RequiresApi(21)
|
||||
public static class a {
|
||||
@DoNotInline
|
||||
public static MediaDescription a(MediaBrowser.MediaItem mediaItem) {
|
||||
return mediaItem.getDescription();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static int b(MediaBrowser.MediaItem mediaItem) {
|
||||
return mediaItem.getFlags();
|
||||
}
|
||||
}
|
||||
|
||||
public static class b extends Handler {
|
||||
public final WeakReference<h> a;
|
||||
public WeakReference<Messenger> b;
|
||||
|
||||
public a(g gVar) {
|
||||
this.a = new WeakReference<>(gVar);
|
||||
public b(h hVar) {
|
||||
this.a = new WeakReference<>(hVar);
|
||||
}
|
||||
|
||||
public void a(Messenger messenger) {
|
||||
|
@ -169,16 +184,16 @@ public final class MediaBrowserCompat {
|
|||
if (weakReference != null && weakReference.get() != null && this.a.get() != null) {
|
||||
Bundle data = message.getData();
|
||||
MediaSessionCompat.a(data);
|
||||
g gVar = this.a.get();
|
||||
h hVar = this.a.get();
|
||||
Messenger messenger = this.b.get();
|
||||
try {
|
||||
int i = message.what;
|
||||
if (i == 1) {
|
||||
Bundle bundle = data.getBundle(MediaBrowserProtocol.DATA_ROOT_HINTS);
|
||||
MediaSessionCompat.a(bundle);
|
||||
gVar.a(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (MediaSessionCompat.Token) data.getParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN), bundle);
|
||||
hVar.a(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), (MediaSessionCompat.Token) data.getParcelable(MediaBrowserProtocol.DATA_MEDIA_SESSION_TOKEN), bundle);
|
||||
} else if (i == 2) {
|
||||
gVar.c(messenger);
|
||||
hVar.c(messenger);
|
||||
} else if (i != 3) {
|
||||
Log.w("MediaBrowserCompat", "Unhandled message: " + message + "\n Client version: 1\n Service version: " + message.arg1);
|
||||
} else {
|
||||
|
@ -186,21 +201,21 @@ public final class MediaBrowserCompat {
|
|||
MediaSessionCompat.a(bundle2);
|
||||
Bundle bundle3 = data.getBundle(MediaBrowserProtocol.DATA_NOTIFY_CHILDREN_CHANGED_OPTIONS);
|
||||
MediaSessionCompat.a(bundle3);
|
||||
gVar.b(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), data.getParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST), bundle2, bundle3);
|
||||
hVar.b(messenger, data.getString(MediaBrowserProtocol.DATA_MEDIA_ITEM_ID), data.getParcelableArrayList(MediaBrowserProtocol.DATA_MEDIA_ITEM_LIST), bundle2, bundle3);
|
||||
}
|
||||
} catch (BadParcelableException unused) {
|
||||
Log.e("MediaBrowserCompat", "Could not unparcel the data.");
|
||||
if (message.what == 1) {
|
||||
gVar.c(messenger);
|
||||
hVar.c(messenger);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class b {
|
||||
public static class c {
|
||||
public final MediaBrowser.ConnectionCallback mConnectionCallbackFwk = new a();
|
||||
public AbstractC0000b mConnectionCallbackInternal;
|
||||
public b mConnectionCallbackInternal;
|
||||
|
||||
@RequiresApi(21)
|
||||
public class a extends MediaBrowser.ConnectionCallback {
|
||||
|
@ -209,71 +224,70 @@ public final class MediaBrowserCompat {
|
|||
|
||||
@Override // android.media.browse.MediaBrowser.ConnectionCallback
|
||||
public void onConnected() {
|
||||
AbstractC0000b bVar = b.this.mConnectionCallbackInternal;
|
||||
b bVar = c.this.mConnectionCallbackInternal;
|
||||
if (bVar != null) {
|
||||
d dVar = (d) bVar;
|
||||
Objects.requireNonNull(dVar);
|
||||
e eVar = (e) bVar;
|
||||
Objects.requireNonNull(eVar);
|
||||
try {
|
||||
Bundle extras = dVar.b.getExtras();
|
||||
Bundle extras = eVar.b.getExtras();
|
||||
if (extras != null) {
|
||||
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.f14c);
|
||||
Messenger messenger = new Messenger(dVar.d);
|
||||
dVar.g = messenger;
|
||||
dVar.d.a(messenger);
|
||||
eVar.f = new i(binder, eVar.f13c);
|
||||
Messenger messenger = new Messenger(eVar.d);
|
||||
eVar.g = messenger;
|
||||
eVar.d.a(messenger);
|
||||
try {
|
||||
h hVar = dVar.f;
|
||||
Context context = dVar.a;
|
||||
Messenger messenger2 = dVar.g;
|
||||
Objects.requireNonNull(hVar);
|
||||
i iVar = eVar.f;
|
||||
Context context = eVar.a;
|
||||
Messenger messenger2 = eVar.g;
|
||||
Objects.requireNonNull(iVar);
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString(MediaBrowserProtocol.DATA_PACKAGE_NAME, context.getPackageName());
|
||||
bundle.putInt(MediaBrowserProtocol.DATA_CALLING_PID, Process.myPid());
|
||||
bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, hVar.b);
|
||||
hVar.a(6, bundle, messenger2);
|
||||
bundle.putBundle(MediaBrowserProtocol.DATA_ROOT_HINTS, iVar.b);
|
||||
iVar.a(6, bundle, messenger2);
|
||||
} catch (RemoteException unused) {
|
||||
Log.i("MediaBrowserCompat", "Remote error registering client messenger.");
|
||||
}
|
||||
}
|
||||
w.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER));
|
||||
x.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);
|
||||
eVar.h = MediaSessionCompat.Token.a(eVar.b.getSessionToken(), e);
|
||||
}
|
||||
}
|
||||
} catch (IllegalStateException e2) {
|
||||
Log.e("MediaBrowserCompat", "Unexpected IllegalStateException", e2);
|
||||
}
|
||||
}
|
||||
b.this.onConnected();
|
||||
c.this.onConnected();
|
||||
}
|
||||
|
||||
@Override // android.media.browse.MediaBrowser.ConnectionCallback
|
||||
public void onConnectionFailed() {
|
||||
AbstractC0000b bVar = b.this.mConnectionCallbackInternal;
|
||||
b bVar = c.this.mConnectionCallbackInternal;
|
||||
if (bVar != null) {
|
||||
Objects.requireNonNull((d) bVar);
|
||||
Objects.requireNonNull((e) bVar);
|
||||
}
|
||||
b.this.onConnectionFailed();
|
||||
c.this.onConnectionFailed();
|
||||
}
|
||||
|
||||
@Override // android.media.browse.MediaBrowser.ConnectionCallback
|
||||
public void onConnectionSuspended() {
|
||||
AbstractC0000b bVar = b.this.mConnectionCallbackInternal;
|
||||
b bVar = c.this.mConnectionCallbackInternal;
|
||||
if (bVar != null) {
|
||||
d dVar = (d) bVar;
|
||||
dVar.f = null;
|
||||
dVar.g = null;
|
||||
dVar.h = null;
|
||||
dVar.d.a(null);
|
||||
e eVar = (e) bVar;
|
||||
eVar.f = null;
|
||||
eVar.g = null;
|
||||
eVar.h = null;
|
||||
eVar.d.a(null);
|
||||
}
|
||||
b.this.onConnectionSuspended();
|
||||
c.this.onConnectionSuspended();
|
||||
}
|
||||
}
|
||||
|
||||
/* renamed from: android.support.v4.media.MediaBrowserCompat$b$b reason: collision with other inner class name */
|
||||
public interface AbstractC0000b {
|
||||
public interface b {
|
||||
}
|
||||
|
||||
public void onConnected() {
|
||||
|
@ -288,73 +302,73 @@ public final class MediaBrowserCompat {
|
|||
throw null;
|
||||
}
|
||||
|
||||
public void setInternalConnectionCallback(AbstractC0000b bVar) {
|
||||
public void setInternalConnectionCallback(b bVar) {
|
||||
this.mConnectionCallbackInternal = bVar;
|
||||
}
|
||||
}
|
||||
|
||||
public interface c {
|
||||
public interface d {
|
||||
}
|
||||
|
||||
@RequiresApi(21)
|
||||
public static class d implements c, g, b.AbstractC0000b {
|
||||
public static class e implements d, h, c.b {
|
||||
public final Context a;
|
||||
public final MediaBrowser b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Bundle f14c;
|
||||
public final a d = new a(this);
|
||||
public final ArrayMap<String, i> e = new ArrayMap<>();
|
||||
public h f;
|
||||
public final Bundle f13c;
|
||||
public final b d = new b(this);
|
||||
public final ArrayMap<String, j> e = new ArrayMap<>();
|
||||
public i f;
|
||||
public Messenger g;
|
||||
public MediaSessionCompat.Token h;
|
||||
|
||||
public d(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
||||
public e(Context context, ComponentName componentName, c cVar, Bundle bundle) {
|
||||
this.a = context;
|
||||
Bundle bundle2 = bundle != null ? new Bundle(bundle) : new Bundle();
|
||||
this.f14c = bundle2;
|
||||
this.f13c = bundle2;
|
||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1);
|
||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid());
|
||||
bVar.setInternalConnectionCallback(this);
|
||||
this.b = new MediaBrowser(context, componentName, bVar.mConnectionCallbackFwk, bundle2);
|
||||
cVar.setInternalConnectionCallback(this);
|
||||
this.b = new MediaBrowser(context, componentName, cVar.mConnectionCallbackFwk, bundle2);
|
||||
}
|
||||
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.g
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.h
|
||||
public void a(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.g
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.h
|
||||
public void b(Messenger messenger, String str, List<MediaItem> list, Bundle bundle, Bundle bundle2) {
|
||||
if (this.g == messenger) {
|
||||
i iVar = this.e.get(str);
|
||||
if (iVar != null) {
|
||||
iVar.a(bundle);
|
||||
j jVar = this.e.get(str);
|
||||
if (jVar != null) {
|
||||
jVar.a(bundle);
|
||||
} else if (MediaBrowserCompat.a) {
|
||||
Log.d("MediaBrowserCompat", "onLoadChildren for id that isn't subscribed id=" + str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.g
|
||||
@Override // android.support.v4.media.MediaBrowserCompat.h
|
||||
public void c(Messenger messenger) {
|
||||
}
|
||||
}
|
||||
|
||||
@RequiresApi(23)
|
||||
public static class e extends d {
|
||||
public e(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
||||
super(context, componentName, bVar, bundle);
|
||||
public static class f extends e {
|
||||
public f(Context context, ComponentName componentName, c cVar, Bundle bundle) {
|
||||
super(context, componentName, cVar, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
@RequiresApi(26)
|
||||
public static class f extends e {
|
||||
public f(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
||||
super(context, componentName, bVar, bundle);
|
||||
public static class g extends f {
|
||||
public g(Context context, ComponentName componentName, c cVar, Bundle bundle) {
|
||||
super(context, componentName, cVar, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public interface g {
|
||||
public interface h {
|
||||
void a(Messenger messenger, String str, MediaSessionCompat.Token token, Bundle bundle);
|
||||
|
||||
void b(Messenger messenger, String str, List<MediaItem> list, Bundle bundle, Bundle bundle2);
|
||||
|
@ -362,11 +376,11 @@ public final class MediaBrowserCompat {
|
|||
void c(Messenger messenger);
|
||||
}
|
||||
|
||||
public static class h {
|
||||
public static class i {
|
||||
public Messenger a;
|
||||
public Bundle b;
|
||||
|
||||
public h(IBinder iBinder, Bundle bundle) {
|
||||
public i(IBinder iBinder, Bundle bundle) {
|
||||
this.a = new Messenger(iBinder);
|
||||
this.b = bundle;
|
||||
}
|
||||
|
@ -381,11 +395,11 @@ public final class MediaBrowserCompat {
|
|||
}
|
||||
}
|
||||
|
||||
public static class i {
|
||||
public final List<j> a = new ArrayList();
|
||||
public static class j {
|
||||
public final List<k> a = new ArrayList();
|
||||
public final List<Bundle> b = new ArrayList();
|
||||
|
||||
public j a(Bundle bundle) {
|
||||
public k a(Bundle bundle) {
|
||||
for (int i = 0; i < this.b.size(); i++) {
|
||||
if (MediaBrowserCompatUtils.areSameOptions(this.b.get(i), bundle)) {
|
||||
return this.a.get(i);
|
||||
|
@ -395,7 +409,7 @@ public final class MediaBrowserCompat {
|
|||
}
|
||||
}
|
||||
|
||||
public static abstract class j {
|
||||
public static abstract class k {
|
||||
public final IBinder a = new Binder();
|
||||
|
||||
@RequiresApi(21)
|
||||
|
@ -405,15 +419,15 @@ public final class MediaBrowserCompat {
|
|||
|
||||
@Override // android.media.browse.MediaBrowser.SubscriptionCallback
|
||||
public void onChildrenLoaded(@NonNull String str, List<MediaBrowser.MediaItem> list) {
|
||||
Objects.requireNonNull(j.this);
|
||||
j jVar = j.this;
|
||||
Objects.requireNonNull(k.this);
|
||||
k kVar = k.this;
|
||||
MediaItem.a(list);
|
||||
Objects.requireNonNull(jVar);
|
||||
Objects.requireNonNull(kVar);
|
||||
}
|
||||
|
||||
@Override // android.media.browse.MediaBrowser.SubscriptionCallback
|
||||
public void onError(@NonNull String str) {
|
||||
Objects.requireNonNull(j.this);
|
||||
Objects.requireNonNull(k.this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -426,19 +440,19 @@ public final class MediaBrowserCompat {
|
|||
@Override // android.media.browse.MediaBrowser.SubscriptionCallback
|
||||
public void onChildrenLoaded(@NonNull String str, @NonNull List<MediaBrowser.MediaItem> list, @NonNull Bundle bundle) {
|
||||
MediaSessionCompat.a(bundle);
|
||||
j jVar = j.this;
|
||||
k kVar = k.this;
|
||||
MediaItem.a(list);
|
||||
Objects.requireNonNull(jVar);
|
||||
Objects.requireNonNull(kVar);
|
||||
}
|
||||
|
||||
@Override // android.media.browse.MediaBrowser.SubscriptionCallback
|
||||
public void onError(@NonNull String str, @NonNull Bundle bundle) {
|
||||
MediaSessionCompat.a(bundle);
|
||||
Objects.requireNonNull(j.this);
|
||||
Objects.requireNonNull(k.this);
|
||||
}
|
||||
}
|
||||
|
||||
public j() {
|
||||
public k() {
|
||||
if (Build.VERSION.SDK_INT >= 26) {
|
||||
new b();
|
||||
} else {
|
||||
|
@ -447,14 +461,14 @@ public final class MediaBrowserCompat {
|
|||
}
|
||||
}
|
||||
|
||||
public MediaBrowserCompat(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
||||
public MediaBrowserCompat(Context context, ComponentName componentName, c cVar, Bundle bundle) {
|
||||
int i2 = Build.VERSION.SDK_INT;
|
||||
if (i2 >= 26) {
|
||||
this.b = new f(context, componentName, bVar, null);
|
||||
this.b = new g(context, componentName, cVar, null);
|
||||
} else if (i2 >= 23) {
|
||||
this.b = new e(context, componentName, bVar, null);
|
||||
this.b = new f(context, componentName, cVar, null);
|
||||
} else {
|
||||
this.b = new d(context, componentName, bVar, null);
|
||||
this.b = new e(context, componentName, cVar, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,9 @@ import android.os.Bundle;
|
|||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.support.v4.media.session.MediaSessionCompat;
|
||||
import androidx.annotation.DoNotInline;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
public final class MediaDescriptionCompat implements Parcelable {
|
||||
public static final Parcelable.Creator<MediaDescriptionCompat> CREATOR = new a();
|
||||
|
@ -36,6 +39,110 @@ public final class MediaDescriptionCompat implements Parcelable {
|
|||
}
|
||||
}
|
||||
|
||||
@RequiresApi(21)
|
||||
public static class b {
|
||||
@DoNotInline
|
||||
public static MediaDescription a(MediaDescription.Builder builder) {
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static MediaDescription.Builder b() {
|
||||
return new MediaDescription.Builder();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static CharSequence c(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getDescription();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static Bundle d(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getExtras();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static Bitmap e(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getIconBitmap();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static Uri f(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getIconUri();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static String g(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getMediaId();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static CharSequence h(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getSubtitle();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static CharSequence i(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getTitle();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void j(MediaDescription.Builder builder, @Nullable CharSequence charSequence) {
|
||||
builder.setDescription(charSequence);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void k(MediaDescription.Builder builder, @Nullable Bundle bundle) {
|
||||
builder.setExtras(bundle);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void l(MediaDescription.Builder builder, @Nullable Bitmap bitmap) {
|
||||
builder.setIconBitmap(bitmap);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void m(MediaDescription.Builder builder, @Nullable Uri uri) {
|
||||
builder.setIconUri(uri);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void n(MediaDescription.Builder builder, @Nullable String str) {
|
||||
builder.setMediaId(str);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void o(MediaDescription.Builder builder, @Nullable CharSequence charSequence) {
|
||||
builder.setSubtitle(charSequence);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void p(MediaDescription.Builder builder, @Nullable CharSequence charSequence) {
|
||||
builder.setTitle(charSequence);
|
||||
}
|
||||
}
|
||||
|
||||
@RequiresApi(23)
|
||||
public static class c {
|
||||
@Nullable
|
||||
@DoNotInline
|
||||
public static Uri a(MediaDescription mediaDescription) {
|
||||
return mediaDescription.getMediaUri();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void b(MediaDescription.Builder builder, @Nullable Uri uri) {
|
||||
builder.setMediaUri(uri);
|
||||
}
|
||||
}
|
||||
|
||||
public MediaDescriptionCompat(String str, CharSequence charSequence, CharSequence charSequence2, CharSequence charSequence3, Bitmap bitmap, Uri uri, Bundle bundle, Uri uri2) {
|
||||
this.i = str;
|
||||
this.j = charSequence;
|
||||
|
@ -56,38 +163,38 @@ public final class MediaDescriptionCompat implements Parcelable {
|
|||
}
|
||||
int i = Build.VERSION.SDK_INT;
|
||||
MediaDescription mediaDescription = (MediaDescription) obj;
|
||||
String mediaId = mediaDescription.getMediaId();
|
||||
CharSequence title = mediaDescription.getTitle();
|
||||
CharSequence subtitle = mediaDescription.getSubtitle();
|
||||
CharSequence description = mediaDescription.getDescription();
|
||||
Bitmap iconBitmap = mediaDescription.getIconBitmap();
|
||||
Uri iconUri = mediaDescription.getIconUri();
|
||||
Bundle extras = mediaDescription.getExtras();
|
||||
if (extras != null) {
|
||||
extras = MediaSessionCompat.b(extras);
|
||||
String g = b.g(mediaDescription);
|
||||
CharSequence i2 = b.i(mediaDescription);
|
||||
CharSequence h = b.h(mediaDescription);
|
||||
CharSequence c2 = b.c(mediaDescription);
|
||||
Bitmap e = b.e(mediaDescription);
|
||||
Uri f = b.f(mediaDescription);
|
||||
Bundle d = b.d(mediaDescription);
|
||||
if (d != null) {
|
||||
d = MediaSessionCompat.b(d);
|
||||
}
|
||||
Uri uri2 = extras != null ? (Uri) extras.getParcelable("android.support.v4.media.description.MEDIA_URI") : null;
|
||||
Uri uri2 = d != null ? (Uri) d.getParcelable("android.support.v4.media.description.MEDIA_URI") : null;
|
||||
if (uri2 != null) {
|
||||
if (!extras.containsKey("android.support.v4.media.description.NULL_BUNDLE_FLAG") || extras.size() != 2) {
|
||||
extras.remove("android.support.v4.media.description.MEDIA_URI");
|
||||
extras.remove("android.support.v4.media.description.NULL_BUNDLE_FLAG");
|
||||
if (!d.containsKey("android.support.v4.media.description.NULL_BUNDLE_FLAG") || d.size() != 2) {
|
||||
d.remove("android.support.v4.media.description.MEDIA_URI");
|
||||
d.remove("android.support.v4.media.description.NULL_BUNDLE_FLAG");
|
||||
} else {
|
||||
bundle = null;
|
||||
if (uri2 == null) {
|
||||
if (i >= 23) {
|
||||
uri = mediaDescription.getMediaUri();
|
||||
uri = c.a(mediaDescription);
|
||||
}
|
||||
uri2 = uri;
|
||||
}
|
||||
MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(mediaId, title, subtitle, description, iconBitmap, iconUri, bundle, uri2);
|
||||
MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(g, i2, h, c2, e, f, bundle, uri2);
|
||||
mediaDescriptionCompat.q = mediaDescription;
|
||||
return mediaDescriptionCompat;
|
||||
}
|
||||
}
|
||||
bundle = extras;
|
||||
bundle = d;
|
||||
if (uri2 == null) {
|
||||
}
|
||||
MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(mediaId, title, subtitle, description, iconBitmap, iconUri, bundle, uri2);
|
||||
MediaDescriptionCompat mediaDescriptionCompat = new MediaDescriptionCompat(g, i2, h, c2, e, f, bundle, uri2);
|
||||
mediaDescriptionCompat.q = mediaDescription;
|
||||
return mediaDescriptionCompat;
|
||||
}
|
||||
|
@ -104,29 +211,33 @@ public final class MediaDescriptionCompat implements Parcelable {
|
|||
|
||||
@Override // android.os.Parcelable
|
||||
public void writeToParcel(Parcel parcel, int i) {
|
||||
Bundle bundle;
|
||||
int i2 = Build.VERSION.SDK_INT;
|
||||
MediaDescription mediaDescription = this.q;
|
||||
if (mediaDescription == null) {
|
||||
MediaDescription.Builder builder = new MediaDescription.Builder();
|
||||
builder.setMediaId(this.i);
|
||||
builder.setTitle(this.j);
|
||||
builder.setSubtitle(this.k);
|
||||
builder.setDescription(this.l);
|
||||
builder.setIconBitmap(this.m);
|
||||
builder.setIconUri(this.n);
|
||||
Bundle bundle = this.o;
|
||||
if (i2 < 23 && this.p != null) {
|
||||
if (bundle == null) {
|
||||
MediaDescription.Builder b2 = b.b();
|
||||
b.n(b2, this.i);
|
||||
b.p(b2, this.j);
|
||||
b.o(b2, this.k);
|
||||
b.j(b2, this.l);
|
||||
b.l(b2, this.m);
|
||||
b.m(b2, this.n);
|
||||
if (i2 >= 23 || this.p == null) {
|
||||
b.k(b2, this.o);
|
||||
} else {
|
||||
if (this.o == null) {
|
||||
bundle = new Bundle();
|
||||
bundle.putBoolean("android.support.v4.media.description.NULL_BUNDLE_FLAG", true);
|
||||
} else {
|
||||
bundle = new Bundle(this.o);
|
||||
}
|
||||
bundle.putParcelable("android.support.v4.media.description.MEDIA_URI", this.p);
|
||||
b.k(b2, bundle);
|
||||
}
|
||||
builder.setExtras(bundle);
|
||||
if (i2 >= 23) {
|
||||
builder.setMediaUri(this.p);
|
||||
c.b(b2, this.p);
|
||||
}
|
||||
mediaDescription = builder.build();
|
||||
mediaDescription = b.a(b2);
|
||||
this.q = mediaDescription;
|
||||
}
|
||||
mediaDescription.writeToParcel(parcel, i);
|
||||
|
|
|
@ -6,6 +6,7 @@ import android.os.Parcel;
|
|||
import android.os.Parcelable;
|
||||
import android.support.v4.media.session.MediaSessionCompat;
|
||||
import androidx.collection.ArrayMap;
|
||||
import androidx.media.utils.MediaConstants;
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
public final class MediaMetadataCompat implements Parcelable {
|
||||
public static final Parcelable.Creator<MediaMetadataCompat> CREATOR = new a();
|
||||
|
@ -58,7 +59,7 @@ public final class MediaMetadataCompat implements Parcelable {
|
|||
arrayMap.put("android.media.metadata.MEDIA_ID", 1);
|
||||
arrayMap.put("android.media.metadata.BT_FOLDER_TYPE", 0);
|
||||
arrayMap.put("android.media.metadata.MEDIA_URI", 1);
|
||||
arrayMap.put("android.media.metadata.ADVERTISEMENT", 0);
|
||||
arrayMap.put(MediaConstants.METADATA_KEY_IS_ADVERTISEMENT, 0);
|
||||
arrayMap.put("android.media.metadata.DOWNLOAD_STATUS", 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,12 +35,12 @@ public final class RatingCompat implements Parcelable {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = c.d.b.a.a.O("Rating:style=");
|
||||
O.append(this.i);
|
||||
O.append(" rating=");
|
||||
StringBuilder R = c.d.b.a.a.R("Rating:style=");
|
||||
R.append(this.i);
|
||||
R.append(" rating=");
|
||||
float f = this.j;
|
||||
O.append(f < 0.0f ? "unrated" : String.valueOf(f));
|
||||
return O.toString();
|
||||
R.append(f < 0.0f ? "unrated" : String.valueOf(f));
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
|
|
@ -18,8 +18,8 @@ import java.lang.ref.WeakReference;
|
|||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import w.a.b.b.a.b;
|
||||
import w.a.b.b.a.c;
|
||||
import x.a.b.b.a.b;
|
||||
import x.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> f15c = new ArrayList();
|
||||
public final List<c> f14c = new ArrayList();
|
||||
public HashMap<c, a> d = new HashMap<>();
|
||||
public final MediaSessionCompat.Token e;
|
||||
|
||||
|
@ -65,33 +65,33 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
|||
super(cVar);
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void T(CharSequence charSequence) throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void V(CharSequence charSequence) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void U() throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void W() throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void V(MediaMetadataCompat mediaMetadataCompat) throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void X(MediaMetadataCompat mediaMetadataCompat) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void x(Bundle bundle) throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void w0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void x0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void y(Bundle bundle) throws RemoteException {
|
||||
throw new AssertionError();
|
||||
}
|
||||
|
||||
@Override // w.a.b.b.a.c.b, w.a.b.b.a.a
|
||||
public void y(List<MediaSessionCompat.QueueItem> list) throws RemoteException {
|
||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||
public void z(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.f15c) {
|
||||
for (c cVar : this.f14c) {
|
||||
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.f15c.clear();
|
||||
this.f14c.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package android.support.v4.media.session;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.media.MediaDescription;
|
||||
import android.media.session.MediaSession;
|
||||
import android.os.BadParcelableException;
|
||||
import android.os.Bundle;
|
||||
|
@ -9,12 +10,17 @@ import android.os.Parcelable;
|
|||
import android.os.ResultReceiver;
|
||||
import android.support.v4.media.MediaDescriptionCompat;
|
||||
import android.util.Log;
|
||||
import androidx.annotation.DoNotInline;
|
||||
import androidx.annotation.GuardedBy;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.annotation.RestrictTo;
|
||||
import androidx.core.os.BuildCompat;
|
||||
import androidx.versionedparcelable.VersionedParcelable;
|
||||
import w.a.b.b.a.b;
|
||||
import x.a.b.b.a.b;
|
||||
public class MediaSessionCompat {
|
||||
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
||||
public static final int a = (BuildCompat.isAtLeastS() ? 33554432 : 0);
|
||||
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
public static final class QueueItem implements Parcelable {
|
||||
|
@ -36,6 +42,24 @@ public class MediaSessionCompat {
|
|||
}
|
||||
}
|
||||
|
||||
@RequiresApi(21)
|
||||
public static class b {
|
||||
@DoNotInline
|
||||
public static MediaSession.QueueItem a(MediaDescription mediaDescription, long j) {
|
||||
return new MediaSession.QueueItem(mediaDescription, j);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static MediaDescription b(MediaSession.QueueItem queueItem) {
|
||||
return queueItem.getDescription();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long c(MediaSession.QueueItem queueItem) {
|
||||
return queueItem.getQueueId();
|
||||
}
|
||||
}
|
||||
|
||||
public QueueItem(MediaSession.QueueItem queueItem, MediaDescriptionCompat mediaDescriptionCompat, long j) {
|
||||
if (mediaDescriptionCompat == null) {
|
||||
throw new IllegalArgumentException("Description cannot be null");
|
||||
|
@ -59,10 +83,10 @@ public class MediaSessionCompat {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = c.d.b.a.a.O("MediaSession.QueueItem {Description=");
|
||||
O.append(this.i);
|
||||
O.append(", Id=");
|
||||
return c.d.b.a.a.A(O, this.j, " }");
|
||||
StringBuilder R = c.d.b.a.a.R("MediaSession.QueueItem {Description=");
|
||||
R.append(this.i);
|
||||
R.append(", Id=");
|
||||
return c.d.b.a.a.B(R, this.j, " }");
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
package android.support.v4.media.session;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.media.session.PlaybackState;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.text.TextUtils;
|
||||
import androidx.annotation.DoNotInline;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
|
@ -19,10 +22,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: r reason: collision with root package name */
|
||||
public final long f16r;
|
||||
public final Bundle s;
|
||||
/* renamed from: s reason: collision with root package name */
|
||||
public final Bundle f15s;
|
||||
|
||||
public static final class CustomAction implements Parcelable {
|
||||
public static final Parcelable.Creator<CustomAction> CREATOR = new a();
|
||||
|
@ -66,13 +69,13 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = c.d.b.a.a.O("Action:mName='");
|
||||
O.append((Object) this.j);
|
||||
O.append(", mIcon=");
|
||||
O.append(this.k);
|
||||
O.append(", mExtras=");
|
||||
O.append(this.l);
|
||||
return O.toString();
|
||||
StringBuilder R = c.d.b.a.a.R("Action:mName='");
|
||||
R.append((Object) this.j);
|
||||
R.append(", mIcon=");
|
||||
R.append(this.k);
|
||||
R.append(", mExtras=");
|
||||
R.append(this.l);
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
@ -98,6 +101,142 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
}
|
||||
}
|
||||
|
||||
@RequiresApi(21)
|
||||
public static class b {
|
||||
@DoNotInline
|
||||
public static void a(PlaybackState.Builder builder, PlaybackState.CustomAction customAction) {
|
||||
builder.addCustomAction(customAction);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static PlaybackState.CustomAction b(PlaybackState.CustomAction.Builder builder) {
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static PlaybackState c(PlaybackState.Builder builder) {
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static PlaybackState.Builder d() {
|
||||
return new PlaybackState.Builder();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static PlaybackState.CustomAction.Builder e(String str, CharSequence charSequence, int i) {
|
||||
return new PlaybackState.CustomAction.Builder(str, charSequence, i);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static String f(PlaybackState.CustomAction customAction) {
|
||||
return customAction.getAction();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long g(PlaybackState playbackState) {
|
||||
return playbackState.getActions();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long h(PlaybackState playbackState) {
|
||||
return playbackState.getActiveQueueItemId();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long i(PlaybackState playbackState) {
|
||||
return playbackState.getBufferedPosition();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static List<PlaybackState.CustomAction> j(PlaybackState playbackState) {
|
||||
return playbackState.getCustomActions();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static CharSequence k(PlaybackState playbackState) {
|
||||
return playbackState.getErrorMessage();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static Bundle l(PlaybackState.CustomAction customAction) {
|
||||
return customAction.getExtras();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static int m(PlaybackState.CustomAction customAction) {
|
||||
return customAction.getIcon();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long n(PlaybackState playbackState) {
|
||||
return playbackState.getLastPositionUpdateTime();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static CharSequence o(PlaybackState.CustomAction customAction) {
|
||||
return customAction.getName();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static float p(PlaybackState playbackState) {
|
||||
return playbackState.getPlaybackSpeed();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static long q(PlaybackState playbackState) {
|
||||
return playbackState.getPosition();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static int r(PlaybackState playbackState) {
|
||||
return playbackState.getState();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void s(PlaybackState.Builder builder, long j) {
|
||||
builder.setActions(j);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void t(PlaybackState.Builder builder, long j) {
|
||||
builder.setActiveQueueItemId(j);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void u(PlaybackState.Builder builder, long j) {
|
||||
builder.setBufferedPosition(j);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void v(PlaybackState.Builder builder, CharSequence charSequence) {
|
||||
builder.setErrorMessage(charSequence);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void w(PlaybackState.CustomAction.Builder builder, Bundle bundle) {
|
||||
builder.setExtras(bundle);
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void x(PlaybackState.Builder builder, int i, long j, float f, long j2) {
|
||||
builder.setState(i, j, f, j2);
|
||||
}
|
||||
}
|
||||
|
||||
@RequiresApi(22)
|
||||
public static class c {
|
||||
@DoNotInline
|
||||
public static Bundle a(PlaybackState playbackState) {
|
||||
return playbackState.getExtras();
|
||||
}
|
||||
|
||||
@DoNotInline
|
||||
public static void b(PlaybackState.Builder builder, Bundle bundle) {
|
||||
builder.setExtras(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public PlaybackStateCompat(int i, long j, long j2, float f, long j3, int i2, CharSequence charSequence, long j4, List<CustomAction> list, long j5, Bundle bundle) {
|
||||
this.i = i;
|
||||
this.j = j;
|
||||
|
@ -108,8 +247,8 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
this.o = charSequence;
|
||||
this.p = j4;
|
||||
this.q = new ArrayList(list);
|
||||
this.f16r = j5;
|
||||
this.s = bundle;
|
||||
this.r = j5;
|
||||
this.f15s = bundle;
|
||||
}
|
||||
|
||||
public PlaybackStateCompat(Parcel parcel) {
|
||||
|
@ -121,8 +260,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.f16r = parcel.readLong();
|
||||
this.s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
||||
this.r = parcel.readLong();
|
||||
this.f15s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
||||
this.n = parcel.readInt();
|
||||
}
|
||||
|
||||
|
@ -153,7 +292,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.f16r, "}");
|
||||
return c.d.b.a.a.B(sb, this.r, "}");
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
@ -166,8 +305,8 @@ public final class PlaybackStateCompat implements Parcelable {
|
|||
parcel.writeLong(this.m);
|
||||
TextUtils.writeToParcel(this.o, parcel, i);
|
||||
parcel.writeTypedList(this.q);
|
||||
parcel.writeLong(this.f16r);
|
||||
parcel.writeBundle(this.s);
|
||||
parcel.writeLong(this.r);
|
||||
parcel.writeBundle(this.f15s);
|
||||
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 w.a.b.c.a;
|
||||
import x.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 w.a.b.c.a i;
|
||||
public x.a.b.c.a i;
|
||||
|
||||
public class a implements Parcelable.Creator<ResultReceiver> {
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
|
@ -34,22 +34,22 @@ public class ResultReceiver implements Parcelable {
|
|||
public b() {
|
||||
}
|
||||
|
||||
@Override // w.a.b.c.a
|
||||
public void w0(int i, Bundle bundle) {
|
||||
@Override // x.a.b.c.a
|
||||
public void v0(int i, Bundle bundle) {
|
||||
Objects.requireNonNull(ResultReceiver.this);
|
||||
ResultReceiver.this.a(i, bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public ResultReceiver(Parcel parcel) {
|
||||
w.a.b.c.a aVar;
|
||||
x.a.b.c.a aVar;
|
||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||
int i = a.AbstractBinderC0362a.a;
|
||||
if (readStrongBinder == null) {
|
||||
aVar = null;
|
||||
} else {
|
||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
|
||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
|
||||
}
|
||||
this.i = aVar;
|
||||
}
|
||||
|
@ -58,10 +58,10 @@ public class ResultReceiver implements Parcelable {
|
|||
}
|
||||
|
||||
public void b(int i, Bundle bundle) {
|
||||
w.a.b.c.a aVar = this.i;
|
||||
x.a.b.c.a aVar = this.i;
|
||||
if (aVar != null) {
|
||||
try {
|
||||
aVar.w0(i, bundle);
|
||||
aVar.v0(i, bundle);
|
||||
} catch (RemoteException unused) {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.ViewModelStore;
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import d0.z.d.m;
|
||||
import d0.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 mo17invoke() {
|
||||
public final ViewModelStore mo1invoke() {
|
||||
ViewModelStore viewModelStore = this.$this_viewModels.getViewModelStore();
|
||||
m.checkNotNullExpressionValue(viewModelStore, "viewModelStore");
|
||||
return viewModelStore;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import c0.z.d.o;
|
||||
import d0.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 mo17invoke() {
|
||||
public final ViewModelProvider.Factory mo1invoke() {
|
||||
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 c0.z.d.a0;
|
||||
import c0.z.d.m;
|
||||
import d0.z.d.a0;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
/* compiled from: ActivityViewModelLazy.kt */
|
||||
|
|
|
@ -415,9 +415,9 @@ public class ComponentActivity extends androidx.core.app.ComponentActivity imple
|
|||
@Override // androidx.activity.result.ActivityResultCaller
|
||||
@NonNull
|
||||
public final <I, O> ActivityResultLauncher<I> registerForActivityResult(@NonNull ActivityResultContract<I, O> activityResultContract, @NonNull ActivityResultRegistry activityResultRegistry, @NonNull ActivityResultCallback<O> activityResultCallback) {
|
||||
StringBuilder O = a.O("activity_rq#");
|
||||
O.append(this.mNextLocalRequestCode.getAndIncrement());
|
||||
return activityResultRegistry.register(O.toString(), this, activityResultContract, activityResultCallback);
|
||||
StringBuilder R = a.R("activity_rq#");
|
||||
R.append(this.mNextLocalRequestCode.getAndIncrement());
|
||||
return activityResultRegistry.register(R.toString(), this, activityResultContract, activityResultCallback);
|
||||
}
|
||||
|
||||
@Override // androidx.activity.contextaware.ContextAware
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity;
|
||||
|
||||
import androidx.lifecycle.LifecycleOwner;
|
||||
import c0.z.d.m;
|
||||
import d0.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 c0.k;
|
||||
import c0.l;
|
||||
import c0.z.d.m;
|
||||
import d0.k;
|
||||
import d0.l;
|
||||
import d0.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.m2constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
obj = k.m72constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
} catch (Throwable th) {
|
||||
k.a aVar2 = k.i;
|
||||
obj = k.m2constructorimpl(l.createFailure(th));
|
||||
obj = k.m72constructorimpl(l.createFailure(th));
|
||||
}
|
||||
cancellableContinuation.resumeWith(obj);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.activity.contextaware;
|
||||
|
||||
import c0.z.d.o;
|
||||
import d0.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 c0.w.h.b;
|
||||
import c0.w.h.c;
|
||||
import c0.w.i.a.g;
|
||||
import c0.z.d.l;
|
||||
import d0.w.h.b;
|
||||
import d0.w.h.c;
|
||||
import d0.w.i.a.g;
|
||||
import d0.z.d.l;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import r.a.k;
|
||||
import s.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) {
|
||||
|
|
|
@ -59,12 +59,12 @@ public final class ActivityResult implements Parcelable {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("ActivityResult{resultCode=");
|
||||
O.append(resultCodeToString(this.mResultCode));
|
||||
O.append(", data=");
|
||||
O.append(this.mData);
|
||||
O.append('}');
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("ActivityResult{resultCode=");
|
||||
R.append(resultCodeToString(this.mResultCode));
|
||||
R.append(", data=");
|
||||
R.append(this.mData);
|
||||
R.append('}');
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.activity.result;
|
||||
|
||||
import androidx.activity.result.contract.ActivityResultContract;
|
||||
import c0.z.d.m;
|
||||
import d0.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 c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import d0.z.d.m;
|
||||
import d0.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 mo17invoke() {
|
||||
public final AnonymousClass1 mo1invoke() {
|
||||
return new AnonymousClass1(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@ package androidx.activity.result;
|
|||
|
||||
import androidx.activity.result.contract.ActivityResultContract;
|
||||
import androidx.core.app.ActivityOptionsCompat;
|
||||
import c0.g;
|
||||
import c0.z.d.m;
|
||||
import d0.g;
|
||||
import d0.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 c0.z.d.m;
|
||||
import d0.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 c0.z.d.m;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
/* compiled from: ActivityResultLauncher.kt */
|
||||
public final class ActivityResultLauncherKt {
|
||||
|
|
|
@ -288,15 +288,15 @@ public abstract class ActivityResultRegistry {
|
|||
}
|
||||
this.mKeyToCallback.remove(str);
|
||||
if (this.mParsedPendingResults.containsKey(str)) {
|
||||
StringBuilder U = a.U("Dropping pending result for request ", str, ": ");
|
||||
U.append(this.mParsedPendingResults.get(str));
|
||||
Log.w(LOG_TAG, U.toString());
|
||||
StringBuilder W = a.W("Dropping pending result for request ", str, ": ");
|
||||
W.append(this.mParsedPendingResults.get(str));
|
||||
Log.w(LOG_TAG, W.toString());
|
||||
this.mParsedPendingResults.remove(str);
|
||||
}
|
||||
if (this.mPendingResults.containsKey(str)) {
|
||||
StringBuilder U2 = a.U("Dropping pending result for request ", str, ": ");
|
||||
U2.append(this.mPendingResults.getParcelable(str));
|
||||
Log.w(LOG_TAG, U2.toString());
|
||||
StringBuilder W2 = a.W("Dropping pending result for request ", str, ": ");
|
||||
W2.append(this.mPendingResults.getParcelable(str));
|
||||
Log.w(LOG_TAG, W2.toString());
|
||||
this.mPendingResults.remove(str);
|
||||
}
|
||||
LifecycleContainer lifecycleContainer = this.mKeyToLifecycleContainers.get(str);
|
||||
|
|
|
@ -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 f17x;
|
||||
public int f16x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public int f18y;
|
||||
public int f17y;
|
||||
|
||||
@SuppressLint({"BanParcelableUsage"})
|
||||
public static class SavedState implements Parcelable {
|
||||
|
@ -1165,16 +1165,16 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
|||
contentFrameLayout.setAttachListener(new AnonymousClass5());
|
||||
return viewGroup;
|
||||
}
|
||||
StringBuilder O = a.O("AppCompat does not support the current theme features: { windowActionBar: ");
|
||||
O.append(this.mHasActionBar);
|
||||
O.append(", windowActionBarOverlay: ");
|
||||
O.append(this.mOverlayActionBar);
|
||||
O.append(", android:windowIsFloating: ");
|
||||
O.append(this.mIsFloating);
|
||||
O.append(", windowActionModeOverlay: ");
|
||||
O.append(this.mOverlayActionMode);
|
||||
O.append(", windowNoTitle: ");
|
||||
throw new IllegalArgumentException(a.K(O, this.mWindowNoTitle, " }"));
|
||||
StringBuilder R = a.R("AppCompat does not support the current theme features: { windowActionBar: ");
|
||||
R.append(this.mHasActionBar);
|
||||
R.append(", windowActionBarOverlay: ");
|
||||
R.append(this.mOverlayActionBar);
|
||||
R.append(", android:windowIsFloating: ");
|
||||
R.append(this.mIsFloating);
|
||||
R.append(", windowActionModeOverlay: ");
|
||||
R.append(this.mOverlayActionMode);
|
||||
R.append(", windowNoTitle: ");
|
||||
throw new IllegalArgumentException(a.L(R, this.mWindowNoTitle, " }"));
|
||||
}
|
||||
obtainStyledAttributes.recycle();
|
||||
throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity.");
|
||||
|
@ -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.f17x, panelFeatureState.f18y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, 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.f17x, panelFeatureState.f18y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||
layoutParams3.gravity = panelFeatureState.gravity;
|
||||
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
||||
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
||||
|
|
|
@ -69,17 +69,17 @@ public class AppCompatViewInflater {
|
|||
if (id2 == -1) {
|
||||
str = "";
|
||||
} else {
|
||||
StringBuilder O = a.O(" with id '");
|
||||
O.append(this.mHostView.getContext().getResources().getResourceEntryName(id2));
|
||||
O.append("'");
|
||||
str = O.toString();
|
||||
StringBuilder R = a.R(" with id '");
|
||||
R.append(this.mHostView.getContext().getResources().getResourceEntryName(id2));
|
||||
R.append("'");
|
||||
str = R.toString();
|
||||
}
|
||||
StringBuilder O2 = a.O("Could not find method ");
|
||||
O2.append(this.mMethodName);
|
||||
O2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view ");
|
||||
O2.append(this.mHostView.getClass());
|
||||
O2.append(str);
|
||||
throw new IllegalStateException(O2.toString());
|
||||
StringBuilder R2 = a.R("Could not find method ");
|
||||
R2.append(this.mMethodName);
|
||||
R2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view ");
|
||||
R2.append(this.mHostView.getClass());
|
||||
R2.append(str);
|
||||
throw new IllegalStateException(R2.toString());
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
|
|
|
@ -509,9 +509,9 @@ public class WindowDecorActionBar extends ActionBar implements ActionBarOverlayL
|
|||
if (view instanceof Toolbar) {
|
||||
return ((Toolbar) view).getWrapper();
|
||||
}
|
||||
StringBuilder O = a.O("Can't make a decor toolbar out of ");
|
||||
O.append(view != null ? view.getClass().getSimpleName() : "null");
|
||||
throw new IllegalStateException(O.toString());
|
||||
StringBuilder R = a.R("Can't make a decor toolbar out of ");
|
||||
R.append(view != null ? view.getClass().getSimpleName() : "null");
|
||||
throw new IllegalStateException(R.toString());
|
||||
}
|
||||
|
||||
private void hideForActionMode() {
|
||||
|
|
|
@ -57,9 +57,9 @@ public class SupportMenuInflater extends MenuInflater {
|
|||
try {
|
||||
this.mMethod = cls.getMethod(str, PARAM_TYPES);
|
||||
} catch (Exception e) {
|
||||
StringBuilder U = a.U("Couldn't resolve menu item onClick handler ", str, " in class ");
|
||||
U.append(cls.getName());
|
||||
InflateException inflateException = new InflateException(U.toString());
|
||||
StringBuilder W = a.W("Couldn't resolve menu item onClick handler ", str, " in class ");
|
||||
W.append(cls.getName());
|
||||
InflateException inflateException = new InflateException(W.toString());
|
||||
inflateException.initCause(e);
|
||||
throw inflateException;
|
||||
}
|
||||
|
@ -317,7 +317,7 @@ public class SupportMenuInflater extends MenuInflater {
|
|||
if (name.equals(XML_MENU)) {
|
||||
eventType = xmlPullParser.next();
|
||||
} else {
|
||||
throw new RuntimeException(a.u("Expecting menu, got ", name));
|
||||
throw new RuntimeException(a.v("Expecting menu, got ", name));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -219,9 +219,9 @@ public class ActionBarOverlayLayout extends ViewGroup implements DecorContentPar
|
|||
if (view instanceof Toolbar) {
|
||||
return ((Toolbar) view).getWrapper();
|
||||
}
|
||||
StringBuilder O = a.O("Can't make a decor toolbar out of ");
|
||||
O.append(view.getClass().getSimpleName());
|
||||
throw new IllegalStateException(O.toString());
|
||||
StringBuilder R = a.R("Can't make a decor toolbar out of ");
|
||||
R.append(view.getClass().getSimpleName());
|
||||
throw new IllegalStateException(R.toString());
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
|
|
|
@ -86,12 +86,12 @@ public class ActivityChooserModel extends DataSetObservable {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder S = a.S("[", "resolveInfo:");
|
||||
S.append(this.resolveInfo.toString());
|
||||
S.append("; weight:");
|
||||
S.append(new BigDecimal((double) this.weight));
|
||||
S.append("]");
|
||||
return S.toString();
|
||||
StringBuilder V = a.V("[", "resolveInfo:");
|
||||
V.append(this.resolveInfo.toString());
|
||||
V.append("; weight:");
|
||||
V.append(new BigDecimal((double) this.weight));
|
||||
V.append("]");
|
||||
return V.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -169,14 +169,14 @@ public class ActivityChooserModel extends DataSetObservable {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder S = a.S("[", "; activity:");
|
||||
S.append(this.activity);
|
||||
S.append("; time:");
|
||||
S.append(this.time);
|
||||
S.append("; weight:");
|
||||
S.append(new BigDecimal((double) this.weight));
|
||||
S.append("]");
|
||||
return S.toString();
|
||||
StringBuilder V = a.V("[", "; activity:");
|
||||
V.append(this.activity);
|
||||
V.append("; time:");
|
||||
V.append(this.time);
|
||||
V.append("; weight:");
|
||||
V.append(new BigDecimal((double) this.weight));
|
||||
V.append("]");
|
||||
return V.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -262,7 +262,7 @@ public class ActivityChooserModel extends DataSetObservable {
|
|||
if (TextUtils.isEmpty(str) || str.endsWith(HISTORY_FILE_EXTENSION)) {
|
||||
this.mHistoryFileName = str;
|
||||
} else {
|
||||
this.mHistoryFileName = a.u(str, HISTORY_FILE_EXTENSION);
|
||||
this.mHistoryFileName = a.v(str, HISTORY_FILE_EXTENSION);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -471,9 +471,9 @@ public class AppCompatTextViewAutoSizeHelper {
|
|||
}
|
||||
this.mAutoSizeTextSizesInPx = cleanupAutoSizePresetSizes(iArr2);
|
||||
if (!setupAutoSizeUniformPresetSizesConfiguration()) {
|
||||
StringBuilder O = a.O("None of the preset sizes is valid: ");
|
||||
O.append(Arrays.toString(iArr));
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("None of the preset sizes is valid: ");
|
||||
R.append(Arrays.toString(iArr));
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
} else {
|
||||
this.mHasPresetAutoSizeValues = false;
|
||||
|
@ -498,7 +498,7 @@ public class AppCompatTextViewAutoSizeHelper {
|
|||
autoSizeText();
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.l("Unknown auto-size text type: ", i));
|
||||
throw new IllegalArgumentException(a.p("Unknown auto-size text type: ", i));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1263,10 +1263,10 @@ public class LinearLayoutCompat extends ViewGroup {
|
|||
|
||||
public void setBaselineAlignedChildIndex(int i) {
|
||||
if (i < 0 || i >= getChildCount()) {
|
||||
StringBuilder O = a.O("base aligned child index out of range (0, ");
|
||||
O.append(getChildCount());
|
||||
O.append(")");
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("base aligned child index out of range (0, ");
|
||||
R.append(getChildCount());
|
||||
R.append(")");
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
this.mBaselineAlignedChildIndex = i;
|
||||
}
|
||||
|
|
|
@ -312,9 +312,9 @@ public class ListPopupWindow implements ShowableListMenu {
|
|||
linearLayout.addView(view);
|
||||
linearLayout.addView(dropDownListView, layoutParams);
|
||||
} else if (i5 != 1) {
|
||||
StringBuilder O = a.O("Invalid hint position ");
|
||||
O.append(this.mPromptPosition);
|
||||
Log.e(TAG, O.toString());
|
||||
StringBuilder R = a.R("Invalid hint position ");
|
||||
R.append(this.mPromptPosition);
|
||||
Log.e(TAG, R.toString());
|
||||
} else {
|
||||
linearLayout.addView(dropDownListView, layoutParams);
|
||||
linearLayout.addView(view);
|
||||
|
|
|
@ -379,10 +379,10 @@ public class SearchView extends LinearLayoutCompat implements CollapsibleActionV
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("SearchView.SavedState{");
|
||||
O.append(Integer.toHexString(System.identityHashCode(this)));
|
||||
O.append(" isIconified=");
|
||||
return a.K(O, this.isIconified, "}");
|
||||
StringBuilder R = a.R("SearchView.SavedState{");
|
||||
R.append(Integer.toHexString(System.identityHashCode(this)));
|
||||
R.append(" isIconified=");
|
||||
return a.L(R, this.isIconified, "}");
|
||||
}
|
||||
|
||||
@Override // androidx.customview.view.AbsSavedState, android.os.Parcelable
|
||||
|
|
|
@ -111,9 +111,9 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On
|
|||
if (drawable != null) {
|
||||
return drawable;
|
||||
}
|
||||
StringBuilder P = a.P("Invalid icon resource ", iconResource, " for ");
|
||||
P.append(componentName.flattenToShortString());
|
||||
Log.w(LOG_TAG, P.toString());
|
||||
StringBuilder S = a.S("Invalid icon resource ", iconResource, " for ");
|
||||
S.append(componentName.flattenToShortString());
|
||||
Log.w(LOG_TAG, S.toString());
|
||||
return null;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
Log.w(LOG_TAG, e.toString());
|
||||
|
@ -206,7 +206,7 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On
|
|||
storeInIconCache(str, drawable2);
|
||||
return drawable2;
|
||||
} catch (Resources.NotFoundException unused2) {
|
||||
a.k0("Icon resource not found: ", str, LOG_TAG);
|
||||
Log.w(LOG_TAG, "Icon resource not found: " + str);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -593,7 +593,7 @@ public class ToolbarWidgetWrapper implements DecorToolbar {
|
|||
layoutParams.gravity = BadgeDrawable.BOTTOM_START;
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.l("Invalid navigation mode ", i));
|
||||
throw new IllegalArgumentException(a.p("Invalid navigation mode ", i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -319,15 +319,15 @@ public class SafeIterableMap<K, V> implements Iterable<Map.Entry<K, V>> {
|
|||
|
||||
@Override // java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("[");
|
||||
StringBuilder R = a.R("[");
|
||||
Iterator<Map.Entry<K, V>> it = iterator();
|
||||
while (it.hasNext()) {
|
||||
O.append(it.next().toString());
|
||||
R.append(it.next().toString());
|
||||
if (it.hasNext()) {
|
||||
O.append(", ");
|
||||
R.append(", ");
|
||||
}
|
||||
}
|
||||
O.append("]");
|
||||
return O.toString();
|
||||
R.append("]");
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -203,9 +203,9 @@ public final class BrowserServiceFileProvider extends FileProvider {
|
|||
}
|
||||
|
||||
private static Uri generateUri(Context context, String str) {
|
||||
String v = a.v(FILE_SUB_DIR_NAME, str, FILE_EXTENSION);
|
||||
String w = a.w(FILE_SUB_DIR_NAME, str, FILE_EXTENSION);
|
||||
Uri.Builder scheme = new Uri.Builder().scheme(CONTENT_SCHEME);
|
||||
return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(v).build();
|
||||
return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(w).build();
|
||||
}
|
||||
|
||||
public static void grantReadPermission(@NonNull Intent intent, @Nullable List<Uri> list, @NonNull Context context) {
|
||||
|
@ -230,9 +230,9 @@ public final class BrowserServiceFileProvider extends FileProvider {
|
|||
@NonNull
|
||||
@UiThread
|
||||
public static ResolvableFuture<Uri> saveBitmap(@NonNull Context context, @NonNull Bitmap bitmap, @NonNull String str, int i) {
|
||||
StringBuilder S = a.S(str, "_");
|
||||
S.append(Integer.toString(i));
|
||||
String sb = S.toString();
|
||||
StringBuilder V = a.V(str, "_");
|
||||
V.append(Integer.toString(i));
|
||||
String sb = V.toString();
|
||||
Uri generateUri = generateUri(context, sb);
|
||||
ResolvableFuture<Uri> create = ResolvableFuture.create();
|
||||
new FileSaveTask(context, sb, bitmap, generateUri, create).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new String[0]);
|
||||
|
|
|
@ -20,8 +20,8 @@ import androidx.annotation.RestrictTo;
|
|||
import androidx.browser.customtabs.CustomTabsSession;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import w.a.a.a;
|
||||
import w.a.a.b;
|
||||
import x.a.a.a;
|
||||
import x.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 // w.a.a.a
|
||||
@Override // x.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 // w.a.a.a
|
||||
@Override // x.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 // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void onMessageChannelReady(Bundle bundle) throws RemoteException {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass3(bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void onNavigationEvent(int i, Bundle bundle) {
|
||||
if (this.val$callback != null) {
|
||||
this.mHandler.post(new AnonymousClass1(i, bundle));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.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 // w.a.a.a
|
||||
@Override // x.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));
|
||||
|
|
|
@ -213,7 +213,7 @@ public final class CustomTabsIntent {
|
|||
@NonNull
|
||||
public Builder setColorSchemeParams(int i, @NonNull CustomTabColorSchemeParams customTabColorSchemeParams) {
|
||||
if (i < 0 || i > 2 || i == 0) {
|
||||
throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i));
|
||||
throw new IllegalArgumentException(a.p("Invalid colorScheme: ", i));
|
||||
}
|
||||
if (this.mColorSchemeParamBundles == null) {
|
||||
this.mColorSchemeParamBundles = new SparseArray<>();
|
||||
|
@ -355,7 +355,7 @@ public final class CustomTabsIntent {
|
|||
public static CustomTabColorSchemeParams getColorSchemeParams(@NonNull Intent intent, int i) {
|
||||
Bundle bundle;
|
||||
if (i < 0 || i > 2 || i == 0) {
|
||||
throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i));
|
||||
throw new IllegalArgumentException(a.p("Invalid colorScheme: ", i));
|
||||
}
|
||||
Bundle extras = intent.getExtras();
|
||||
if (extras == null) {
|
||||
|
|
|
@ -15,8 +15,8 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.List;
|
||||
import java.util.NoSuchElementException;
|
||||
import w.a.a.a;
|
||||
import w.a.a.b;
|
||||
import x.a.a.a;
|
||||
import x.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 {
|
||||
x.a.a.a aVar2 = new x.a.a.a(this, customTabsSessionToken);
|
||||
y.a.a.a aVar2 = new y.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 // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public Bundle extraCommand(@NonNull String str, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.extraCommand(str, bundle);
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.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 // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean newSession(@NonNull a aVar) {
|
||||
return newSessionInternal(aVar, null);
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean newSessionWithExtras(@NonNull a aVar, @Nullable Bundle bundle) {
|
||||
return newSessionInternal(aVar, getSessionIdFromBundle(bundle));
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.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 // w.a.a.b
|
||||
@Override // x.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 // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean requestPostMessageChannel(@NonNull a aVar, @NonNull Uri uri) {
|
||||
return CustomTabsService.this.requestPostMessageChannel(new CustomTabsSessionToken(aVar, null), uri);
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.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 // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean updateVisuals(@NonNull a aVar, @Nullable Bundle bundle) {
|
||||
return CustomTabsService.this.updateVisuals(new CustomTabsSessionToken(aVar, getSessionIdFromBundle(bundle)), bundle);
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.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 // w.a.a.b
|
||||
@Override // x.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 w.a.a.b;
|
||||
import x.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 w.a.a.a;
|
||||
import w.a.a.b;
|
||||
import x.a.a.a;
|
||||
import x.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 // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public Bundle extraCommand(String str, Bundle bundle) throws RemoteException {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean mayLaunchUrl(a aVar, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean newSession(a aVar) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean newSessionWithExtras(a aVar, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public int postMessage(a aVar, String str, Bundle bundle) throws RemoteException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean receiveFile(a aVar, Uri uri, int i, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean requestPostMessageChannel(a aVar, Uri uri) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean requestPostMessageChannelWithExtras(a aVar, Uri uri, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean updateVisuals(a aVar, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.a.a.b
|
||||
public boolean validateRelationship(a aVar, int i, Uri uri, Bundle bundle) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // w.a.a.b
|
||||
@Override // x.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 w.a.a.a;
|
||||
import x.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.AbstractBinderC0351a {
|
||||
@Override // w.a.a.a.AbstractBinderC0351a, android.os.IInterface
|
||||
@Override // x.a.a.a.AbstractBinderC0351a, android.os.IInterface
|
||||
public IBinder asBinder() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void extraCallback(String str, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public Bundle extraCallbackWithResult(String str, Bundle bundle) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void onMessageChannelReady(Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void onNavigationEvent(int i, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.a.a.a
|
||||
public void onPostMessage(String str, Bundle bundle) {
|
||||
}
|
||||
|
||||
@Override // w.a.a.a
|
||||
@Override // x.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 w.a.a.a;
|
||||
import w.a.a.c;
|
||||
import x.a.a.a;
|
||||
import x.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 // w.a.a.c
|
||||
@Override // x.a.a.c
|
||||
public void onMessageChannelReady(@NonNull a aVar, @Nullable Bundle bundle) throws RemoteException {
|
||||
aVar.onMessageChannelReady(bundle);
|
||||
}
|
||||
|
||||
@Override // w.a.a.c
|
||||
@Override // x.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 w.a.a.a;
|
||||
import w.a.a.c;
|
||||
import x.a.a.a;
|
||||
import x.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 w.a.a.d.b;
|
||||
import x.a.a.d.b;
|
||||
public class ConnectionHolder implements ServiceConnection {
|
||||
private static final int STATE_AWAITING_CONNECTION = 0;
|
||||
private static final int STATE_CANCELLED = 3;
|
||||
|
@ -66,9 +66,9 @@ public class ConnectionHolder implements ServiceConnection {
|
|||
} else {
|
||||
throw this.mCancellationException;
|
||||
}
|
||||
StringBuilder O = a.O("ConnectionHolder, state = ");
|
||||
O.append(this.mState);
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("ConnectionHolder, state = ");
|
||||
R.append(this.mState);
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@MainThread
|
||||
|
@ -85,7 +85,7 @@ public class ConnectionHolder implements ServiceConnection {
|
|||
@NonNull
|
||||
@MainThread
|
||||
public c.i.b.d.a.a<TrustedWebActivityServiceConnection> getServiceWrapper() {
|
||||
return CallbackToFutureAdapter.getFuture(new x.a.b.a(this));
|
||||
return CallbackToFutureAdapter.getFuture(new y.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 x.a.b.b;
|
||||
import y.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 w.a.a.d.a;
|
||||
import x.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 w.a.a.d.b;
|
||||
import x.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 // w.a.a.d.b
|
||||
@Override // x.a.a.d.b
|
||||
public Bundle areNotificationsEnabled(Bundle bundle) {
|
||||
checkCaller();
|
||||
return new TrustedWebActivityServiceConnection.ResultArgs(TrustedWebActivityService.this.onAreNotificationsEnabled(TrustedWebActivityServiceConnection.NotificationsEnabledArgs.fromBundle(bundle).channelName)).toBundle();
|
||||
}
|
||||
|
||||
@Override // w.a.a.d.b
|
||||
@Override // x.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 // w.a.a.d.b
|
||||
@Override // x.a.a.d.b
|
||||
public Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onExtraCommand(str, bundle, TrustedWebActivityCallbackRemote.fromBinder(iBinder));
|
||||
}
|
||||
|
||||
@Override // w.a.a.d.b
|
||||
@Override // x.a.a.d.b
|
||||
public Bundle getActiveNotifications() {
|
||||
checkCaller();
|
||||
return new TrustedWebActivityServiceConnection.ActiveNotificationsArgs(TrustedWebActivityService.this.onGetActiveNotifications()).toBundle();
|
||||
}
|
||||
|
||||
@Override // w.a.a.d.b
|
||||
@Override // x.a.a.d.b
|
||||
public Bundle getSmallIconBitmap() {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onGetSmallIconBitmap();
|
||||
}
|
||||
|
||||
@Override // w.a.a.d.b
|
||||
@Override // x.a.a.d.b
|
||||
public int getSmallIconId() {
|
||||
checkCaller();
|
||||
return TrustedWebActivityService.this.onGetSmallIconId();
|
||||
}
|
||||
|
||||
@Override // w.a.a.d.b
|
||||
@Override // x.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 w.a.a.d.a;
|
||||
import w.a.a.d.b;
|
||||
import x.a.a.d.a;
|
||||
import x.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 // w.a.a.d.a
|
||||
@Override // x.a.a.d.a
|
||||
public void onExtraCallback(String str, Bundle bundle) throws RemoteException {
|
||||
this.val$callback.onExtraCallback(str, bundle);
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ public final class TrustedWebActivityServiceConnection {
|
|||
|
||||
public static void ensureBundleContains(Bundle bundle, String str) {
|
||||
if (!bundle.containsKey(str)) {
|
||||
throw new IllegalArgumentException(c.d.b.a.a.u("Bundle must contain ", str));
|
||||
throw new IllegalArgumentException(c.d.b.a.a.v("Bundle must contain ", str));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.Iterator;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.Executor;
|
||||
import x.a.b.c;
|
||||
import y.a.b.c;
|
||||
public final class TrustedWebActivityServiceConnectionPool {
|
||||
private static final String TAG = "TWAConnectionPool";
|
||||
private final Map<Uri, ConnectionHolder> mConnections = new HashMap();
|
||||
|
@ -99,16 +99,16 @@ public final class TrustedWebActivityServiceConnectionPool {
|
|||
ResolveInfo resolveService = context.getPackageManager().resolveService(intent2, 131072);
|
||||
if (resolveService == null) {
|
||||
if (z2) {
|
||||
a.k0("Could not find TWAService for ", str, TAG);
|
||||
Log.w(TAG, "Could not find TWAService for " + str);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
if (z2) {
|
||||
StringBuilder O = a.O("Found ");
|
||||
O.append(resolveService.serviceInfo.name);
|
||||
O.append(" to handle request for ");
|
||||
O.append(uri);
|
||||
Log.i(TAG, O.toString());
|
||||
StringBuilder R = a.R("Found ");
|
||||
R.append(resolveService.serviceInfo.name);
|
||||
R.append(" to handle request for ");
|
||||
R.append(uri);
|
||||
Log.i(TAG, R.toString());
|
||||
}
|
||||
Intent intent3 = new Intent();
|
||||
intent3.setComponent(new ComponentName(str, resolveService.serviceInfo.name));
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.m;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Pair;
|
||||
/* compiled from: ArrayMap.kt */
|
||||
public final class ArrayMapKt {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.m;
|
||||
import d0.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 c0.t.d0;
|
||||
import d0.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 // c0.t.d0
|
||||
@Override // d0.t.d0
|
||||
public long nextLong() {
|
||||
LongSparseArray longSparseArray = this.$this_keyIterator;
|
||||
int i = this.index;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.g0.a;
|
||||
import d0.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 c0.t.d0;
|
||||
import c0.z.d.m;
|
||||
import d0.t.d0;
|
||||
import d0.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.mo17invoke();
|
||||
return t != null ? t : (T) function0.mo1invoke();
|
||||
}
|
||||
|
||||
public static final <T> int getSize(LongSparseArray<T> longSparseArray) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import d0.z.d.m;
|
||||
import d0.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 c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import d0.z.d.m;
|
||||
import d0.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 c0.z.d.m;
|
||||
import c0.z.d.o;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function4;
|
||||
/* compiled from: LruCache.kt */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.m;
|
||||
import d0.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 c0.z.d.m;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.functions.Function2;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.t.c0;
|
||||
import d0.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 // c0.t.c0
|
||||
@Override // d0.t.c0
|
||||
public int nextInt() {
|
||||
SparseArrayCompat sparseArrayCompat = this.$this_keyIterator;
|
||||
int i = this.index;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package androidx.collection;
|
||||
|
||||
import c0.z.d.g0.a;
|
||||
import d0.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 c0.t.c0;
|
||||
import c0.z.d.m;
|
||||
import d0.t.c0;
|
||||
import d0.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.mo17invoke();
|
||||
return t != null ? t : (T) function0.mo1invoke();
|
||||
}
|
||||
|
||||
public static final <T> int getSize(SparseArrayCompat<T> sparseArrayCompat) {
|
||||
|
|
|
@ -595,32 +595,30 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
|||
String timeUnit2 = timeUnit.toString();
|
||||
Locale locale = Locale.ROOT;
|
||||
String lowerCase = timeUnit2.toLowerCase(locale);
|
||||
StringBuilder R = c.d.b.a.a.R("Waited ", j, " ");
|
||||
R.append(timeUnit.toString().toLowerCase(locale));
|
||||
String sb = R.toString();
|
||||
String str = "Waited " + j + " " + timeUnit.toString().toLowerCase(locale);
|
||||
if (nanos + 1000 < 0) {
|
||||
String u = c.d.b.a.a.u(sb, " (plus ");
|
||||
String v = c.d.b.a.a.v(str, " (plus ");
|
||||
long j2 = -nanos;
|
||||
long convert = timeUnit.convert(j2, TimeUnit.NANOSECONDS);
|
||||
long nanos2 = j2 - timeUnit.toNanos(convert);
|
||||
int i = (convert > 0 ? 1 : (convert == 0 ? 0 : -1));
|
||||
boolean z2 = i == 0 || nanos2 > 1000;
|
||||
if (i > 0) {
|
||||
String str = u + convert + " " + lowerCase;
|
||||
String str2 = v + convert + " " + lowerCase;
|
||||
if (z2) {
|
||||
str = c.d.b.a.a.u(str, ",");
|
||||
str2 = c.d.b.a.a.v(str2, ",");
|
||||
}
|
||||
u = c.d.b.a.a.u(str, " ");
|
||||
v = c.d.b.a.a.v(str2, " ");
|
||||
}
|
||||
if (z2) {
|
||||
u = c.d.b.a.a.r(u, nanos2, " nanoseconds ");
|
||||
v = v + nanos2 + " nanoseconds ";
|
||||
}
|
||||
sb = c.d.b.a.a.u(u, "delay)");
|
||||
str = c.d.b.a.a.v(v, "delay)");
|
||||
}
|
||||
if (isDone()) {
|
||||
throw new TimeoutException(c.d.b.a.a.u(sb, " but future completed as timeout expired"));
|
||||
throw new TimeoutException(c.d.b.a.a.v(str, " but future completed as timeout expired"));
|
||||
}
|
||||
throw new TimeoutException(c.d.b.a.a.v(sb, " for ", abstractResolvableFuture));
|
||||
throw new TimeoutException(c.d.b.a.a.w(str, " for ", abstractResolvableFuture));
|
||||
}
|
||||
throw new InterruptedException();
|
||||
}
|
||||
|
@ -649,15 +647,15 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
|||
public String pendingToString() {
|
||||
Object obj = this.value;
|
||||
if (obj instanceof SetFuture) {
|
||||
return c.d.b.a.a.G(c.d.b.a.a.O("setFuture=["), userObjectToString(((SetFuture) obj).future), "]");
|
||||
return c.d.b.a.a.H(c.d.b.a.a.R("setFuture=["), userObjectToString(((SetFuture) obj).future), "]");
|
||||
}
|
||||
if (!(this instanceof ScheduledFuture)) {
|
||||
return null;
|
||||
}
|
||||
StringBuilder O = c.d.b.a.a.O("remaining delay=[");
|
||||
O.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS));
|
||||
O.append(" ms]");
|
||||
return O.toString();
|
||||
StringBuilder R = c.d.b.a.a.R("remaining delay=[");
|
||||
R.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS));
|
||||
R.append(" ms]");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
public boolean set(@Nullable V v) {
|
||||
|
@ -725,9 +723,9 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
|||
try {
|
||||
str = pendingToString();
|
||||
} catch (RuntimeException e) {
|
||||
StringBuilder O = c.d.b.a.a.O("Exception thrown from implementation: ");
|
||||
O.append(e.getClass());
|
||||
str = O.toString();
|
||||
StringBuilder R = c.d.b.a.a.R("Exception thrown from implementation: ");
|
||||
R.append(e.getClass());
|
||||
str = R.toString();
|
||||
}
|
||||
if (str != null && !str.isEmpty()) {
|
||||
sb.append("PENDING, info=[");
|
||||
|
|
|
@ -33,9 +33,9 @@ public final class CallbackToFutureAdapter {
|
|||
ResolvableFuture<Void> resolvableFuture;
|
||||
SafeFuture<T> safeFuture = this.future;
|
||||
if (safeFuture != null && !safeFuture.isDone()) {
|
||||
StringBuilder O = a.O("The completer object was garbage collected - this future would otherwise never complete. The tag was: ");
|
||||
O.append(this.tag);
|
||||
safeFuture.setException(new FutureGarbageCollectedException(O.toString()));
|
||||
StringBuilder R = a.R("The completer object was garbage collected - this future would otherwise never complete. The tag was: ");
|
||||
R.append(this.tag);
|
||||
safeFuture.setException(new FutureGarbageCollectedException(R.toString()));
|
||||
}
|
||||
if (!this.attemptedSetting && (resolvableFuture = this.cancellationFuture) != null) {
|
||||
resolvableFuture.set(null);
|
||||
|
@ -119,10 +119,10 @@ public final class CallbackToFutureAdapter {
|
|||
if (completer == null) {
|
||||
return "Completer object has been garbage collected, future will fail soon";
|
||||
}
|
||||
StringBuilder O = a.O("tag=[");
|
||||
O.append(completer.tag);
|
||||
O.append("]");
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("tag=[");
|
||||
R.append(completer.tag);
|
||||
R.append("]");
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -169,9 +169,9 @@ public class Easing {
|
|||
case 3:
|
||||
return new CubicEasing(STANDARD);
|
||||
default:
|
||||
StringBuilder O = a.O("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or ");
|
||||
O.append(Arrays.toString(NAMED_EASING));
|
||||
Log.e("ConstraintSet", O.toString());
|
||||
StringBuilder R = a.R("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or ");
|
||||
R.append(Arrays.toString(NAMED_EASING));
|
||||
Log.e("ConstraintSet", R.toString());
|
||||
return sDefault;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -175,10 +175,10 @@ public class Oscillator {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("pos =");
|
||||
O.append(Arrays.toString(this.mPosition));
|
||||
O.append(" period=");
|
||||
O.append(Arrays.toString(this.mPeriod));
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("pos =");
|
||||
R.append(Arrays.toString(this.mPosition));
|
||||
R.append(" period=");
|
||||
R.append(Arrays.toString(this.mPeriod));
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,9 +156,9 @@ public class StopLogic extends MotionInterpolator {
|
|||
}
|
||||
|
||||
public void debug(String str, String str2, float f) {
|
||||
StringBuilder S = a.S(str2, " ===== ");
|
||||
S.append(this.mType);
|
||||
Log.v(str, S.toString());
|
||||
StringBuilder V = a.V(str2, " ===== ");
|
||||
V.append(this.mType);
|
||||
Log.v(str, V.toString());
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(str2);
|
||||
sb.append(this.mBackwards ? "backwards" : "forward ");
|
||||
|
@ -169,22 +169,22 @@ public class StopLogic extends MotionInterpolator {
|
|||
Log.v(str, sb.toString());
|
||||
Log.v(str, str2 + " dur " + this.mStage1Duration + " vel " + this.mStage1Velocity + " pos " + this.mStage1EndPosition);
|
||||
if (this.mNumberOfStages > 1) {
|
||||
StringBuilder S2 = a.S(str2, " dur ");
|
||||
S2.append(this.mStage2Duration);
|
||||
S2.append(" vel ");
|
||||
S2.append(this.mStage2Velocity);
|
||||
S2.append(" pos ");
|
||||
S2.append(this.mStage2EndPosition);
|
||||
Log.v(str, S2.toString());
|
||||
StringBuilder V2 = a.V(str2, " dur ");
|
||||
V2.append(this.mStage2Duration);
|
||||
V2.append(" vel ");
|
||||
V2.append(this.mStage2Velocity);
|
||||
V2.append(" pos ");
|
||||
V2.append(this.mStage2EndPosition);
|
||||
Log.v(str, V2.toString());
|
||||
}
|
||||
if (this.mNumberOfStages > 2) {
|
||||
StringBuilder S3 = a.S(str2, " dur ");
|
||||
S3.append(this.mStage3Duration);
|
||||
S3.append(" vel ");
|
||||
S3.append(this.mStage3Velocity);
|
||||
S3.append(" pos ");
|
||||
S3.append(this.mStage3EndPosition);
|
||||
Log.v(str, S3.toString());
|
||||
StringBuilder V3 = a.V(str2, " dur ");
|
||||
V3.append(this.mStage3Duration);
|
||||
V3.append(" vel ");
|
||||
V3.append(this.mStage3Velocity);
|
||||
V3.append(" pos ");
|
||||
V3.append(this.mStage3EndPosition);
|
||||
Log.v(str, V3.toString());
|
||||
}
|
||||
float f2 = this.mStage1Duration;
|
||||
if (f <= f2) {
|
||||
|
|
|
@ -13,18 +13,18 @@ import java.lang.reflect.Modifier;
|
|||
public class Debug {
|
||||
public static void dumpLayoutParams(ViewGroup.LayoutParams layoutParams, String str) {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(") ");
|
||||
O.append(str);
|
||||
O.append(" ");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(") ");
|
||||
R.append(str);
|
||||
R.append(" ");
|
||||
String sb = R.toString();
|
||||
PrintStream printStream = System.out;
|
||||
StringBuilder U = a.U(" >>>>>>>>>>>>>>>>>>. dump ", sb, " ");
|
||||
U.append(layoutParams.getClass().getName());
|
||||
printStream.println(U.toString());
|
||||
StringBuilder W = a.W(" >>>>>>>>>>>>>>>>>>. dump ", sb, " ");
|
||||
W.append(layoutParams.getClass().getName());
|
||||
printStream.println(W.toString());
|
||||
Field[] fields = layoutParams.getClass().getFields();
|
||||
for (Field field : fields) {
|
||||
try {
|
||||
|
@ -43,22 +43,22 @@ public class Debug {
|
|||
|
||||
public static void dumpLayoutParams(ViewGroup viewGroup, String str) {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(") ");
|
||||
O.append(str);
|
||||
O.append(" ");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(") ");
|
||||
R.append(str);
|
||||
R.append(" ");
|
||||
String sb = R.toString();
|
||||
int childCount = viewGroup.getChildCount();
|
||||
System.out.println(str + " children " + childCount);
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
View childAt = viewGroup.getChildAt(i);
|
||||
PrintStream printStream = System.out;
|
||||
StringBuilder S = a.S(sb, " ");
|
||||
S.append(getName(childAt));
|
||||
printStream.println(S.toString());
|
||||
StringBuilder V = a.V(sb, " ");
|
||||
V.append(getName(childAt));
|
||||
printStream.println(V.toString());
|
||||
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
||||
Field[] fields = layoutParams.getClass().getFields();
|
||||
for (Field field : fields) {
|
||||
|
@ -77,18 +77,18 @@ public class Debug {
|
|||
|
||||
public static void dumpPoc(Object obj) {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(")");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(")");
|
||||
String sb = R.toString();
|
||||
Class<?> cls = obj.getClass();
|
||||
PrintStream printStream = System.out;
|
||||
StringBuilder S = a.S(sb, "------------- ");
|
||||
S.append(cls.getName());
|
||||
S.append(" --------------------");
|
||||
printStream.println(S.toString());
|
||||
StringBuilder V = a.V(sb, "------------- ");
|
||||
V.append(cls.getName());
|
||||
V.append(" --------------------");
|
||||
printStream.println(V.toString());
|
||||
Field[] fields = cls.getFields();
|
||||
for (Field field : fields) {
|
||||
try {
|
||||
|
@ -108,10 +108,10 @@ public class Debug {
|
|||
}
|
||||
}
|
||||
PrintStream printStream2 = System.out;
|
||||
StringBuilder S2 = a.S(sb, "------------- ");
|
||||
S2.append(cls.getSimpleName());
|
||||
S2.append(" --------------------");
|
||||
printStream2.println(S2.toString());
|
||||
StringBuilder V2 = a.V(sb, "------------- ");
|
||||
V2.append(cls.getSimpleName());
|
||||
V2.append(" --------------------");
|
||||
printStream2.println(V2.toString());
|
||||
}
|
||||
|
||||
public static String getActionType(MotionEvent motionEvent) {
|
||||
|
@ -130,44 +130,44 @@ public class Debug {
|
|||
|
||||
public static String getCallFrom(int i) {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[i + 2];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(")");
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(")");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
public static String getLoc() {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(") ");
|
||||
O.append(stackTraceElement.getMethodName());
|
||||
O.append("()");
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(") ");
|
||||
R.append(stackTraceElement.getMethodName());
|
||||
R.append("()");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
public static String getLocation() {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(")");
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(")");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
public static String getLocation2() {
|
||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[2];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTraceElement.getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTraceElement.getLineNumber());
|
||||
O.append(")");
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTraceElement.getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTraceElement.getLineNumber());
|
||||
R.append(")");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
public static String getName(Context context, int i) {
|
||||
|
@ -177,7 +177,7 @@ public class Debug {
|
|||
try {
|
||||
return context.getResources().getResourceEntryName(i);
|
||||
} catch (Exception unused) {
|
||||
return a.l("?", i);
|
||||
return a.p("?", i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -224,14 +224,14 @@ public class Debug {
|
|||
String str3 = " ";
|
||||
for (int i2 = 1; i2 <= min; i2++) {
|
||||
StackTraceElement stackTraceElement = stackTrace[i2];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTrace[i2].getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTrace[i2].getLineNumber());
|
||||
O.append(") ");
|
||||
O.append(stackTrace[i2].getMethodName());
|
||||
String sb = O.toString();
|
||||
str3 = a.u(str3, " ");
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTrace[i2].getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTrace[i2].getLineNumber());
|
||||
R.append(") ");
|
||||
R.append(stackTrace[i2].getMethodName());
|
||||
String sb = R.toString();
|
||||
str3 = a.v(str3, " ");
|
||||
Log.v(str, str2 + str3 + sb + str3);
|
||||
}
|
||||
}
|
||||
|
@ -242,13 +242,13 @@ public class Debug {
|
|||
String str2 = " ";
|
||||
for (int i2 = 1; i2 <= min; i2++) {
|
||||
StackTraceElement stackTraceElement = stackTrace[i2];
|
||||
StringBuilder O = a.O(".(");
|
||||
O.append(stackTrace[i2].getFileName());
|
||||
O.append(":");
|
||||
O.append(stackTrace[i2].getLineNumber());
|
||||
O.append(") ");
|
||||
String sb = O.toString();
|
||||
str2 = a.u(str2, " ");
|
||||
StringBuilder R = a.R(".(");
|
||||
R.append(stackTrace[i2].getFileName());
|
||||
R.append(":");
|
||||
R.append(stackTrace[i2].getLineNumber());
|
||||
R.append(") ");
|
||||
String sb = R.toString();
|
||||
str2 = a.v(str2, " ");
|
||||
PrintStream printStream = System.out;
|
||||
printStream.println(str + str2 + sb + str2);
|
||||
}
|
||||
|
|
|
@ -95,11 +95,11 @@ public class KeyAttributes extends Key {
|
|||
case 3:
|
||||
case 11:
|
||||
default:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mAttrMap.get(index));
|
||||
Log.e("KeyAttribute", O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mAttrMap.get(index));
|
||||
Log.e("KeyAttribute", R.toString());
|
||||
break;
|
||||
case 4:
|
||||
KeyAttributes.access$202(keyAttributes, typedArray.getFloat(index, KeyAttributes.access$200(keyAttributes)));
|
||||
|
@ -645,7 +645,7 @@ public class KeyAttributes extends Key {
|
|||
}
|
||||
if (this.mCustomConstraints.size() > 0) {
|
||||
for (String str : this.mCustomConstraints.keySet()) {
|
||||
hashMap.put(a.u("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
||||
hashMap.put(a.v("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -176,11 +176,11 @@ public class KeyCycle extends Key {
|
|||
KeyCycle.access$1802(keyCycle, typedArray.getFloat(index, KeyCycle.access$1800(keyCycle)));
|
||||
break;
|
||||
default:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mAttrMap.get(index));
|
||||
Log.e("KeyCycle", O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mAttrMap.get(index));
|
||||
Log.e("KeyCycle", R.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -368,10 +368,10 @@ public class KeyCycle extends Key {
|
|||
|
||||
@Override // androidx.constraintlayout.motion.widget.Key
|
||||
public void addValues(HashMap<String, SplineSet> hashMap) {
|
||||
StringBuilder O = a.O("add ");
|
||||
O.append(hashMap.size());
|
||||
O.append(" values");
|
||||
Debug.logStack("KeyCycle", O.toString(), 2);
|
||||
StringBuilder R = a.R("add ");
|
||||
R.append(hashMap.size());
|
||||
R.append(" values");
|
||||
Debug.logStack("KeyCycle", R.toString(), 2);
|
||||
for (String str : hashMap.keySet()) {
|
||||
SplineSet splineSet = hashMap.get(str);
|
||||
str.hashCode();
|
||||
|
|
|
@ -88,9 +88,9 @@ public abstract class KeyCycleOscillator {
|
|||
if (constraintAttribute.getType() == attributeType) {
|
||||
return constraintAttribute;
|
||||
}
|
||||
StringBuilder O = a.O("ConstraintAttribute is already a ");
|
||||
O.append(constraintAttribute.getType().name());
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("ConstraintAttribute is already a ");
|
||||
R.append(constraintAttribute.getType().name());
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType);
|
||||
this.mCustomConstraints.put(str, constraintAttribute2);
|
||||
|
@ -593,12 +593,12 @@ public abstract class KeyCycleOscillator {
|
|||
Iterator<WavePoint> it = this.mWavePoints.iterator();
|
||||
while (it.hasNext()) {
|
||||
WavePoint next = it.next();
|
||||
StringBuilder S = a.S(str, "[");
|
||||
S.append(next.mPosition);
|
||||
S.append(" , ");
|
||||
S.append(decimalFormat.format((double) next.mValue));
|
||||
S.append("] ");
|
||||
str = S.toString();
|
||||
StringBuilder V = a.V(str, "[");
|
||||
V.append(next.mPosition);
|
||||
V.append(" , ");
|
||||
V.append(decimalFormat.format((double) next.mValue));
|
||||
V.append("] ");
|
||||
str = V.toString();
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
|
|
@ -138,11 +138,11 @@ public class KeyPosition extends KeyPositionBase {
|
|||
keyPosition.mPercentHeight = typedArray.getFloat(index, keyPosition.mPercentHeight);
|
||||
break;
|
||||
default:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mAttrMap.get(index));
|
||||
Log.e("KeyPosition", O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mAttrMap.get(index));
|
||||
Log.e("KeyPosition", R.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,11 +97,11 @@ public class KeyTimeCycle extends Key {
|
|||
case 3:
|
||||
case 11:
|
||||
default:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mAttrMap.get(index));
|
||||
Log.e("KeyTimeCycle", O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mAttrMap.get(index));
|
||||
Log.e("KeyTimeCycle", R.toString());
|
||||
break;
|
||||
case 4:
|
||||
KeyTimeCycle.access$202(keyTimeCycle, typedArray.getFloat(index, KeyTimeCycle.access$200(keyTimeCycle)));
|
||||
|
@ -624,7 +624,7 @@ public class KeyTimeCycle extends Key {
|
|||
}
|
||||
if (this.mCustomConstraints.size() > 0) {
|
||||
for (String str : this.mCustomConstraints.keySet()) {
|
||||
hashMap.put(a.u("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
||||
hashMap.put(a.v("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,11 +118,11 @@ public class KeyTrigger extends Key {
|
|||
KeyTrigger.access$702(keyTrigger, typedArray.getResourceId(index, KeyTrigger.access$700(keyTrigger)));
|
||||
break;
|
||||
}
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mAttrMap.get(index));
|
||||
Log.e("KeyTrigger", O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mAttrMap.get(index));
|
||||
Log.e("KeyTrigger", R.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -266,13 +266,13 @@ public class KeyTrigger extends Key {
|
|||
try {
|
||||
this.mFireNegativeCross = view.getClass().getMethod(this.mNegativeCross, new Class[0]);
|
||||
} catch (NoSuchMethodException unused) {
|
||||
StringBuilder O = a.O("Could not find method \"");
|
||||
O.append(this.mNegativeCross);
|
||||
O.append("\"on class ");
|
||||
O.append(view.getClass().getSimpleName());
|
||||
O.append(" ");
|
||||
O.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O.toString());
|
||||
StringBuilder R = a.R("Could not find method \"");
|
||||
R.append(this.mNegativeCross);
|
||||
R.append("\"on class ");
|
||||
R.append(view.getClass().getSimpleName());
|
||||
R.append(" ");
|
||||
R.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R.toString());
|
||||
}
|
||||
}
|
||||
this.mFireNegativeCross.invoke(view, new Object[0]);
|
||||
|
@ -282,13 +282,13 @@ public class KeyTrigger extends Key {
|
|||
try {
|
||||
this.mFirePositiveCross = view.getClass().getMethod(this.mPositiveCross, new Class[0]);
|
||||
} catch (NoSuchMethodException unused2) {
|
||||
StringBuilder O2 = a.O("Could not find method \"");
|
||||
O2.append(this.mPositiveCross);
|
||||
O2.append("\"on class ");
|
||||
O2.append(view.getClass().getSimpleName());
|
||||
O2.append(" ");
|
||||
O2.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O2.toString());
|
||||
StringBuilder R2 = a.R("Could not find method \"");
|
||||
R2.append(this.mPositiveCross);
|
||||
R2.append("\"on class ");
|
||||
R2.append(view.getClass().getSimpleName());
|
||||
R2.append(" ");
|
||||
R2.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R2.toString());
|
||||
}
|
||||
}
|
||||
this.mFirePositiveCross.invoke(view, new Object[0]);
|
||||
|
@ -298,26 +298,26 @@ public class KeyTrigger extends Key {
|
|||
try {
|
||||
this.mFireCross = view.getClass().getMethod(this.mCross, new Class[0]);
|
||||
} catch (NoSuchMethodException unused3) {
|
||||
StringBuilder O3 = a.O("Could not find method \"");
|
||||
O3.append(this.mCross);
|
||||
O3.append("\"on class ");
|
||||
O3.append(view.getClass().getSimpleName());
|
||||
O3.append(" ");
|
||||
O3.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O3.toString());
|
||||
StringBuilder R3 = a.R("Could not find method \"");
|
||||
R3.append(this.mCross);
|
||||
R3.append("\"on class ");
|
||||
R3.append(view.getClass().getSimpleName());
|
||||
R3.append(" ");
|
||||
R3.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R3.toString());
|
||||
}
|
||||
}
|
||||
try {
|
||||
this.mFireCross.invoke(view, new Object[0]);
|
||||
return;
|
||||
} catch (Exception unused4) {
|
||||
StringBuilder O4 = a.O("Exception in call \"");
|
||||
O4.append(this.mCross);
|
||||
O4.append("\"on class ");
|
||||
O4.append(view.getClass().getSimpleName());
|
||||
O4.append(" ");
|
||||
O4.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O4.toString());
|
||||
StringBuilder R4 = a.R("Exception in call \"");
|
||||
R4.append(this.mCross);
|
||||
R4.append("\"on class ");
|
||||
R4.append(view.getClass().getSimpleName());
|
||||
R4.append(" ");
|
||||
R4.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R4.toString());
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
@ -408,26 +408,26 @@ public class KeyTrigger extends Key {
|
|||
try {
|
||||
this.mFireNegativeCross.invoke(view, new Object[0]);
|
||||
} catch (Exception unused5) {
|
||||
StringBuilder O5 = a.O("Exception in call \"");
|
||||
O5.append(this.mNegativeCross);
|
||||
O5.append("\"on class ");
|
||||
O5.append(view.getClass().getSimpleName());
|
||||
O5.append(" ");
|
||||
O5.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O5.toString());
|
||||
StringBuilder R5 = a.R("Exception in call \"");
|
||||
R5.append(this.mNegativeCross);
|
||||
R5.append("\"on class ");
|
||||
R5.append(view.getClass().getSimpleName());
|
||||
R5.append(" ");
|
||||
R5.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R5.toString());
|
||||
}
|
||||
if (this.mFirePositiveCross == null) {
|
||||
}
|
||||
try {
|
||||
this.mFirePositiveCross.invoke(view, new Object[0]);
|
||||
} catch (Exception unused6) {
|
||||
StringBuilder O6 = a.O("Exception in call \"");
|
||||
O6.append(this.mPositiveCross);
|
||||
O6.append("\"on class ");
|
||||
O6.append(view.getClass().getSimpleName());
|
||||
O6.append(" ");
|
||||
O6.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", O6.toString());
|
||||
StringBuilder R6 = a.R("Exception in call \"");
|
||||
R6.append(this.mPositiveCross);
|
||||
R6.append("\"on class ");
|
||||
R6.append(view.getClass().getSimpleName());
|
||||
R6.append(" ");
|
||||
R6.append(Debug.getName(view));
|
||||
Log.e("KeyTrigger", R6.toString());
|
||||
}
|
||||
if (!z4) {
|
||||
}
|
||||
|
|
|
@ -45,10 +45,10 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
|
|||
private float width;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
private float f19x;
|
||||
private float f18x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
private float f20y;
|
||||
private float f19y;
|
||||
|
||||
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.f19x, motionConstrainedPoint.f19x);
|
||||
zArr[2] = zArr[2] | diff(this.f20y, motionConstrainedPoint.f20y);
|
||||
zArr[1] = zArr[1] | diff(this.f18x, motionConstrainedPoint.f18x);
|
||||
zArr[2] = zArr[2] | diff(this.f19y, motionConstrainedPoint.f19y);
|
||||
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.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};
|
||||
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};
|
||||
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.f19x = f;
|
||||
this.f20y = f2;
|
||||
this.f18x = f;
|
||||
this.f19y = f2;
|
||||
this.width = f3;
|
||||
this.height = f4;
|
||||
}
|
||||
|
|
|
@ -174,10 +174,10 @@ public class MotionController {
|
|||
private void insertKey(MotionPaths motionPaths) {
|
||||
int binarySearch = Collections.binarySearch(this.mMotionPaths, motionPaths);
|
||||
if (binarySearch == 0) {
|
||||
StringBuilder O = a.O(" KeyPath positon \"");
|
||||
O.append(motionPaths.position);
|
||||
O.append("\" outside of range");
|
||||
Log.e(TAG, O.toString());
|
||||
StringBuilder R = a.R(" KeyPath positon \"");
|
||||
R.append(motionPaths.position);
|
||||
R.append("\" outside of range");
|
||||
Log.e(TAG, R.toString());
|
||||
}
|
||||
this.mMotionPaths.add((-binarySearch) - 1, motionPaths);
|
||||
}
|
||||
|
@ -488,10 +488,10 @@ public class MotionController {
|
|||
return;
|
||||
}
|
||||
MotionPaths motionPaths = this.mEndMotionPath;
|
||||
float f5 = motionPaths.f22x;
|
||||
float f5 = motionPaths.f21x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f6 = f5 - motionPaths2.f22x;
|
||||
float f7 = motionPaths.f23y - motionPaths2.f23y;
|
||||
float f6 = f5 - motionPaths2.f21x;
|
||||
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||
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.f22x;
|
||||
return this.mEndMotionPath.f21x;
|
||||
}
|
||||
|
||||
public float getFinalY() {
|
||||
return this.mEndMotionPath.f23y;
|
||||
return this.mEndMotionPath.f22y;
|
||||
}
|
||||
|
||||
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.f22x;
|
||||
float f3 = motionPaths.f21x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f4 = motionPaths2.f22x;
|
||||
float f4 = motionPaths2.f21x;
|
||||
float f5 = f3 - f4;
|
||||
float f6 = motionPaths.f23y;
|
||||
float f7 = motionPaths2.f23y;
|
||||
float f6 = motionPaths.f22y;
|
||||
float f7 = motionPaths2.f22y;
|
||||
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.f22x;
|
||||
float f3 = motionPaths.f21x;
|
||||
rectF.left = f3;
|
||||
float f4 = motionPaths.f23y;
|
||||
float f4 = motionPaths.f22y;
|
||||
rectF.top = f4;
|
||||
rectF.right = f3 + motionPaths.width;
|
||||
rectF.bottom = f4 + motionPaths.height;
|
||||
RectF rectF2 = new RectF();
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float f5 = motionPaths2.f22x;
|
||||
float f5 = motionPaths2.f21x;
|
||||
rectF2.left = f5;
|
||||
float f6 = motionPaths2.f23y;
|
||||
float f6 = motionPaths2.f22y;
|
||||
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.f22x;
|
||||
float f5 = motionPaths.f21x;
|
||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||
float f6 = f5 - motionPaths2.f22x;
|
||||
float f7 = motionPaths.f23y - motionPaths2.f23y;
|
||||
float f6 = f5 - motionPaths2.f21x;
|
||||
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||
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.f22x;
|
||||
return this.mStartMotionPath.f21x;
|
||||
}
|
||||
|
||||
public float getStartY() {
|
||||
return this.mStartMotionPath.f23y;
|
||||
return this.mStartMotionPath.f22y;
|
||||
}
|
||||
|
||||
public int getkeyFramePositions(int[] iArr, float[] fArr) {
|
||||
|
@ -823,11 +823,11 @@ public class MotionController {
|
|||
}
|
||||
} else {
|
||||
MotionPaths motionPaths = this.mStartMotionPath;
|
||||
float f2 = motionPaths.f22x;
|
||||
float f2 = motionPaths.f21x;
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float a = a.a(motionPaths2.f22x, f2, adjustedPosition, f2);
|
||||
float f3 = motionPaths.f23y;
|
||||
float a2 = a.a(motionPaths2.f23y, f3, adjustedPosition, f3);
|
||||
float a = a.a(motionPaths2.f21x, f2, adjustedPosition, f2);
|
||||
float f3 = motionPaths.f22y;
|
||||
float a2 = a.a(motionPaths2.f22y, 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.f22x;
|
||||
float f3 = motionPaths.f21x;
|
||||
rectF.left = f3;
|
||||
float f4 = motionPaths.f23y;
|
||||
float f4 = motionPaths.f22y;
|
||||
rectF.top = f4;
|
||||
rectF.right = f3 + motionPaths.width;
|
||||
rectF.bottom = f4 + motionPaths.height;
|
||||
RectF rectF2 = new RectF();
|
||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||
float f5 = motionPaths2.f22x;
|
||||
float f5 = motionPaths2.f21x;
|
||||
rectF2.left = f5;
|
||||
float f6 = motionPaths2.f23y;
|
||||
float f6 = motionPaths2.f22y;
|
||||
rectF2.top = f6;
|
||||
rectF2.right = f5 + motionPaths2.width;
|
||||
rectF2.bottom = f6 + motionPaths2.height;
|
||||
|
@ -1154,11 +1154,11 @@ public class MotionController {
|
|||
break;
|
||||
}
|
||||
if (iArr4[i15] < MotionPaths.names.length) {
|
||||
String G = a.G(new StringBuilder(), MotionPaths.names[this.mInterpolateVariables[i15]], " [");
|
||||
String H = a.H(new StringBuilder(), MotionPaths.names[this.mInterpolateVariables[i15]], " [");
|
||||
for (int i16 = 0; i16 < size; i16++) {
|
||||
StringBuilder O = a.O(G);
|
||||
O.append(dArr[i16][i15]);
|
||||
G = O.toString();
|
||||
StringBuilder R = a.R(H);
|
||||
R.append(dArr[i16][i15]);
|
||||
H = R.toString();
|
||||
}
|
||||
}
|
||||
i15++;
|
||||
|
@ -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].f22x;
|
||||
dArr6[i20][1] = (double) motionPathsArr[i20].f23y;
|
||||
dArr6[i20][0] = (double) motionPathsArr[i20].f21x;
|
||||
dArr6[i20][1] = (double) motionPathsArr[i20].f22y;
|
||||
}
|
||||
this.mArcSpline = CurveFit.getArc(iArr6, dArr5, dArr6);
|
||||
}
|
||||
|
@ -1242,14 +1242,14 @@ public class MotionController {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O(" start: x: ");
|
||||
O.append(this.mStartMotionPath.f22x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mStartMotionPath.f23y);
|
||||
O.append(" end: x: ");
|
||||
O.append(this.mEndMotionPath.f22x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mEndMotionPath.f23y);
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(" start: x: ");
|
||||
R.append(this.mStartMotionPath.f21x);
|
||||
R.append(" y: ");
|
||||
R.append(this.mStartMotionPath.f22y);
|
||||
R.append(" end: x: ");
|
||||
R.append(this.mEndMotionPath.f21x);
|
||||
R.append(" y: ");
|
||||
R.append(this.mEndMotionPath.f22y);
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -321,15 +321,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
float max = Math.max(f4, f6);
|
||||
float min2 = f - Math.min(f3, f5);
|
||||
float max2 = Math.max(f4, f6) - f2;
|
||||
StringBuilder O = a.O("");
|
||||
O.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f);
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("");
|
||||
R.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f);
|
||||
String sb = R.toString();
|
||||
getTextBounds(sb, this.mTextPaint);
|
||||
canvas.drawText(sb, ((min2 / 2.0f) - ((float) (this.mBounds.width() / 2))) + min, f2 - 20.0f, this.mTextPaint);
|
||||
canvas.drawLine(f, f2, Math.min(f3, f5), f2, this.mPaintGraph);
|
||||
StringBuilder O2 = a.O("");
|
||||
O2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f);
|
||||
String sb2 = O2.toString();
|
||||
StringBuilder R2 = a.R("");
|
||||
R2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f);
|
||||
String sb2 = R2.toString();
|
||||
getTextBounds(sb2, this.mTextPaint);
|
||||
canvas.drawText(sb2, f + 5.0f, max - ((max2 / 2.0f) - ((float) (this.mBounds.height() / 2))), this.mTextPaint);
|
||||
canvas.drawLine(f, f2, f, Math.max(f4, f6), this.mPaintGraph);
|
||||
|
@ -356,24 +356,24 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
path.moveTo(f, f2);
|
||||
path.lineTo(f10, f11);
|
||||
float hypot2 = (float) Math.hypot((double) (f10 - f), (double) (f11 - f2));
|
||||
StringBuilder O = a.O("");
|
||||
O.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f);
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("");
|
||||
R.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f);
|
||||
String sb = R.toString();
|
||||
getTextBounds(sb, this.mTextPaint);
|
||||
canvas.drawTextOnPath(sb, path, (hypot2 / 2.0f) - ((float) (this.mBounds.width() / 2)), -20.0f, this.mTextPaint);
|
||||
canvas.drawLine(f, f2, f10, f11, this.mPaintGraph);
|
||||
}
|
||||
|
||||
private void drawPathScreenTicks(Canvas canvas, float f, float f2, int i, int i2) {
|
||||
StringBuilder O = a.O("");
|
||||
O.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f);
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("");
|
||||
R.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f);
|
||||
String sb = R.toString();
|
||||
getTextBounds(sb, this.mTextPaint);
|
||||
canvas.drawText(sb, ((f / 2.0f) - ((float) (this.mBounds.width() / 2))) + 0.0f, f2 - 20.0f, this.mTextPaint);
|
||||
canvas.drawLine(f, f2, Math.min(0.0f, 1.0f), f2, this.mPaintGraph);
|
||||
StringBuilder O2 = a.O("");
|
||||
O2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f);
|
||||
String sb2 = O2.toString();
|
||||
StringBuilder R2 = a.R("");
|
||||
R2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f);
|
||||
String sb2 = R2.toString();
|
||||
getTextBounds(sb2, this.mTextPaint);
|
||||
canvas.drawText(sb2, f + 5.0f, 0.0f - ((f2 / 2.0f) - ((float) (this.mBounds.height() / 2))), this.mTextPaint);
|
||||
canvas.drawLine(f, f2, f, Math.max(0.0f, 1.0f), this.mPaintGraph);
|
||||
|
@ -558,34 +558,34 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
}
|
||||
|
||||
private void debugLayout(String str, ConstraintWidgetContainer constraintWidgetContainer) {
|
||||
StringBuilder S = a.S(str, " ");
|
||||
S.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget()));
|
||||
String sb = S.toString();
|
||||
StringBuilder V = a.V(str, " ");
|
||||
V.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget()));
|
||||
String sb = V.toString();
|
||||
Log.v(MotionLayout.TAG, sb + " ========= " + constraintWidgetContainer);
|
||||
int size = constraintWidgetContainer.getChildren().size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
String str2 = sb + "[" + i + "] ";
|
||||
ConstraintWidget constraintWidget = constraintWidgetContainer.getChildren().get(i);
|
||||
StringBuilder O = a.O("");
|
||||
StringBuilder R = a.R("");
|
||||
String str3 = "_";
|
||||
O.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3);
|
||||
StringBuilder O2 = a.O(O.toString());
|
||||
O2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3);
|
||||
StringBuilder O3 = a.O(O2.toString());
|
||||
O3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3);
|
||||
StringBuilder O4 = a.O(O3.toString());
|
||||
R.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3);
|
||||
StringBuilder R2 = a.R(R.toString());
|
||||
R2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3);
|
||||
StringBuilder R3 = a.R(R2.toString());
|
||||
R3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3);
|
||||
StringBuilder R4 = a.R(R3.toString());
|
||||
if (constraintWidget.mRight.mTarget != null) {
|
||||
str3 = "R";
|
||||
}
|
||||
O4.append(str3);
|
||||
String sb2 = O4.toString();
|
||||
R4.append(str3);
|
||||
String sb2 = R4.toString();
|
||||
View view = (View) constraintWidget.getCompanionWidget();
|
||||
String name = Debug.getName(view);
|
||||
if (view instanceof TextView) {
|
||||
StringBuilder S2 = a.S(name, "(");
|
||||
S2.append((Object) ((TextView) view).getText());
|
||||
S2.append(")");
|
||||
name = S2.toString();
|
||||
StringBuilder V2 = a.V(name, "(");
|
||||
V2.append((Object) ((TextView) view).getText());
|
||||
V2.append(")");
|
||||
name = V2.toString();
|
||||
}
|
||||
Log.v(MotionLayout.TAG, str2 + " " + name + " " + constraintWidget + " " + sb2);
|
||||
}
|
||||
|
@ -593,35 +593,35 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
}
|
||||
|
||||
private void debugLayoutParam(String str, ConstraintLayout.LayoutParams layoutParams) {
|
||||
StringBuilder O = a.O(" ");
|
||||
O.append(layoutParams.startToStart != -1 ? "SS" : "__");
|
||||
StringBuilder O2 = a.O(O.toString());
|
||||
StringBuilder R = a.R(" ");
|
||||
R.append(layoutParams.startToStart != -1 ? "SS" : "__");
|
||||
StringBuilder R2 = a.R(R.toString());
|
||||
String str2 = "|__";
|
||||
O2.append(layoutParams.startToEnd != -1 ? "|SE" : str2);
|
||||
StringBuilder O3 = a.O(O2.toString());
|
||||
O3.append(layoutParams.endToStart != -1 ? "|ES" : str2);
|
||||
StringBuilder O4 = a.O(O3.toString());
|
||||
O4.append(layoutParams.endToEnd != -1 ? "|EE" : str2);
|
||||
StringBuilder O5 = a.O(O4.toString());
|
||||
O5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2);
|
||||
StringBuilder O6 = a.O(O5.toString());
|
||||
O6.append(layoutParams.leftToRight != -1 ? "|LR" : str2);
|
||||
StringBuilder O7 = a.O(O6.toString());
|
||||
O7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2);
|
||||
StringBuilder O8 = a.O(O7.toString());
|
||||
O8.append(layoutParams.rightToRight != -1 ? "|RR" : str2);
|
||||
StringBuilder O9 = a.O(O8.toString());
|
||||
O9.append(layoutParams.topToTop != -1 ? "|TT" : str2);
|
||||
StringBuilder O10 = a.O(O9.toString());
|
||||
O10.append(layoutParams.topToBottom != -1 ? "|TB" : str2);
|
||||
StringBuilder O11 = a.O(O10.toString());
|
||||
O11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2);
|
||||
StringBuilder O12 = a.O(O11.toString());
|
||||
R2.append(layoutParams.startToEnd != -1 ? "|SE" : str2);
|
||||
StringBuilder R3 = a.R(R2.toString());
|
||||
R3.append(layoutParams.endToStart != -1 ? "|ES" : str2);
|
||||
StringBuilder R4 = a.R(R3.toString());
|
||||
R4.append(layoutParams.endToEnd != -1 ? "|EE" : str2);
|
||||
StringBuilder R5 = a.R(R4.toString());
|
||||
R5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2);
|
||||
StringBuilder R6 = a.R(R5.toString());
|
||||
R6.append(layoutParams.leftToRight != -1 ? "|LR" : str2);
|
||||
StringBuilder R7 = a.R(R6.toString());
|
||||
R7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2);
|
||||
StringBuilder R8 = a.R(R7.toString());
|
||||
R8.append(layoutParams.rightToRight != -1 ? "|RR" : str2);
|
||||
StringBuilder R9 = a.R(R8.toString());
|
||||
R9.append(layoutParams.topToTop != -1 ? "|TT" : str2);
|
||||
StringBuilder R10 = a.R(R9.toString());
|
||||
R10.append(layoutParams.topToBottom != -1 ? "|TB" : str2);
|
||||
StringBuilder R11 = a.R(R10.toString());
|
||||
R11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2);
|
||||
StringBuilder R12 = a.R(R11.toString());
|
||||
if (layoutParams.bottomToBottom != -1) {
|
||||
str2 = "|BB";
|
||||
}
|
||||
O12.append(str2);
|
||||
String sb = O12.toString();
|
||||
R12.append(str2);
|
||||
String sb = R12.toString();
|
||||
Log.v(MotionLayout.TAG, str + sb);
|
||||
}
|
||||
|
||||
|
@ -629,50 +629,50 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
String str2;
|
||||
String str3;
|
||||
String str4;
|
||||
StringBuilder O = a.O(" ");
|
||||
StringBuilder R = a.R(" ");
|
||||
String str5 = "B";
|
||||
String str6 = "__";
|
||||
if (constraintWidget.mTop.mTarget != null) {
|
||||
StringBuilder O2 = a.O(ExifInterface.GPS_DIRECTION_TRUE);
|
||||
O2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5);
|
||||
str2 = O2.toString();
|
||||
StringBuilder R2 = a.R(ExifInterface.GPS_DIRECTION_TRUE);
|
||||
R2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5);
|
||||
str2 = R2.toString();
|
||||
} else {
|
||||
str2 = str6;
|
||||
}
|
||||
O.append(str2);
|
||||
StringBuilder O3 = a.O(O.toString());
|
||||
R.append(str2);
|
||||
StringBuilder R3 = a.R(R.toString());
|
||||
if (constraintWidget.mBottom.mTarget != null) {
|
||||
StringBuilder O4 = a.O(str5);
|
||||
StringBuilder R4 = a.R(str5);
|
||||
if (constraintWidget.mBottom.mTarget.mType == ConstraintAnchor.Type.TOP) {
|
||||
str5 = ExifInterface.GPS_DIRECTION_TRUE;
|
||||
}
|
||||
O4.append(str5);
|
||||
str3 = O4.toString();
|
||||
R4.append(str5);
|
||||
str3 = R4.toString();
|
||||
} else {
|
||||
str3 = str6;
|
||||
}
|
||||
O3.append(str3);
|
||||
StringBuilder O5 = a.O(O3.toString());
|
||||
R3.append(str3);
|
||||
StringBuilder R5 = a.R(R3.toString());
|
||||
String str7 = "R";
|
||||
if (constraintWidget.mLeft.mTarget != null) {
|
||||
StringBuilder O6 = a.O("L");
|
||||
O6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7);
|
||||
str4 = O6.toString();
|
||||
StringBuilder R6 = a.R("L");
|
||||
R6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7);
|
||||
str4 = R6.toString();
|
||||
} else {
|
||||
str4 = str6;
|
||||
}
|
||||
O5.append(str4);
|
||||
StringBuilder O7 = a.O(O5.toString());
|
||||
R5.append(str4);
|
||||
StringBuilder R7 = a.R(R5.toString());
|
||||
if (constraintWidget.mRight.mTarget != null) {
|
||||
StringBuilder O8 = a.O(str7);
|
||||
StringBuilder R8 = a.R(str7);
|
||||
if (constraintWidget.mRight.mTarget.mType == ConstraintAnchor.Type.LEFT) {
|
||||
str7 = "L";
|
||||
}
|
||||
O8.append(str7);
|
||||
str6 = O8.toString();
|
||||
R8.append(str7);
|
||||
str6 = R8.toString();
|
||||
}
|
||||
O7.append(str6);
|
||||
String sb = O7.toString();
|
||||
R7.append(str6);
|
||||
String sb = R7.toString();
|
||||
Log.v(MotionLayout.TAG, str + sb + " --- " + constraintWidget);
|
||||
}
|
||||
|
||||
|
@ -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 f21me = new MyTracker();
|
||||
private static MyTracker f20me = new MyTracker();
|
||||
public VelocityTracker tracker;
|
||||
|
||||
private MyTracker() {
|
||||
}
|
||||
|
||||
public static MyTracker obtain() {
|
||||
f21me.tracker = VelocityTracker.obtain();
|
||||
return f21me;
|
||||
f20me.tracker = VelocityTracker.obtain();
|
||||
return f20me;
|
||||
}
|
||||
|
||||
@Override // androidx.constraintlayout.motion.widget.MotionLayout.MotionTracker
|
||||
|
@ -1255,15 +1255,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
View childAt = getChildAt(i2);
|
||||
int id2 = childAt.getId();
|
||||
if (id2 == -1) {
|
||||
StringBuilder U = a.U("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's ");
|
||||
U.append(childAt.getClass().getName());
|
||||
U.append(" does not!");
|
||||
Log.w(TAG, U.toString());
|
||||
StringBuilder W = a.W("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's ");
|
||||
W.append(childAt.getClass().getName());
|
||||
W.append(" does not!");
|
||||
Log.w(TAG, W.toString());
|
||||
}
|
||||
if (constraintSet.getConstraint(id2) == null) {
|
||||
StringBuilder U2 = a.U("CHECK: ", name, " NO CONSTRAINTS for ");
|
||||
U2.append(Debug.getName(childAt));
|
||||
Log.w(TAG, U2.toString());
|
||||
StringBuilder W2 = a.W("CHECK: ", name, " NO CONSTRAINTS for ");
|
||||
W2.append(Debug.getName(childAt));
|
||||
Log.w(TAG, W2.toString());
|
||||
}
|
||||
}
|
||||
int[] knownIds = constraintSet.getKnownIds();
|
||||
|
@ -1283,9 +1283,9 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
}
|
||||
|
||||
private void checkStructure(MotionScene.Transition transition) {
|
||||
StringBuilder O = a.O("CHECK: transition = ");
|
||||
O.append(transition.debugString(getContext()));
|
||||
Log.v(TAG, O.toString());
|
||||
StringBuilder R = a.R("CHECK: transition = ");
|
||||
R.append(transition.debugString(getContext()));
|
||||
Log.v(TAG, R.toString());
|
||||
Log.v(TAG, "CHECK: transition.setDuration = " + transition.getDuration());
|
||||
if (transition.getStartConstraintSetId() == transition.getEndConstraintSetId()) {
|
||||
Log.e(TAG, "CHECK: start and end constraint set should not be the same!");
|
||||
|
@ -1306,18 +1306,18 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
private void debugPos() {
|
||||
for (int i = 0; i < getChildCount(); i++) {
|
||||
View childAt = getChildAt(i);
|
||||
StringBuilder O = a.O(" ");
|
||||
O.append(Debug.getLocation());
|
||||
O.append(" ");
|
||||
O.append(Debug.getName(this));
|
||||
O.append(" ");
|
||||
O.append(Debug.getName(getContext(), this.mCurrentState));
|
||||
O.append(" ");
|
||||
O.append(Debug.getName(childAt));
|
||||
O.append(childAt.getLeft());
|
||||
O.append(" ");
|
||||
O.append(childAt.getTop());
|
||||
Log.v(TAG, O.toString());
|
||||
StringBuilder R = a.R(" ");
|
||||
R.append(Debug.getLocation());
|
||||
R.append(" ");
|
||||
R.append(Debug.getName(this));
|
||||
R.append(" ");
|
||||
R.append(Debug.getName(getContext(), this.mCurrentState));
|
||||
R.append(" ");
|
||||
R.append(Debug.getName(childAt));
|
||||
R.append(childAt.getLeft());
|
||||
R.append(" ");
|
||||
R.append(childAt.getTop());
|
||||
Log.v(TAG, R.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1647,14 +1647,14 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
}
|
||||
Paint paint = new Paint();
|
||||
paint.setTextSize(42.0f);
|
||||
StringBuilder O = a.O(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> ");
|
||||
O.append(Debug.getState(this, this.mEndState));
|
||||
O.append(" (progress: ");
|
||||
O.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f);
|
||||
O.append(" ) state=");
|
||||
StringBuilder R = a.R(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> ");
|
||||
R.append(Debug.getState(this, this.mEndState));
|
||||
R.append(" (progress: ");
|
||||
R.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f);
|
||||
R.append(" ) state=");
|
||||
int i = this.mCurrentState;
|
||||
O.append(i == -1 ? "undefined" : Debug.getState(this, i));
|
||||
String sb = O.toString();
|
||||
R.append(i == -1 ? "undefined" : Debug.getState(this, i));
|
||||
String sb = R.toString();
|
||||
paint.setColor(ViewCompat.MEASURED_STATE_MASK);
|
||||
canvas.drawText(sb, 11.0f, (float) (getHeight() - 29), paint);
|
||||
paint.setColor(-7864184);
|
||||
|
@ -1891,7 +1891,8 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
|||
this.lastY = y2;
|
||||
return;
|
||||
}
|
||||
a.k0("WARNING could not find view id ", viewById == null ? a.l("", i) : viewById.getContext().getResources().getResourceName(i), TAG);
|
||||
String p = viewById == null ? a.p("", i) : viewById.getContext().getResources().getResourceName(i);
|
||||
Log.w(TAG, "WARNING could not find view id " + p);
|
||||
}
|
||||
|
||||
public ConstraintSet getConstraintSet(int i) {
|
||||
|
|
|
@ -39,10 +39,10 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
|||
public float width;
|
||||
|
||||
/* renamed from: x reason: collision with root package name */
|
||||
public float f22x;
|
||||
public float f21x;
|
||||
|
||||
/* renamed from: y reason: collision with root package name */
|
||||
public float f23y;
|
||||
public float f22y;
|
||||
|
||||
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.f22x, motionPaths.f22x) | z2;
|
||||
zArr[2] = z2 | diff(this.f23y, motionPaths.f23y) | zArr[2];
|
||||
zArr[1] = zArr[1] | diff(this.f21x, motionPaths.f21x) | z2;
|
||||
zArr[2] = z2 | diff(this.f22y, motionPaths.f22y) | 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.f22x, this.f23y, this.width, this.height, this.mPathRotate};
|
||||
float[] fArr = {this.position, this.f21x, this.f22y, 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.f22x;
|
||||
float f2 = this.f23y;
|
||||
float f = this.f21x;
|
||||
float f2 = this.f22y;
|
||||
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.f22x;
|
||||
float f2 = this.f23y;
|
||||
float f = this.f21x;
|
||||
float f2 = this.f22y;
|
||||
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.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 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 f14 = f6 * f2;
|
||||
float f15 = f14 / 2.0f;
|
||||
this.f22x = (float) ((int) (((f12 * f) + f10) - f15));
|
||||
this.f21x = (float) ((int) (((f12 * f) + f10) - f15));
|
||||
float f16 = (f13 * f) + f11;
|
||||
float f17 = f9 * f3;
|
||||
float f18 = f17 / 2.0f;
|
||||
this.f23y = (float) ((int) (f16 - f18));
|
||||
this.f22y = (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.f22x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f22x)) - f15));
|
||||
this.f23y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f23y)) - f18));
|
||||
this.f21x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f21x)) - f15));
|
||||
this.f22y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f22y)) - 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.f22x;
|
||||
float f6 = motionPaths.f21x;
|
||||
float f7 = motionPaths.width;
|
||||
float f8 = motionPaths.f23y;
|
||||
float f8 = motionPaths.f22y;
|
||||
float f9 = motionPaths.height;
|
||||
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 f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f21x) - ((f7 / 2.0f) + f6);
|
||||
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f22y) - ((f9 / 2.0f) + f8);
|
||||
float f12 = f10 * f;
|
||||
float f13 = f4 * f2;
|
||||
float f14 = f13 / 2.0f;
|
||||
this.f22x = (float) ((int) ((f6 + f12) - f14));
|
||||
this.f21x = (float) ((int) ((f6 + f12) - f14));
|
||||
float f15 = f * f11;
|
||||
float f16 = f5 * f3;
|
||||
float f17 = f16 / 2.0f;
|
||||
this.f23y = (float) ((int) ((f8 + f15) - f17));
|
||||
this.f22y = (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.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);
|
||||
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);
|
||||
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.f22x;
|
||||
float f11 = motionPaths.f23y;
|
||||
float f12 = (f4 / 2.0f) + motionPaths2.f22x;
|
||||
float f13 = (f7 / 2.0f) + motionPaths2.f23y;
|
||||
float f10 = motionPaths.f21x;
|
||||
float f11 = motionPaths.f22y;
|
||||
float f12 = (f4 / 2.0f) + motionPaths2.f21x;
|
||||
float f13 = (f7 / 2.0f) + motionPaths2.f22y;
|
||||
float f14 = f6 * f2;
|
||||
this.f22x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
||||
this.f21x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
||||
float f15 = f9 * f3;
|
||||
this.f23y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
|
||||
this.f22y = (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.f22x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
||||
this.f21x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
||||
}
|
||||
if (!Float.isNaN(keyPosition.mPercentY)) {
|
||||
this.f23y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
|
||||
this.f22y = (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.f22x = f;
|
||||
this.f23y = f2;
|
||||
this.f21x = f;
|
||||
this.f22y = 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.f22x;
|
||||
float f3 = this.f23y;
|
||||
float f2 = this.f21x;
|
||||
float f3 = this.f22y;
|
||||
float f4 = this.width;
|
||||
float f5 = this.height;
|
||||
if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) {
|
||||
|
|
|
@ -147,9 +147,9 @@ public class MotionScene {
|
|||
motionLayout2 = motionLayout.findViewById(i2);
|
||||
}
|
||||
if (motionLayout2 == null) {
|
||||
StringBuilder O = a.O("OnClick could not find id ");
|
||||
O.append(this.mTargetId);
|
||||
Log.e(MotionScene.TAG, O.toString());
|
||||
StringBuilder R = a.R("OnClick could not find id ");
|
||||
R.append(this.mTargetId);
|
||||
Log.e(MotionScene.TAG, R.toString());
|
||||
return;
|
||||
}
|
||||
int access$100 = Transition.access$100(transition);
|
||||
|
@ -242,9 +242,9 @@ public class MotionScene {
|
|||
if (i != -1) {
|
||||
View findViewById = motionLayout.findViewById(i);
|
||||
if (findViewById == null) {
|
||||
StringBuilder O = a.O(" (*) could not find id ");
|
||||
O.append(this.mTargetId);
|
||||
Log.e(MotionScene.TAG, O.toString());
|
||||
StringBuilder R = a.R(" (*) could not find id ");
|
||||
R.append(this.mTargetId);
|
||||
Log.e(MotionScene.TAG, R.toString());
|
||||
return;
|
||||
}
|
||||
findViewById.setOnClickListener(null);
|
||||
|
@ -435,11 +435,11 @@ public class MotionScene {
|
|||
public String debugString(Context context) {
|
||||
String resourceEntryName = this.mConstraintSetStart == -1 ? "null" : context.getResources().getResourceEntryName(this.mConstraintSetStart);
|
||||
if (this.mConstraintSetEnd == -1) {
|
||||
return a.u(resourceEntryName, " -> null");
|
||||
return a.v(resourceEntryName, " -> null");
|
||||
}
|
||||
StringBuilder S = a.S(resourceEntryName, " -> ");
|
||||
S.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd));
|
||||
return S.toString();
|
||||
StringBuilder V = a.V(resourceEntryName, " -> ");
|
||||
V.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd));
|
||||
return V.toString();
|
||||
}
|
||||
|
||||
public int getAutoTransition() {
|
||||
|
@ -789,9 +789,9 @@ public class MotionScene {
|
|||
ConstraintSet constraintSet = this.mConstraintSetMap.get(i);
|
||||
ConstraintSet constraintSet2 = this.mConstraintSetMap.get(i2);
|
||||
if (constraintSet2 == null) {
|
||||
StringBuilder O = a.O("ERROR! invalid deriveConstraintsFrom: @id/");
|
||||
O.append(Debug.getName(this.mMotionLayout.getContext(), i2));
|
||||
Log.e(TAG, O.toString());
|
||||
StringBuilder R = a.R("ERROR! invalid deriveConstraintsFrom: @id/");
|
||||
R.append(Debug.getName(this.mMotionLayout.getContext(), i2));
|
||||
Log.e(TAG, R.toString());
|
||||
return;
|
||||
}
|
||||
constraintSet.readFallback(constraintSet2);
|
||||
|
@ -956,9 +956,9 @@ public class MotionScene {
|
|||
PrintStream printStream = System.out;
|
||||
printStream.println("id " + i);
|
||||
PrintStream printStream2 = System.out;
|
||||
StringBuilder O = a.O("size ");
|
||||
O.append(this.mConstraintSetMap.size());
|
||||
printStream2.println(O.toString());
|
||||
StringBuilder R = a.R("size ");
|
||||
R.append(this.mConstraintSetMap.size());
|
||||
printStream2.println(R.toString());
|
||||
}
|
||||
StateSet stateSet = this.mStateSet;
|
||||
if (!(stateSet == null || (stateGetConstraintID = stateSet.stateGetConstraintID(i, i2, i3)) == -1)) {
|
||||
|
@ -967,10 +967,10 @@ public class MotionScene {
|
|||
if (this.mConstraintSetMap.get(i) != null) {
|
||||
return this.mConstraintSetMap.get(i);
|
||||
}
|
||||
StringBuilder O2 = a.O("Warning could not find ConstraintSet id/");
|
||||
O2.append(Debug.getName(this.mMotionLayout.getContext(), i));
|
||||
O2.append(" In MotionScene");
|
||||
Log.e(TAG, O2.toString());
|
||||
StringBuilder R2 = a.R("Warning could not find ConstraintSet id/");
|
||||
R2.append(Debug.getName(this.mMotionLayout.getContext(), i));
|
||||
R2.append(" In MotionScene");
|
||||
Log.e(TAG, R2.toString());
|
||||
SparseArray<ConstraintSet> sparseArray = this.mConstraintSetMap;
|
||||
return sparseArray.get(sparseArray.keyAt(0));
|
||||
}
|
||||
|
@ -980,9 +980,9 @@ public class MotionScene {
|
|||
PrintStream printStream = System.out;
|
||||
printStream.println("id " + str);
|
||||
PrintStream printStream2 = System.out;
|
||||
StringBuilder O = a.O("size ");
|
||||
O.append(this.mConstraintSetMap.size());
|
||||
printStream2.println(O.toString());
|
||||
StringBuilder R = a.R("size ");
|
||||
R.append(this.mConstraintSetMap.size());
|
||||
printStream2.println(R.toString());
|
||||
}
|
||||
for (int i = 0; i < this.mConstraintSetMap.size(); i++) {
|
||||
int keyAt = this.mConstraintSetMap.keyAt(i);
|
||||
|
|
|
@ -454,12 +454,12 @@ public abstract class SplineSet {
|
|||
String str = this.mType;
|
||||
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
||||
for (int i = 0; i < this.count; i++) {
|
||||
StringBuilder S = a.S(str, "[");
|
||||
S.append(this.mTimePoints[i]);
|
||||
S.append(" , ");
|
||||
S.append(decimalFormat.format((double) this.mValues[i]));
|
||||
S.append("] ");
|
||||
str = S.toString();
|
||||
StringBuilder V = a.V(str, "[");
|
||||
V.append(this.mTimePoints[i]);
|
||||
V.append(" , ");
|
||||
V.append(decimalFormat.format((double) this.mValues[i]));
|
||||
V.append("] ");
|
||||
str = V.toString();
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
|
|
@ -502,9 +502,9 @@ public abstract class TimeCycleSplineSet {
|
|||
public void setup(int i) {
|
||||
int i2 = this.count;
|
||||
if (i2 == 0) {
|
||||
StringBuilder O = a.O("Error no points added to ");
|
||||
O.append(this.mType);
|
||||
Log.e(TAG, O.toString());
|
||||
StringBuilder R = a.R("Error no points added to ");
|
||||
R.append(this.mType);
|
||||
Log.e(TAG, R.toString());
|
||||
return;
|
||||
}
|
||||
Sort.doubleQuickSort(this.mTimePoints, this.mValues, 0, i2 - 1);
|
||||
|
@ -550,12 +550,12 @@ public abstract class TimeCycleSplineSet {
|
|||
String str = this.mType;
|
||||
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
||||
for (int i = 0; i < this.count; i++) {
|
||||
StringBuilder S = a.S(str, "[");
|
||||
S.append(this.mTimePoints[i]);
|
||||
S.append(" , ");
|
||||
S.append(decimalFormat.format(this.mValues[i]));
|
||||
S.append("] ");
|
||||
str = S.toString();
|
||||
StringBuilder V = a.V(str, "[");
|
||||
V.append(this.mTimePoints[i]);
|
||||
V.append(" , ");
|
||||
V.append(decimalFormat.format(this.mValues[i]));
|
||||
V.append("] ");
|
||||
str = V.toString();
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
|
|
@ -385,9 +385,9 @@ public class TouchResponse {
|
|||
if (i != -1) {
|
||||
view = this.mMotionLayout.findViewById(i);
|
||||
if (view == null) {
|
||||
StringBuilder O = a.O("cannot find TouchAnchorId @id/");
|
||||
O.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId));
|
||||
Log.e(TAG, O.toString());
|
||||
StringBuilder R = a.R("cannot find TouchAnchorId @id/");
|
||||
R.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId));
|
||||
Log.e(TAG, R.toString());
|
||||
}
|
||||
} else {
|
||||
view = null;
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
|||
if (i == -1) {
|
||||
this.mHead = 0;
|
||||
this.mArrayValues[0] = f;
|
||||
this.mArrayIndices[0] = solverVariable.f24id;
|
||||
this.mArrayIndices[0] = solverVariable.f23id;
|
||||
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.f24id;
|
||||
int i6 = solverVariable.f23id;
|
||||
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.f24id;
|
||||
this.mArrayIndices[i7] = solverVariable.f23id;
|
||||
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.f24id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||
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.f24id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||
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.f24id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||
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.f24id;
|
||||
this.mArrayIndices[0] = solverVariable.f23id;
|
||||
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.f24id;
|
||||
int i6 = solverVariable.f23id;
|
||||
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.f24id;
|
||||
this.mArrayIndices[i7] = solverVariable.f23id;
|
||||
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.f24id) {
|
||||
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||
if (i == this.mHead) {
|
||||
this.mHead = this.mArrayNextIndices[i];
|
||||
} else {
|
||||
|
@ -493,12 +493,12 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
|||
String str = "";
|
||||
int i2 = 0;
|
||||
while (i != -1 && i2 < this.currentSize) {
|
||||
StringBuilder O = a.O(a.u(str, " -> "));
|
||||
O.append(this.mArrayValues[i]);
|
||||
O.append(" : ");
|
||||
StringBuilder O2 = a.O(O.toString());
|
||||
O2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]);
|
||||
str = O2.toString();
|
||||
StringBuilder R = a.R(a.v(str, " -> "));
|
||||
R.append(this.mArrayValues[i]);
|
||||
R.append(" : ");
|
||||
StringBuilder R2 = a.R(R.toString());
|
||||
R2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]);
|
||||
str = R2.toString();
|
||||
i = this.mArrayNextIndices[i];
|
||||
i2++;
|
||||
}
|
||||
|
|
|
@ -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.f24id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
||||
if ((zArr == null || !zArr[variable.f23id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
||||
f = variableValue;
|
||||
solverVariable2 = variable;
|
||||
}
|
||||
|
@ -441,15 +441,15 @@ public class ArrayRow implements LinearSystem.Row {
|
|||
if (this.variable == null) {
|
||||
str = "0";
|
||||
} else {
|
||||
StringBuilder O = a.O("");
|
||||
O.append(this.variable);
|
||||
str = O.toString();
|
||||
StringBuilder R = a.R("");
|
||||
R.append(this.variable);
|
||||
str = R.toString();
|
||||
}
|
||||
String u = a.u(str, " = ");
|
||||
String v = a.v(str, " = ");
|
||||
if (this.constantValue != 0.0f) {
|
||||
StringBuilder O2 = a.O(u);
|
||||
O2.append(this.constantValue);
|
||||
u = O2.toString();
|
||||
StringBuilder R2 = a.R(v);
|
||||
R2.append(this.constantValue);
|
||||
v = R2.toString();
|
||||
z2 = true;
|
||||
} else {
|
||||
z2 = false;
|
||||
|
@ -461,17 +461,17 @@ public class ArrayRow implements LinearSystem.Row {
|
|||
String solverVariable = variable.toString();
|
||||
if (!z2) {
|
||||
if (variableValue < 0.0f) {
|
||||
u = a.u(u, "- ");
|
||||
v = a.v(v, "- ");
|
||||
}
|
||||
u = variableValue == 1.0f ? a.u(u, solverVariable) : u + variableValue + " " + solverVariable;
|
||||
v = variableValue == 1.0f ? a.v(v, solverVariable) : v + variableValue + " " + solverVariable;
|
||||
z2 = true;
|
||||
} else if (i > 0) {
|
||||
u = a.u(u, " + ");
|
||||
v = a.v(v, " + ");
|
||||
if (variableValue == 1.0f) {
|
||||
}
|
||||
z2 = true;
|
||||
} else {
|
||||
u = a.u(u, " - ");
|
||||
v = a.v(v, " - ");
|
||||
}
|
||||
variableValue *= -1.0f;
|
||||
if (variableValue == 1.0f) {
|
||||
|
@ -479,7 +479,7 @@ public class ArrayRow implements LinearSystem.Row {
|
|||
z2 = true;
|
||||
}
|
||||
}
|
||||
return !z2 ? a.u(u, "0.0") : u;
|
||||
return !z2 ? a.v(v, "0.0") : v;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
|
|
@ -206,7 +206,7 @@ public class LinearSystem {
|
|||
int i = this.mVariablesID + 1;
|
||||
this.mVariablesID = i;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f24id = i;
|
||||
acquireSolverVariable.f23id = i;
|
||||
if (this.mVariables == null) {
|
||||
this.mVariables = new HashMap<>();
|
||||
}
|
||||
|
@ -219,21 +219,21 @@ public class LinearSystem {
|
|||
displaySolverVariables();
|
||||
String str = "";
|
||||
for (int i = 0; i < this.mNumRows; i++) {
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(this.mRows[i]);
|
||||
str = a.u(O.toString(), "\n");
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(this.mRows[i]);
|
||||
str = a.v(R.toString(), "\n");
|
||||
}
|
||||
StringBuilder O2 = a.O(str);
|
||||
O2.append(this.mGoal);
|
||||
O2.append("\n");
|
||||
System.out.println(O2.toString());
|
||||
StringBuilder R2 = a.R(str);
|
||||
R2.append(this.mGoal);
|
||||
R2.append("\n");
|
||||
System.out.println(R2.toString());
|
||||
}
|
||||
|
||||
private void displaySolverVariables() {
|
||||
StringBuilder O = a.O("Display Rows (");
|
||||
O.append(this.mNumRows);
|
||||
O.append("x");
|
||||
System.out.println(a.z(O, this.mNumColumns, ")\n"));
|
||||
StringBuilder R = a.R("Display Rows (");
|
||||
R.append(this.mNumRows);
|
||||
R.append("x");
|
||||
System.out.println(a.A(R, this.mNumColumns, ")\n"));
|
||||
}
|
||||
|
||||
private int enforceBFS(Row row) throws Exception {
|
||||
|
@ -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.f24id;
|
||||
i4 = variable.f23id;
|
||||
i5 = i9;
|
||||
i3 = i6;
|
||||
f = f3;
|
||||
|
@ -337,7 +337,7 @@ public class LinearSystem {
|
|||
int i2 = i * 4;
|
||||
int i3 = i2 / 1024;
|
||||
int i4 = i3 / 1024;
|
||||
return i4 > 0 ? a.n("", i4, " Mb") : i3 > 0 ? a.n("", i3, " Kb") : a.n("", i2, " bytes");
|
||||
return i4 > 0 ? a.q("", i4, " Mb") : i3 > 0 ? a.q("", i3, " Kb") : a.q("", i2, " bytes");
|
||||
}
|
||||
|
||||
private String getDisplayStrength(int i) {
|
||||
|
@ -387,12 +387,12 @@ public class LinearSystem {
|
|||
return i2;
|
||||
}
|
||||
if (row.getKey() != null) {
|
||||
this.mAlreadyTestedCandidates[row.getKey().f24id] = true;
|
||||
this.mAlreadyTestedCandidates[row.getKey().f23id] = true;
|
||||
}
|
||||
SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates);
|
||||
if (pivotCandidate != null) {
|
||||
boolean[] zArr = this.mAlreadyTestedCandidates;
|
||||
int i3 = pivotCandidate.f24id;
|
||||
int i3 = pivotCandidate.f23id;
|
||||
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.f24id) {
|
||||
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f23id) {
|
||||
solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f);
|
||||
}
|
||||
}
|
||||
|
@ -715,7 +715,7 @@ public class LinearSystem {
|
|||
int i2 = this.mVariablesID + 1;
|
||||
this.mVariablesID = i2;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f24id = i2;
|
||||
acquireSolverVariable.f23id = 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.f24id = i;
|
||||
acquireSolverVariable.f23id = 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.f24id;
|
||||
int i = solverVariable.f23id;
|
||||
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.f24id = i2;
|
||||
solverVariable.f23id = i2;
|
||||
solverVariable.mType = SolverVariable.Type.UNRESTRICTED;
|
||||
this.mCache.mIndexedVariables[i2] = solverVariable;
|
||||
}
|
||||
|
@ -805,41 +805,41 @@ public class LinearSystem {
|
|||
int i = this.mVariablesID + 1;
|
||||
this.mVariablesID = i;
|
||||
this.mNumColumns++;
|
||||
acquireSolverVariable.f24id = i;
|
||||
acquireSolverVariable.f23id = i;
|
||||
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
||||
return acquireSolverVariable;
|
||||
}
|
||||
|
||||
public void displayReadableRows() {
|
||||
displaySolverVariables();
|
||||
String z2 = a.z(a.O(" num vars "), this.mVariablesID, "\n");
|
||||
String A = a.A(a.R(" num vars "), this.mVariablesID, "\n");
|
||||
for (int i = 0; i < this.mVariablesID + 1; i++) {
|
||||
SolverVariable solverVariable = this.mCache.mIndexedVariables[i];
|
||||
if (solverVariable != null && solverVariable.isFinalValue) {
|
||||
z2 = z2 + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n";
|
||||
A = A + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n";
|
||||
}
|
||||
}
|
||||
String u = a.u(z2, "\n");
|
||||
String v = a.v(A, "\n");
|
||||
for (int i2 = 0; i2 < this.mVariablesID + 1; i2++) {
|
||||
SolverVariable[] solverVariableArr = this.mCache.mIndexedVariables;
|
||||
SolverVariable solverVariable2 = solverVariableArr[i2];
|
||||
if (solverVariable2 != null && solverVariable2.isSynonym) {
|
||||
u = u + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n";
|
||||
v = v + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n";
|
||||
}
|
||||
}
|
||||
String u2 = a.u(u, "\n\n # ");
|
||||
String v2 = a.v(v, "\n\n # ");
|
||||
for (int i3 = 0; i3 < this.mNumRows; i3++) {
|
||||
StringBuilder O = a.O(u2);
|
||||
O.append(this.mRows[i3].toReadableString());
|
||||
u2 = a.u(O.toString(), "\n # ");
|
||||
StringBuilder R = a.R(v2);
|
||||
R.append(this.mRows[i3].toReadableString());
|
||||
v2 = a.v(R.toString(), "\n # ");
|
||||
}
|
||||
if (this.mGoal != null) {
|
||||
StringBuilder S = a.S(u2, "Goal: ");
|
||||
S.append(this.mGoal);
|
||||
S.append("\n");
|
||||
u2 = S.toString();
|
||||
StringBuilder V = a.V(v2, "Goal: ");
|
||||
V.append(this.mGoal);
|
||||
V.append("\n");
|
||||
v2 = V.toString();
|
||||
}
|
||||
System.out.println(u2);
|
||||
System.out.println(v2);
|
||||
}
|
||||
|
||||
public void displaySystemInformations() {
|
||||
|
@ -858,28 +858,28 @@ public class LinearSystem {
|
|||
}
|
||||
}
|
||||
PrintStream printStream = System.out;
|
||||
StringBuilder O = a.O("Linear System -> Table size: ");
|
||||
O.append(this.TABLE_SIZE);
|
||||
O.append(" (");
|
||||
StringBuilder R = a.R("Linear System -> Table size: ");
|
||||
R.append(this.TABLE_SIZE);
|
||||
R.append(" (");
|
||||
int i5 = this.TABLE_SIZE;
|
||||
O.append(getDisplaySize(i5 * i5));
|
||||
O.append(") -- row sizes: ");
|
||||
O.append(getDisplaySize(i));
|
||||
O.append(", actual size: ");
|
||||
O.append(getDisplaySize(i3));
|
||||
O.append(" rows: ");
|
||||
O.append(this.mNumRows);
|
||||
O.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
O.append(this.mMaxRows);
|
||||
O.append(" cols: ");
|
||||
O.append(this.mNumColumns);
|
||||
O.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
O.append(this.mMaxColumns);
|
||||
O.append(" ");
|
||||
O.append(0);
|
||||
O.append(" occupied cells, ");
|
||||
O.append(getDisplaySize(0));
|
||||
printStream.println(O.toString());
|
||||
R.append(getDisplaySize(i5 * i5));
|
||||
R.append(") -- row sizes: ");
|
||||
R.append(getDisplaySize(i));
|
||||
R.append(", actual size: ");
|
||||
R.append(getDisplaySize(i3));
|
||||
R.append(" rows: ");
|
||||
R.append(this.mNumRows);
|
||||
R.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
R.append(this.mMaxRows);
|
||||
R.append(" cols: ");
|
||||
R.append(this.mNumColumns);
|
||||
R.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
R.append(this.mMaxColumns);
|
||||
R.append(" ");
|
||||
R.append(0);
|
||||
R.append(" occupied cells, ");
|
||||
R.append(getDisplaySize(0));
|
||||
printStream.println(R.toString());
|
||||
}
|
||||
|
||||
public void displayVariablesReadableRows() {
|
||||
|
@ -887,15 +887,15 @@ public class LinearSystem {
|
|||
String str = "";
|
||||
for (int i = 0; i < this.mNumRows; i++) {
|
||||
if (this.mRows[i].variable.mType == SolverVariable.Type.UNRESTRICTED) {
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(this.mRows[i].toReadableString());
|
||||
str = a.u(O.toString(), "\n");
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(this.mRows[i].toReadableString());
|
||||
str = a.v(R.toString(), "\n");
|
||||
}
|
||||
}
|
||||
StringBuilder O2 = a.O(str);
|
||||
O2.append(this.mGoal);
|
||||
O2.append("\n");
|
||||
System.out.println(O2.toString());
|
||||
StringBuilder R2 = a.R(str);
|
||||
R2.append(this.mGoal);
|
||||
R2.append("\n");
|
||||
System.out.println(R2.toString());
|
||||
}
|
||||
|
||||
public void fillMetrics(Metrics metrics) {
|
||||
|
|
|
@ -83,23 +83,23 @@ public class Metrics {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("\n*** Metrics ***\nmeasures: ");
|
||||
O.append(this.measures);
|
||||
O.append("\nmeasuresWrap: ");
|
||||
O.append(this.measuresWrap);
|
||||
O.append("\nmeasuresWrapInfeasible: ");
|
||||
O.append(this.measuresWrapInfeasible);
|
||||
O.append("\ndetermineGroups: ");
|
||||
O.append(this.determineGroups);
|
||||
O.append("\ninfeasibleDetermineGroups: ");
|
||||
O.append(this.infeasibleDetermineGroups);
|
||||
O.append("\ngraphOptimizer: ");
|
||||
O.append(this.graphOptimizer);
|
||||
O.append("\nwidgets: ");
|
||||
O.append(this.widgets);
|
||||
O.append("\ngraphSolved: ");
|
||||
O.append(this.graphSolved);
|
||||
O.append("\nlinearSolved: ");
|
||||
return a.A(O, this.linearSolved, "\n");
|
||||
StringBuilder R = a.R("\n*** Metrics ***\nmeasures: ");
|
||||
R.append(this.measures);
|
||||
R.append("\nmeasuresWrap: ");
|
||||
R.append(this.measuresWrap);
|
||||
R.append("\nmeasuresWrapInfeasible: ");
|
||||
R.append(this.measuresWrapInfeasible);
|
||||
R.append("\ndetermineGroups: ");
|
||||
R.append(this.determineGroups);
|
||||
R.append("\ninfeasibleDetermineGroups: ");
|
||||
R.append(this.infeasibleDetermineGroups);
|
||||
R.append("\ngraphOptimizer: ");
|
||||
R.append(this.graphOptimizer);
|
||||
R.append("\nwidgets: ");
|
||||
R.append(this.widgets);
|
||||
R.append("\ngraphSolved: ");
|
||||
R.append(this.graphSolved);
|
||||
R.append("\nlinearSolved: ");
|
||||
return a.B(R, this.linearSolved, "\n");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
}
|
||||
|
||||
public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) {
|
||||
return solverVariable.f24id - solverVariable2.f24id;
|
||||
return solverVariable.f23id - solverVariable2.f23id;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
|
||||
@Override // java.lang.Comparable
|
||||
public int compareTo(Object obj) {
|
||||
return this.variable.f24id - ((SolverVariable) obj).f24id;
|
||||
return this.variable.f23id - ((SolverVariable) obj).f23id;
|
||||
}
|
||||
|
||||
public void init(SolverVariable solverVariable) {
|
||||
|
@ -132,15 +132,15 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
String str = "[ ";
|
||||
if (this.variable != null) {
|
||||
for (int i = 0; i < 9; i++) {
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(this.variable.goalStrengthVector[i]);
|
||||
O.append(" ");
|
||||
str = O.toString();
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(this.variable.goalStrengthVector[i]);
|
||||
R.append(" ");
|
||||
str = R.toString();
|
||||
}
|
||||
}
|
||||
StringBuilder S = a.S(str, "] ");
|
||||
S.append(this.variable);
|
||||
return S.toString();
|
||||
StringBuilder V = a.V(str, "] ");
|
||||
V.append(this.variable);
|
||||
return V.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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].f24id > solverVariable.f24id) {
|
||||
if (i4 > 1 && solverVariableArr3[i4 - 1].f23id > solverVariable.f23id) {
|
||||
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.f24id]) {
|
||||
if (!zArr[solverVariable.f23id]) {
|
||||
this.accessor.init(solverVariable);
|
||||
if (i == -1) {
|
||||
if (!this.accessor.isNegative()) {
|
||||
|
@ -251,10 +251,10 @@ public class PriorityGoalRow extends ArrayRow {
|
|||
|
||||
@Override // androidx.constraintlayout.solver.ArrayRow
|
||||
public String toString() {
|
||||
StringBuilder S = a.S("", " goal -> (");
|
||||
S.append(this.constantValue);
|
||||
S.append(") : ");
|
||||
String sb = S.toString();
|
||||
StringBuilder V = a.V("", " goal -> (");
|
||||
V.append(this.constantValue);
|
||||
V.append(") : ");
|
||||
String sb = V.toString();
|
||||
for (int i = 0; i < this.numGoals; i++) {
|
||||
this.accessor.init(this.arrayGoals[i]);
|
||||
sb = sb + this.accessor + " ";
|
||||
|
|
|
@ -27,7 +27,7 @@ public class SolverVariable {
|
|||
public float[] goalStrengthVector;
|
||||
|
||||
/* renamed from: id reason: collision with root package name */
|
||||
public int f24id;
|
||||
public int f23id;
|
||||
public boolean inGoal;
|
||||
public HashSet<ArrayRow> inRows;
|
||||
public boolean isFinalValue;
|
||||
|
@ -82,7 +82,7 @@ public class SolverVariable {
|
|||
}
|
||||
|
||||
public SolverVariable(Type type, String str) {
|
||||
this.f24id = -1;
|
||||
this.f23id = -1;
|
||||
this.definitionId = -1;
|
||||
this.strength = 0;
|
||||
this.isFinalValue = false;
|
||||
|
@ -99,7 +99,7 @@ public class SolverVariable {
|
|||
}
|
||||
|
||||
public SolverVariable(String str, Type type) {
|
||||
this.f24id = -1;
|
||||
this.f23id = -1;
|
||||
this.definitionId = -1;
|
||||
this.strength = 0;
|
||||
this.isFinalValue = false;
|
||||
|
@ -118,41 +118,41 @@ public class SolverVariable {
|
|||
|
||||
private static String getUniqueName(Type type, String str) {
|
||||
if (str != null) {
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(uniqueErrorId);
|
||||
return O.toString();
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(uniqueErrorId);
|
||||
return R.toString();
|
||||
}
|
||||
int ordinal = type.ordinal();
|
||||
if (ordinal == 0) {
|
||||
StringBuilder O2 = a.O("U");
|
||||
StringBuilder R2 = a.R("U");
|
||||
int i = uniqueUnrestrictedId + 1;
|
||||
uniqueUnrestrictedId = i;
|
||||
O2.append(i);
|
||||
return O2.toString();
|
||||
R2.append(i);
|
||||
return R2.toString();
|
||||
} else if (ordinal == 1) {
|
||||
StringBuilder O3 = a.O("C");
|
||||
StringBuilder R3 = a.R("C");
|
||||
int i2 = uniqueConstantId + 1;
|
||||
uniqueConstantId = i2;
|
||||
O3.append(i2);
|
||||
return O3.toString();
|
||||
R3.append(i2);
|
||||
return R3.toString();
|
||||
} else if (ordinal == 2) {
|
||||
StringBuilder O4 = a.O(ExifInterface.LATITUDE_SOUTH);
|
||||
StringBuilder R4 = a.R(ExifInterface.LATITUDE_SOUTH);
|
||||
int i3 = uniqueSlackId + 1;
|
||||
uniqueSlackId = i3;
|
||||
O4.append(i3);
|
||||
return O4.toString();
|
||||
R4.append(i3);
|
||||
return R4.toString();
|
||||
} else if (ordinal == 3) {
|
||||
StringBuilder O5 = a.O("e");
|
||||
StringBuilder R5 = a.R("e");
|
||||
int i4 = uniqueErrorId + 1;
|
||||
uniqueErrorId = i4;
|
||||
O5.append(i4);
|
||||
return O5.toString();
|
||||
R5.append(i4);
|
||||
return R5.toString();
|
||||
} else if (ordinal == 4) {
|
||||
StringBuilder O6 = a.O(ExifInterface.GPS_MEASUREMENT_INTERRUPTED);
|
||||
StringBuilder R6 = a.R(ExifInterface.GPS_MEASUREMENT_INTERRUPTED);
|
||||
int i5 = uniqueId + 1;
|
||||
uniqueId = i5;
|
||||
O6.append(i5);
|
||||
return O6.toString();
|
||||
R6.append(i5);
|
||||
return R6.toString();
|
||||
} else {
|
||||
throw new AssertionError(type.name());
|
||||
}
|
||||
|
@ -216,7 +216,7 @@ public class SolverVariable {
|
|||
this.mName = null;
|
||||
this.mType = Type.UNKNOWN;
|
||||
this.strength = 0;
|
||||
this.f24id = -1;
|
||||
this.f23id = -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.f24id;
|
||||
this.synonym = solverVariable.f23id;
|
||||
this.synonymDelta = f;
|
||||
int i = this.mClientEquationsCount;
|
||||
this.definitionId = -1;
|
||||
|
@ -274,9 +274,9 @@ public class SolverVariable {
|
|||
boolean z2 = false;
|
||||
boolean z3 = true;
|
||||
while (i < this.strengthVector.length) {
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(this.strengthVector[i]);
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(this.strengthVector[i]);
|
||||
String sb = R.toString();
|
||||
float[] fArr = this.strengthVector;
|
||||
if (fArr[i] > 0.0f) {
|
||||
z2 = false;
|
||||
|
@ -286,24 +286,24 @@ public class SolverVariable {
|
|||
if (fArr[i] != 0.0f) {
|
||||
z3 = false;
|
||||
}
|
||||
str = i < fArr.length + -1 ? a.u(sb, ", ") : a.u(sb, "] ");
|
||||
str = i < fArr.length + -1 ? a.v(sb, ", ") : a.v(sb, "] ");
|
||||
i++;
|
||||
}
|
||||
if (z2) {
|
||||
str = a.u(str, " (-)");
|
||||
str = a.v(str, " (-)");
|
||||
}
|
||||
return z3 ? a.u(str, " (*)") : str;
|
||||
return z3 ? a.v(str, " (*)") : str;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
if (this.mName != null) {
|
||||
StringBuilder O = a.O("");
|
||||
O.append(this.mName);
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("");
|
||||
R.append(this.mName);
|
||||
return R.toString();
|
||||
}
|
||||
StringBuilder O2 = a.O("");
|
||||
O2.append(this.f24id);
|
||||
return O2.toString();
|
||||
StringBuilder R2 = a.R("");
|
||||
R2.append(this.f23id);
|
||||
return R2.toString();
|
||||
}
|
||||
|
||||
public final void updateReferencesWithNewDefinition(LinearSystem linearSystem, ArrayRow arrayRow) {
|
||||
|
|
|
@ -30,7 +30,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
|||
|
||||
private void addToHashMap(SolverVariable solverVariable, int i) {
|
||||
int[] iArr;
|
||||
int i2 = solverVariable.f24id % this.HASH_SIZE;
|
||||
int i2 = solverVariable.f23id % 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.f24id;
|
||||
this.variables[i] = solverVariable.f23id;
|
||||
this.values[i] = f;
|
||||
this.previous[i] = -1;
|
||||
this.next[i] = -1;
|
||||
|
@ -65,9 +65,9 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
|||
int i2 = this.keys[i];
|
||||
boolean z2 = false;
|
||||
while (!z2) {
|
||||
StringBuilder S = a.S(str, " ");
|
||||
S.append(this.variables[i2]);
|
||||
str = S.toString();
|
||||
StringBuilder V = a.V(str, " ");
|
||||
V.append(this.variables[i2]);
|
||||
str = V.toString();
|
||||
int[] iArr = this.nextKeys;
|
||||
if (iArr[i2] != -1) {
|
||||
i2 = iArr[i2];
|
||||
|
@ -129,7 +129,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
|||
|
||||
private void removeFromHashMap(SolverVariable solverVariable) {
|
||||
int[] iArr;
|
||||
int i = solverVariable.f24id;
|
||||
int i = solverVariable.f23id;
|
||||
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.f24id;
|
||||
int i = solverVariable.f23id;
|
||||
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.f24id;
|
||||
int i6 = solverVariable.f23id;
|
||||
if (i5 == i6) {
|
||||
this.values[i2] = f;
|
||||
return;
|
||||
|
@ -404,26 +404,26 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
|||
if (variable != null) {
|
||||
String str4 = str3 + variable + " = " + getVariableValue(i2) + " ";
|
||||
int indexOf = indexOf(variable);
|
||||
String u = a.u(str4, "[p: ");
|
||||
String v = a.v(str4, "[p: ");
|
||||
if (this.previous[indexOf] != -1) {
|
||||
StringBuilder O = a.O(u);
|
||||
O.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]);
|
||||
str = O.toString();
|
||||
StringBuilder R = a.R(v);
|
||||
R.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]);
|
||||
str = R.toString();
|
||||
} else {
|
||||
str = a.u(u, "none");
|
||||
str = a.v(v, "none");
|
||||
}
|
||||
String u2 = a.u(str, ", n: ");
|
||||
String v2 = a.v(str, ", n: ");
|
||||
if (this.next[indexOf] != -1) {
|
||||
StringBuilder O2 = a.O(u2);
|
||||
O2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]);
|
||||
str2 = O2.toString();
|
||||
StringBuilder R2 = a.R(v2);
|
||||
R2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]);
|
||||
str2 = R2.toString();
|
||||
} else {
|
||||
str2 = a.u(u2, "none");
|
||||
str2 = a.v(v2, "none");
|
||||
}
|
||||
str3 = a.u(str2, "]");
|
||||
str3 = a.v(str2, "]");
|
||||
}
|
||||
}
|
||||
return a.u(str3, " }");
|
||||
return a.v(str3, " }");
|
||||
}
|
||||
|
||||
@Override // androidx.constraintlayout.solver.ArrayRow.ArrayRowVariables
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue