100.15 - Beta (100115)
This commit is contained in:
parent
926943afec
commit
b22d39cc5c
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 100112
|
||||
versionName "100.12 - Beta"
|
||||
versionCode 100115
|
||||
versionName "100.15 - Beta"
|
||||
|
||||
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="100112" android:versionName="100.12 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="100115" android:versionName="100.15 - Beta" 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"/>
|
||||
|
@ -25,14 +25,41 @@
|
|||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<permission android:label="@string/app_permission_connect_label" android:name="com.discord.permission.CONNECT" android:protectionLevel="dangerous" android:description="@string/app_permission_connect_desc"/>
|
||||
<uses-feature android:name="android.hardware.camera.any" android:required="false"/>
|
||||
<queries>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.CHOOSER"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
<data android:scheme="http"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
<data android:scheme="https"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.media.action.IMAGE_CAPTURE"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.PICK"/>
|
||||
<data android:mimeType="image/*"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.GET_CONTENT"/>
|
||||
<data android:mimeType="image/*"/>
|
||||
</intent>
|
||||
<package android:name="com.spotify.music"/>
|
||||
<package android:name="com.samsung.android.game.gametools"/>
|
||||
<package android:name="com.samsung.android.game.gamehome"/>
|
||||
<package android:name="com.authy.authy"/>
|
||||
<package android:name="com.google.android.apps.authenticator2"/>
|
||||
<intent>
|
||||
<action android:name="android.support.customtabs.action.CustomTabsService"/>
|
||||
</intent>
|
||||
</queries>
|
||||
<uses-feature android:name="android.hardware.camera.any" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
|
||||
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
||||
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
|
||||
|
|
|
@ -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;
|
||||
|
@ -34,7 +36,7 @@ import java.util.Objects;
|
|||
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.f13c);
|
||||
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.");
|
||||
}
|
||||
}
|
||||
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 f13c;
|
||||
public final a d = new a(this);
|
||||
public final ArrayMap<String, i> e = new ArrayMap<>();
|
||||
public h f;
|
||||
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.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
|
||||
|
|
|
@ -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 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"})
|
||||
|
@ -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;
|
||||
|
@ -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.r, "}");
|
||||
return c.d.b.a.a.B(sb, this.r, "}");
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.");
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
@ -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++;
|
||||
|
@ -1242,14 +1242,14 @@ public class MotionController {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O(" start: x: ");
|
||||
O.append(this.mStartMotionPath.f21x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mStartMotionPath.f22y);
|
||||
O.append(" end: x: ");
|
||||
O.append(this.mEndMotionPath.f21x);
|
||||
O.append(" y: ");
|
||||
O.append(this.mEndMotionPath.f22y);
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
@ -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) {
|
||||
|
@ -812,34 +812,34 @@ public class LinearSystem {
|
|||
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 + " ";
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
@ -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.f23id);
|
||||
return O2.toString();
|
||||
StringBuilder R2 = a.R("");
|
||||
R2.append(this.f23id);
|
||||
return R2.toString();
|
||||
}
|
||||
|
||||
public final void updateReferencesWithNewDefinition(LinearSystem linearSystem, ArrayRow arrayRow) {
|
||||
|
|
|
@ -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];
|
||||
|
@ -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
|
||||
|
|
|
@ -131,9 +131,9 @@ public class ConstraintReference implements Reference {
|
|||
|
||||
@Override // java.lang.Throwable, java.lang.Object
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("IncorrectConstraintException: ");
|
||||
O.append(this.mErrors.toString());
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("IncorrectConstraintException: ");
|
||||
R.append(this.mErrors.toString());
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -105,10 +105,10 @@ public class State {
|
|||
}
|
||||
|
||||
private String createHelperKey() {
|
||||
StringBuilder O = a.O("__HELPER_KEY_");
|
||||
StringBuilder R = a.R("__HELPER_KEY_");
|
||||
int i = this.numHelpers;
|
||||
this.numHelpers = i + 1;
|
||||
return a.z(O, i, "__");
|
||||
return a.A(R, i, "__");
|
||||
}
|
||||
|
||||
public void apply(ConstraintWidgetContainer constraintWidgetContainer) {
|
||||
|
|
|
@ -252,19 +252,19 @@ public class Barrier extends HelperWidget {
|
|||
|
||||
@Override // androidx.constraintlayout.solver.widgets.ConstraintWidget
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("[Barrier] ");
|
||||
O.append(getDebugName());
|
||||
O.append(" {");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("[Barrier] ");
|
||||
R.append(getDebugName());
|
||||
R.append(" {");
|
||||
String sb = R.toString();
|
||||
for (int i = 0; i < this.mWidgetsCount; i++) {
|
||||
ConstraintWidget constraintWidget = this.mWidgets[i];
|
||||
if (i > 0) {
|
||||
sb = a.u(sb, ", ");
|
||||
sb = a.v(sb, ", ");
|
||||
}
|
||||
StringBuilder O2 = a.O(sb);
|
||||
O2.append(constraintWidget.getDebugName());
|
||||
sb = O2.toString();
|
||||
StringBuilder R2 = a.R(sb);
|
||||
R2.append(constraintWidget.getDebugName());
|
||||
sb = R2.toString();
|
||||
}
|
||||
return a.u(sb, "}");
|
||||
return a.v(sb, "}");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3058,9 +3058,9 @@ public class ConstraintWidget {
|
|||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String str = "";
|
||||
sb.append(this.mType != null ? a.G(a.O("type: "), this.mType, " ") : str);
|
||||
sb.append(this.mType != null ? a.H(a.R("type: "), this.mType, " ") : str);
|
||||
if (this.mDebugName != null) {
|
||||
str = a.G(a.O("id: "), this.mDebugName, " ");
|
||||
str = a.H(a.R("id: "), this.mDebugName, " ");
|
||||
}
|
||||
sb.append(str);
|
||||
sb.append("(");
|
||||
|
@ -3070,7 +3070,7 @@ public class ConstraintWidget {
|
|||
sb.append(") - (");
|
||||
sb.append(this.mWidth);
|
||||
sb.append(" x ");
|
||||
return a.z(sb, this.mHeight, ")");
|
||||
return a.A(sb, this.mHeight, ")");
|
||||
}
|
||||
|
||||
public void updateFromRuns(boolean z2, boolean z3) {
|
||||
|
|
|
@ -173,13 +173,13 @@ public class ChainRun extends WidgetRun {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("ChainRun ");
|
||||
O.append(this.orientation == 0 ? "horizontal : " : "vertical : ");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("ChainRun ");
|
||||
R.append(this.orientation == 0 ? "horizontal : " : "vertical : ");
|
||||
String sb = R.toString();
|
||||
Iterator<WidgetRun> it = this.widgets.iterator();
|
||||
while (it.hasNext()) {
|
||||
String u = a.u(sb, "<");
|
||||
sb = a.u(u + it.next(), "> ");
|
||||
String v = a.v(sb, "<");
|
||||
sb = a.v(v + it.next(), "> ");
|
||||
}
|
||||
return sb;
|
||||
}
|
||||
|
|
|
@ -267,9 +267,9 @@ public class DependencyGraph {
|
|||
while (it.hasNext()) {
|
||||
str = generateDisplayGraph(it.next(), str);
|
||||
}
|
||||
String u = a.u(str, "\n}\n");
|
||||
String v = a.v(str, "\n}\n");
|
||||
PrintStream printStream = System.out;
|
||||
printStream.println("content:<<\n" + u + "\n>>");
|
||||
printStream.println("content:<<\n" + v + "\n>>");
|
||||
}
|
||||
|
||||
private void findGroup(WidgetRun widgetRun, int i, ArrayList<RunGroup> arrayList) {
|
||||
|
@ -298,19 +298,19 @@ public class DependencyGraph {
|
|||
|
||||
private String generateChainDisplayGraph(ChainRun chainRun, String str) {
|
||||
int i = chainRun.orientation;
|
||||
StringBuilder O = a.O("cluster_");
|
||||
O.append(chainRun.widget.getDebugName());
|
||||
String sb = O.toString();
|
||||
String v = a.v("subgraph ", i == 0 ? a.u(sb, "_h") : a.u(sb, "_v"), " {\n");
|
||||
StringBuilder R = a.R("cluster_");
|
||||
R.append(chainRun.widget.getDebugName());
|
||||
String sb = R.toString();
|
||||
String w = a.w("subgraph ", i == 0 ? a.v(sb, "_h") : a.v(sb, "_v"), " {\n");
|
||||
Iterator<WidgetRun> it = chainRun.widgets.iterator();
|
||||
String str2 = "";
|
||||
while (it.hasNext()) {
|
||||
WidgetRun next = it.next();
|
||||
String debugName = next.widget.getDebugName();
|
||||
v = a.v(v, i == 0 ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ";\n");
|
||||
w = a.w(w, i == 0 ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), ";\n");
|
||||
str2 = generateDisplayGraph(next, str2);
|
||||
}
|
||||
return a.v(str, str2, a.u(v, "}\n"));
|
||||
return a.w(str, str2, a.v(w, "}\n"));
|
||||
}
|
||||
|
||||
private String generateDisplayGraph(WidgetRun widgetRun, String str) {
|
||||
|
@ -320,9 +320,9 @@ public class DependencyGraph {
|
|||
if (!(widgetRun instanceof HelperReferences) && dependencyNode.dependencies.isEmpty() && (dependencyNode2.dependencies.isEmpty() && dependencyNode.targets.isEmpty()) && dependencyNode2.targets.isEmpty()) {
|
||||
return str;
|
||||
}
|
||||
StringBuilder O = a.O(str);
|
||||
O.append(nodeDefinition(widgetRun));
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(str);
|
||||
R.append(nodeDefinition(widgetRun));
|
||||
String sb = R.toString();
|
||||
boolean isCenteredConnection = isCenteredConnection(dependencyNode, dependencyNode2);
|
||||
String generateDisplayNode = generateDisplayNode(dependencyNode2, isCenteredConnection, generateDisplayNode(dependencyNode, isCenteredConnection, sb));
|
||||
boolean z3 = widgetRun instanceof VerticalWidgetRun;
|
||||
|
@ -333,19 +333,19 @@ public class DependencyGraph {
|
|||
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = widgetRun.widget.getHorizontalDimensionBehaviour();
|
||||
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
||||
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
||||
StringBuilder O2 = a.O("\n");
|
||||
O2.append(dependencyNode2.name());
|
||||
O2.append(" -> ");
|
||||
O2.append(dependencyNode.name());
|
||||
O2.append("\n");
|
||||
generateDisplayNode = a.u(generateDisplayNode, O2.toString());
|
||||
StringBuilder R2 = a.R("\n");
|
||||
R2.append(dependencyNode2.name());
|
||||
R2.append(" -> ");
|
||||
R2.append(dependencyNode.name());
|
||||
R2.append("\n");
|
||||
generateDisplayNode = a.v(generateDisplayNode, R2.toString());
|
||||
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
||||
StringBuilder O3 = a.O("\n");
|
||||
O3.append(dependencyNode.name());
|
||||
O3.append(" -> ");
|
||||
O3.append(dependencyNode2.name());
|
||||
O3.append("\n");
|
||||
generateDisplayNode = a.u(generateDisplayNode, O3.toString());
|
||||
StringBuilder R3 = a.R("\n");
|
||||
R3.append(dependencyNode.name());
|
||||
R3.append(" -> ");
|
||||
R3.append(dependencyNode2.name());
|
||||
R3.append("\n");
|
||||
generateDisplayNode = a.v(generateDisplayNode, R3.toString());
|
||||
}
|
||||
} else if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
||||
widgetRun.widget.getDebugName();
|
||||
|
@ -354,19 +354,19 @@ public class DependencyGraph {
|
|||
ConstraintWidget.DimensionBehaviour verticalDimensionBehaviour = widgetRun.widget.getVerticalDimensionBehaviour();
|
||||
if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
||||
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
||||
StringBuilder O4 = a.O("\n");
|
||||
O4.append(dependencyNode2.name());
|
||||
O4.append(" -> ");
|
||||
O4.append(dependencyNode.name());
|
||||
O4.append("\n");
|
||||
generateDisplayNode = a.u(generateDisplayNode, O4.toString());
|
||||
StringBuilder R4 = a.R("\n");
|
||||
R4.append(dependencyNode2.name());
|
||||
R4.append(" -> ");
|
||||
R4.append(dependencyNode.name());
|
||||
R4.append("\n");
|
||||
generateDisplayNode = a.v(generateDisplayNode, R4.toString());
|
||||
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
||||
StringBuilder O5 = a.O("\n");
|
||||
O5.append(dependencyNode.name());
|
||||
O5.append(" -> ");
|
||||
O5.append(dependencyNode2.name());
|
||||
O5.append("\n");
|
||||
generateDisplayNode = a.u(generateDisplayNode, O5.toString());
|
||||
StringBuilder R5 = a.R("\n");
|
||||
R5.append(dependencyNode.name());
|
||||
R5.append(" -> ");
|
||||
R5.append(dependencyNode2.name());
|
||||
R5.append("\n");
|
||||
generateDisplayNode = a.v(generateDisplayNode, R5.toString());
|
||||
}
|
||||
} else if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
||||
widgetRun.widget.getDebugName();
|
||||
|
@ -377,28 +377,28 @@ public class DependencyGraph {
|
|||
|
||||
private String generateDisplayNode(DependencyNode dependencyNode, boolean z2, String str) {
|
||||
for (DependencyNode dependencyNode2 : dependencyNode.targets) {
|
||||
StringBuilder O = a.O("\n");
|
||||
O.append(dependencyNode.name());
|
||||
StringBuilder S = a.S(O.toString(), " -> ");
|
||||
S.append(dependencyNode2.name());
|
||||
String sb = S.toString();
|
||||
StringBuilder R = a.R("\n");
|
||||
R.append(dependencyNode.name());
|
||||
StringBuilder V = a.V(R.toString(), " -> ");
|
||||
V.append(dependencyNode2.name());
|
||||
String sb = V.toString();
|
||||
if (dependencyNode.margin > 0 || z2 || (dependencyNode.run instanceof HelperReferences)) {
|
||||
String u = a.u(sb, "[");
|
||||
String v = a.v(sb, "[");
|
||||
if (dependencyNode.margin > 0) {
|
||||
u = a.z(a.S(u, "label=\""), dependencyNode.margin, "\"");
|
||||
v = a.A(a.V(v, "label=\""), dependencyNode.margin, "\"");
|
||||
if (z2) {
|
||||
u = a.u(u, ",");
|
||||
v = a.v(v, ",");
|
||||
}
|
||||
}
|
||||
if (z2) {
|
||||
u = a.u(u, " style=dashed ");
|
||||
v = a.v(v, " style=dashed ");
|
||||
}
|
||||
if (dependencyNode.run instanceof HelperReferences) {
|
||||
u = a.u(u, " style=bold,color=gray ");
|
||||
v = a.v(v, " style=bold,color=gray ");
|
||||
}
|
||||
sb = a.u(u, "]");
|
||||
sb = a.v(v, "]");
|
||||
}
|
||||
str = a.u(str, a.u(sb, "\n"));
|
||||
str = a.v(str, a.v(sb, "\n"));
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
@ -441,59 +441,59 @@ public class DependencyGraph {
|
|||
ConstraintWidget constraintWidget = widgetRun.widget;
|
||||
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = !z2 ? constraintWidget.getHorizontalDimensionBehaviour() : constraintWidget.getVerticalDimensionBehaviour();
|
||||
RunGroup runGroup = widgetRun.runGroup;
|
||||
String u = a.u(a.u(a.u(!z2 ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), " [shape=none, label=<"), "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"2\">"), " <TR>");
|
||||
String v = a.v(a.v(a.v(!z2 ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), " [shape=none, label=<"), "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"2\">"), " <TR>");
|
||||
if (!z2) {
|
||||
String u2 = a.u(u, " <TD ");
|
||||
String v2 = a.v(v, " <TD ");
|
||||
if (widgetRun.start.resolved) {
|
||||
u2 = a.u(u2, " BGCOLOR=\"green\"");
|
||||
v2 = a.v(v2, " BGCOLOR=\"green\"");
|
||||
}
|
||||
str = a.u(u2, " PORT=\"LEFT\" BORDER=\"1\">L</TD>");
|
||||
str = a.v(v2, " PORT=\"LEFT\" BORDER=\"1\">L</TD>");
|
||||
} else {
|
||||
String u3 = a.u(u, " <TD ");
|
||||
String v3 = a.v(v, " <TD ");
|
||||
if (widgetRun.start.resolved) {
|
||||
u3 = a.u(u3, " BGCOLOR=\"green\"");
|
||||
v3 = a.v(v3, " BGCOLOR=\"green\"");
|
||||
}
|
||||
str = a.u(u3, " PORT=\"TOP\" BORDER=\"1\">T</TD>");
|
||||
str = a.v(v3, " PORT=\"TOP\" BORDER=\"1\">T</TD>");
|
||||
}
|
||||
String u4 = a.u(str, " <TD BORDER=\"1\" ");
|
||||
String v4 = a.v(str, " <TD BORDER=\"1\" ");
|
||||
boolean z3 = widgetRun.dimension.resolved;
|
||||
if (z3 && !widgetRun.widget.measured) {
|
||||
u4 = a.u(u4, " BGCOLOR=\"green\" ");
|
||||
v4 = a.v(v4, " BGCOLOR=\"green\" ");
|
||||
} else if (z3 && widgetRun.widget.measured) {
|
||||
u4 = a.u(u4, " BGCOLOR=\"lightgray\" ");
|
||||
v4 = a.v(v4, " BGCOLOR=\"lightgray\" ");
|
||||
} else if (!z3 && widgetRun.widget.measured) {
|
||||
u4 = a.u(u4, " BGCOLOR=\"yellow\" ");
|
||||
v4 = a.v(v4, " BGCOLOR=\"yellow\" ");
|
||||
}
|
||||
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT) {
|
||||
u4 = a.u(u4, "style=\"dashed\"");
|
||||
v4 = a.v(v4, "style=\"dashed\"");
|
||||
}
|
||||
if (runGroup != null) {
|
||||
StringBuilder O = a.O(" [");
|
||||
O.append(runGroup.groupIndex + 1);
|
||||
O.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
str2 = a.z(O, RunGroup.index, "]");
|
||||
StringBuilder R = a.R(" [");
|
||||
R.append(runGroup.groupIndex + 1);
|
||||
R.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||
str2 = a.A(R, RunGroup.index, "]");
|
||||
} else {
|
||||
str2 = "";
|
||||
}
|
||||
String str4 = u4 + ">" + debugName + str2 + " </TD>";
|
||||
String str4 = v4 + ">" + debugName + str2 + " </TD>";
|
||||
if (!z2) {
|
||||
String u5 = a.u(str4, " <TD ");
|
||||
String v5 = a.v(str4, " <TD ");
|
||||
if (widgetRun.end.resolved) {
|
||||
u5 = a.u(u5, " BGCOLOR=\"green\"");
|
||||
v5 = a.v(v5, " BGCOLOR=\"green\"");
|
||||
}
|
||||
str3 = a.u(u5, " PORT=\"RIGHT\" BORDER=\"1\">R</TD>");
|
||||
str3 = a.v(v5, " PORT=\"RIGHT\" BORDER=\"1\">R</TD>");
|
||||
} else {
|
||||
String u6 = a.u(str4, " <TD ");
|
||||
String v6 = a.v(str4, " <TD ");
|
||||
if ((widgetRun instanceof VerticalWidgetRun) && ((VerticalWidgetRun) widgetRun).baseline.resolved) {
|
||||
u6 = a.u(u6, " BGCOLOR=\"green\"");
|
||||
v6 = a.v(v6, " BGCOLOR=\"green\"");
|
||||
}
|
||||
String u7 = a.u(a.u(u6, " PORT=\"BASELINE\" BORDER=\"1\">b</TD>"), " <TD ");
|
||||
String v7 = a.v(a.v(v6, " PORT=\"BASELINE\" BORDER=\"1\">b</TD>"), " <TD ");
|
||||
if (widgetRun.end.resolved) {
|
||||
u7 = a.u(u7, " BGCOLOR=\"green\"");
|
||||
v7 = a.v(v7, " BGCOLOR=\"green\"");
|
||||
}
|
||||
str3 = a.u(u7, " PORT=\"BOTTOM\" BORDER=\"1\">B</TD>");
|
||||
str3 = a.v(v7, " PORT=\"BOTTOM\" BORDER=\"1\">B</TD>");
|
||||
}
|
||||
return a.u(a.u(str3, " </TR></TABLE>"), ">];\n");
|
||||
return a.v(a.v(str3, " </TR></TABLE>"), ">];\n");
|
||||
}
|
||||
|
||||
public void buildGraph() {
|
||||
|
|
|
@ -51,9 +51,9 @@ public class DependencyNode implements Dependency {
|
|||
public String name() {
|
||||
String debugName = this.run.widget.getDebugName();
|
||||
Type type = this.type;
|
||||
StringBuilder S = a.S((type == Type.LEFT || type == Type.RIGHT) ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ":");
|
||||
S.append(this.type.name());
|
||||
return S.toString();
|
||||
StringBuilder V = a.V((type == Type.LEFT || type == Type.RIGHT) ? a.v(debugName, "_HORIZONTAL") : a.v(debugName, "_VERTICAL"), ":");
|
||||
V.append(this.type.name());
|
||||
return V.toString();
|
||||
}
|
||||
|
||||
public void resolve(int i) {
|
||||
|
|
|
@ -257,9 +257,9 @@ public class HorizontalWidgetRun extends WidgetRun {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("HorizontalRun ");
|
||||
O.append(this.widget.getDebugName());
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("HorizontalRun ");
|
||||
R.append(this.widget.getDebugName());
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
/* JADX WARNING: Code restructure failed: missing block: B:103:0x02ba, code lost:
|
||||
|
|
|
@ -283,9 +283,9 @@ public class VerticalWidgetRun extends WidgetRun {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("VerticalRun ");
|
||||
O.append(this.widget.getDebugName());
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("VerticalRun ");
|
||||
R.append(this.widget.getDebugName());
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@Override // androidx.constraintlayout.solver.widgets.analyzer.WidgetRun, androidx.constraintlayout.solver.widgets.analyzer.Dependency
|
||||
|
|
|
@ -200,13 +200,13 @@ public class WidgetGroup {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getOrientationString());
|
||||
sb.append(" [");
|
||||
String z2 = a.z(sb, this.f26id, "] <");
|
||||
String A = a.A(sb, this.f26id, "] <");
|
||||
Iterator<ConstraintWidget> it = this.widgets.iterator();
|
||||
while (it.hasNext()) {
|
||||
StringBuilder S = a.S(z2, " ");
|
||||
S.append(it.next().getDebugName());
|
||||
z2 = S.toString();
|
||||
StringBuilder V = a.V(A, " ");
|
||||
V.append(it.next().getDebugName());
|
||||
A = V.toString();
|
||||
}
|
||||
return a.u(z2, " >");
|
||||
return a.v(A, " >");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -174,32 +174,32 @@ public class ConstraintAttribute {
|
|||
Class<?> cls = view.getClass();
|
||||
for (String str : hashMap.keySet()) {
|
||||
ConstraintAttribute constraintAttribute = hashMap.get(str);
|
||||
String u = a.u("set", str);
|
||||
String v = a.v("set", str);
|
||||
try {
|
||||
switch (constraintAttribute.mType.ordinal()) {
|
||||
case 0:
|
||||
cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue));
|
||||
cls.getMethod(v, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue));
|
||||
continue;
|
||||
case 1:
|
||||
cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||
cls.getMethod(v, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||
continue;
|
||||
case 2:
|
||||
cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue));
|
||||
cls.getMethod(v, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue));
|
||||
continue;
|
||||
case 3:
|
||||
Method method = cls.getMethod(u, Drawable.class);
|
||||
Method method = cls.getMethod(v, Drawable.class);
|
||||
ColorDrawable colorDrawable = new ColorDrawable();
|
||||
colorDrawable.setColor(constraintAttribute.mColorValue);
|
||||
method.invoke(view, colorDrawable);
|
||||
continue;
|
||||
case 4:
|
||||
cls.getMethod(u, CharSequence.class).invoke(view, constraintAttribute.mStringValue);
|
||||
cls.getMethod(v, CharSequence.class).invoke(view, constraintAttribute.mStringValue);
|
||||
continue;
|
||||
case 5:
|
||||
cls.getMethod(u, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue));
|
||||
cls.getMethod(v, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue));
|
||||
continue;
|
||||
case 6:
|
||||
cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||
cls.getMethod(v, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||
continue;
|
||||
default:
|
||||
continue;
|
||||
|
@ -210,17 +210,17 @@ public class ConstraintAttribute {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(cls.getName());
|
||||
sb.append(" must have a method ");
|
||||
sb.append(u);
|
||||
sb.append(v);
|
||||
Log.e(TAG, sb.toString());
|
||||
} catch (IllegalAccessException e2) {
|
||||
StringBuilder U = a.U(" Custom Attribute \"", str, "\" not found on ");
|
||||
U.append(cls.getName());
|
||||
Log.e(TAG, U.toString());
|
||||
StringBuilder W = a.W(" Custom Attribute \"", str, "\" not found on ");
|
||||
W.append(cls.getName());
|
||||
Log.e(TAG, W.toString());
|
||||
e2.printStackTrace();
|
||||
} catch (InvocationTargetException e3) {
|
||||
StringBuilder U2 = a.U(" Custom Attribute \"", str, "\" not found on ");
|
||||
U2.append(cls.getName());
|
||||
Log.e(TAG, U2.toString());
|
||||
StringBuilder W2 = a.W(" Custom Attribute \"", str, "\" not found on ");
|
||||
W2.append(cls.getName());
|
||||
Log.e(TAG, W2.toString());
|
||||
e3.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
@ -329,9 +329,9 @@ public class ConstraintAttribute {
|
|||
*/
|
||||
public void setInterpolatedValue(View view, float[] fArr) {
|
||||
Class<?> cls = view.getClass();
|
||||
StringBuilder O = a.O("set");
|
||||
O.append(this.mName);
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R("set");
|
||||
R.append(this.mName);
|
||||
String sb = R.toString();
|
||||
try {
|
||||
boolean z2 = true;
|
||||
switch (this.mType.ordinal()) {
|
||||
|
@ -370,16 +370,16 @@ public class ConstraintAttribute {
|
|||
return;
|
||||
}
|
||||
} catch (NoSuchMethodException e) {
|
||||
StringBuilder U = a.U("no method ", sb, "on View \"");
|
||||
U.append(Debug.getName(view));
|
||||
U.append("\"");
|
||||
Log.e(TAG, U.toString());
|
||||
StringBuilder W = a.W("no method ", sb, "on View \"");
|
||||
W.append(Debug.getName(view));
|
||||
W.append("\"");
|
||||
Log.e(TAG, W.toString());
|
||||
e.printStackTrace();
|
||||
} catch (IllegalAccessException e2) {
|
||||
StringBuilder U2 = a.U("cannot access method ", sb, "on View \"");
|
||||
U2.append(Debug.getName(view));
|
||||
U2.append("\"");
|
||||
Log.e(TAG, U2.toString());
|
||||
StringBuilder W2 = a.W("cannot access method ", sb, "on View \"");
|
||||
W2.append(Debug.getName(view));
|
||||
W2.append("\"");
|
||||
Log.e(TAG, W2.toString());
|
||||
e2.printStackTrace();
|
||||
} catch (InvocationTargetException e3) {
|
||||
e3.printStackTrace();
|
||||
|
|
|
@ -109,10 +109,10 @@ public abstract class ConstraintHelper extends View {
|
|||
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
||||
if ((layoutParams instanceof ConstraintLayout.LayoutParams) && trim.equals(((ConstraintLayout.LayoutParams) layoutParams).constraintTag)) {
|
||||
if (childAt.getId() == -1) {
|
||||
StringBuilder O = a.O("to use ConstraintTag view ");
|
||||
O.append(childAt.getClass().getSimpleName());
|
||||
O.append(" must have an ID");
|
||||
Log.w("ConstraintHelper", O.toString());
|
||||
StringBuilder R = a.R("to use ConstraintTag view ");
|
||||
R.append(childAt.getClass().getSimpleName());
|
||||
R.append(" must have an ID");
|
||||
Log.w("ConstraintHelper", R.toString());
|
||||
} else {
|
||||
addRscID(childAt.getId());
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ public class ConstraintProperties {
|
|||
layoutParams2.leftToRight = i2;
|
||||
layoutParams2.leftToLeft = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("Left to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("Left to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
((ViewGroup.MarginLayoutParams) this.mParams).leftMargin = i4;
|
||||
break;
|
||||
|
@ -195,7 +195,7 @@ public class ConstraintProperties {
|
|||
layoutParams4.rightToRight = i2;
|
||||
layoutParams4.rightToLeft = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
((ViewGroup.MarginLayoutParams) this.mParams).rightMargin = i4;
|
||||
break;
|
||||
|
@ -211,7 +211,7 @@ public class ConstraintProperties {
|
|||
layoutParams6.topToTop = -1;
|
||||
layoutParams6.baselineToBaseline = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
((ViewGroup.MarginLayoutParams) this.mParams).topMargin = i4;
|
||||
break;
|
||||
|
@ -227,7 +227,7 @@ public class ConstraintProperties {
|
|||
layoutParams8.bottomToBottom = -1;
|
||||
layoutParams8.baselineToBaseline = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
((ViewGroup.MarginLayoutParams) this.mParams).bottomMargin = i4;
|
||||
break;
|
||||
|
@ -241,7 +241,7 @@ public class ConstraintProperties {
|
|||
layoutParams9.topToBottom = -1;
|
||||
break;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
case 6:
|
||||
if (i3 == 6) {
|
||||
|
@ -253,7 +253,7 @@ public class ConstraintProperties {
|
|||
layoutParams11.startToEnd = i2;
|
||||
layoutParams11.startToStart = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
this.mParams.setMarginStart(i4);
|
||||
break;
|
||||
|
@ -267,7 +267,7 @@ public class ConstraintProperties {
|
|||
layoutParams13.endToStart = i2;
|
||||
layoutParams13.endToEnd = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i3), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i3), " undefined"));
|
||||
}
|
||||
this.mParams.setMarginEnd(i4);
|
||||
break;
|
||||
|
@ -275,7 +275,7 @@ public class ConstraintProperties {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(sideToString(i));
|
||||
sb.append(" to ");
|
||||
throw new IllegalArgumentException(a.G(sb, sideToString(i3), " unknown"));
|
||||
throw new IllegalArgumentException(a.H(sb, sideToString(i3), " unknown"));
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -287,9 +287,9 @@ public class ConstraintSet {
|
|||
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);
|
||||
|
@ -857,21 +857,21 @@ public class ConstraintSet {
|
|||
this.mBarrierAllowsGoneWidgets = obtainStyledAttributes.getBoolean(index, this.mBarrierAllowsGoneWidgets);
|
||||
continue;
|
||||
case 76:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mapToConstant.get(index));
|
||||
Log.w(ConstraintSet.TAG, O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mapToConstant.get(index));
|
||||
Log.w(ConstraintSet.TAG, R.toString());
|
||||
continue;
|
||||
case 77:
|
||||
this.mConstraintTag = obtainStyledAttributes.getString(index);
|
||||
continue;
|
||||
default:
|
||||
StringBuilder O2 = a.O("Unknown attribute 0x");
|
||||
O2.append(Integer.toHexString(index));
|
||||
O2.append(" ");
|
||||
O2.append(mapToConstant.get(index));
|
||||
Log.w(ConstraintSet.TAG, O2.toString());
|
||||
StringBuilder R2 = a.R("Unknown attribute 0x");
|
||||
R2.append(Integer.toHexString(index));
|
||||
R2.append(" ");
|
||||
R2.append(mapToConstant.get(index));
|
||||
Log.w(ConstraintSet.TAG, R2.toString());
|
||||
continue;
|
||||
continue;
|
||||
continue;
|
||||
|
@ -1207,9 +1207,9 @@ public class ConstraintSet {
|
|||
if (this.mSavedAttributes.containsKey(strArr[i])) {
|
||||
ConstraintAttribute constraintAttribute = this.mSavedAttributes.get(strArr[i]);
|
||||
if (constraintAttribute.getType() != attributeType) {
|
||||
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());
|
||||
}
|
||||
} else {
|
||||
this.mSavedAttributes.put(strArr[i], new ConstraintAttribute(strArr[i], attributeType));
|
||||
|
@ -1624,18 +1624,18 @@ public class ConstraintSet {
|
|||
layout53.constrainedHeight = typedArray.getBoolean(index, layout53.constrainedHeight);
|
||||
break;
|
||||
case 82:
|
||||
StringBuilder O = a.O("unused attribute 0x");
|
||||
O.append(Integer.toHexString(index));
|
||||
O.append(" ");
|
||||
O.append(mapToConstant.get(index));
|
||||
Log.w(TAG, O.toString());
|
||||
StringBuilder R = a.R("unused attribute 0x");
|
||||
R.append(Integer.toHexString(index));
|
||||
R.append(" ");
|
||||
R.append(mapToConstant.get(index));
|
||||
Log.w(TAG, R.toString());
|
||||
break;
|
||||
default:
|
||||
StringBuilder O2 = a.O("Unknown attribute 0x");
|
||||
O2.append(Integer.toHexString(index));
|
||||
O2.append(" ");
|
||||
O2.append(mapToConstant.get(index));
|
||||
Log.w(TAG, O2.toString());
|
||||
StringBuilder R2 = a.R("Unknown attribute 0x");
|
||||
R2.append(Integer.toHexString(index));
|
||||
R2.append(" ");
|
||||
R2.append(mapToConstant.get(index));
|
||||
Log.w(TAG, R2.toString());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1734,9 +1734,9 @@ public class ConstraintSet {
|
|||
View childAt = constraintLayout.getChildAt(i);
|
||||
int id2 = childAt.getId();
|
||||
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||
StringBuilder O = a.O("id unknown ");
|
||||
O.append(Debug.getName(childAt));
|
||||
Log.v(TAG, O.toString());
|
||||
StringBuilder R = a.R("id unknown ");
|
||||
R.append(Debug.getName(childAt));
|
||||
Log.v(TAG, R.toString());
|
||||
} else if (this.mForceId && id2 == -1) {
|
||||
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||||
} else if (this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||
|
@ -1768,9 +1768,9 @@ public class ConstraintSet {
|
|||
View childAt = constraintLayout.getChildAt(i);
|
||||
int id2 = childAt.getId();
|
||||
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||
StringBuilder O = a.O("id unknown ");
|
||||
O.append(Debug.getName(childAt));
|
||||
Log.w(TAG, O.toString());
|
||||
StringBuilder R = a.R("id unknown ");
|
||||
R.append(Debug.getName(childAt));
|
||||
Log.w(TAG, R.toString());
|
||||
} else if (this.mForceId && id2 == -1) {
|
||||
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||||
} else if (id2 != -1) {
|
||||
|
@ -2103,7 +2103,7 @@ public class ConstraintSet {
|
|||
layout2.leftToLeft = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("left to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("left to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
case 2:
|
||||
if (i4 == 1) {
|
||||
|
@ -2117,7 +2117,7 @@ public class ConstraintSet {
|
|||
layout4.rightToLeft = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
case 3:
|
||||
if (i4 == 3) {
|
||||
|
@ -2133,7 +2133,7 @@ public class ConstraintSet {
|
|||
layout6.baselineToBaseline = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
case 4:
|
||||
if (i4 == 4) {
|
||||
|
@ -2149,7 +2149,7 @@ public class ConstraintSet {
|
|||
layout8.baselineToBaseline = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
case 5:
|
||||
if (i4 == 5) {
|
||||
|
@ -2161,7 +2161,7 @@ public class ConstraintSet {
|
|||
layout9.topToBottom = -1;
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
case 6:
|
||||
if (i4 == 6) {
|
||||
Layout layout10 = constraint.layout;
|
||||
|
@ -2174,7 +2174,7 @@ public class ConstraintSet {
|
|||
layout11.startToStart = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
case 7:
|
||||
if (i4 == 7) {
|
||||
|
@ -2188,13 +2188,13 @@ public class ConstraintSet {
|
|||
layout13.endToEnd = -1;
|
||||
return;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
default:
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(sideToString(i2));
|
||||
sb.append(" to ");
|
||||
throw new IllegalArgumentException(a.G(sb, sideToString(i4), " unknown"));
|
||||
throw new IllegalArgumentException(a.H(sb, sideToString(i4), " unknown"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2214,7 +2214,7 @@ public class ConstraintSet {
|
|||
layout2.leftToRight = i3;
|
||||
layout2.leftToLeft = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("Left to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("Left to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.leftMargin = i5;
|
||||
return;
|
||||
|
@ -2228,7 +2228,7 @@ public class ConstraintSet {
|
|||
layout4.rightToRight = i3;
|
||||
layout4.rightToLeft = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.rightMargin = i5;
|
||||
return;
|
||||
|
@ -2244,7 +2244,7 @@ public class ConstraintSet {
|
|||
layout6.topToTop = -1;
|
||||
layout6.baselineToBaseline = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.topMargin = i5;
|
||||
return;
|
||||
|
@ -2260,7 +2260,7 @@ public class ConstraintSet {
|
|||
layout8.bottomToBottom = -1;
|
||||
layout8.baselineToBaseline = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.bottomMargin = i5;
|
||||
return;
|
||||
|
@ -2274,7 +2274,7 @@ public class ConstraintSet {
|
|||
layout9.topToBottom = -1;
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
case 6:
|
||||
if (i4 == 6) {
|
||||
Layout layout10 = constraint.layout;
|
||||
|
@ -2285,7 +2285,7 @@ public class ConstraintSet {
|
|||
layout11.startToEnd = i3;
|
||||
layout11.startToStart = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.startMargin = i5;
|
||||
return;
|
||||
|
@ -2299,7 +2299,7 @@ public class ConstraintSet {
|
|||
layout13.endToStart = i3;
|
||||
layout13.endToEnd = -1;
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.G(a.O("right to "), sideToString(i4), " undefined"));
|
||||
throw new IllegalArgumentException(a.H(a.R("right to "), sideToString(i4), " undefined"));
|
||||
}
|
||||
constraint.layout.endMargin = i5;
|
||||
return;
|
||||
|
@ -2307,7 +2307,7 @@ public class ConstraintSet {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(sideToString(i2));
|
||||
sb.append(" to ");
|
||||
throw new IllegalArgumentException(a.G(sb, sideToString(i4), " unknown"));
|
||||
throw new IllegalArgumentException(a.H(sb, sideToString(i4), " unknown"));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2669,7 +2669,7 @@ public class ConstraintSet {
|
|||
for (int i = 0; i < split.length; i++) {
|
||||
String[] split2 = split[i].split("=");
|
||||
if (split2.length != 2) {
|
||||
a.m0(a.O(" Unable to parse "), split[i], TAG);
|
||||
a.n0(a.R(" Unable to parse "), split[i], TAG);
|
||||
} else {
|
||||
Constraint.access$600(constraint, split2[0], Color.parseColor(split2[1]));
|
||||
}
|
||||
|
@ -2681,7 +2681,7 @@ public class ConstraintSet {
|
|||
for (int i = 0; i < split.length; i++) {
|
||||
String[] split2 = split[i].split("=");
|
||||
if (split2.length != 2) {
|
||||
a.m0(a.O(" Unable to parse "), split[i], TAG);
|
||||
a.n0(a.R(" Unable to parse "), split[i], TAG);
|
||||
} else {
|
||||
Constraint.access$700(constraint, split2[0], Float.parseFloat(split2[1]));
|
||||
}
|
||||
|
@ -2693,7 +2693,7 @@ public class ConstraintSet {
|
|||
for (int i = 0; i < split.length; i++) {
|
||||
String[] split2 = split[i].split("=");
|
||||
if (split2.length != 2) {
|
||||
a.m0(a.O(" Unable to parse "), split[i], TAG);
|
||||
a.n0(a.R(" Unable to parse "), split[i], TAG);
|
||||
} else {
|
||||
Constraint.access$700(constraint, split2[0], (float) Integer.decode(split2[1]).intValue());
|
||||
}
|
||||
|
@ -2704,7 +2704,7 @@ public class ConstraintSet {
|
|||
String[] splitString = splitString(str);
|
||||
for (int i = 0; i < splitString.length; i++) {
|
||||
String[] split = splitString[i].split("=");
|
||||
a.m0(a.O(" Unable to parse "), splitString[i], TAG);
|
||||
a.n0(a.R(" Unable to parse "), splitString[i], TAG);
|
||||
Constraint.access$800(constraint, split[0], split[1]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -379,11 +379,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
|||
this.mAnchorDirectChild = null;
|
||||
this.mAnchorView = null;
|
||||
} else {
|
||||
StringBuilder O = a.O("Could not find CoordinatorLayout descendant view with id ");
|
||||
O.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId));
|
||||
O.append(" to anchor view ");
|
||||
O.append(view);
|
||||
throw new IllegalStateException(O.toString());
|
||||
StringBuilder R = a.R("Could not find CoordinatorLayout descendant view with id ");
|
||||
R.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId));
|
||||
R.append(" to anchor view ");
|
||||
R.append(view);
|
||||
throw new IllegalStateException(R.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -826,11 +826,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
|||
if (behavior == null || !behavior.getInsetDodgeRect(this, view, acquireTempRect)) {
|
||||
acquireTempRect.set(acquireTempRect2);
|
||||
} else if (!acquireTempRect2.contains(acquireTempRect)) {
|
||||
StringBuilder O = a.O("Rect should be within the child's bounds. Rect:");
|
||||
O.append(acquireTempRect.toShortString());
|
||||
O.append(" | Bounds:");
|
||||
O.append(acquireTempRect2.toShortString());
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("Rect should be within the child's bounds. Rect:");
|
||||
R.append(acquireTempRect.toShortString());
|
||||
R.append(" | Bounds:");
|
||||
R.append(acquireTempRect2.toShortString());
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
releaseTempRect(acquireTempRect2);
|
||||
if (acquireTempRect.isEmpty()) {
|
||||
|
@ -899,7 +899,7 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
|||
}
|
||||
return constructor.newInstance(context, attributeSet);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(a.u("Could not inflate Behavior subclass ", str), e);
|
||||
throw new RuntimeException(a.v("Could not inflate Behavior subclass ", str), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1257,10 +1257,10 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
|||
try {
|
||||
layoutParams.setBehavior((Behavior) defaultBehavior.value().getDeclaredConstructor(new Class[0]).newInstance(new Object[0]));
|
||||
} catch (Exception e) {
|
||||
StringBuilder O = a.O("Default behavior class ");
|
||||
O.append(defaultBehavior.value().getName());
|
||||
O.append(" could not be instantiated. Did you forget a default constructor?");
|
||||
Log.e(TAG, O.toString(), e);
|
||||
StringBuilder R = a.R("Default behavior class ");
|
||||
R.append(defaultBehavior.value().getName());
|
||||
R.append(" could not be instantiated. Did you forget a default constructor?");
|
||||
Log.e(TAG, R.toString(), e);
|
||||
}
|
||||
}
|
||||
layoutParams.mBehaviorResolved = true;
|
||||
|
|
|
@ -28,27 +28,27 @@ public final class AccessibilityServiceInfoCompat {
|
|||
|
||||
@NonNull
|
||||
public static String feedbackTypeToString(int i) {
|
||||
StringBuilder O = a.O("[");
|
||||
StringBuilder R = a.R("[");
|
||||
while (i > 0) {
|
||||
int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(i);
|
||||
i &= ~numberOfTrailingZeros;
|
||||
if (O.length() > 1) {
|
||||
O.append(", ");
|
||||
if (R.length() > 1) {
|
||||
R.append(", ");
|
||||
}
|
||||
if (numberOfTrailingZeros == 1) {
|
||||
O.append("FEEDBACK_SPOKEN");
|
||||
R.append("FEEDBACK_SPOKEN");
|
||||
} else if (numberOfTrailingZeros == 2) {
|
||||
O.append("FEEDBACK_HAPTIC");
|
||||
R.append("FEEDBACK_HAPTIC");
|
||||
} else if (numberOfTrailingZeros == 4) {
|
||||
O.append("FEEDBACK_AUDIBLE");
|
||||
R.append("FEEDBACK_AUDIBLE");
|
||||
} else if (numberOfTrailingZeros == 8) {
|
||||
O.append("FEEDBACK_VISUAL");
|
||||
R.append("FEEDBACK_VISUAL");
|
||||
} else if (numberOfTrailingZeros == 16) {
|
||||
O.append("FEEDBACK_GENERIC");
|
||||
R.append("FEEDBACK_GENERIC");
|
||||
}
|
||||
}
|
||||
O.append("]");
|
||||
return O.toString();
|
||||
R.append("]");
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
|
@ -220,7 +220,7 @@ public class ActivityCompat extends ContextCompat {
|
|||
if (permissionCompatDelegate == null || !permissionCompatDelegate.requestPermissions(activity, strArr, i)) {
|
||||
for (String str : strArr) {
|
||||
if (TextUtils.isEmpty(str)) {
|
||||
throw new IllegalArgumentException(a.G(a.O("Permission request for permissions "), Arrays.toString(strArr), " must not contain null or empty values"));
|
||||
throw new IllegalArgumentException(a.H(a.R("Permission request for permissions "), Arrays.toString(strArr), " must not contain null or empty values"));
|
||||
}
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= 23) {
|
||||
|
|
|
@ -266,9 +266,9 @@ public abstract class JobIntentService extends Service {
|
|||
this.mHasJobId = true;
|
||||
this.mJobId = i;
|
||||
} else if (this.mJobId != i) {
|
||||
StringBuilder P = a.P("Given job ID ", i, " is different than previous ");
|
||||
P.append(this.mJobId);
|
||||
throw new IllegalArgumentException(P.toString());
|
||||
StringBuilder S = a.S("Given job ID ", i, " is different than previous ");
|
||||
S.append(this.mJobId);
|
||||
throw new IllegalArgumentException(S.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -99,10 +99,10 @@ public final class NavUtils {
|
|||
navigateUpTo(activity, parentActivityIntent);
|
||||
return;
|
||||
}
|
||||
StringBuilder O = a.O("Activity ");
|
||||
O.append(activity.getClass().getSimpleName());
|
||||
O.append(" does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY <meta-data> element in your manifest?)");
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("Activity ");
|
||||
R.append(activity.getClass().getSimpleName());
|
||||
R.append(" does not have a parent activity name specified. (Did you forget to add the android.support.PARENT_ACTIVITY <meta-data> element in your manifest?)");
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
|
||||
public static void navigateUpTo(@NonNull Activity activity, @NonNull Intent intent) {
|
||||
|
|
|
@ -106,7 +106,7 @@ public final class NotificationManagerCompat {
|
|||
sb.append(", tag:");
|
||||
sb.append(this.tag);
|
||||
sb.append(", all:");
|
||||
return c.d.b.a.a.K(sb, this.all, "]");
|
||||
return c.d.b.a.a.L(sb, this.all, "]");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ public final class NotificationManagerCompat {
|
|||
sb.append(", id:");
|
||||
sb.append(this.f28id);
|
||||
sb.append(", tag:");
|
||||
return c.d.b.a.a.G(sb, this.tag, "]");
|
||||
return c.d.b.a.a.H(sb, this.tag, "]");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -192,9 +192,9 @@ public final class NotificationManagerCompat {
|
|||
if (bindService) {
|
||||
listenerRecord.retryCount = 0;
|
||||
} else {
|
||||
StringBuilder O = c.d.b.a.a.O("Unable to bind to listener ");
|
||||
O.append(listenerRecord.componentName);
|
||||
Log.w(NotificationManagerCompat.TAG, O.toString());
|
||||
StringBuilder R = c.d.b.a.a.R("Unable to bind to listener ");
|
||||
R.append(listenerRecord.componentName);
|
||||
Log.w(NotificationManagerCompat.TAG, R.toString());
|
||||
this.mContext.unbindService(this);
|
||||
}
|
||||
return listenerRecord.bound;
|
||||
|
@ -241,12 +241,12 @@ public final class NotificationManagerCompat {
|
|||
|
||||
private void processListenerQueue(ListenerRecord listenerRecord) {
|
||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||
StringBuilder O = c.d.b.a.a.O("Processing component ");
|
||||
O.append(listenerRecord.componentName);
|
||||
O.append(", ");
|
||||
O.append(listenerRecord.taskQueue.size());
|
||||
O.append(" queued tasks");
|
||||
Log.d(NotificationManagerCompat.TAG, O.toString());
|
||||
StringBuilder R = c.d.b.a.a.R("Processing component ");
|
||||
R.append(listenerRecord.componentName);
|
||||
R.append(", ");
|
||||
R.append(listenerRecord.taskQueue.size());
|
||||
R.append(" queued tasks");
|
||||
Log.d(NotificationManagerCompat.TAG, R.toString());
|
||||
}
|
||||
if (!listenerRecord.taskQueue.isEmpty()) {
|
||||
if (!ensureServiceBound(listenerRecord) || listenerRecord.service == null) {
|
||||
|
@ -266,14 +266,14 @@ public final class NotificationManagerCompat {
|
|||
listenerRecord.taskQueue.remove();
|
||||
} catch (DeadObjectException unused) {
|
||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||
StringBuilder O2 = c.d.b.a.a.O("Remote service has died: ");
|
||||
O2.append(listenerRecord.componentName);
|
||||
Log.d(NotificationManagerCompat.TAG, O2.toString());
|
||||
StringBuilder R2 = c.d.b.a.a.R("Remote service has died: ");
|
||||
R2.append(listenerRecord.componentName);
|
||||
Log.d(NotificationManagerCompat.TAG, R2.toString());
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
StringBuilder O3 = c.d.b.a.a.O("RemoteException communicating with ");
|
||||
O3.append(listenerRecord.componentName);
|
||||
Log.w(NotificationManagerCompat.TAG, O3.toString(), e);
|
||||
StringBuilder R3 = c.d.b.a.a.R("RemoteException communicating with ");
|
||||
R3.append(listenerRecord.componentName);
|
||||
Log.w(NotificationManagerCompat.TAG, R3.toString(), e);
|
||||
}
|
||||
}
|
||||
if (!listenerRecord.taskQueue.isEmpty()) {
|
||||
|
@ -287,14 +287,14 @@ public final class NotificationManagerCompat {
|
|||
int i = listenerRecord.retryCount + 1;
|
||||
listenerRecord.retryCount = i;
|
||||
if (i > 6) {
|
||||
StringBuilder O = c.d.b.a.a.O("Giving up on delivering ");
|
||||
O.append(listenerRecord.taskQueue.size());
|
||||
O.append(" tasks to ");
|
||||
O.append(listenerRecord.componentName);
|
||||
O.append(" after ");
|
||||
O.append(listenerRecord.retryCount);
|
||||
O.append(" retries");
|
||||
Log.w(NotificationManagerCompat.TAG, O.toString());
|
||||
StringBuilder R = c.d.b.a.a.R("Giving up on delivering ");
|
||||
R.append(listenerRecord.taskQueue.size());
|
||||
R.append(" tasks to ");
|
||||
R.append(listenerRecord.componentName);
|
||||
R.append(" after ");
|
||||
R.append(listenerRecord.retryCount);
|
||||
R.append(" retries");
|
||||
Log.w(NotificationManagerCompat.TAG, R.toString());
|
||||
listenerRecord.taskQueue.clear();
|
||||
return;
|
||||
}
|
||||
|
@ -338,9 +338,9 @@ public final class NotificationManagerCompat {
|
|||
Map.Entry<ComponentName, ListenerRecord> next = it2.next();
|
||||
if (!hashSet.contains(next.getKey())) {
|
||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||
StringBuilder O = c.d.b.a.a.O("Removing listener record for ");
|
||||
O.append(next.getKey());
|
||||
Log.d(NotificationManagerCompat.TAG, O.toString());
|
||||
StringBuilder R = c.d.b.a.a.R("Removing listener record for ");
|
||||
R.append(next.getKey());
|
||||
Log.d(NotificationManagerCompat.TAG, R.toString());
|
||||
}
|
||||
ensureServiceUnbound(next.getValue());
|
||||
it2.remove();
|
||||
|
|
|
@ -160,9 +160,9 @@ public class Person {
|
|||
if (this.mName == null) {
|
||||
return "";
|
||||
}
|
||||
StringBuilder O = a.O("name:");
|
||||
O.append((Object) this.mName);
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("name:");
|
||||
R.append((Object) this.mName);
|
||||
return R.toString();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
|
@ -255,7 +255,7 @@ public final class RemoteInput {
|
|||
}
|
||||
|
||||
private static String getExtraResultsKeyForData(String str) {
|
||||
return a.u(EXTRA_DATA_TYPE_RESULTS_DATA, str);
|
||||
return a.v(EXTRA_DATA_TYPE_RESULTS_DATA, str);
|
||||
}
|
||||
|
||||
public static Bundle getResultsFromIntent(Intent intent) {
|
||||
|
|
|
@ -453,11 +453,11 @@ public final class ShareCompat {
|
|||
if (i == 0) {
|
||||
return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM");
|
||||
}
|
||||
StringBuilder O = a.O("Stream items available: ");
|
||||
O.append(getStreamCount());
|
||||
O.append(" index requested: ");
|
||||
O.append(i);
|
||||
throw new IndexOutOfBoundsException(O.toString());
|
||||
StringBuilder R = a.R("Stream items available: ");
|
||||
R.append(getStreamCount());
|
||||
R.append(" index requested: ");
|
||||
R.append(i);
|
||||
throw new IndexOutOfBoundsException(R.toString());
|
||||
}
|
||||
|
||||
public int getStreamCount() {
|
||||
|
@ -507,16 +507,16 @@ public final class ShareCompat {
|
|||
configureMenuItem(findItem, intentBuilder);
|
||||
return;
|
||||
}
|
||||
throw new IllegalArgumentException(a.n("Could not find menu item with id ", i, " in the supplied menu"));
|
||||
throw new IllegalArgumentException(a.q("Could not find menu item with id ", i, " in the supplied menu"));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static void configureMenuItem(@NonNull MenuItem menuItem, @NonNull IntentBuilder intentBuilder) {
|
||||
ActionProvider actionProvider = menuItem.getActionProvider();
|
||||
ShareActionProvider shareActionProvider = !(actionProvider instanceof ShareActionProvider) ? new ShareActionProvider(intentBuilder.getContext()) : (ShareActionProvider) actionProvider;
|
||||
StringBuilder O = a.O(HISTORY_FILENAME_PREFIX);
|
||||
O.append(intentBuilder.getContext().getClass().getName());
|
||||
shareActionProvider.setShareHistoryFileName(O.toString());
|
||||
StringBuilder R = a.R(HISTORY_FILENAME_PREFIX);
|
||||
R.append(intentBuilder.getContext().getClass().getName());
|
||||
shareActionProvider.setShareHistoryFileName(R.toString());
|
||||
shareActionProvider.setShareIntent(intentBuilder.getIntent());
|
||||
menuItem.setActionProvider(shareActionProvider);
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ public class FileProvider extends ContentProvider {
|
|||
String substring = path2.endsWith(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) ? canonicalPath.substring(path2.length()) : canonicalPath.substring(path2.length() + 1);
|
||||
return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + MentionUtilsKt.SLASH_CHAR + Uri.encode(substring, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)).build();
|
||||
}
|
||||
throw new IllegalArgumentException(a.u("Failed to find configured root that contains ", canonicalPath));
|
||||
throw new IllegalArgumentException(a.v("Failed to find configured root that contains ", canonicalPath));
|
||||
} catch (IOException unused) {
|
||||
throw new IllegalArgumentException("Failed to resolve canonical path for " + file);
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ public class FileProvider extends ContentProvider {
|
|||
if ("rwt".equals(str)) {
|
||||
return 1006632960;
|
||||
}
|
||||
throw new IllegalArgumentException(a.u("Invalid mode: ", str));
|
||||
throw new IllegalArgumentException(a.v("Invalid mode: ", str));
|
||||
}
|
||||
|
||||
private static PathStrategy parsePathStrategy(Context context, String str) throws IOException, XmlPullParserException {
|
||||
|
@ -232,7 +232,7 @@ public class FileProvider extends ContentProvider {
|
|||
throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data");
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.u("Couldn't find meta-data for provider with authority ", str));
|
||||
throw new IllegalArgumentException(a.v("Couldn't find meta-data for provider with authority ", str));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -79,6 +79,6 @@ public final class LocusIdCompat {
|
|||
|
||||
@NonNull
|
||||
public String toString() {
|
||||
return a.G(a.O("LocusIdCompat["), getSanitizedId(), "]");
|
||||
return a.H(a.R("LocusIdCompat["), getSanitizedId(), "]");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,10 +94,10 @@ public final class PackageInfoCompat {
|
|||
throw new IllegalArgumentException("Unsupported certificate type " + num + " when verifying " + str);
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.u("Type must be specified for cert when verifying ", str));
|
||||
throw new IllegalArgumentException(a.v("Type must be specified for cert when verifying ", str));
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException(a.u("Cert byte array cannot be null when verifying ", str));
|
||||
throw new IllegalArgumentException(a.v("Cert byte array cannot be null when verifying ", str));
|
||||
}
|
||||
}
|
||||
List<Signature> signatures = getSignatures(packageManager, str);
|
||||
|
|
|
@ -215,7 +215,7 @@ public class ShortcutInfoCompat {
|
|||
this.mInfo.mExtras.putStringArray(str, (String[]) map.keySet().toArray(new String[0]));
|
||||
for (String str2 : map.keySet()) {
|
||||
List<String> list = map.get(str2);
|
||||
this.mInfo.mExtras.putStringArray(a.v(str, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, str2), list == null ? new String[0] : (String[]) list.toArray(new String[0]));
|
||||
this.mInfo.mExtras.putStringArray(a.w(str, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN, str2), list == null ? new String[0] : (String[]) list.toArray(new String[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -352,10 +352,10 @@ public class ShortcutInfoCompat {
|
|||
int i = 0;
|
||||
while (i < this.mPersons.length) {
|
||||
PersistableBundle persistableBundle = this.mExtras;
|
||||
StringBuilder O = a.O(EXTRA_PERSON_);
|
||||
StringBuilder R = a.R(EXTRA_PERSON_);
|
||||
int i2 = i + 1;
|
||||
O.append(i2);
|
||||
persistableBundle.putPersistableBundle(O.toString(), this.mPersons[i].toPersistableBundle());
|
||||
R.append(i2);
|
||||
persistableBundle.putPersistableBundle(R.toString(), this.mPersons[i].toPersistableBundle());
|
||||
i = i2;
|
||||
}
|
||||
}
|
||||
|
@ -422,10 +422,10 @@ public class ShortcutInfoCompat {
|
|||
Person[] personArr = new Person[i];
|
||||
int i2 = 0;
|
||||
while (i2 < i) {
|
||||
StringBuilder O = a.O(EXTRA_PERSON_);
|
||||
StringBuilder R = a.R(EXTRA_PERSON_);
|
||||
int i3 = i2 + 1;
|
||||
O.append(i3);
|
||||
personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(O.toString()));
|
||||
R.append(i3);
|
||||
personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(R.toString()));
|
||||
i2 = i3;
|
||||
}
|
||||
return personArr;
|
||||
|
|
|
@ -276,12 +276,12 @@ public final class ResourcesCompat {
|
|||
if (typedValue.type == 4) {
|
||||
return typedValue.getFloat();
|
||||
}
|
||||
StringBuilder O = a.O("Resource ID #0x");
|
||||
O.append(Integer.toHexString(i));
|
||||
O.append(" type #0x");
|
||||
O.append(Integer.toHexString(typedValue.type));
|
||||
O.append(" is not valid");
|
||||
throw new Resources.NotFoundException(O.toString());
|
||||
StringBuilder R = a.R("Resource ID #0x");
|
||||
R.append(Integer.toHexString(i));
|
||||
R.append(" type #0x");
|
||||
R.append(Integer.toHexString(typedValue.type));
|
||||
R.append(" is not valid");
|
||||
throw new Resources.NotFoundException(R.toString());
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
@ -348,10 +348,10 @@ public final class ResourcesCompat {
|
|||
if (loadFont != null || fontCallback != null || z3) {
|
||||
return loadFont;
|
||||
}
|
||||
StringBuilder O = a.O("Font resource ID #0x");
|
||||
O.append(Integer.toHexString(i));
|
||||
O.append(" could not be retrieved.");
|
||||
throw new Resources.NotFoundException(O.toString());
|
||||
StringBuilder R = a.R("Font resource ID #0x");
|
||||
R.append(Integer.toHexString(i));
|
||||
R.append(" could not be retrieved.");
|
||||
throw new Resources.NotFoundException(R.toString());
|
||||
}
|
||||
|
||||
/* JADX WARNING: Removed duplicated region for block: B:36:0x00a7 */
|
||||
|
@ -409,13 +409,13 @@ public final class ResourcesCompat {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
StringBuilder O = a.O("Resource \"");
|
||||
O.append(resources.getResourceName(i));
|
||||
O.append("\" (");
|
||||
O.append(Integer.toHexString(i));
|
||||
O.append(") is not a Font: ");
|
||||
O.append(typedValue);
|
||||
throw new Resources.NotFoundException(O.toString());
|
||||
StringBuilder R = a.R("Resource \"");
|
||||
R.append(resources.getResourceName(i));
|
||||
R.append("\" (");
|
||||
R.append(Integer.toHexString(i));
|
||||
R.append(") is not a Font: ");
|
||||
R.append(typedValue);
|
||||
throw new Resources.NotFoundException(R.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i5, canvas, save, i5);
|
||||
a.c0(i5, canvas, save, i5);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,7 +106,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i2, canvas, save, i2);
|
||||
a.c0(i2, canvas, save, i2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -119,7 +119,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -141,7 +141,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i2, canvas, save, i2);
|
||||
a.c0(i2, canvas, save, i2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i2, canvas, save, i2);
|
||||
a.c0(i2, canvas, save, i2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -204,7 +204,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -223,7 +223,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i2, canvas, save, i2);
|
||||
a.c0(i2, canvas, save, i2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i, canvas, save, i);
|
||||
a.c0(i, canvas, save, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ public final class CanvasKt {
|
|||
try {
|
||||
function1.invoke(canvas);
|
||||
} finally {
|
||||
a.a0(i2, canvas, save, i2);
|
||||
a.c0(i2, canvas, save, i2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -206,9 +206,9 @@ public final class ColorUtils {
|
|||
double calculateLuminance2 = calculateLuminance(i2) + 0.05d;
|
||||
return Math.max(calculateLuminance, calculateLuminance2) / Math.min(calculateLuminance, calculateLuminance2);
|
||||
}
|
||||
StringBuilder O = a.O("background can not be translucent: #");
|
||||
O.append(Integer.toHexString(i2));
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("background can not be translucent: #");
|
||||
R.append(Integer.toHexString(i2));
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
|
||||
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
||||
|
@ -236,9 +236,9 @@ public final class ColorUtils {
|
|||
}
|
||||
return i3;
|
||||
}
|
||||
StringBuilder O = a.O("background can not be translucent: #");
|
||||
O.append(Integer.toHexString(i2));
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("background can not be translucent: #");
|
||||
R.append(Integer.toHexString(i2));
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
@ -298,12 +298,12 @@ public final class ColorUtils {
|
|||
}
|
||||
return Color.valueOf(components2, color2.getColorSpace());
|
||||
}
|
||||
StringBuilder O = a.O("Color models must match (");
|
||||
O.append(color.getModel());
|
||||
O.append(" vs. ");
|
||||
O.append(color2.getModel());
|
||||
O.append(")");
|
||||
throw new IllegalArgumentException(O.toString());
|
||||
StringBuilder R = a.R("Color models must match (");
|
||||
R.append(color.getModel());
|
||||
R.append(" vs. ");
|
||||
R.append(color2.getModel());
|
||||
R.append(")");
|
||||
throw new IllegalArgumentException(R.toString());
|
||||
}
|
||||
|
||||
private static int compositeComponent(int i, int i2, int i3, int i4, int i5) {
|
||||
|
|
|
@ -86,13 +86,13 @@ public final class Insets {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("Insets{left=");
|
||||
O.append(this.left);
|
||||
O.append(", top=");
|
||||
O.append(this.top);
|
||||
O.append(", right=");
|
||||
O.append(this.right);
|
||||
O.append(", bottom=");
|
||||
return a.y(O, this.bottom, '}');
|
||||
StringBuilder R = a.R("Insets{left=");
|
||||
R.append(this.left);
|
||||
R.append(", top=");
|
||||
R.append(this.top);
|
||||
R.append(", right=");
|
||||
R.append(this.right);
|
||||
R.append(", bottom=");
|
||||
return a.z(R, this.bottom, '}');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -504,7 +504,7 @@ public class PathParser {
|
|||
PathDataNode.nodesToPath(createNodesFromPathData, path);
|
||||
return path;
|
||||
} catch (RuntimeException e) {
|
||||
throw new RuntimeException(a.u("Error in parsing ", str), e);
|
||||
throw new RuntimeException(a.v("Error in parsing ", str), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -592,7 +592,7 @@ public class PathParser {
|
|||
}
|
||||
return copyOfRange(fArr, 0, i2);
|
||||
} catch (NumberFormatException e) {
|
||||
throw new RuntimeException(a.v("error in parsing \"", str, "\""), e);
|
||||
throw new RuntimeException(a.w("error in parsing \"", str, "\""), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,15 +59,15 @@ public final class PathSegment {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("PathSegment{start=");
|
||||
O.append(this.mStart);
|
||||
O.append(", startFraction=");
|
||||
O.append(this.mStartFraction);
|
||||
O.append(", end=");
|
||||
O.append(this.mEnd);
|
||||
O.append(", endFraction=");
|
||||
O.append(this.mEndFraction);
|
||||
O.append('}');
|
||||
return O.toString();
|
||||
StringBuilder R = a.R("PathSegment{start=");
|
||||
R.append(this.mStart);
|
||||
R.append(", startFraction=");
|
||||
R.append(this.mStartFraction);
|
||||
R.append(", end=");
|
||||
R.append(this.mEnd);
|
||||
R.append(", endFraction=");
|
||||
R.append(this.mEndFraction);
|
||||
R.append('}');
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,9 +60,9 @@ public class TypefaceCompatApi26Impl extends TypefaceCompatApi21Impl {
|
|||
method5 = obtainCreateFromFamiliesWithDefaultMethod(obtainFontFamily);
|
||||
cls = obtainFontFamily;
|
||||
} catch (ClassNotFoundException | NoSuchMethodException e) {
|
||||
StringBuilder O = a.O("Unable to collect necessary methods for class ");
|
||||
O.append(e.getClass().getName());
|
||||
Log.e(TAG, O.toString(), e);
|
||||
StringBuilder R = a.R("Unable to collect necessary methods for class ");
|
||||
R.append(e.getClass().getName());
|
||||
Log.e(TAG, R.toString(), e);
|
||||
method5 = null;
|
||||
constructor = null;
|
||||
method4 = null;
|
||||
|
|
|
@ -139,14 +139,14 @@ public class TypefaceCompatUtil {
|
|||
if (cacheDir == null) {
|
||||
return null;
|
||||
}
|
||||
StringBuilder O = a.O(CACHE_FILE_PREFIX);
|
||||
O.append(Process.myPid());
|
||||
O.append("-");
|
||||
O.append(Process.myTid());
|
||||
O.append("-");
|
||||
String sb = O.toString();
|
||||
StringBuilder R = a.R(CACHE_FILE_PREFIX);
|
||||
R.append(Process.myPid());
|
||||
R.append("-");
|
||||
R.append(Process.myTid());
|
||||
R.append("-");
|
||||
String sb = R.toString();
|
||||
for (int i = 0; i < 100; i++) {
|
||||
File file = new File(cacheDir, a.l(sb, i));
|
||||
File file = new File(cacheDir, a.p(sb, i));
|
||||
try {
|
||||
if (file.createNewFile()) {
|
||||
return file;
|
||||
|
|
|
@ -134,7 +134,7 @@ public class IconCompat extends CustomVersionedParcelable {
|
|||
break;
|
||||
case 0:
|
||||
default:
|
||||
a.i0("Unknown type ", i, TAG);
|
||||
Log.w(TAG, "Unknown type " + i);
|
||||
return null;
|
||||
case 2:
|
||||
case 4:
|
||||
|
@ -506,9 +506,9 @@ public class IconCompat extends CustomVersionedParcelable {
|
|||
drawable2.setBounds(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
||||
drawable2.draw(new Canvas(bitmap));
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
StringBuilder O = a.O("Can't find package ");
|
||||
O.append(this.mObj1);
|
||||
throw new IllegalArgumentException(O.toString(), e);
|
||||
StringBuilder R = a.R("Can't find package ");
|
||||
R.append(this.mObj1);
|
||||
throw new IllegalArgumentException(R.toString(), e);
|
||||
}
|
||||
} else if (i == 5) {
|
||||
bitmap = createLegacyIconFromAdaptiveIcon((Bitmap) this.mObj1, true);
|
||||
|
@ -830,14 +830,14 @@ public class IconCompat extends CustomVersionedParcelable {
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
StringBuilder O = a.O("Cannot load adaptive icon from uri: ");
|
||||
O.append(getUri());
|
||||
throw new IllegalStateException(O.toString());
|
||||
StringBuilder R = a.R("Cannot load adaptive icon from uri: ");
|
||||
R.append(getUri());
|
||||
throw new IllegalStateException(R.toString());
|
||||
}
|
||||
} else {
|
||||
StringBuilder O2 = a.O("Context is required to resolve the file uri of the icon: ");
|
||||
O2.append(getUri());
|
||||
throw new IllegalArgumentException(O2.toString());
|
||||
StringBuilder R2 = a.R("Context is required to resolve the file uri of the icon: ");
|
||||
R2.append(getUri());
|
||||
throw new IllegalArgumentException(R2.toString());
|
||||
}
|
||||
}
|
||||
ColorStateList colorStateList = this.mTintList;
|
||||
|
|
|
@ -9,7 +9,6 @@ import androidx.annotation.NonNull;
|
|||
import androidx.annotation.Nullable;
|
||||
import androidx.core.graphics.BitmapCompat;
|
||||
import androidx.core.view.GravityCompat;
|
||||
import c.d.b.a.a;
|
||||
import java.io.InputStream;
|
||||
public final class RoundedBitmapDrawableFactory {
|
||||
private static final String TAG = "RoundedBitmapDrawableFa";
|
||||
|
@ -61,7 +60,7 @@ public final class RoundedBitmapDrawableFactory {
|
|||
public static RoundedBitmapDrawable create(@NonNull Resources resources, @NonNull String str) {
|
||||
RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeFile(str));
|
||||
if (create.getBitmap() == null) {
|
||||
a.k0("RoundedBitmapDrawable cannot decode ", str, TAG);
|
||||
Log.w(TAG, "RoundedBitmapDrawable cannot decode " + str);
|
||||
}
|
||||
return create;
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public final class MailTo {
|
|||
}
|
||||
String to = mailTo.getTo();
|
||||
if (to != null) {
|
||||
str3 = a.v(str3, ", ", to);
|
||||
str3 = a.w(str3, ", ", to);
|
||||
}
|
||||
mailTo.mHeaders.put(TO, str3);
|
||||
return mailTo;
|
||||
|
|
|
@ -30,15 +30,15 @@ public final class UriCompat {
|
|||
}
|
||||
return sb.toString();
|
||||
} else if (scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase(Constants.SCHEME) || scheme.equalsIgnoreCase("ftp") || scheme.equalsIgnoreCase("rtsp")) {
|
||||
StringBuilder O = a.O("//");
|
||||
StringBuilder R = a.R("//");
|
||||
String str = "";
|
||||
O.append(uri.getHost() != null ? uri.getHost() : str);
|
||||
R.append(uri.getHost() != null ? uri.getHost() : str);
|
||||
if (uri.getPort() != -1) {
|
||||
StringBuilder O2 = a.O(":");
|
||||
O2.append(uri.getPort());
|
||||
str = O2.toString();
|
||||
StringBuilder R2 = a.R(":");
|
||||
R2.append(uri.getPort());
|
||||
str = R2.toString();
|
||||
}
|
||||
schemeSpecificPart = a.G(O, str, "/...");
|
||||
schemeSpecificPart = a.H(R, str, "/...");
|
||||
}
|
||||
}
|
||||
StringBuilder sb2 = new StringBuilder(64);
|
||||
|
|
|
@ -48,7 +48,7 @@ public final class LocaleListCompat {
|
|||
return new Locale(split2[0]);
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(a.v("Can not parse language tag: [", str, "]"));
|
||||
throw new IllegalArgumentException(a.w("Can not parse language tag: [", str, "]"));
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class LocaleListCompatWrapper implements LocaleListInterface {
|
|||
hashSet.add(locale2);
|
||||
}
|
||||
} else {
|
||||
throw new NullPointerException(a.n("list[", i, "] is null"));
|
||||
throw new NullPointerException(a.q("list[", i, "] is null"));
|
||||
}
|
||||
}
|
||||
this.mList = (Locale[]) arrayList.toArray(new Locale[arrayList.size()]);
|
||||
|
@ -229,19 +229,19 @@ public final class LocaleListCompatWrapper implements LocaleListInterface {
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder O = a.O("[");
|
||||
StringBuilder R = a.R("[");
|
||||
int i = 0;
|
||||
while (true) {
|
||||
Locale[] localeArr = this.mList;
|
||||
if (i < localeArr.length) {
|
||||
O.append(localeArr[i]);
|
||||
R.append(localeArr[i]);
|
||||
if (i < this.mList.length - 1) {
|
||||
O.append(',');
|
||||
R.append(',');
|
||||
}
|
||||
i++;
|
||||
} else {
|
||||
O.append("]");
|
||||
return O.toString();
|
||||
R.append("]");
|
||||
return R.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ public class FontProvider {
|
|||
String providerAuthority = fontRequest.getProviderAuthority();
|
||||
ProviderInfo resolveContentProvider = packageManager.resolveContentProvider(providerAuthority, 0);
|
||||
if (resolveContentProvider == null) {
|
||||
throw new PackageManager.NameNotFoundException(a.u("No package found for authority: ", providerAuthority));
|
||||
throw new PackageManager.NameNotFoundException(a.v("No package found for authority: ", providerAuthority));
|
||||
} else if (resolveContentProvider.packageName.equals(fontRequest.getProviderPackage())) {
|
||||
List<byte[]> convertToByteArrayList = convertToByteArrayList(packageManager.getPackageInfo(resolveContentProvider.packageName, 64).signatures);
|
||||
Collections.sort(convertToByteArrayList, sByteArrayComparator);
|
||||
|
@ -97,9 +97,9 @@ public class FontProvider {
|
|||
}
|
||||
return null;
|
||||
} else {
|
||||
StringBuilder U = a.U("Found content provider ", providerAuthority, ", but package was not ");
|
||||
U.append(fontRequest.getProviderPackage());
|
||||
throw new PackageManager.NameNotFoundException(U.toString());
|
||||
StringBuilder W = a.W("Found content provider ", providerAuthority, ", but package was not ");
|
||||
W.append(fontRequest.getProviderPackage());
|
||||
throw new PackageManager.NameNotFoundException(W.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -78,14 +78,14 @@ public final class FontRequest {
|
|||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
StringBuilder O = a.O("FontRequest {mProviderAuthority: ");
|
||||
O.append(this.mProviderAuthority);
|
||||
O.append(", mProviderPackage: ");
|
||||
O.append(this.mProviderPackage);
|
||||
O.append(", mQuery: ");
|
||||
O.append(this.mQuery);
|
||||
O.append(", mCertificates:");
|
||||
sb.append(O.toString());
|
||||
StringBuilder R = a.R("FontRequest {mProviderAuthority: ");
|
||||
R.append(this.mProviderAuthority);
|
||||
R.append(", mProviderPackage: ");
|
||||
R.append(this.mProviderPackage);
|
||||
R.append(", mQuery: ");
|
||||
R.append(this.mQuery);
|
||||
R.append(", mCertificates:");
|
||||
sb.append(R.toString());
|
||||
for (int i = 0; i < this.mCertificates.size(); i++) {
|
||||
sb.append(" [");
|
||||
List<byte[]> list = this.mCertificates.get(i);
|
||||
|
|
|
@ -172,36 +172,36 @@ public class PrecomputedTextCompat implements Spannable {
|
|||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("{");
|
||||
StringBuilder O = a.O("textSize=");
|
||||
O.append(this.mPaint.getTextSize());
|
||||
sb.append(O.toString());
|
||||
StringBuilder R = a.R("textSize=");
|
||||
R.append(this.mPaint.getTextSize());
|
||||
sb.append(R.toString());
|
||||
sb.append(", textScaleX=" + this.mPaint.getTextScaleX());
|
||||
sb.append(", textSkewX=" + this.mPaint.getTextSkewX());
|
||||
int i = Build.VERSION.SDK_INT;
|
||||
StringBuilder O2 = a.O(", letterSpacing=");
|
||||
O2.append(this.mPaint.getLetterSpacing());
|
||||
sb.append(O2.toString());
|
||||
StringBuilder R2 = a.R(", letterSpacing=");
|
||||
R2.append(this.mPaint.getLetterSpacing());
|
||||
sb.append(R2.toString());
|
||||
sb.append(", elegantTextHeight=" + this.mPaint.isElegantTextHeight());
|
||||
if (i >= 24) {
|
||||
StringBuilder O3 = a.O(", textLocale=");
|
||||
O3.append(this.mPaint.getTextLocales());
|
||||
sb.append(O3.toString());
|
||||
StringBuilder R3 = a.R(", textLocale=");
|
||||
R3.append(this.mPaint.getTextLocales());
|
||||
sb.append(R3.toString());
|
||||
} else {
|
||||
StringBuilder O4 = a.O(", textLocale=");
|
||||
O4.append(this.mPaint.getTextLocale());
|
||||
sb.append(O4.toString());
|
||||
StringBuilder R4 = a.R(", textLocale=");
|
||||
R4.append(this.mPaint.getTextLocale());
|
||||
sb.append(R4.toString());
|
||||
}
|
||||
StringBuilder O5 = a.O(", typeface=");
|
||||
O5.append(this.mPaint.getTypeface());
|
||||
sb.append(O5.toString());
|
||||
StringBuilder R5 = a.R(", typeface=");
|
||||
R5.append(this.mPaint.getTypeface());
|
||||
sb.append(R5.toString());
|
||||
if (i >= 26) {
|
||||
StringBuilder O6 = a.O(", variationSettings=");
|
||||
O6.append(this.mPaint.getFontVariationSettings());
|
||||
sb.append(O6.toString());
|
||||
StringBuilder R6 = a.R(", variationSettings=");
|
||||
R6.append(this.mPaint.getFontVariationSettings());
|
||||
sb.append(R6.toString());
|
||||
}
|
||||
StringBuilder O7 = a.O(", textDir=");
|
||||
O7.append(this.mTextDir);
|
||||
sb.append(O7.toString());
|
||||
StringBuilder R7 = a.R(", textDir=");
|
||||
R7.append(this.mTextDir);
|
||||
sb.append(R7.toString());
|
||||
sb.append(", breakStrategy=" + this.mBreakStrategy);
|
||||
sb.append(", hyphenationFrequency=" + this.mHyphenationFrequency);
|
||||
sb.append("}");
|
||||
|
|
|
@ -273,7 +273,7 @@ public final class LinkifyCompat {
|
|||
str = strArr[i] + str.substring(strArr[i].length());
|
||||
}
|
||||
}
|
||||
return (z2 || strArr.length <= 0) ? str : a.G(new StringBuilder(), strArr[0], str);
|
||||
return (z2 || strArr.length <= 0) ? str : a.H(new StringBuilder(), strArr[0], str);
|
||||
}
|
||||
|
||||
private static void pruneOverlaps(ArrayList<LinkSpec> arrayList, Spannable spannable) {
|
||||
|
|
|
@ -56,9 +56,9 @@ public class AtomicFile {
|
|||
Log.e(LOG_TAG, "Failed to close file output stream", e);
|
||||
}
|
||||
if (!this.mNewName.delete()) {
|
||||
StringBuilder O = a.O("Failed to delete new file ");
|
||||
O.append(this.mNewName);
|
||||
Log.e(LOG_TAG, O.toString());
|
||||
StringBuilder R = a.R("Failed to delete new file ");
|
||||
R.append(this.mNewName);
|
||||
Log.e(LOG_TAG, R.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,9 +88,9 @@ public class AtomicFile {
|
|||
rename(this.mLegacyBackupName, this.mBaseName);
|
||||
}
|
||||
if (this.mNewName.exists() && this.mBaseName.exists() && !this.mNewName.delete()) {
|
||||
StringBuilder O = a.O("Failed to delete outdated new file ");
|
||||
O.append(this.mNewName);
|
||||
Log.e(LOG_TAG, O.toString());
|
||||
StringBuilder R = a.R("Failed to delete outdated new file ");
|
||||
R.append(this.mNewName);
|
||||
Log.e(LOG_TAG, R.toString());
|
||||
}
|
||||
return new FileInputStream(this.mBaseName);
|
||||
}
|
||||
|
@ -131,14 +131,14 @@ public class AtomicFile {
|
|||
try {
|
||||
return new FileOutputStream(this.mNewName);
|
||||
} catch (FileNotFoundException e) {
|
||||
StringBuilder O = a.O("Failed to create new file ");
|
||||
O.append(this.mNewName);
|
||||
throw new IOException(O.toString(), e);
|
||||
StringBuilder R = a.R("Failed to create new file ");
|
||||
R.append(this.mNewName);
|
||||
throw new IOException(R.toString(), e);
|
||||
}
|
||||
} else {
|
||||
StringBuilder O2 = a.O("Failed to create directory for ");
|
||||
O2.append(this.mNewName);
|
||||
throw new IOException(O2.toString());
|
||||
StringBuilder R2 = a.R("Failed to create directory for ");
|
||||
R2.append(this.mNewName);
|
||||
throw new IOException(R2.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue