90.5 - Beta (90105)
This commit is contained in:
parent
bc9247eca1
commit
e8916313ca
|
@ -10,8 +10,8 @@ android {
|
||||||
applicationId 'com.discord'
|
applicationId 'com.discord'
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 89110
|
versionCode 90105
|
||||||
versionName "89.10 - Beta"
|
versionName "90.5 - Beta"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="89110" android:versionName="89.10 - 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="90105" android:versionName="90.5 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
|
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
|
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
|
||||||
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
|
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
|
||||||
<meta-data android:name="libdiscord_version" android:value="89.0.11-remove-gameaudio-param"/>
|
<meta-data android:name="libdiscord_version" android:value="89.0.11-remove-gameaudio-param"/>
|
||||||
<activity android:theme="@style/res_2131952265_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
<activity android:theme="@style/res_2131952266_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
||||||
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
|
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.service.chooser.ChooserTargetService"/>
|
<action android:name="android.service.chooser.ChooserTargetService"/>
|
||||||
|
|
|
@ -219,7 +219,7 @@ public final class MediaBrowserCompat {
|
||||||
extras.getInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 0);
|
extras.getInt(MediaBrowserProtocol.EXTRA_SERVICE_VERSION, 0);
|
||||||
IBinder binder = BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER);
|
IBinder binder = BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_MESSENGER_BINDER);
|
||||||
if (binder != null) {
|
if (binder != null) {
|
||||||
dVar.f = new h(binder, dVar.f11c);
|
dVar.f = new h(binder, dVar.f13c);
|
||||||
Messenger messenger = new Messenger(dVar.d);
|
Messenger messenger = new Messenger(dVar.d);
|
||||||
dVar.g = messenger;
|
dVar.g = messenger;
|
||||||
dVar.d.a(messenger);
|
dVar.d.a(messenger);
|
||||||
|
@ -302,7 +302,7 @@ public final class MediaBrowserCompat {
|
||||||
public final MediaBrowser b;
|
public final MediaBrowser b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final Bundle f11c;
|
public final Bundle f13c;
|
||||||
public final a d = new a(this);
|
public final a d = new a(this);
|
||||||
public final ArrayMap<String, i> e = new ArrayMap<>();
|
public final ArrayMap<String, i> e = new ArrayMap<>();
|
||||||
public h f;
|
public h f;
|
||||||
|
@ -312,7 +312,7 @@ public final class MediaBrowserCompat {
|
||||||
public d(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
public d(Context context, ComponentName componentName, b bVar, Bundle bundle) {
|
||||||
this.a = context;
|
this.a = context;
|
||||||
Bundle bundle2 = bundle != null ? new Bundle(bundle) : new Bundle();
|
Bundle bundle2 = bundle != null ? new Bundle(bundle) : new Bundle();
|
||||||
this.f11c = bundle2;
|
this.f13c = bundle2;
|
||||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1);
|
bundle2.putInt(MediaBrowserProtocol.EXTRA_CLIENT_VERSION, 1);
|
||||||
bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid());
|
bundle2.putInt(MediaBrowserProtocol.EXTRA_CALLING_PID, Process.myPid());
|
||||||
bVar.setInternalConnectionCallback(this);
|
bVar.setInternalConnectionCallback(this);
|
||||||
|
|
|
@ -35,12 +35,12 @@ public final class RatingCompat implements Parcelable {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = c.d.b.a.a.L("Rating:style=");
|
StringBuilder P = c.d.b.a.a.P("Rating:style=");
|
||||||
L.append(this.i);
|
P.append(this.i);
|
||||||
L.append(" rating=");
|
P.append(" rating=");
|
||||||
float f = this.j;
|
float f = this.j;
|
||||||
L.append(f < 0.0f ? "unrated" : String.valueOf(f));
|
P.append(f < 0.0f ? "unrated" : String.valueOf(f));
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.os.Parcelable
|
@Override // android.os.Parcelable
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
@GuardedBy("mLock")
|
@GuardedBy("mLock")
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final List<c> f12c = new ArrayList();
|
public final List<c> f14c = new ArrayList();
|
||||||
public HashMap<c, a> d = new HashMap<>();
|
public HashMap<c, a> d = new HashMap<>();
|
||||||
public final MediaSessionCompat.Token e;
|
public final MediaSessionCompat.Token e;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
@GuardedBy("mLock")
|
@GuardedBy("mLock")
|
||||||
public void a() {
|
public void a() {
|
||||||
if (this.e.b() != null) {
|
if (this.e.b() != null) {
|
||||||
for (c cVar : this.f12c) {
|
for (c cVar : this.f14c) {
|
||||||
a aVar = new a(cVar);
|
a aVar = new a(cVar);
|
||||||
this.d.put(cVar, aVar);
|
this.d.put(cVar, aVar);
|
||||||
cVar.a = aVar;
|
cVar.a = aVar;
|
||||||
|
@ -118,7 +118,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
Log.e("MediaControllerCompat", "Dead object in registerCallback.", e);
|
Log.e("MediaControllerCompat", "Dead object in registerCallback.", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.f12c.clear();
|
this.f14c.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,10 +59,10 @@ public class MediaSessionCompat {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = c.d.b.a.a.L("MediaSession.QueueItem {Description=");
|
StringBuilder P = c.d.b.a.a.P("MediaSession.QueueItem {Description=");
|
||||||
L.append(this.i);
|
P.append(this.i);
|
||||||
L.append(", Id=");
|
P.append(", Id=");
|
||||||
return c.d.b.a.a.y(L, this.j, " }");
|
return c.d.b.a.a.A(P, this.j, " }");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.os.Parcelable
|
@Override // android.os.Parcelable
|
||||||
|
|
|
@ -22,7 +22,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
public final long r;
|
public final long r;
|
||||||
|
|
||||||
/* renamed from: s reason: collision with root package name */
|
/* renamed from: s reason: collision with root package name */
|
||||||
public final Bundle f13s;
|
public final Bundle f15s;
|
||||||
|
|
||||||
public static final class CustomAction implements Parcelable {
|
public static final class CustomAction implements Parcelable {
|
||||||
public static final Parcelable.Creator<CustomAction> CREATOR = new a();
|
public static final Parcelable.Creator<CustomAction> CREATOR = new a();
|
||||||
|
@ -66,13 +66,13 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = c.d.b.a.a.L("Action:mName='");
|
StringBuilder P = c.d.b.a.a.P("Action:mName='");
|
||||||
L.append((Object) this.j);
|
P.append((Object) this.j);
|
||||||
L.append(", mIcon=");
|
P.append(", mIcon=");
|
||||||
L.append(this.k);
|
P.append(this.k);
|
||||||
L.append(", mExtras=");
|
P.append(", mExtras=");
|
||||||
L.append(this.l);
|
P.append(this.l);
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.os.Parcelable
|
@Override // android.os.Parcelable
|
||||||
|
@ -109,7 +109,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
this.p = j4;
|
this.p = j4;
|
||||||
this.q = new ArrayList(list);
|
this.q = new ArrayList(list);
|
||||||
this.r = j5;
|
this.r = j5;
|
||||||
this.f13s = bundle;
|
this.f15s = bundle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PlaybackStateCompat(Parcel parcel) {
|
public PlaybackStateCompat(Parcel parcel) {
|
||||||
|
@ -122,7 +122,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
this.o = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel);
|
this.o = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel);
|
||||||
this.q = parcel.createTypedArrayList(CustomAction.CREATOR);
|
this.q = parcel.createTypedArrayList(CustomAction.CREATOR);
|
||||||
this.r = parcel.readLong();
|
this.r = parcel.readLong();
|
||||||
this.f13s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
this.f15s = parcel.readBundle(MediaSessionCompat.class.getClassLoader());
|
||||||
this.n = parcel.readInt();
|
this.n = parcel.readInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
sb.append(", custom actions=");
|
sb.append(", custom actions=");
|
||||||
sb.append(this.q);
|
sb.append(this.q);
|
||||||
sb.append(", active item id=");
|
sb.append(", active item id=");
|
||||||
return c.d.b.a.a.y(sb, this.r, "}");
|
return c.d.b.a.a.A(sb, this.r, "}");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.os.Parcelable
|
@Override // android.os.Parcelable
|
||||||
|
@ -167,7 +167,7 @@ public final class PlaybackStateCompat implements Parcelable {
|
||||||
TextUtils.writeToParcel(this.o, parcel, i);
|
TextUtils.writeToParcel(this.o, parcel, i);
|
||||||
parcel.writeTypedList(this.q);
|
parcel.writeTypedList(this.q);
|
||||||
parcel.writeLong(this.r);
|
parcel.writeLong(this.r);
|
||||||
parcel.writeBundle(this.f13s);
|
parcel.writeBundle(this.f15s);
|
||||||
parcel.writeInt(this.n);
|
parcel.writeInt(this.n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -415,9 +415,9 @@ public class ComponentActivity extends androidx.core.app.ComponentActivity imple
|
||||||
@Override // androidx.activity.result.ActivityResultCaller
|
@Override // androidx.activity.result.ActivityResultCaller
|
||||||
@NonNull
|
@NonNull
|
||||||
public final <I, O> ActivityResultLauncher<I> registerForActivityResult(@NonNull ActivityResultContract<I, O> activityResultContract, @NonNull ActivityResultRegistry activityResultRegistry, @NonNull ActivityResultCallback<O> activityResultCallback) {
|
public final <I, O> ActivityResultLauncher<I> registerForActivityResult(@NonNull ActivityResultContract<I, O> activityResultContract, @NonNull ActivityResultRegistry activityResultRegistry, @NonNull ActivityResultCallback<O> activityResultCallback) {
|
||||||
StringBuilder L = a.L("activity_rq#");
|
StringBuilder P = a.P("activity_rq#");
|
||||||
L.append(this.mNextLocalRequestCode.getAndIncrement());
|
P.append(this.mNextLocalRequestCode.getAndIncrement());
|
||||||
return activityResultRegistry.register(L.toString(), this, activityResultContract, activityResultCallback);
|
return activityResultRegistry.register(P.toString(), this, activityResultContract, activityResultCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.activity.contextaware.ContextAware
|
@Override // androidx.activity.contextaware.ContextAware
|
||||||
|
|
|
@ -25,10 +25,10 @@ public final class ContextAwareKt$withContextAvailable$$inlined$suspendCancellab
|
||||||
CancellableContinuation cancellableContinuation = this.$co;
|
CancellableContinuation cancellableContinuation = this.$co;
|
||||||
try {
|
try {
|
||||||
k.a aVar = k.i;
|
k.a aVar = k.i;
|
||||||
obj = k.m75constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
obj = k.m76constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||||
} catch (Throwable th) {
|
} catch (Throwable th) {
|
||||||
k.a aVar2 = k.i;
|
k.a aVar2 = k.i;
|
||||||
obj = k.m75constructorimpl(l.createFailure(th));
|
obj = k.m76constructorimpl(l.createFailure(th));
|
||||||
}
|
}
|
||||||
cancellableContinuation.resumeWith(obj);
|
cancellableContinuation.resumeWith(obj);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package androidx.activity.contextaware;
|
package androidx.activity.contextaware;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import d0.w.g.b;
|
import d0.w.h.b;
|
||||||
import d0.w.g.c;
|
import d0.w.h.c;
|
||||||
import d0.w.h.a.g;
|
import d0.w.i.a.g;
|
||||||
import d0.z.d.l;
|
import d0.z.d.l;
|
||||||
import kotlin.coroutines.Continuation;
|
import kotlin.coroutines.Continuation;
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.jvm.functions.Function1;
|
||||||
|
|
|
@ -59,12 +59,12 @@ public final class ActivityResult implements Parcelable {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("ActivityResult{resultCode=");
|
StringBuilder P = a.P("ActivityResult{resultCode=");
|
||||||
L.append(resultCodeToString(this.mResultCode));
|
P.append(resultCodeToString(this.mResultCode));
|
||||||
L.append(", data=");
|
P.append(", data=");
|
||||||
L.append(this.mData);
|
P.append(this.mData);
|
||||||
L.append('}');
|
P.append('}');
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.os.Parcelable
|
@Override // android.os.Parcelable
|
||||||
|
|
|
@ -288,15 +288,15 @@ public abstract class ActivityResultRegistry {
|
||||||
}
|
}
|
||||||
this.mKeyToCallback.remove(str);
|
this.mKeyToCallback.remove(str);
|
||||||
if (this.mParsedPendingResults.containsKey(str)) {
|
if (this.mParsedPendingResults.containsKey(str)) {
|
||||||
StringBuilder Q = a.Q("Dropping pending result for request ", str, ": ");
|
StringBuilder V = a.V("Dropping pending result for request ", str, ": ");
|
||||||
Q.append(this.mParsedPendingResults.get(str));
|
V.append(this.mParsedPendingResults.get(str));
|
||||||
Log.w(LOG_TAG, Q.toString());
|
Log.w(LOG_TAG, V.toString());
|
||||||
this.mParsedPendingResults.remove(str);
|
this.mParsedPendingResults.remove(str);
|
||||||
}
|
}
|
||||||
if (this.mPendingResults.containsKey(str)) {
|
if (this.mPendingResults.containsKey(str)) {
|
||||||
StringBuilder Q2 = a.Q("Dropping pending result for request ", str, ": ");
|
StringBuilder V2 = a.V("Dropping pending result for request ", str, ": ");
|
||||||
Q2.append(this.mPendingResults.getParcelable(str));
|
V2.append(this.mPendingResults.getParcelable(str));
|
||||||
Log.w(LOG_TAG, Q2.toString());
|
Log.w(LOG_TAG, V2.toString());
|
||||||
this.mPendingResults.remove(str);
|
this.mPendingResults.remove(str);
|
||||||
}
|
}
|
||||||
LifecycleContainer lifecycleContainer = this.mKeyToLifecycleContainers.get(str);
|
LifecycleContainer lifecycleContainer = this.mKeyToLifecycleContainers.get(str);
|
||||||
|
|
|
@ -754,10 +754,10 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
||||||
public int windowAnimations;
|
public int windowAnimations;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public int f14x;
|
public int f16x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public int f15y;
|
public int f17y;
|
||||||
|
|
||||||
@SuppressLint({"BanParcelableUsage"})
|
@SuppressLint({"BanParcelableUsage"})
|
||||||
public static class SavedState implements Parcelable {
|
public static class SavedState implements Parcelable {
|
||||||
|
@ -1165,16 +1165,16 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
||||||
contentFrameLayout.setAttachListener(new AnonymousClass5());
|
contentFrameLayout.setAttachListener(new AnonymousClass5());
|
||||||
return viewGroup;
|
return viewGroup;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("AppCompat does not support the current theme features: { windowActionBar: ");
|
StringBuilder P = a.P("AppCompat does not support the current theme features: { windowActionBar: ");
|
||||||
L.append(this.mHasActionBar);
|
P.append(this.mHasActionBar);
|
||||||
L.append(", windowActionBarOverlay: ");
|
P.append(", windowActionBarOverlay: ");
|
||||||
L.append(this.mOverlayActionBar);
|
P.append(this.mOverlayActionBar);
|
||||||
L.append(", android:windowIsFloating: ");
|
P.append(", android:windowIsFloating: ");
|
||||||
L.append(this.mIsFloating);
|
P.append(this.mIsFloating);
|
||||||
L.append(", windowActionModeOverlay: ");
|
P.append(", windowActionModeOverlay: ");
|
||||||
L.append(this.mOverlayActionMode);
|
P.append(this.mOverlayActionMode);
|
||||||
L.append(", windowNoTitle: ");
|
P.append(", windowNoTitle: ");
|
||||||
throw new IllegalArgumentException(a.G(L, this.mWindowNoTitle, " }"));
|
throw new IllegalArgumentException(a.L(P, this.mWindowNoTitle, " }"));
|
||||||
}
|
}
|
||||||
obtainStyledAttributes.recycle();
|
obtainStyledAttributes.recycle();
|
||||||
throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity.");
|
throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity.");
|
||||||
|
@ -1555,7 +1555,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
||||||
if (!(view == null || (layoutParams = view.getLayoutParams()) == null || layoutParams.width != -1)) {
|
if (!(view == null || (layoutParams = view.getLayoutParams()) == null || layoutParams.width != -1)) {
|
||||||
i = -1;
|
i = -1;
|
||||||
panelFeatureState.isHandled = false;
|
panelFeatureState.isHandled = false;
|
||||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f14x, panelFeatureState.f15y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||||
layoutParams3.gravity = panelFeatureState.gravity;
|
layoutParams3.gravity = panelFeatureState.gravity;
|
||||||
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
||||||
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
||||||
|
@ -1565,7 +1565,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
||||||
}
|
}
|
||||||
i = -2;
|
i = -2;
|
||||||
panelFeatureState.isHandled = false;
|
panelFeatureState.isHandled = false;
|
||||||
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f14x, panelFeatureState.f15y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
WindowManager.LayoutParams layoutParams3 = new WindowManager.LayoutParams(i, -2, panelFeatureState.f16x, panelFeatureState.f17y, PointerIconCompat.TYPE_HAND, 8519680, -3);
|
||||||
layoutParams3.gravity = panelFeatureState.gravity;
|
layoutParams3.gravity = panelFeatureState.gravity;
|
||||||
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
layoutParams3.windowAnimations = panelFeatureState.windowAnimations;
|
||||||
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
windowManager.addView(panelFeatureState.decorView, layoutParams3);
|
||||||
|
|
|
@ -69,17 +69,17 @@ public class AppCompatViewInflater {
|
||||||
if (id2 == -1) {
|
if (id2 == -1) {
|
||||||
str = "";
|
str = "";
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = a.L(" with id '");
|
StringBuilder P = a.P(" with id '");
|
||||||
L.append(this.mHostView.getContext().getResources().getResourceEntryName(id2));
|
P.append(this.mHostView.getContext().getResources().getResourceEntryName(id2));
|
||||||
L.append("'");
|
P.append("'");
|
||||||
str = L.toString();
|
str = P.toString();
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L("Could not find method ");
|
StringBuilder P2 = a.P("Could not find method ");
|
||||||
L2.append(this.mMethodName);
|
P2.append(this.mMethodName);
|
||||||
L2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view ");
|
P2.append("(View) in a parent or ancestor Context for android:onClick attribute defined on view ");
|
||||||
L2.append(this.mHostView.getClass());
|
P2.append(this.mHostView.getClass());
|
||||||
L2.append(str);
|
P2.append(str);
|
||||||
throw new IllegalStateException(L2.toString());
|
throw new IllegalStateException(P2.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.view.View.OnClickListener
|
@Override // android.view.View.OnClickListener
|
||||||
|
|
|
@ -509,9 +509,9 @@ public class WindowDecorActionBar extends ActionBar implements ActionBarOverlayL
|
||||||
if (view instanceof Toolbar) {
|
if (view instanceof Toolbar) {
|
||||||
return ((Toolbar) view).getWrapper();
|
return ((Toolbar) view).getWrapper();
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Can't make a decor toolbar out of ");
|
StringBuilder P = a.P("Can't make a decor toolbar out of ");
|
||||||
L.append(view != null ? view.getClass().getSimpleName() : "null");
|
P.append(view != null ? view.getClass().getSimpleName() : "null");
|
||||||
throw new IllegalStateException(L.toString());
|
throw new IllegalStateException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideForActionMode() {
|
private void hideForActionMode() {
|
||||||
|
|
|
@ -57,9 +57,9 @@ public class SupportMenuInflater extends MenuInflater {
|
||||||
try {
|
try {
|
||||||
this.mMethod = cls.getMethod(str, PARAM_TYPES);
|
this.mMethod = cls.getMethod(str, PARAM_TYPES);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
StringBuilder Q = a.Q("Couldn't resolve menu item onClick handler ", str, " in class ");
|
StringBuilder V = a.V("Couldn't resolve menu item onClick handler ", str, " in class ");
|
||||||
Q.append(cls.getName());
|
V.append(cls.getName());
|
||||||
InflateException inflateException = new InflateException(Q.toString());
|
InflateException inflateException = new InflateException(V.toString());
|
||||||
inflateException.initCause(e);
|
inflateException.initCause(e);
|
||||||
throw inflateException;
|
throw inflateException;
|
||||||
}
|
}
|
||||||
|
@ -317,7 +317,7 @@ public class SupportMenuInflater extends MenuInflater {
|
||||||
if (name.equals(XML_MENU)) {
|
if (name.equals(XML_MENU)) {
|
||||||
eventType = xmlPullParser.next();
|
eventType = xmlPullParser.next();
|
||||||
} else {
|
} else {
|
||||||
throw new RuntimeException(a.s("Expecting menu, got ", name));
|
throw new RuntimeException(a.u("Expecting menu, got ", name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -219,9 +219,9 @@ public class ActionBarOverlayLayout extends ViewGroup implements DecorContentPar
|
||||||
if (view instanceof Toolbar) {
|
if (view instanceof Toolbar) {
|
||||||
return ((Toolbar) view).getWrapper();
|
return ((Toolbar) view).getWrapper();
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Can't make a decor toolbar out of ");
|
StringBuilder P = a.P("Can't make a decor toolbar out of ");
|
||||||
L.append(view.getClass().getSimpleName());
|
P.append(view.getClass().getSimpleName());
|
||||||
throw new IllegalStateException(L.toString());
|
throw new IllegalStateException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void init(Context context) {
|
private void init(Context context) {
|
||||||
|
|
|
@ -86,12 +86,12 @@ public class ActivityChooserModel extends DataSetObservable {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder P = a.P("[", "resolveInfo:");
|
StringBuilder U = a.U("[", "resolveInfo:");
|
||||||
P.append(this.resolveInfo.toString());
|
U.append(this.resolveInfo.toString());
|
||||||
P.append("; weight:");
|
U.append("; weight:");
|
||||||
P.append(new BigDecimal((double) this.weight));
|
U.append(new BigDecimal((double) this.weight));
|
||||||
P.append("]");
|
U.append("]");
|
||||||
return P.toString();
|
return U.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,14 +169,14 @@ public class ActivityChooserModel extends DataSetObservable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder P = a.P("[", "; activity:");
|
StringBuilder U = a.U("[", "; activity:");
|
||||||
P.append(this.activity);
|
U.append(this.activity);
|
||||||
P.append("; time:");
|
U.append("; time:");
|
||||||
P.append(this.time);
|
U.append(this.time);
|
||||||
P.append("; weight:");
|
U.append("; weight:");
|
||||||
P.append(new BigDecimal((double) this.weight));
|
U.append(new BigDecimal((double) this.weight));
|
||||||
P.append("]");
|
U.append("]");
|
||||||
return P.toString();
|
return U.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ public class ActivityChooserModel extends DataSetObservable {
|
||||||
if (TextUtils.isEmpty(str) || str.endsWith(HISTORY_FILE_EXTENSION)) {
|
if (TextUtils.isEmpty(str) || str.endsWith(HISTORY_FILE_EXTENSION)) {
|
||||||
this.mHistoryFileName = str;
|
this.mHistoryFileName = str;
|
||||||
} else {
|
} else {
|
||||||
this.mHistoryFileName = a.s(str, HISTORY_FILE_EXTENSION);
|
this.mHistoryFileName = a.u(str, HISTORY_FILE_EXTENSION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -471,9 +471,9 @@ public class AppCompatTextViewAutoSizeHelper {
|
||||||
}
|
}
|
||||||
this.mAutoSizeTextSizesInPx = cleanupAutoSizePresetSizes(iArr2);
|
this.mAutoSizeTextSizesInPx = cleanupAutoSizePresetSizes(iArr2);
|
||||||
if (!setupAutoSizeUniformPresetSizesConfiguration()) {
|
if (!setupAutoSizeUniformPresetSizesConfiguration()) {
|
||||||
StringBuilder L = a.L("None of the preset sizes is valid: ");
|
StringBuilder P = a.P("None of the preset sizes is valid: ");
|
||||||
L.append(Arrays.toString(iArr));
|
P.append(Arrays.toString(iArr));
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.mHasPresetAutoSizeValues = false;
|
this.mHasPresetAutoSizeValues = false;
|
||||||
|
@ -498,7 +498,7 @@ public class AppCompatTextViewAutoSizeHelper {
|
||||||
autoSizeText();
|
autoSizeText();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.j("Unknown auto-size text type: ", i));
|
throw new IllegalArgumentException(a.l("Unknown auto-size text type: ", i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1263,10 +1263,10 @@ public class LinearLayoutCompat extends ViewGroup {
|
||||||
|
|
||||||
public void setBaselineAlignedChildIndex(int i) {
|
public void setBaselineAlignedChildIndex(int i) {
|
||||||
if (i < 0 || i >= getChildCount()) {
|
if (i < 0 || i >= getChildCount()) {
|
||||||
StringBuilder L = a.L("base aligned child index out of range (0, ");
|
StringBuilder P = a.P("base aligned child index out of range (0, ");
|
||||||
L.append(getChildCount());
|
P.append(getChildCount());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
this.mBaselineAlignedChildIndex = i;
|
this.mBaselineAlignedChildIndex = i;
|
||||||
}
|
}
|
||||||
|
|
|
@ -312,9 +312,9 @@ public class ListPopupWindow implements ShowableListMenu {
|
||||||
linearLayout.addView(view);
|
linearLayout.addView(view);
|
||||||
linearLayout.addView(dropDownListView, layoutParams);
|
linearLayout.addView(dropDownListView, layoutParams);
|
||||||
} else if (i5 != 1) {
|
} else if (i5 != 1) {
|
||||||
StringBuilder L = a.L("Invalid hint position ");
|
StringBuilder P = a.P("Invalid hint position ");
|
||||||
L.append(this.mPromptPosition);
|
P.append(this.mPromptPosition);
|
||||||
Log.e(TAG, L.toString());
|
Log.e(TAG, P.toString());
|
||||||
} else {
|
} else {
|
||||||
linearLayout.addView(dropDownListView, layoutParams);
|
linearLayout.addView(dropDownListView, layoutParams);
|
||||||
linearLayout.addView(view);
|
linearLayout.addView(view);
|
||||||
|
|
|
@ -379,10 +379,10 @@ public class SearchView extends LinearLayoutCompat implements CollapsibleActionV
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("SearchView.SavedState{");
|
StringBuilder P = a.P("SearchView.SavedState{");
|
||||||
L.append(Integer.toHexString(System.identityHashCode(this)));
|
P.append(Integer.toHexString(System.identityHashCode(this)));
|
||||||
L.append(" isIconified=");
|
P.append(" isIconified=");
|
||||||
return a.G(L, this.isIconified, "}");
|
return a.L(P, this.isIconified, "}");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.customview.view.AbsSavedState, android.os.Parcelable
|
@Override // androidx.customview.view.AbsSavedState, android.os.Parcelable
|
||||||
|
|
|
@ -111,9 +111,9 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On
|
||||||
if (drawable != null) {
|
if (drawable != null) {
|
||||||
return drawable;
|
return drawable;
|
||||||
}
|
}
|
||||||
StringBuilder M = a.M("Invalid icon resource ", iconResource, " for ");
|
StringBuilder Q = a.Q("Invalid icon resource ", iconResource, " for ");
|
||||||
M.append(componentName.flattenToShortString());
|
Q.append(componentName.flattenToShortString());
|
||||||
Log.w(LOG_TAG, M.toString());
|
Log.w(LOG_TAG, Q.toString());
|
||||||
return null;
|
return null;
|
||||||
} catch (PackageManager.NameNotFoundException e) {
|
} catch (PackageManager.NameNotFoundException e) {
|
||||||
Log.w(LOG_TAG, e.toString());
|
Log.w(LOG_TAG, e.toString());
|
||||||
|
@ -206,7 +206,7 @@ public class SuggestionsAdapter extends ResourceCursorAdapter implements View.On
|
||||||
storeInIconCache(str, drawable2);
|
storeInIconCache(str, drawable2);
|
||||||
return drawable2;
|
return drawable2;
|
||||||
} catch (Resources.NotFoundException unused2) {
|
} catch (Resources.NotFoundException unused2) {
|
||||||
a.h0("Icon resource not found: ", str, LOG_TAG);
|
a.l0("Icon resource not found: ", str, LOG_TAG);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -593,7 +593,7 @@ public class ToolbarWidgetWrapper implements DecorToolbar {
|
||||||
layoutParams.gravity = BadgeDrawable.BOTTOM_START;
|
layoutParams.gravity = BadgeDrawable.BOTTOM_START;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.j("Invalid navigation mode ", i));
|
throw new IllegalArgumentException(a.l("Invalid navigation mode ", i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,15 +319,15 @@ public class SafeIterableMap<K, V> implements Iterable<Map.Entry<K, V>> {
|
||||||
|
|
||||||
@Override // java.lang.Object
|
@Override // java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("[");
|
StringBuilder P = a.P("[");
|
||||||
Iterator<Map.Entry<K, V>> it = iterator();
|
Iterator<Map.Entry<K, V>> it = iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
L.append(it.next().toString());
|
P.append(it.next().toString());
|
||||||
if (it.hasNext()) {
|
if (it.hasNext()) {
|
||||||
L.append(", ");
|
P.append(", ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
L.append("]");
|
P.append("]");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,9 +203,9 @@ public final class BrowserServiceFileProvider extends FileProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Uri generateUri(Context context, String str) {
|
private static Uri generateUri(Context context, String str) {
|
||||||
String t = a.t(FILE_SUB_DIR_NAME, str, FILE_EXTENSION);
|
String v = a.v(FILE_SUB_DIR_NAME, str, FILE_EXTENSION);
|
||||||
Uri.Builder scheme = new Uri.Builder().scheme(CONTENT_SCHEME);
|
Uri.Builder scheme = new Uri.Builder().scheme(CONTENT_SCHEME);
|
||||||
return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(t).build();
|
return scheme.authority(context.getPackageName() + AUTHORITY_SUFFIX).path(v).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void grantReadPermission(@NonNull Intent intent, @Nullable List<Uri> list, @NonNull Context context) {
|
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
|
@NonNull
|
||||||
@UiThread
|
@UiThread
|
||||||
public static ResolvableFuture<Uri> saveBitmap(@NonNull Context context, @NonNull Bitmap bitmap, @NonNull String str, int i) {
|
public static ResolvableFuture<Uri> saveBitmap(@NonNull Context context, @NonNull Bitmap bitmap, @NonNull String str, int i) {
|
||||||
StringBuilder P = a.P(str, "_");
|
StringBuilder U = a.U(str, "_");
|
||||||
P.append(Integer.toString(i));
|
U.append(Integer.toString(i));
|
||||||
String sb = P.toString();
|
String sb = U.toString();
|
||||||
Uri generateUri = generateUri(context, sb);
|
Uri generateUri = generateUri(context, sb);
|
||||||
ResolvableFuture<Uri> create = ResolvableFuture.create();
|
ResolvableFuture<Uri> create = ResolvableFuture.create();
|
||||||
new FileSaveTask(context, sb, bitmap, generateUri, create).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new String[0]);
|
new FileSaveTask(context, sb, bitmap, generateUri, create).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new String[0]);
|
||||||
|
|
|
@ -213,7 +213,7 @@ public final class CustomTabsIntent {
|
||||||
@NonNull
|
@NonNull
|
||||||
public Builder setColorSchemeParams(int i, @NonNull CustomTabColorSchemeParams customTabColorSchemeParams) {
|
public Builder setColorSchemeParams(int i, @NonNull CustomTabColorSchemeParams customTabColorSchemeParams) {
|
||||||
if (i < 0 || i > 2 || i == 0) {
|
if (i < 0 || i > 2 || i == 0) {
|
||||||
throw new IllegalArgumentException(a.j("Invalid colorScheme: ", i));
|
throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i));
|
||||||
}
|
}
|
||||||
if (this.mColorSchemeParamBundles == null) {
|
if (this.mColorSchemeParamBundles == null) {
|
||||||
this.mColorSchemeParamBundles = new SparseArray<>();
|
this.mColorSchemeParamBundles = new SparseArray<>();
|
||||||
|
@ -355,7 +355,7 @@ public final class CustomTabsIntent {
|
||||||
public static CustomTabColorSchemeParams getColorSchemeParams(@NonNull Intent intent, int i) {
|
public static CustomTabColorSchemeParams getColorSchemeParams(@NonNull Intent intent, int i) {
|
||||||
Bundle bundle;
|
Bundle bundle;
|
||||||
if (i < 0 || i > 2 || i == 0) {
|
if (i < 0 || i > 2 || i == 0) {
|
||||||
throw new IllegalArgumentException(a.j("Invalid colorScheme: ", i));
|
throw new IllegalArgumentException(a.l("Invalid colorScheme: ", i));
|
||||||
}
|
}
|
||||||
Bundle extras = intent.getExtras();
|
Bundle extras = intent.getExtras();
|
||||||
if (extras == null) {
|
if (extras == null) {
|
||||||
|
|
|
@ -66,9 +66,9 @@ public class ConnectionHolder implements ServiceConnection {
|
||||||
} else {
|
} else {
|
||||||
throw this.mCancellationException;
|
throw this.mCancellationException;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("ConnectionHolder, state = ");
|
StringBuilder P = a.P("ConnectionHolder, state = ");
|
||||||
L.append(this.mState);
|
P.append(this.mState);
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainThread
|
@MainThread
|
||||||
|
|
|
@ -154,7 +154,7 @@ public final class TrustedWebActivityServiceConnection {
|
||||||
|
|
||||||
public static void ensureBundleContains(Bundle bundle, String str) {
|
public static void ensureBundleContains(Bundle bundle, String str) {
|
||||||
if (!bundle.containsKey(str)) {
|
if (!bundle.containsKey(str)) {
|
||||||
throw new IllegalArgumentException(c.d.b.a.a.s("Bundle must contain ", str));
|
throw new IllegalArgumentException(c.d.b.a.a.u("Bundle must contain ", str));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,16 +99,16 @@ public final class TrustedWebActivityServiceConnectionPool {
|
||||||
ResolveInfo resolveService = context.getPackageManager().resolveService(intent2, 131072);
|
ResolveInfo resolveService = context.getPackageManager().resolveService(intent2, 131072);
|
||||||
if (resolveService == null) {
|
if (resolveService == null) {
|
||||||
if (z2) {
|
if (z2) {
|
||||||
a.h0("Could not find TWAService for ", str, TAG);
|
a.l0("Could not find TWAService for ", str, TAG);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (z2) {
|
if (z2) {
|
||||||
StringBuilder L = a.L("Found ");
|
StringBuilder P = a.P("Found ");
|
||||||
L.append(resolveService.serviceInfo.name);
|
P.append(resolveService.serviceInfo.name);
|
||||||
L.append(" to handle request for ");
|
P.append(" to handle request for ");
|
||||||
L.append(uri);
|
P.append(uri);
|
||||||
Log.i(TAG, L.toString());
|
Log.i(TAG, P.toString());
|
||||||
}
|
}
|
||||||
Intent intent3 = new Intent();
|
Intent intent3 = new Intent();
|
||||||
intent3.setComponent(new ComponentName(str, resolveService.serviceInfo.name));
|
intent3.setComponent(new ComponentName(str, resolveService.serviceInfo.name));
|
||||||
|
|
|
@ -595,32 +595,32 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
||||||
String timeUnit2 = timeUnit.toString();
|
String timeUnit2 = timeUnit.toString();
|
||||||
Locale locale = Locale.ROOT;
|
Locale locale = Locale.ROOT;
|
||||||
String lowerCase = timeUnit2.toLowerCase(locale);
|
String lowerCase = timeUnit2.toLowerCase(locale);
|
||||||
StringBuilder O = c.d.b.a.a.O("Waited ", j, " ");
|
StringBuilder S = c.d.b.a.a.S("Waited ", j, " ");
|
||||||
O.append(timeUnit.toString().toLowerCase(locale));
|
S.append(timeUnit.toString().toLowerCase(locale));
|
||||||
String sb = O.toString();
|
String sb = S.toString();
|
||||||
if (nanos + 1000 < 0) {
|
if (nanos + 1000 < 0) {
|
||||||
String s2 = c.d.b.a.a.s(sb, " (plus ");
|
String u = c.d.b.a.a.u(sb, " (plus ");
|
||||||
long j2 = -nanos;
|
long j2 = -nanos;
|
||||||
long convert = timeUnit.convert(j2, TimeUnit.NANOSECONDS);
|
long convert = timeUnit.convert(j2, TimeUnit.NANOSECONDS);
|
||||||
long nanos2 = j2 - timeUnit.toNanos(convert);
|
long nanos2 = j2 - timeUnit.toNanos(convert);
|
||||||
int i = (convert > 0 ? 1 : (convert == 0 ? 0 : -1));
|
int i = (convert > 0 ? 1 : (convert == 0 ? 0 : -1));
|
||||||
boolean z2 = i == 0 || nanos2 > 1000;
|
boolean z2 = i == 0 || nanos2 > 1000;
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
String str = s2 + convert + " " + lowerCase;
|
String str = u + convert + " " + lowerCase;
|
||||||
if (z2) {
|
if (z2) {
|
||||||
str = c.d.b.a.a.s(str, ",");
|
str = c.d.b.a.a.u(str, ",");
|
||||||
}
|
}
|
||||||
s2 = c.d.b.a.a.s(str, " ");
|
u = c.d.b.a.a.u(str, " ");
|
||||||
}
|
}
|
||||||
if (z2) {
|
if (z2) {
|
||||||
s2 = c.d.b.a.a.p(s2, nanos2, " nanoseconds ");
|
u = c.d.b.a.a.r(u, nanos2, " nanoseconds ");
|
||||||
}
|
}
|
||||||
sb = c.d.b.a.a.s(s2, "delay)");
|
sb = c.d.b.a.a.u(u, "delay)");
|
||||||
}
|
}
|
||||||
if (isDone()) {
|
if (isDone()) {
|
||||||
throw new TimeoutException(c.d.b.a.a.s(sb, " but future completed as timeout expired"));
|
throw new TimeoutException(c.d.b.a.a.u(sb, " but future completed as timeout expired"));
|
||||||
}
|
}
|
||||||
throw new TimeoutException(c.d.b.a.a.t(sb, " for ", abstractResolvableFuture));
|
throw new TimeoutException(c.d.b.a.a.v(sb, " for ", abstractResolvableFuture));
|
||||||
}
|
}
|
||||||
throw new InterruptedException();
|
throw new InterruptedException();
|
||||||
}
|
}
|
||||||
|
@ -649,15 +649,15 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
||||||
public String pendingToString() {
|
public String pendingToString() {
|
||||||
Object obj = this.value;
|
Object obj = this.value;
|
||||||
if (obj instanceof SetFuture) {
|
if (obj instanceof SetFuture) {
|
||||||
return c.d.b.a.a.D(c.d.b.a.a.L("setFuture=["), userObjectToString(((SetFuture) obj).future), "]");
|
return c.d.b.a.a.H(c.d.b.a.a.P("setFuture=["), userObjectToString(((SetFuture) obj).future), "]");
|
||||||
}
|
}
|
||||||
if (!(this instanceof ScheduledFuture)) {
|
if (!(this instanceof ScheduledFuture)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
StringBuilder L = c.d.b.a.a.L("remaining delay=[");
|
StringBuilder P = c.d.b.a.a.P("remaining delay=[");
|
||||||
L.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS));
|
P.append(((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS));
|
||||||
L.append(" ms]");
|
P.append(" ms]");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean set(@Nullable V v) {
|
public boolean set(@Nullable V v) {
|
||||||
|
@ -725,9 +725,9 @@ public abstract class AbstractResolvableFuture<V> implements a<V> {
|
||||||
try {
|
try {
|
||||||
str = pendingToString();
|
str = pendingToString();
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
StringBuilder L = c.d.b.a.a.L("Exception thrown from implementation: ");
|
StringBuilder P = c.d.b.a.a.P("Exception thrown from implementation: ");
|
||||||
L.append(e.getClass());
|
P.append(e.getClass());
|
||||||
str = L.toString();
|
str = P.toString();
|
||||||
}
|
}
|
||||||
if (str != null && !str.isEmpty()) {
|
if (str != null && !str.isEmpty()) {
|
||||||
sb.append("PENDING, info=[");
|
sb.append("PENDING, info=[");
|
||||||
|
|
|
@ -33,9 +33,9 @@ public final class CallbackToFutureAdapter {
|
||||||
ResolvableFuture<Void> resolvableFuture;
|
ResolvableFuture<Void> resolvableFuture;
|
||||||
SafeFuture<T> safeFuture = this.future;
|
SafeFuture<T> safeFuture = this.future;
|
||||||
if (safeFuture != null && !safeFuture.isDone()) {
|
if (safeFuture != null && !safeFuture.isDone()) {
|
||||||
StringBuilder L = a.L("The completer object was garbage collected - this future would otherwise never complete. The tag was: ");
|
StringBuilder P = a.P("The completer object was garbage collected - this future would otherwise never complete. The tag was: ");
|
||||||
L.append(this.tag);
|
P.append(this.tag);
|
||||||
safeFuture.setException(new FutureGarbageCollectedException(L.toString()));
|
safeFuture.setException(new FutureGarbageCollectedException(P.toString()));
|
||||||
}
|
}
|
||||||
if (!this.attemptedSetting && (resolvableFuture = this.cancellationFuture) != null) {
|
if (!this.attemptedSetting && (resolvableFuture = this.cancellationFuture) != null) {
|
||||||
resolvableFuture.set(null);
|
resolvableFuture.set(null);
|
||||||
|
@ -119,10 +119,10 @@ public final class CallbackToFutureAdapter {
|
||||||
if (completer == null) {
|
if (completer == null) {
|
||||||
return "Completer object has been garbage collected, future will fail soon";
|
return "Completer object has been garbage collected, future will fail soon";
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("tag=[");
|
StringBuilder P = a.P("tag=[");
|
||||||
L.append(completer.tag);
|
P.append(completer.tag);
|
||||||
L.append("]");
|
P.append("]");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -168,9 +168,9 @@ public class Easing {
|
||||||
case 3:
|
case 3:
|
||||||
return new CubicEasing(STANDARD);
|
return new CubicEasing(STANDARD);
|
||||||
default:
|
default:
|
||||||
StringBuilder L = a.L("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or ");
|
StringBuilder P = a.P("transitionEasing syntax error syntax:transitionEasing=\"cubic(1.0,0.5,0.0,0.6)\" or ");
|
||||||
L.append(Arrays.toString(NAMED_EASING));
|
P.append(Arrays.toString(NAMED_EASING));
|
||||||
Log.e("ConstraintSet", L.toString());
|
Log.e("ConstraintSet", P.toString());
|
||||||
return sDefault;
|
return sDefault;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,10 +175,10 @@ public class Oscillator {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("pos =");
|
StringBuilder P = a.P("pos =");
|
||||||
L.append(Arrays.toString(this.mPosition));
|
P.append(Arrays.toString(this.mPosition));
|
||||||
L.append(" period=");
|
P.append(" period=");
|
||||||
L.append(Arrays.toString(this.mPeriod));
|
P.append(Arrays.toString(this.mPeriod));
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,9 +156,9 @@ public class StopLogic extends MotionInterpolator {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void debug(String str, String str2, float f) {
|
public void debug(String str, String str2, float f) {
|
||||||
StringBuilder P = a.P(str2, " ===== ");
|
StringBuilder U = a.U(str2, " ===== ");
|
||||||
P.append(this.mType);
|
U.append(this.mType);
|
||||||
Log.v(str, P.toString());
|
Log.v(str, U.toString());
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(str2);
|
sb.append(str2);
|
||||||
sb.append(this.mBackwards ? "backwards" : "forward ");
|
sb.append(this.mBackwards ? "backwards" : "forward ");
|
||||||
|
@ -169,22 +169,22 @@ public class StopLogic extends MotionInterpolator {
|
||||||
Log.v(str, sb.toString());
|
Log.v(str, sb.toString());
|
||||||
Log.v(str, str2 + " dur " + this.mStage1Duration + " vel " + this.mStage1Velocity + " pos " + this.mStage1EndPosition);
|
Log.v(str, str2 + " dur " + this.mStage1Duration + " vel " + this.mStage1Velocity + " pos " + this.mStage1EndPosition);
|
||||||
if (this.mNumberOfStages > 1) {
|
if (this.mNumberOfStages > 1) {
|
||||||
StringBuilder P2 = a.P(str2, " dur ");
|
StringBuilder U2 = a.U(str2, " dur ");
|
||||||
P2.append(this.mStage2Duration);
|
U2.append(this.mStage2Duration);
|
||||||
P2.append(" vel ");
|
U2.append(" vel ");
|
||||||
P2.append(this.mStage2Velocity);
|
U2.append(this.mStage2Velocity);
|
||||||
P2.append(" pos ");
|
U2.append(" pos ");
|
||||||
P2.append(this.mStage2EndPosition);
|
U2.append(this.mStage2EndPosition);
|
||||||
Log.v(str, P2.toString());
|
Log.v(str, U2.toString());
|
||||||
}
|
}
|
||||||
if (this.mNumberOfStages > 2) {
|
if (this.mNumberOfStages > 2) {
|
||||||
StringBuilder P3 = a.P(str2, " dur ");
|
StringBuilder U3 = a.U(str2, " dur ");
|
||||||
P3.append(this.mStage3Duration);
|
U3.append(this.mStage3Duration);
|
||||||
P3.append(" vel ");
|
U3.append(" vel ");
|
||||||
P3.append(this.mStage3Velocity);
|
U3.append(this.mStage3Velocity);
|
||||||
P3.append(" pos ");
|
U3.append(" pos ");
|
||||||
P3.append(this.mStage3EndPosition);
|
U3.append(this.mStage3EndPosition);
|
||||||
Log.v(str, P3.toString());
|
Log.v(str, U3.toString());
|
||||||
}
|
}
|
||||||
float f2 = this.mStage1Duration;
|
float f2 = this.mStage1Duration;
|
||||||
if (f <= f2) {
|
if (f <= f2) {
|
||||||
|
|
|
@ -13,18 +13,18 @@ import java.lang.reflect.Modifier;
|
||||||
public class Debug {
|
public class Debug {
|
||||||
public static void dumpLayoutParams(ViewGroup.LayoutParams layoutParams, String str) {
|
public static void dumpLayoutParams(ViewGroup.LayoutParams layoutParams, String str) {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(") ");
|
P.append(") ");
|
||||||
L.append(str);
|
P.append(str);
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
StringBuilder Q = a.Q(" >>>>>>>>>>>>>>>>>>. dump ", sb, " ");
|
StringBuilder V = a.V(" >>>>>>>>>>>>>>>>>>. dump ", sb, " ");
|
||||||
Q.append(layoutParams.getClass().getName());
|
V.append(layoutParams.getClass().getName());
|
||||||
printStream.println(Q.toString());
|
printStream.println(V.toString());
|
||||||
Field[] fields = layoutParams.getClass().getFields();
|
Field[] fields = layoutParams.getClass().getFields();
|
||||||
for (Field field : fields) {
|
for (Field field : fields) {
|
||||||
try {
|
try {
|
||||||
|
@ -43,22 +43,22 @@ public class Debug {
|
||||||
|
|
||||||
public static void dumpLayoutParams(ViewGroup viewGroup, String str) {
|
public static void dumpLayoutParams(ViewGroup viewGroup, String str) {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(") ");
|
P.append(") ");
|
||||||
L.append(str);
|
P.append(str);
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
int childCount = viewGroup.getChildCount();
|
int childCount = viewGroup.getChildCount();
|
||||||
System.out.println(str + " children " + childCount);
|
System.out.println(str + " children " + childCount);
|
||||||
for (int i = 0; i < childCount; i++) {
|
for (int i = 0; i < childCount; i++) {
|
||||||
View childAt = viewGroup.getChildAt(i);
|
View childAt = viewGroup.getChildAt(i);
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
StringBuilder P = a.P(sb, " ");
|
StringBuilder U = a.U(sb, " ");
|
||||||
P.append(getName(childAt));
|
U.append(getName(childAt));
|
||||||
printStream.println(P.toString());
|
printStream.println(U.toString());
|
||||||
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
||||||
Field[] fields = layoutParams.getClass().getFields();
|
Field[] fields = layoutParams.getClass().getFields();
|
||||||
for (Field field : fields) {
|
for (Field field : fields) {
|
||||||
|
@ -77,18 +77,18 @@ public class Debug {
|
||||||
|
|
||||||
public static void dumpPoc(Object obj) {
|
public static void dumpPoc(Object obj) {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
Class<?> cls = obj.getClass();
|
Class<?> cls = obj.getClass();
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
StringBuilder P = a.P(sb, "------------- ");
|
StringBuilder U = a.U(sb, "------------- ");
|
||||||
P.append(cls.getName());
|
U.append(cls.getName());
|
||||||
P.append(" --------------------");
|
U.append(" --------------------");
|
||||||
printStream.println(P.toString());
|
printStream.println(U.toString());
|
||||||
Field[] fields = cls.getFields();
|
Field[] fields = cls.getFields();
|
||||||
for (Field field : fields) {
|
for (Field field : fields) {
|
||||||
try {
|
try {
|
||||||
|
@ -108,10 +108,10 @@ public class Debug {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PrintStream printStream2 = System.out;
|
PrintStream printStream2 = System.out;
|
||||||
StringBuilder P2 = a.P(sb, "------------- ");
|
StringBuilder U2 = a.U(sb, "------------- ");
|
||||||
P2.append(cls.getSimpleName());
|
U2.append(cls.getSimpleName());
|
||||||
P2.append(" --------------------");
|
U2.append(" --------------------");
|
||||||
printStream2.println(P2.toString());
|
printStream2.println(U2.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getActionType(MotionEvent motionEvent) {
|
public static String getActionType(MotionEvent motionEvent) {
|
||||||
|
@ -130,44 +130,44 @@ public class Debug {
|
||||||
|
|
||||||
public static String getCallFrom(int i) {
|
public static String getCallFrom(int i) {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[i + 2];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[i + 2];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLoc() {
|
public static String getLoc() {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(") ");
|
P.append(") ");
|
||||||
L.append(stackTraceElement.getMethodName());
|
P.append(stackTraceElement.getMethodName());
|
||||||
L.append("()");
|
P.append("()");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLocation() {
|
public static String getLocation() {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[1];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLocation2() {
|
public static String getLocation2() {
|
||||||
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[2];
|
StackTraceElement stackTraceElement = new Throwable().getStackTrace()[2];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTraceElement.getFileName());
|
P.append(stackTraceElement.getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTraceElement.getLineNumber());
|
P.append(stackTraceElement.getLineNumber());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getName(Context context, int i) {
|
public static String getName(Context context, int i) {
|
||||||
|
@ -177,7 +177,7 @@ public class Debug {
|
||||||
try {
|
try {
|
||||||
return context.getResources().getResourceEntryName(i);
|
return context.getResources().getResourceEntryName(i);
|
||||||
} catch (Exception unused) {
|
} catch (Exception unused) {
|
||||||
return a.j("?", i);
|
return a.l("?", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -224,14 +224,14 @@ public class Debug {
|
||||||
String str3 = " ";
|
String str3 = " ";
|
||||||
for (int i2 = 1; i2 <= min; i2++) {
|
for (int i2 = 1; i2 <= min; i2++) {
|
||||||
StackTraceElement stackTraceElement = stackTrace[i2];
|
StackTraceElement stackTraceElement = stackTrace[i2];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTrace[i2].getFileName());
|
P.append(stackTrace[i2].getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTrace[i2].getLineNumber());
|
P.append(stackTrace[i2].getLineNumber());
|
||||||
L.append(") ");
|
P.append(") ");
|
||||||
L.append(stackTrace[i2].getMethodName());
|
P.append(stackTrace[i2].getMethodName());
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
str3 = a.s(str3, " ");
|
str3 = a.u(str3, " ");
|
||||||
Log.v(str, str2 + str3 + sb + str3);
|
Log.v(str, str2 + str3 + sb + str3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -242,13 +242,13 @@ public class Debug {
|
||||||
String str2 = " ";
|
String str2 = " ";
|
||||||
for (int i2 = 1; i2 <= min; i2++) {
|
for (int i2 = 1; i2 <= min; i2++) {
|
||||||
StackTraceElement stackTraceElement = stackTrace[i2];
|
StackTraceElement stackTraceElement = stackTrace[i2];
|
||||||
StringBuilder L = a.L(".(");
|
StringBuilder P = a.P(".(");
|
||||||
L.append(stackTrace[i2].getFileName());
|
P.append(stackTrace[i2].getFileName());
|
||||||
L.append(":");
|
P.append(":");
|
||||||
L.append(stackTrace[i2].getLineNumber());
|
P.append(stackTrace[i2].getLineNumber());
|
||||||
L.append(") ");
|
P.append(") ");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
str2 = a.s(str2, " ");
|
str2 = a.u(str2, " ");
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
printStream.println(str + str2 + sb + str2);
|
printStream.println(str + str2 + sb + str2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,11 +95,11 @@ public class KeyAttributes extends Key {
|
||||||
case 3:
|
case 3:
|
||||||
case 11:
|
case 11:
|
||||||
default:
|
default:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mAttrMap.get(index));
|
P.append(mAttrMap.get(index));
|
||||||
Log.e("KeyAttribute", L.toString());
|
Log.e("KeyAttribute", P.toString());
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
KeyAttributes.access$202(keyAttributes, typedArray.getFloat(index, KeyAttributes.access$200(keyAttributes)));
|
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) {
|
if (this.mCustomConstraints.size() > 0) {
|
||||||
for (String str : this.mCustomConstraints.keySet()) {
|
for (String str : this.mCustomConstraints.keySet()) {
|
||||||
hashMap.put(a.s("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
hashMap.put(a.u("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)));
|
KeyCycle.access$1802(keyCycle, typedArray.getFloat(index, KeyCycle.access$1800(keyCycle)));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mAttrMap.get(index));
|
P.append(mAttrMap.get(index));
|
||||||
Log.e("KeyCycle", L.toString());
|
Log.e("KeyCycle", P.toString());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -368,10 +368,10 @@ public class KeyCycle extends Key {
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.motion.widget.Key
|
@Override // androidx.constraintlayout.motion.widget.Key
|
||||||
public void addValues(HashMap<String, SplineSet> hashMap) {
|
public void addValues(HashMap<String, SplineSet> hashMap) {
|
||||||
StringBuilder L = a.L("add ");
|
StringBuilder P = a.P("add ");
|
||||||
L.append(hashMap.size());
|
P.append(hashMap.size());
|
||||||
L.append(" values");
|
P.append(" values");
|
||||||
Debug.logStack("KeyCycle", L.toString(), 2);
|
Debug.logStack("KeyCycle", P.toString(), 2);
|
||||||
for (String str : hashMap.keySet()) {
|
for (String str : hashMap.keySet()) {
|
||||||
SplineSet splineSet = hashMap.get(str);
|
SplineSet splineSet = hashMap.get(str);
|
||||||
str.hashCode();
|
str.hashCode();
|
||||||
|
|
|
@ -88,9 +88,9 @@ public abstract class KeyCycleOscillator {
|
||||||
if (constraintAttribute.getType() == attributeType) {
|
if (constraintAttribute.getType() == attributeType) {
|
||||||
return constraintAttribute;
|
return constraintAttribute;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("ConstraintAttribute is already a ");
|
StringBuilder P = a.P("ConstraintAttribute is already a ");
|
||||||
L.append(constraintAttribute.getType().name());
|
P.append(constraintAttribute.getType().name());
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType);
|
ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType);
|
||||||
this.mCustomConstraints.put(str, constraintAttribute2);
|
this.mCustomConstraints.put(str, constraintAttribute2);
|
||||||
|
@ -593,12 +593,12 @@ public abstract class KeyCycleOscillator {
|
||||||
Iterator<WavePoint> it = this.mWavePoints.iterator();
|
Iterator<WavePoint> it = this.mWavePoints.iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
WavePoint next = it.next();
|
WavePoint next = it.next();
|
||||||
StringBuilder P = a.P(str, "[");
|
StringBuilder U = a.U(str, "[");
|
||||||
P.append(next.mPosition);
|
U.append(next.mPosition);
|
||||||
P.append(" , ");
|
U.append(" , ");
|
||||||
P.append(decimalFormat.format((double) next.mValue));
|
U.append(decimalFormat.format((double) next.mValue));
|
||||||
P.append("] ");
|
U.append("] ");
|
||||||
str = P.toString();
|
str = U.toString();
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,11 +138,11 @@ public class KeyPosition extends KeyPositionBase {
|
||||||
keyPosition.mPercentHeight = typedArray.getFloat(index, keyPosition.mPercentHeight);
|
keyPosition.mPercentHeight = typedArray.getFloat(index, keyPosition.mPercentHeight);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mAttrMap.get(index));
|
P.append(mAttrMap.get(index));
|
||||||
Log.e("KeyPosition", L.toString());
|
Log.e("KeyPosition", P.toString());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,11 +97,11 @@ public class KeyTimeCycle extends Key {
|
||||||
case 3:
|
case 3:
|
||||||
case 11:
|
case 11:
|
||||||
default:
|
default:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mAttrMap.get(index));
|
P.append(mAttrMap.get(index));
|
||||||
Log.e("KeyTimeCycle", L.toString());
|
Log.e("KeyTimeCycle", P.toString());
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
KeyTimeCycle.access$202(keyTimeCycle, typedArray.getFloat(index, KeyTimeCycle.access$200(keyTimeCycle)));
|
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) {
|
if (this.mCustomConstraints.size() > 0) {
|
||||||
for (String str : this.mCustomConstraints.keySet()) {
|
for (String str : this.mCustomConstraints.keySet()) {
|
||||||
hashMap.put(a.s("CUSTOM,", str), Integer.valueOf(this.mCurveFit));
|
hashMap.put(a.u("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)));
|
KeyTrigger.access$702(keyTrigger, typedArray.getResourceId(index, KeyTrigger.access$700(keyTrigger)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mAttrMap.get(index));
|
P.append(mAttrMap.get(index));
|
||||||
Log.e("KeyTrigger", L.toString());
|
Log.e("KeyTrigger", P.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -266,13 +266,13 @@ public class KeyTrigger extends Key {
|
||||||
try {
|
try {
|
||||||
this.mFireNegativeCross = view.getClass().getMethod(this.mNegativeCross, new Class[0]);
|
this.mFireNegativeCross = view.getClass().getMethod(this.mNegativeCross, new Class[0]);
|
||||||
} catch (NoSuchMethodException unused) {
|
} catch (NoSuchMethodException unused) {
|
||||||
StringBuilder L = a.L("Could not find method \"");
|
StringBuilder P = a.P("Could not find method \"");
|
||||||
L.append(this.mNegativeCross);
|
P.append(this.mNegativeCross);
|
||||||
L.append("\"on class ");
|
P.append("\"on class ");
|
||||||
L.append(view.getClass().getSimpleName());
|
P.append(view.getClass().getSimpleName());
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(Debug.getName(view));
|
P.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L.toString());
|
Log.e("KeyTrigger", P.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.mFireNegativeCross.invoke(view, new Object[0]);
|
this.mFireNegativeCross.invoke(view, new Object[0]);
|
||||||
|
@ -282,13 +282,13 @@ public class KeyTrigger extends Key {
|
||||||
try {
|
try {
|
||||||
this.mFirePositiveCross = view.getClass().getMethod(this.mPositiveCross, new Class[0]);
|
this.mFirePositiveCross = view.getClass().getMethod(this.mPositiveCross, new Class[0]);
|
||||||
} catch (NoSuchMethodException unused2) {
|
} catch (NoSuchMethodException unused2) {
|
||||||
StringBuilder L2 = a.L("Could not find method \"");
|
StringBuilder P2 = a.P("Could not find method \"");
|
||||||
L2.append(this.mPositiveCross);
|
P2.append(this.mPositiveCross);
|
||||||
L2.append("\"on class ");
|
P2.append("\"on class ");
|
||||||
L2.append(view.getClass().getSimpleName());
|
P2.append(view.getClass().getSimpleName());
|
||||||
L2.append(" ");
|
P2.append(" ");
|
||||||
L2.append(Debug.getName(view));
|
P2.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L2.toString());
|
Log.e("KeyTrigger", P2.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.mFirePositiveCross.invoke(view, new Object[0]);
|
this.mFirePositiveCross.invoke(view, new Object[0]);
|
||||||
|
@ -298,26 +298,26 @@ public class KeyTrigger extends Key {
|
||||||
try {
|
try {
|
||||||
this.mFireCross = view.getClass().getMethod(this.mCross, new Class[0]);
|
this.mFireCross = view.getClass().getMethod(this.mCross, new Class[0]);
|
||||||
} catch (NoSuchMethodException unused3) {
|
} catch (NoSuchMethodException unused3) {
|
||||||
StringBuilder L3 = a.L("Could not find method \"");
|
StringBuilder P3 = a.P("Could not find method \"");
|
||||||
L3.append(this.mCross);
|
P3.append(this.mCross);
|
||||||
L3.append("\"on class ");
|
P3.append("\"on class ");
|
||||||
L3.append(view.getClass().getSimpleName());
|
P3.append(view.getClass().getSimpleName());
|
||||||
L3.append(" ");
|
P3.append(" ");
|
||||||
L3.append(Debug.getName(view));
|
P3.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L3.toString());
|
Log.e("KeyTrigger", P3.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this.mFireCross.invoke(view, new Object[0]);
|
this.mFireCross.invoke(view, new Object[0]);
|
||||||
return;
|
return;
|
||||||
} catch (Exception unused4) {
|
} catch (Exception unused4) {
|
||||||
StringBuilder L4 = a.L("Exception in call \"");
|
StringBuilder P4 = a.P("Exception in call \"");
|
||||||
L4.append(this.mCross);
|
P4.append(this.mCross);
|
||||||
L4.append("\"on class ");
|
P4.append("\"on class ");
|
||||||
L4.append(view.getClass().getSimpleName());
|
P4.append(view.getClass().getSimpleName());
|
||||||
L4.append(" ");
|
P4.append(" ");
|
||||||
L4.append(Debug.getName(view));
|
P4.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L4.toString());
|
Log.e("KeyTrigger", P4.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -408,26 +408,26 @@ public class KeyTrigger extends Key {
|
||||||
try {
|
try {
|
||||||
this.mFireNegativeCross.invoke(view, new Object[0]);
|
this.mFireNegativeCross.invoke(view, new Object[0]);
|
||||||
} catch (Exception unused5) {
|
} catch (Exception unused5) {
|
||||||
StringBuilder L5 = a.L("Exception in call \"");
|
StringBuilder P5 = a.P("Exception in call \"");
|
||||||
L5.append(this.mNegativeCross);
|
P5.append(this.mNegativeCross);
|
||||||
L5.append("\"on class ");
|
P5.append("\"on class ");
|
||||||
L5.append(view.getClass().getSimpleName());
|
P5.append(view.getClass().getSimpleName());
|
||||||
L5.append(" ");
|
P5.append(" ");
|
||||||
L5.append(Debug.getName(view));
|
P5.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L5.toString());
|
Log.e("KeyTrigger", P5.toString());
|
||||||
}
|
}
|
||||||
if (this.mFirePositiveCross == null) {
|
if (this.mFirePositiveCross == null) {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this.mFirePositiveCross.invoke(view, new Object[0]);
|
this.mFirePositiveCross.invoke(view, new Object[0]);
|
||||||
} catch (Exception unused6) {
|
} catch (Exception unused6) {
|
||||||
StringBuilder L6 = a.L("Exception in call \"");
|
StringBuilder P6 = a.P("Exception in call \"");
|
||||||
L6.append(this.mPositiveCross);
|
P6.append(this.mPositiveCross);
|
||||||
L6.append("\"on class ");
|
P6.append("\"on class ");
|
||||||
L6.append(view.getClass().getSimpleName());
|
P6.append(view.getClass().getSimpleName());
|
||||||
L6.append(" ");
|
P6.append(" ");
|
||||||
L6.append(Debug.getName(view));
|
P6.append(Debug.getName(view));
|
||||||
Log.e("KeyTrigger", L6.toString());
|
Log.e("KeyTrigger", P6.toString());
|
||||||
}
|
}
|
||||||
if (!z4) {
|
if (!z4) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,10 +45,10 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
|
||||||
private float width;
|
private float width;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
private float f16x;
|
private float f18x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
private float f17y;
|
private float f19y;
|
||||||
|
|
||||||
private boolean diff(float f, float f2) {
|
private boolean diff(float f, float f2) {
|
||||||
return (Float.isNaN(f) || Float.isNaN(f2)) ? Float.isNaN(f) != Float.isNaN(f2) : Math.abs(f - f2) > 1.0E-6f;
|
return (Float.isNaN(f) || Float.isNaN(f2)) ? Float.isNaN(f) != Float.isNaN(f2) : Math.abs(f - f2) > 1.0E-6f;
|
||||||
|
@ -362,14 +362,14 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
|
||||||
|
|
||||||
public void different(MotionConstrainedPoint motionConstrainedPoint, boolean[] zArr, String[] strArr) {
|
public void different(MotionConstrainedPoint motionConstrainedPoint, boolean[] zArr, String[] strArr) {
|
||||||
zArr[0] = zArr[0] | diff(this.position, motionConstrainedPoint.position);
|
zArr[0] = zArr[0] | diff(this.position, motionConstrainedPoint.position);
|
||||||
zArr[1] = zArr[1] | diff(this.f16x, motionConstrainedPoint.f16x);
|
zArr[1] = zArr[1] | diff(this.f18x, motionConstrainedPoint.f18x);
|
||||||
zArr[2] = zArr[2] | diff(this.f17y, motionConstrainedPoint.f17y);
|
zArr[2] = zArr[2] | diff(this.f19y, motionConstrainedPoint.f19y);
|
||||||
zArr[3] = zArr[3] | diff(this.width, motionConstrainedPoint.width);
|
zArr[3] = zArr[3] | diff(this.width, motionConstrainedPoint.width);
|
||||||
zArr[4] = diff(this.height, motionConstrainedPoint.height) | zArr[4];
|
zArr[4] = diff(this.height, motionConstrainedPoint.height) | zArr[4];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fillStandard(double[] dArr, int[] iArr) {
|
public void fillStandard(double[] dArr, int[] iArr) {
|
||||||
float[] fArr = {this.position, this.f16x, this.f17y, this.width, this.height, this.alpha, this.elevation, this.rotation, this.rotationX, this.rotationY, this.scaleX, this.scaleY, this.mPivotX, this.mPivotY, this.translationX, this.translationY, this.translationZ, this.mPathRotate};
|
float[] fArr = {this.position, this.f18x, this.f19y, this.width, this.height, this.alpha, this.elevation, this.rotation, this.rotationX, this.rotationY, this.scaleX, this.scaleY, this.mPivotX, this.mPivotY, this.translationX, this.translationY, this.translationZ, this.mPathRotate};
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (int i2 = 0; i2 < iArr.length; i2++) {
|
for (int i2 = 0; i2 < iArr.length; i2++) {
|
||||||
if (iArr[i2] < 18) {
|
if (iArr[i2] < 18) {
|
||||||
|
@ -406,8 +406,8 @@ public class MotionConstrainedPoint implements Comparable<MotionConstrainedPoint
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBounds(float f, float f2, float f3, float f4) {
|
public void setBounds(float f, float f2, float f3, float f4) {
|
||||||
this.f16x = f;
|
this.f18x = f;
|
||||||
this.f17y = f2;
|
this.f19y = f2;
|
||||||
this.width = f3;
|
this.width = f3;
|
||||||
this.height = f4;
|
this.height = f4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,10 +174,10 @@ public class MotionController {
|
||||||
private void insertKey(MotionPaths motionPaths) {
|
private void insertKey(MotionPaths motionPaths) {
|
||||||
int binarySearch = Collections.binarySearch(this.mMotionPaths, motionPaths);
|
int binarySearch = Collections.binarySearch(this.mMotionPaths, motionPaths);
|
||||||
if (binarySearch == 0) {
|
if (binarySearch == 0) {
|
||||||
StringBuilder L = a.L(" KeyPath positon \"");
|
StringBuilder P = a.P(" KeyPath positon \"");
|
||||||
L.append(motionPaths.position);
|
P.append(motionPaths.position);
|
||||||
L.append("\" outside of range");
|
P.append("\" outside of range");
|
||||||
Log.e(TAG, L.toString());
|
Log.e(TAG, P.toString());
|
||||||
}
|
}
|
||||||
this.mMotionPaths.add((-binarySearch) - 1, motionPaths);
|
this.mMotionPaths.add((-binarySearch) - 1, motionPaths);
|
||||||
}
|
}
|
||||||
|
@ -488,10 +488,10 @@ public class MotionController {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MotionPaths motionPaths = this.mEndMotionPath;
|
MotionPaths motionPaths = this.mEndMotionPath;
|
||||||
float f5 = motionPaths.f19x;
|
float f5 = motionPaths.f21x;
|
||||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||||
float f6 = f5 - motionPaths2.f19x;
|
float f6 = f5 - motionPaths2.f21x;
|
||||||
float f7 = motionPaths.f20y - motionPaths2.f20y;
|
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||||
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
|
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
|
||||||
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
|
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
|
||||||
}
|
}
|
||||||
|
@ -506,11 +506,11 @@ public class MotionController {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getFinalX() {
|
public float getFinalX() {
|
||||||
return this.mEndMotionPath.f19x;
|
return this.mEndMotionPath.f21x;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getFinalY() {
|
public float getFinalY() {
|
||||||
return this.mEndMotionPath.f20y;
|
return this.mEndMotionPath.f22y;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MotionPaths getKeyFrame(int i) {
|
public MotionPaths getKeyFrame(int i) {
|
||||||
|
@ -558,12 +558,12 @@ public class MotionController {
|
||||||
|
|
||||||
public float getKeyFrameParameter(int i, float f, float f2) {
|
public float getKeyFrameParameter(int i, float f, float f2) {
|
||||||
MotionPaths motionPaths = this.mEndMotionPath;
|
MotionPaths motionPaths = this.mEndMotionPath;
|
||||||
float f3 = motionPaths.f19x;
|
float f3 = motionPaths.f21x;
|
||||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||||
float f4 = motionPaths2.f19x;
|
float f4 = motionPaths2.f21x;
|
||||||
float f5 = f3 - f4;
|
float f5 = f3 - f4;
|
||||||
float f6 = motionPaths.f20y;
|
float f6 = motionPaths.f22y;
|
||||||
float f7 = motionPaths2.f20y;
|
float f7 = motionPaths2.f22y;
|
||||||
float f8 = f6 - f7;
|
float f8 = f6 - f7;
|
||||||
float f9 = (motionPaths2.width / 2.0f) + f4;
|
float f9 = (motionPaths2.width / 2.0f) + f4;
|
||||||
float f10 = (motionPaths2.height / 2.0f) + f7;
|
float f10 = (motionPaths2.height / 2.0f) + f7;
|
||||||
|
@ -601,17 +601,17 @@ public class MotionController {
|
||||||
public KeyPositionBase getPositionKeyframe(int i, int i2, float f, float f2) {
|
public KeyPositionBase getPositionKeyframe(int i, int i2, float f, float f2) {
|
||||||
RectF rectF = new RectF();
|
RectF rectF = new RectF();
|
||||||
MotionPaths motionPaths = this.mStartMotionPath;
|
MotionPaths motionPaths = this.mStartMotionPath;
|
||||||
float f3 = motionPaths.f19x;
|
float f3 = motionPaths.f21x;
|
||||||
rectF.left = f3;
|
rectF.left = f3;
|
||||||
float f4 = motionPaths.f20y;
|
float f4 = motionPaths.f22y;
|
||||||
rectF.top = f4;
|
rectF.top = f4;
|
||||||
rectF.right = f3 + motionPaths.width;
|
rectF.right = f3 + motionPaths.width;
|
||||||
rectF.bottom = f4 + motionPaths.height;
|
rectF.bottom = f4 + motionPaths.height;
|
||||||
RectF rectF2 = new RectF();
|
RectF rectF2 = new RectF();
|
||||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||||
float f5 = motionPaths2.f19x;
|
float f5 = motionPaths2.f21x;
|
||||||
rectF2.left = f5;
|
rectF2.left = f5;
|
||||||
float f6 = motionPaths2.f20y;
|
float f6 = motionPaths2.f22y;
|
||||||
rectF2.top = f6;
|
rectF2.top = f6;
|
||||||
rectF2.right = f5 + motionPaths2.width;
|
rectF2.right = f5 + motionPaths2.width;
|
||||||
rectF2.bottom = f6 + motionPaths2.height;
|
rectF2.bottom = f6 + motionPaths2.height;
|
||||||
|
@ -692,10 +692,10 @@ public class MotionController {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
MotionPaths motionPaths = this.mEndMotionPath;
|
MotionPaths motionPaths = this.mEndMotionPath;
|
||||||
float f5 = motionPaths.f19x;
|
float f5 = motionPaths.f21x;
|
||||||
MotionPaths motionPaths2 = this.mStartMotionPath;
|
MotionPaths motionPaths2 = this.mStartMotionPath;
|
||||||
float f6 = f5 - motionPaths2.f19x;
|
float f6 = f5 - motionPaths2.f21x;
|
||||||
float f7 = motionPaths.f20y - motionPaths2.f20y;
|
float f7 = motionPaths.f22y - motionPaths2.f22y;
|
||||||
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
|
fArr[0] = (((motionPaths.width - motionPaths2.width) + f6) * f2) + ((1.0f - f2) * f6);
|
||||||
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
|
fArr[1] = (((motionPaths.height - motionPaths2.height) + f7) * f3) + ((1.0f - f3) * f7);
|
||||||
velocityMatrix.clear();
|
velocityMatrix.clear();
|
||||||
|
@ -710,11 +710,11 @@ public class MotionController {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getStartX() {
|
public float getStartX() {
|
||||||
return this.mStartMotionPath.f19x;
|
return this.mStartMotionPath.f21x;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getStartY() {
|
public float getStartY() {
|
||||||
return this.mStartMotionPath.f20y;
|
return this.mStartMotionPath.f22y;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getkeyFramePositions(int[] iArr, float[] fArr) {
|
public int getkeyFramePositions(int[] iArr, float[] fArr) {
|
||||||
|
@ -823,11 +823,11 @@ public class MotionController {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
MotionPaths motionPaths = this.mStartMotionPath;
|
MotionPaths motionPaths = this.mStartMotionPath;
|
||||||
float f2 = motionPaths.f19x;
|
float f2 = motionPaths.f21x;
|
||||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||||
float a = a.a(motionPaths2.f19x, f2, adjustedPosition, f2);
|
float a = a.a(motionPaths2.f21x, f2, adjustedPosition, f2);
|
||||||
float f3 = motionPaths.f20y;
|
float f3 = motionPaths.f22y;
|
||||||
float a2 = a.a(motionPaths2.f20y, f3, adjustedPosition, f3);
|
float a2 = a.a(motionPaths2.f22y, f3, adjustedPosition, f3);
|
||||||
float f4 = motionPaths.width;
|
float f4 = motionPaths.width;
|
||||||
float f5 = motionPaths2.width;
|
float f5 = motionPaths2.width;
|
||||||
float a3 = a.a(f5, f4, adjustedPosition, f4);
|
float a3 = a.a(f5, f4, adjustedPosition, f4);
|
||||||
|
@ -867,17 +867,17 @@ public class MotionController {
|
||||||
public void positionKeyframe(View view, KeyPositionBase keyPositionBase, float f, float f2, String[] strArr, float[] fArr) {
|
public void positionKeyframe(View view, KeyPositionBase keyPositionBase, float f, float f2, String[] strArr, float[] fArr) {
|
||||||
RectF rectF = new RectF();
|
RectF rectF = new RectF();
|
||||||
MotionPaths motionPaths = this.mStartMotionPath;
|
MotionPaths motionPaths = this.mStartMotionPath;
|
||||||
float f3 = motionPaths.f19x;
|
float f3 = motionPaths.f21x;
|
||||||
rectF.left = f3;
|
rectF.left = f3;
|
||||||
float f4 = motionPaths.f20y;
|
float f4 = motionPaths.f22y;
|
||||||
rectF.top = f4;
|
rectF.top = f4;
|
||||||
rectF.right = f3 + motionPaths.width;
|
rectF.right = f3 + motionPaths.width;
|
||||||
rectF.bottom = f4 + motionPaths.height;
|
rectF.bottom = f4 + motionPaths.height;
|
||||||
RectF rectF2 = new RectF();
|
RectF rectF2 = new RectF();
|
||||||
MotionPaths motionPaths2 = this.mEndMotionPath;
|
MotionPaths motionPaths2 = this.mEndMotionPath;
|
||||||
float f5 = motionPaths2.f19x;
|
float f5 = motionPaths2.f21x;
|
||||||
rectF2.left = f5;
|
rectF2.left = f5;
|
||||||
float f6 = motionPaths2.f20y;
|
float f6 = motionPaths2.f22y;
|
||||||
rectF2.top = f6;
|
rectF2.top = f6;
|
||||||
rectF2.right = f5 + motionPaths2.width;
|
rectF2.right = f5 + motionPaths2.width;
|
||||||
rectF2.bottom = f6 + motionPaths2.height;
|
rectF2.bottom = f6 + motionPaths2.height;
|
||||||
|
@ -1154,11 +1154,11 @@ public class MotionController {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (iArr4[i15] < MotionPaths.names.length) {
|
if (iArr4[i15] < MotionPaths.names.length) {
|
||||||
String D = a.D(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++) {
|
for (int i16 = 0; i16 < size; i16++) {
|
||||||
StringBuilder L = a.L(D);
|
StringBuilder P = a.P(H);
|
||||||
L.append(dArr[i16][i15]);
|
P.append(dArr[i16][i15]);
|
||||||
D = L.toString();
|
H = P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i15++;
|
i15++;
|
||||||
|
@ -1208,8 +1208,8 @@ public class MotionController {
|
||||||
for (int i20 = 0; i20 < size; i20++) {
|
for (int i20 = 0; i20 < size; i20++) {
|
||||||
iArr6[i20] = motionPathsArr[i20].mPathMotionArc;
|
iArr6[i20] = motionPathsArr[i20].mPathMotionArc;
|
||||||
dArr5[i20] = (double) motionPathsArr[i20].time;
|
dArr5[i20] = (double) motionPathsArr[i20].time;
|
||||||
dArr6[i20][0] = (double) motionPathsArr[i20].f19x;
|
dArr6[i20][0] = (double) motionPathsArr[i20].f21x;
|
||||||
dArr6[i20][1] = (double) motionPathsArr[i20].f20y;
|
dArr6[i20][1] = (double) motionPathsArr[i20].f22y;
|
||||||
}
|
}
|
||||||
this.mArcSpline = CurveFit.getArc(iArr6, dArr5, dArr6);
|
this.mArcSpline = CurveFit.getArc(iArr6, dArr5, dArr6);
|
||||||
}
|
}
|
||||||
|
@ -1242,14 +1242,14 @@ public class MotionController {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L(" start: x: ");
|
StringBuilder P = a.P(" start: x: ");
|
||||||
L.append(this.mStartMotionPath.f19x);
|
P.append(this.mStartMotionPath.f21x);
|
||||||
L.append(" y: ");
|
P.append(" y: ");
|
||||||
L.append(this.mStartMotionPath.f20y);
|
P.append(this.mStartMotionPath.f22y);
|
||||||
L.append(" end: x: ");
|
P.append(" end: x: ");
|
||||||
L.append(this.mEndMotionPath.f19x);
|
P.append(this.mEndMotionPath.f21x);
|
||||||
L.append(" y: ");
|
P.append(" y: ");
|
||||||
L.append(this.mEndMotionPath.f20y);
|
P.append(this.mEndMotionPath.f22y);
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -321,15 +321,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
float max = Math.max(f4, f6);
|
float max = Math.max(f4, f6);
|
||||||
float min2 = f - Math.min(f3, f5);
|
float min2 = f - Math.min(f3, f5);
|
||||||
float max2 = Math.max(f4, f6) - f2;
|
float max2 = Math.max(f4, f6) - f2;
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
L.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f);
|
P.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f);
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
getTextBounds(sb, this.mTextPaint);
|
getTextBounds(sb, this.mTextPaint);
|
||||||
canvas.drawText(sb, ((min2 / 2.0f) - ((float) (this.mBounds.width() / 2))) + min, f2 - 20.0f, 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);
|
canvas.drawLine(f, f2, Math.min(f3, f5), f2, this.mPaintGraph);
|
||||||
StringBuilder L2 = a.L("");
|
StringBuilder P2 = a.P("");
|
||||||
L2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f);
|
P2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f);
|
||||||
String sb2 = L2.toString();
|
String sb2 = P2.toString();
|
||||||
getTextBounds(sb2, this.mTextPaint);
|
getTextBounds(sb2, this.mTextPaint);
|
||||||
canvas.drawText(sb2, f + 5.0f, max - ((max2 / 2.0f) - ((float) (this.mBounds.height() / 2))), 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);
|
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.moveTo(f, f2);
|
||||||
path.lineTo(f10, f11);
|
path.lineTo(f10, f11);
|
||||||
float hypot2 = (float) Math.hypot((double) (f10 - f), (double) (f11 - f2));
|
float hypot2 = (float) Math.hypot((double) (f10 - f), (double) (f11 - f2));
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
L.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f);
|
P.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f);
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
getTextBounds(sb, this.mTextPaint);
|
getTextBounds(sb, this.mTextPaint);
|
||||||
canvas.drawTextOnPath(sb, path, (hypot2 / 2.0f) - ((float) (this.mBounds.width() / 2)), -20.0f, 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);
|
canvas.drawLine(f, f2, f10, f11, this.mPaintGraph);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void drawPathScreenTicks(Canvas canvas, float f, float f2, int i, int i2) {
|
private void drawPathScreenTicks(Canvas canvas, float f, float f2, int i, int i2) {
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
L.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f);
|
P.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f);
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
getTextBounds(sb, this.mTextPaint);
|
getTextBounds(sb, this.mTextPaint);
|
||||||
canvas.drawText(sb, ((f / 2.0f) - ((float) (this.mBounds.width() / 2))) + 0.0f, f2 - 20.0f, 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);
|
canvas.drawLine(f, f2, Math.min(0.0f, 1.0f), f2, this.mPaintGraph);
|
||||||
StringBuilder L2 = a.L("");
|
StringBuilder P2 = a.P("");
|
||||||
L2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f);
|
P2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f);
|
||||||
String sb2 = L2.toString();
|
String sb2 = P2.toString();
|
||||||
getTextBounds(sb2, this.mTextPaint);
|
getTextBounds(sb2, this.mTextPaint);
|
||||||
canvas.drawText(sb2, f + 5.0f, 0.0f - ((f2 / 2.0f) - ((float) (this.mBounds.height() / 2))), 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);
|
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) {
|
private void debugLayout(String str, ConstraintWidgetContainer constraintWidgetContainer) {
|
||||||
StringBuilder P = a.P(str, " ");
|
StringBuilder U = a.U(str, " ");
|
||||||
P.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget()));
|
U.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget()));
|
||||||
String sb = P.toString();
|
String sb = U.toString();
|
||||||
Log.v(MotionLayout.TAG, sb + " ========= " + constraintWidgetContainer);
|
Log.v(MotionLayout.TAG, sb + " ========= " + constraintWidgetContainer);
|
||||||
int size = constraintWidgetContainer.getChildren().size();
|
int size = constraintWidgetContainer.getChildren().size();
|
||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
String str2 = sb + "[" + i + "] ";
|
String str2 = sb + "[" + i + "] ";
|
||||||
ConstraintWidget constraintWidget = constraintWidgetContainer.getChildren().get(i);
|
ConstraintWidget constraintWidget = constraintWidgetContainer.getChildren().get(i);
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
String str3 = "_";
|
String str3 = "_";
|
||||||
L.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3);
|
P.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3);
|
||||||
StringBuilder L2 = a.L(L.toString());
|
StringBuilder P2 = a.P(P.toString());
|
||||||
L2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3);
|
P2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3);
|
||||||
StringBuilder L3 = a.L(L2.toString());
|
StringBuilder P3 = a.P(P2.toString());
|
||||||
L3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3);
|
P3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3);
|
||||||
StringBuilder L4 = a.L(L3.toString());
|
StringBuilder P4 = a.P(P3.toString());
|
||||||
if (constraintWidget.mRight.mTarget != null) {
|
if (constraintWidget.mRight.mTarget != null) {
|
||||||
str3 = "R";
|
str3 = "R";
|
||||||
}
|
}
|
||||||
L4.append(str3);
|
P4.append(str3);
|
||||||
String sb2 = L4.toString();
|
String sb2 = P4.toString();
|
||||||
View view = (View) constraintWidget.getCompanionWidget();
|
View view = (View) constraintWidget.getCompanionWidget();
|
||||||
String name = Debug.getName(view);
|
String name = Debug.getName(view);
|
||||||
if (view instanceof TextView) {
|
if (view instanceof TextView) {
|
||||||
StringBuilder P2 = a.P(name, "(");
|
StringBuilder U2 = a.U(name, "(");
|
||||||
P2.append((Object) ((TextView) view).getText());
|
U2.append((Object) ((TextView) view).getText());
|
||||||
P2.append(")");
|
U2.append(")");
|
||||||
name = P2.toString();
|
name = U2.toString();
|
||||||
}
|
}
|
||||||
Log.v(MotionLayout.TAG, str2 + " " + name + " " + constraintWidget + " " + sb2);
|
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) {
|
private void debugLayoutParam(String str, ConstraintLayout.LayoutParams layoutParams) {
|
||||||
StringBuilder L = a.L(" ");
|
StringBuilder P = a.P(" ");
|
||||||
L.append(layoutParams.startToStart != -1 ? "SS" : "__");
|
P.append(layoutParams.startToStart != -1 ? "SS" : "__");
|
||||||
StringBuilder L2 = a.L(L.toString());
|
StringBuilder P2 = a.P(P.toString());
|
||||||
String str2 = "|__";
|
String str2 = "|__";
|
||||||
L2.append(layoutParams.startToEnd != -1 ? "|SE" : str2);
|
P2.append(layoutParams.startToEnd != -1 ? "|SE" : str2);
|
||||||
StringBuilder L3 = a.L(L2.toString());
|
StringBuilder P3 = a.P(P2.toString());
|
||||||
L3.append(layoutParams.endToStart != -1 ? "|ES" : str2);
|
P3.append(layoutParams.endToStart != -1 ? "|ES" : str2);
|
||||||
StringBuilder L4 = a.L(L3.toString());
|
StringBuilder P4 = a.P(P3.toString());
|
||||||
L4.append(layoutParams.endToEnd != -1 ? "|EE" : str2);
|
P4.append(layoutParams.endToEnd != -1 ? "|EE" : str2);
|
||||||
StringBuilder L5 = a.L(L4.toString());
|
StringBuilder P5 = a.P(P4.toString());
|
||||||
L5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2);
|
P5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2);
|
||||||
StringBuilder L6 = a.L(L5.toString());
|
StringBuilder P6 = a.P(P5.toString());
|
||||||
L6.append(layoutParams.leftToRight != -1 ? "|LR" : str2);
|
P6.append(layoutParams.leftToRight != -1 ? "|LR" : str2);
|
||||||
StringBuilder L7 = a.L(L6.toString());
|
StringBuilder P7 = a.P(P6.toString());
|
||||||
L7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2);
|
P7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2);
|
||||||
StringBuilder L8 = a.L(L7.toString());
|
StringBuilder P8 = a.P(P7.toString());
|
||||||
L8.append(layoutParams.rightToRight != -1 ? "|RR" : str2);
|
P8.append(layoutParams.rightToRight != -1 ? "|RR" : str2);
|
||||||
StringBuilder L9 = a.L(L8.toString());
|
StringBuilder P9 = a.P(P8.toString());
|
||||||
L9.append(layoutParams.topToTop != -1 ? "|TT" : str2);
|
P9.append(layoutParams.topToTop != -1 ? "|TT" : str2);
|
||||||
StringBuilder L10 = a.L(L9.toString());
|
StringBuilder P10 = a.P(P9.toString());
|
||||||
L10.append(layoutParams.topToBottom != -1 ? "|TB" : str2);
|
P10.append(layoutParams.topToBottom != -1 ? "|TB" : str2);
|
||||||
StringBuilder L11 = a.L(L10.toString());
|
StringBuilder P11 = a.P(P10.toString());
|
||||||
L11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2);
|
P11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2);
|
||||||
StringBuilder L12 = a.L(L11.toString());
|
StringBuilder P12 = a.P(P11.toString());
|
||||||
if (layoutParams.bottomToBottom != -1) {
|
if (layoutParams.bottomToBottom != -1) {
|
||||||
str2 = "|BB";
|
str2 = "|BB";
|
||||||
}
|
}
|
||||||
L12.append(str2);
|
P12.append(str2);
|
||||||
String sb = L12.toString();
|
String sb = P12.toString();
|
||||||
Log.v(MotionLayout.TAG, str + sb);
|
Log.v(MotionLayout.TAG, str + sb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -629,50 +629,50 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
String str2;
|
String str2;
|
||||||
String str3;
|
String str3;
|
||||||
String str4;
|
String str4;
|
||||||
StringBuilder L = a.L(" ");
|
StringBuilder P = a.P(" ");
|
||||||
String str5 = "B";
|
String str5 = "B";
|
||||||
String str6 = "__";
|
String str6 = "__";
|
||||||
if (constraintWidget.mTop.mTarget != null) {
|
if (constraintWidget.mTop.mTarget != null) {
|
||||||
StringBuilder L2 = a.L(ExifInterface.GPS_DIRECTION_TRUE);
|
StringBuilder P2 = a.P(ExifInterface.GPS_DIRECTION_TRUE);
|
||||||
L2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5);
|
P2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5);
|
||||||
str2 = L2.toString();
|
str2 = P2.toString();
|
||||||
} else {
|
} else {
|
||||||
str2 = str6;
|
str2 = str6;
|
||||||
}
|
}
|
||||||
L.append(str2);
|
P.append(str2);
|
||||||
StringBuilder L3 = a.L(L.toString());
|
StringBuilder P3 = a.P(P.toString());
|
||||||
if (constraintWidget.mBottom.mTarget != null) {
|
if (constraintWidget.mBottom.mTarget != null) {
|
||||||
StringBuilder L4 = a.L(str5);
|
StringBuilder P4 = a.P(str5);
|
||||||
if (constraintWidget.mBottom.mTarget.mType == ConstraintAnchor.Type.TOP) {
|
if (constraintWidget.mBottom.mTarget.mType == ConstraintAnchor.Type.TOP) {
|
||||||
str5 = ExifInterface.GPS_DIRECTION_TRUE;
|
str5 = ExifInterface.GPS_DIRECTION_TRUE;
|
||||||
}
|
}
|
||||||
L4.append(str5);
|
P4.append(str5);
|
||||||
str3 = L4.toString();
|
str3 = P4.toString();
|
||||||
} else {
|
} else {
|
||||||
str3 = str6;
|
str3 = str6;
|
||||||
}
|
}
|
||||||
L3.append(str3);
|
P3.append(str3);
|
||||||
StringBuilder L5 = a.L(L3.toString());
|
StringBuilder P5 = a.P(P3.toString());
|
||||||
String str7 = "R";
|
String str7 = "R";
|
||||||
if (constraintWidget.mLeft.mTarget != null) {
|
if (constraintWidget.mLeft.mTarget != null) {
|
||||||
StringBuilder L6 = a.L("L");
|
StringBuilder P6 = a.P("L");
|
||||||
L6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7);
|
P6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7);
|
||||||
str4 = L6.toString();
|
str4 = P6.toString();
|
||||||
} else {
|
} else {
|
||||||
str4 = str6;
|
str4 = str6;
|
||||||
}
|
}
|
||||||
L5.append(str4);
|
P5.append(str4);
|
||||||
StringBuilder L7 = a.L(L5.toString());
|
StringBuilder P7 = a.P(P5.toString());
|
||||||
if (constraintWidget.mRight.mTarget != null) {
|
if (constraintWidget.mRight.mTarget != null) {
|
||||||
StringBuilder L8 = a.L(str7);
|
StringBuilder P8 = a.P(str7);
|
||||||
if (constraintWidget.mRight.mTarget.mType == ConstraintAnchor.Type.LEFT) {
|
if (constraintWidget.mRight.mTarget.mType == ConstraintAnchor.Type.LEFT) {
|
||||||
str7 = "L";
|
str7 = "L";
|
||||||
}
|
}
|
||||||
L8.append(str7);
|
P8.append(str7);
|
||||||
str6 = L8.toString();
|
str6 = P8.toString();
|
||||||
}
|
}
|
||||||
L7.append(str6);
|
P7.append(str6);
|
||||||
String sb = L7.toString();
|
String sb = P7.toString();
|
||||||
Log.v(MotionLayout.TAG, str + sb + " --- " + constraintWidget);
|
Log.v(MotionLayout.TAG, str + sb + " --- " + constraintWidget);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -926,15 +926,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
public static class MyTracker implements MotionTracker {
|
public static class MyTracker implements MotionTracker {
|
||||||
|
|
||||||
/* renamed from: me reason: collision with root package name */
|
/* renamed from: me reason: collision with root package name */
|
||||||
private static MyTracker f18me = new MyTracker();
|
private static MyTracker f20me = new MyTracker();
|
||||||
public VelocityTracker tracker;
|
public VelocityTracker tracker;
|
||||||
|
|
||||||
private MyTracker() {
|
private MyTracker() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static MyTracker obtain() {
|
public static MyTracker obtain() {
|
||||||
f18me.tracker = VelocityTracker.obtain();
|
f20me.tracker = VelocityTracker.obtain();
|
||||||
return f18me;
|
return f20me;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.motion.widget.MotionLayout.MotionTracker
|
@Override // androidx.constraintlayout.motion.widget.MotionLayout.MotionTracker
|
||||||
|
@ -1255,15 +1255,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
View childAt = getChildAt(i2);
|
View childAt = getChildAt(i2);
|
||||||
int id2 = childAt.getId();
|
int id2 = childAt.getId();
|
||||||
if (id2 == -1) {
|
if (id2 == -1) {
|
||||||
StringBuilder Q = a.Q("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's ");
|
StringBuilder V = a.V("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's ");
|
||||||
Q.append(childAt.getClass().getName());
|
V.append(childAt.getClass().getName());
|
||||||
Q.append(" does not!");
|
V.append(" does not!");
|
||||||
Log.w(TAG, Q.toString());
|
Log.w(TAG, V.toString());
|
||||||
}
|
}
|
||||||
if (constraintSet.getConstraint(id2) == null) {
|
if (constraintSet.getConstraint(id2) == null) {
|
||||||
StringBuilder Q2 = a.Q("CHECK: ", name, " NO CONSTRAINTS for ");
|
StringBuilder V2 = a.V("CHECK: ", name, " NO CONSTRAINTS for ");
|
||||||
Q2.append(Debug.getName(childAt));
|
V2.append(Debug.getName(childAt));
|
||||||
Log.w(TAG, Q2.toString());
|
Log.w(TAG, V2.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int[] knownIds = constraintSet.getKnownIds();
|
int[] knownIds = constraintSet.getKnownIds();
|
||||||
|
@ -1283,9 +1283,9 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkStructure(MotionScene.Transition transition) {
|
private void checkStructure(MotionScene.Transition transition) {
|
||||||
StringBuilder L = a.L("CHECK: transition = ");
|
StringBuilder P = a.P("CHECK: transition = ");
|
||||||
L.append(transition.debugString(getContext()));
|
P.append(transition.debugString(getContext()));
|
||||||
Log.v(TAG, L.toString());
|
Log.v(TAG, P.toString());
|
||||||
Log.v(TAG, "CHECK: transition.setDuration = " + transition.getDuration());
|
Log.v(TAG, "CHECK: transition.setDuration = " + transition.getDuration());
|
||||||
if (transition.getStartConstraintSetId() == transition.getEndConstraintSetId()) {
|
if (transition.getStartConstraintSetId() == transition.getEndConstraintSetId()) {
|
||||||
Log.e(TAG, "CHECK: start and end constraint set should not be the same!");
|
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() {
|
private void debugPos() {
|
||||||
for (int i = 0; i < getChildCount(); i++) {
|
for (int i = 0; i < getChildCount(); i++) {
|
||||||
View childAt = getChildAt(i);
|
View childAt = getChildAt(i);
|
||||||
StringBuilder L = a.L(" ");
|
StringBuilder P = a.P(" ");
|
||||||
L.append(Debug.getLocation());
|
P.append(Debug.getLocation());
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(Debug.getName(this));
|
P.append(Debug.getName(this));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(Debug.getName(getContext(), this.mCurrentState));
|
P.append(Debug.getName(getContext(), this.mCurrentState));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(Debug.getName(childAt));
|
P.append(Debug.getName(childAt));
|
||||||
L.append(childAt.getLeft());
|
P.append(childAt.getLeft());
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(childAt.getTop());
|
P.append(childAt.getTop());
|
||||||
Log.v(TAG, L.toString());
|
Log.v(TAG, P.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1647,14 +1647,14 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
}
|
}
|
||||||
Paint paint = new Paint();
|
Paint paint = new Paint();
|
||||||
paint.setTextSize(42.0f);
|
paint.setTextSize(42.0f);
|
||||||
StringBuilder L = a.L(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> ");
|
StringBuilder P = a.P(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> ");
|
||||||
L.append(Debug.getState(this, this.mEndState));
|
P.append(Debug.getState(this, this.mEndState));
|
||||||
L.append(" (progress: ");
|
P.append(" (progress: ");
|
||||||
L.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f);
|
P.append(((float) ((int) (getProgress() * 1000.0f))) / 10.0f);
|
||||||
L.append(" ) state=");
|
P.append(" ) state=");
|
||||||
int i = this.mCurrentState;
|
int i = this.mCurrentState;
|
||||||
L.append(i == -1 ? "undefined" : Debug.getState(this, i));
|
P.append(i == -1 ? "undefined" : Debug.getState(this, i));
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
paint.setColor(ViewCompat.MEASURED_STATE_MASK);
|
paint.setColor(ViewCompat.MEASURED_STATE_MASK);
|
||||||
canvas.drawText(sb, 11.0f, (float) (getHeight() - 29), paint);
|
canvas.drawText(sb, 11.0f, (float) (getHeight() - 29), paint);
|
||||||
paint.setColor(-7864184);
|
paint.setColor(-7864184);
|
||||||
|
@ -1891,7 +1891,7 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar
|
||||||
this.lastY = y2;
|
this.lastY = y2;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
a.h0("WARNING could not find view id ", viewById == null ? a.j("", i) : viewById.getContext().getResources().getResourceName(i), TAG);
|
a.l0("WARNING could not find view id ", viewById == null ? a.l("", i) : viewById.getContext().getResources().getResourceName(i), TAG);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConstraintSet getConstraintSet(int i) {
|
public ConstraintSet getConstraintSet(int i) {
|
||||||
|
|
|
@ -39,10 +39,10 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
public float width;
|
public float width;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public float f19x;
|
public float f21x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public float f20y;
|
public float f22y;
|
||||||
|
|
||||||
public MotionPaths() {
|
public MotionPaths() {
|
||||||
this.mDrawPath = 0;
|
this.mDrawPath = 0;
|
||||||
|
@ -107,14 +107,14 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
|
|
||||||
public void different(MotionPaths motionPaths, boolean[] zArr, String[] strArr, boolean z2) {
|
public void different(MotionPaths motionPaths, boolean[] zArr, String[] strArr, boolean z2) {
|
||||||
zArr[0] = zArr[0] | diff(this.position, motionPaths.position);
|
zArr[0] = zArr[0] | diff(this.position, motionPaths.position);
|
||||||
zArr[1] = zArr[1] | diff(this.f19x, motionPaths.f19x) | z2;
|
zArr[1] = zArr[1] | diff(this.f21x, motionPaths.f21x) | z2;
|
||||||
zArr[2] = z2 | diff(this.f20y, motionPaths.f20y) | zArr[2];
|
zArr[2] = z2 | diff(this.f22y, motionPaths.f22y) | zArr[2];
|
||||||
zArr[3] = zArr[3] | diff(this.width, motionPaths.width);
|
zArr[3] = zArr[3] | diff(this.width, motionPaths.width);
|
||||||
zArr[4] = diff(this.height, motionPaths.height) | zArr[4];
|
zArr[4] = diff(this.height, motionPaths.height) | zArr[4];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fillStandard(double[] dArr, int[] iArr) {
|
public void fillStandard(double[] dArr, int[] iArr) {
|
||||||
float[] fArr = {this.position, this.f19x, this.f20y, this.width, this.height, this.mPathRotate};
|
float[] fArr = {this.position, this.f21x, this.f22y, this.width, this.height, this.mPathRotate};
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (int i2 = 0; i2 < iArr.length; i2++) {
|
for (int i2 = 0; i2 < iArr.length; i2++) {
|
||||||
if (iArr[i2] < 6) {
|
if (iArr[i2] < 6) {
|
||||||
|
@ -141,8 +141,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void getCenter(int[] iArr, double[] dArr, float[] fArr, int i) {
|
public void getCenter(int[] iArr, double[] dArr, float[] fArr, int i) {
|
||||||
float f = this.f19x;
|
float f = this.f21x;
|
||||||
float f2 = this.f20y;
|
float f2 = this.f22y;
|
||||||
float f3 = this.width;
|
float f3 = this.width;
|
||||||
float f4 = this.height;
|
float f4 = this.height;
|
||||||
for (int i2 = 0; i2 < iArr.length; i2++) {
|
for (int i2 = 0; i2 < iArr.length; i2++) {
|
||||||
|
@ -185,8 +185,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void getRect(int[] iArr, double[] dArr, float[] fArr, int i) {
|
public void getRect(int[] iArr, double[] dArr, float[] fArr, int i) {
|
||||||
float f = this.f19x;
|
float f = this.f21x;
|
||||||
float f2 = this.f20y;
|
float f2 = this.f22y;
|
||||||
float f3 = this.width;
|
float f3 = this.width;
|
||||||
float f4 = this.height;
|
float f4 = this.height;
|
||||||
for (int i2 = 0; i2 < iArr.length; i2++) {
|
for (int i2 = 0; i2 < iArr.length; i2++) {
|
||||||
|
@ -239,17 +239,17 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
float f8 = motionPaths.height;
|
float f8 = motionPaths.height;
|
||||||
float f9 = f7 - f8;
|
float f9 = f7 - f8;
|
||||||
this.position = this.time;
|
this.position = this.time;
|
||||||
float f10 = motionPaths.f19x;
|
float f10 = motionPaths.f21x;
|
||||||
float f11 = motionPaths.f20y;
|
float f11 = motionPaths.f22y;
|
||||||
float f12 = ((f4 / 2.0f) + motionPaths2.f19x) - ((f5 / 2.0f) + f10);
|
float f12 = ((f4 / 2.0f) + motionPaths2.f21x) - ((f5 / 2.0f) + f10);
|
||||||
float f13 = ((f7 / 2.0f) + motionPaths2.f20y) - ((f8 / 2.0f) + f11);
|
float f13 = ((f7 / 2.0f) + motionPaths2.f22y) - ((f8 / 2.0f) + f11);
|
||||||
float f14 = f6 * f2;
|
float f14 = f6 * f2;
|
||||||
float f15 = f14 / 2.0f;
|
float f15 = f14 / 2.0f;
|
||||||
this.f19x = (float) ((int) (((f12 * f) + f10) - f15));
|
this.f21x = (float) ((int) (((f12 * f) + f10) - f15));
|
||||||
float f16 = (f13 * f) + f11;
|
float f16 = (f13 * f) + f11;
|
||||||
float f17 = f9 * f3;
|
float f17 = f9 * f3;
|
||||||
float f18 = f17 / 2.0f;
|
float f18 = f17 / 2.0f;
|
||||||
this.f20y = (float) ((int) (f16 - f18));
|
this.f22y = (float) ((int) (f16 - f18));
|
||||||
this.width = (float) ((int) (f5 + f14));
|
this.width = (float) ((int) (f5 + f14));
|
||||||
this.height = (float) ((int) (f8 + f17));
|
this.height = (float) ((int) (f8 + f17));
|
||||||
float f19 = Float.isNaN(keyPosition.mPercentX) ? f : keyPosition.mPercentX;
|
float f19 = Float.isNaN(keyPosition.mPercentX) ? f : keyPosition.mPercentX;
|
||||||
|
@ -262,8 +262,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
f20 = keyPosition.mAltPercentX;
|
f20 = keyPosition.mAltPercentX;
|
||||||
}
|
}
|
||||||
this.mMode = 2;
|
this.mMode = 2;
|
||||||
this.f19x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f19x)) - f15));
|
this.f21x = (float) ((int) (((f20 * f13) + ((f19 * f12) + motionPaths.f21x)) - f15));
|
||||||
this.f20y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f20y)) - f18));
|
this.f22y = (float) ((int) (((f13 * f) + ((f12 * f21) + motionPaths.f22y)) - f18));
|
||||||
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
||||||
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
||||||
}
|
}
|
||||||
|
@ -280,30 +280,30 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
if (!Float.isNaN(keyPosition.mPercentX)) {
|
if (!Float.isNaN(keyPosition.mPercentX)) {
|
||||||
f = keyPosition.mPercentX;
|
f = keyPosition.mPercentX;
|
||||||
}
|
}
|
||||||
float f6 = motionPaths.f19x;
|
float f6 = motionPaths.f21x;
|
||||||
float f7 = motionPaths.width;
|
float f7 = motionPaths.width;
|
||||||
float f8 = motionPaths.f20y;
|
float f8 = motionPaths.f22y;
|
||||||
float f9 = motionPaths.height;
|
float f9 = motionPaths.height;
|
||||||
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f19x) - ((f7 / 2.0f) + f6);
|
float f10 = ((motionPaths2.width / 2.0f) + motionPaths2.f21x) - ((f7 / 2.0f) + f6);
|
||||||
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f20y) - ((f9 / 2.0f) + f8);
|
float f11 = ((motionPaths2.height / 2.0f) + motionPaths2.f22y) - ((f9 / 2.0f) + f8);
|
||||||
float f12 = f10 * f;
|
float f12 = f10 * f;
|
||||||
float f13 = f4 * f2;
|
float f13 = f4 * f2;
|
||||||
float f14 = f13 / 2.0f;
|
float f14 = f13 / 2.0f;
|
||||||
this.f19x = (float) ((int) ((f6 + f12) - f14));
|
this.f21x = (float) ((int) ((f6 + f12) - f14));
|
||||||
float f15 = f * f11;
|
float f15 = f * f11;
|
||||||
float f16 = f5 * f3;
|
float f16 = f5 * f3;
|
||||||
float f17 = f16 / 2.0f;
|
float f17 = f16 / 2.0f;
|
||||||
this.f20y = (float) ((int) ((f8 + f15) - f17));
|
this.f22y = (float) ((int) ((f8 + f15) - f17));
|
||||||
this.width = (float) ((int) (f7 + f13));
|
this.width = (float) ((int) (f7 + f13));
|
||||||
this.height = (float) ((int) (f9 + f16));
|
this.height = (float) ((int) (f9 + f16));
|
||||||
float f18 = Float.isNaN(keyPosition.mPercentY) ? 0.0f : keyPosition.mPercentY;
|
float f18 = Float.isNaN(keyPosition.mPercentY) ? 0.0f : keyPosition.mPercentY;
|
||||||
this.mMode = 1;
|
this.mMode = 1;
|
||||||
float f19 = (float) ((int) ((motionPaths.f19x + f12) - f14));
|
float f19 = (float) ((int) ((motionPaths.f21x + f12) - f14));
|
||||||
this.f19x = f19;
|
this.f21x = f19;
|
||||||
float f20 = (float) ((int) ((motionPaths.f20y + f15) - f17));
|
float f20 = (float) ((int) ((motionPaths.f22y + f15) - f17));
|
||||||
this.f20y = f20;
|
this.f22y = f20;
|
||||||
this.f19x = f19 + ((-f11) * f18);
|
this.f21x = f19 + ((-f11) * f18);
|
||||||
this.f20y = f20 + (f10 * f18);
|
this.f22y = f20 + (f10 * f18);
|
||||||
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
||||||
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
||||||
}
|
}
|
||||||
|
@ -321,30 +321,30 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
float f8 = motionPaths.height;
|
float f8 = motionPaths.height;
|
||||||
float f9 = f7 - f8;
|
float f9 = f7 - f8;
|
||||||
this.position = this.time;
|
this.position = this.time;
|
||||||
float f10 = motionPaths.f19x;
|
float f10 = motionPaths.f21x;
|
||||||
float f11 = motionPaths.f20y;
|
float f11 = motionPaths.f22y;
|
||||||
float f12 = (f4 / 2.0f) + motionPaths2.f19x;
|
float f12 = (f4 / 2.0f) + motionPaths2.f21x;
|
||||||
float f13 = (f7 / 2.0f) + motionPaths2.f20y;
|
float f13 = (f7 / 2.0f) + motionPaths2.f22y;
|
||||||
float f14 = f6 * f2;
|
float f14 = f6 * f2;
|
||||||
this.f19x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
this.f21x = (float) ((int) ((((f12 - ((f5 / 2.0f) + f10)) * f) + f10) - (f14 / 2.0f)));
|
||||||
float f15 = f9 * f3;
|
float f15 = f9 * f3;
|
||||||
this.f20y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
|
this.f22y = (float) ((int) ((((f13 - ((f8 / 2.0f) + f11)) * f) + f11) - (f15 / 2.0f)));
|
||||||
this.width = (float) ((int) (f5 + f14));
|
this.width = (float) ((int) (f5 + f14));
|
||||||
this.height = (float) ((int) (f8 + f15));
|
this.height = (float) ((int) (f8 + f15));
|
||||||
this.mMode = 3;
|
this.mMode = 3;
|
||||||
if (!Float.isNaN(keyPosition.mPercentX)) {
|
if (!Float.isNaN(keyPosition.mPercentX)) {
|
||||||
this.f19x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
this.f21x = (float) ((int) (keyPosition.mPercentX * ((float) ((int) (((float) i) - this.width)))));
|
||||||
}
|
}
|
||||||
if (!Float.isNaN(keyPosition.mPercentY)) {
|
if (!Float.isNaN(keyPosition.mPercentY)) {
|
||||||
this.f20y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
|
this.f22y = (float) ((int) (keyPosition.mPercentY * ((float) ((int) (((float) i2) - this.height)))));
|
||||||
}
|
}
|
||||||
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
this.mKeyFrameEasing = Easing.getInterpolator(keyPosition.mTransitionEasing);
|
||||||
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
this.mPathMotionArc = keyPosition.mPathMotionArc;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBounds(float f, float f2, float f3, float f4) {
|
public void setBounds(float f, float f2, float f3, float f4) {
|
||||||
this.f19x = f;
|
this.f21x = f;
|
||||||
this.f20y = f2;
|
this.f22y = f2;
|
||||||
this.width = f3;
|
this.width = f3;
|
||||||
this.height = f4;
|
this.height = f4;
|
||||||
}
|
}
|
||||||
|
@ -376,8 +376,8 @@ public class MotionPaths implements Comparable<MotionPaths> {
|
||||||
|
|
||||||
public void setView(View view, int[] iArr, double[] dArr, double[] dArr2, double[] dArr3) {
|
public void setView(View view, int[] iArr, double[] dArr, double[] dArr2, double[] dArr3) {
|
||||||
float f;
|
float f;
|
||||||
float f2 = this.f19x;
|
float f2 = this.f21x;
|
||||||
float f3 = this.f20y;
|
float f3 = this.f22y;
|
||||||
float f4 = this.width;
|
float f4 = this.width;
|
||||||
float f5 = this.height;
|
float f5 = this.height;
|
||||||
if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) {
|
if (iArr.length != 0 && this.mTempValue.length <= iArr[iArr.length - 1]) {
|
||||||
|
|
|
@ -147,9 +147,9 @@ public class MotionScene {
|
||||||
motionLayout2 = motionLayout.findViewById(i2);
|
motionLayout2 = motionLayout.findViewById(i2);
|
||||||
}
|
}
|
||||||
if (motionLayout2 == null) {
|
if (motionLayout2 == null) {
|
||||||
StringBuilder L = a.L("OnClick could not find id ");
|
StringBuilder P = a.P("OnClick could not find id ");
|
||||||
L.append(this.mTargetId);
|
P.append(this.mTargetId);
|
||||||
Log.e(MotionScene.TAG, L.toString());
|
Log.e(MotionScene.TAG, P.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int access$100 = Transition.access$100(transition);
|
int access$100 = Transition.access$100(transition);
|
||||||
|
@ -242,9 +242,9 @@ public class MotionScene {
|
||||||
if (i != -1) {
|
if (i != -1) {
|
||||||
View findViewById = motionLayout.findViewById(i);
|
View findViewById = motionLayout.findViewById(i);
|
||||||
if (findViewById == null) {
|
if (findViewById == null) {
|
||||||
StringBuilder L = a.L(" (*) could not find id ");
|
StringBuilder P = a.P(" (*) could not find id ");
|
||||||
L.append(this.mTargetId);
|
P.append(this.mTargetId);
|
||||||
Log.e(MotionScene.TAG, L.toString());
|
Log.e(MotionScene.TAG, P.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
findViewById.setOnClickListener(null);
|
findViewById.setOnClickListener(null);
|
||||||
|
@ -435,11 +435,11 @@ public class MotionScene {
|
||||||
public String debugString(Context context) {
|
public String debugString(Context context) {
|
||||||
String resourceEntryName = this.mConstraintSetStart == -1 ? "null" : context.getResources().getResourceEntryName(this.mConstraintSetStart);
|
String resourceEntryName = this.mConstraintSetStart == -1 ? "null" : context.getResources().getResourceEntryName(this.mConstraintSetStart);
|
||||||
if (this.mConstraintSetEnd == -1) {
|
if (this.mConstraintSetEnd == -1) {
|
||||||
return a.s(resourceEntryName, " -> null");
|
return a.u(resourceEntryName, " -> null");
|
||||||
}
|
}
|
||||||
StringBuilder P = a.P(resourceEntryName, " -> ");
|
StringBuilder U = a.U(resourceEntryName, " -> ");
|
||||||
P.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd));
|
U.append(context.getResources().getResourceEntryName(this.mConstraintSetEnd));
|
||||||
return P.toString();
|
return U.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAutoTransition() {
|
public int getAutoTransition() {
|
||||||
|
@ -789,9 +789,9 @@ public class MotionScene {
|
||||||
ConstraintSet constraintSet = this.mConstraintSetMap.get(i);
|
ConstraintSet constraintSet = this.mConstraintSetMap.get(i);
|
||||||
ConstraintSet constraintSet2 = this.mConstraintSetMap.get(i2);
|
ConstraintSet constraintSet2 = this.mConstraintSetMap.get(i2);
|
||||||
if (constraintSet2 == null) {
|
if (constraintSet2 == null) {
|
||||||
StringBuilder L = a.L("ERROR! invalid deriveConstraintsFrom: @id/");
|
StringBuilder P = a.P("ERROR! invalid deriveConstraintsFrom: @id/");
|
||||||
L.append(Debug.getName(this.mMotionLayout.getContext(), i2));
|
P.append(Debug.getName(this.mMotionLayout.getContext(), i2));
|
||||||
Log.e(TAG, L.toString());
|
Log.e(TAG, P.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
constraintSet.readFallback(constraintSet2);
|
constraintSet.readFallback(constraintSet2);
|
||||||
|
@ -956,9 +956,9 @@ public class MotionScene {
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
printStream.println("id " + i);
|
printStream.println("id " + i);
|
||||||
PrintStream printStream2 = System.out;
|
PrintStream printStream2 = System.out;
|
||||||
StringBuilder L = a.L("size ");
|
StringBuilder P = a.P("size ");
|
||||||
L.append(this.mConstraintSetMap.size());
|
P.append(this.mConstraintSetMap.size());
|
||||||
printStream2.println(L.toString());
|
printStream2.println(P.toString());
|
||||||
}
|
}
|
||||||
StateSet stateSet = this.mStateSet;
|
StateSet stateSet = this.mStateSet;
|
||||||
if (!(stateSet == null || (stateGetConstraintID = stateSet.stateGetConstraintID(i, i2, i3)) == -1)) {
|
if (!(stateSet == null || (stateGetConstraintID = stateSet.stateGetConstraintID(i, i2, i3)) == -1)) {
|
||||||
|
@ -967,10 +967,10 @@ public class MotionScene {
|
||||||
if (this.mConstraintSetMap.get(i) != null) {
|
if (this.mConstraintSetMap.get(i) != null) {
|
||||||
return this.mConstraintSetMap.get(i);
|
return this.mConstraintSetMap.get(i);
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L("Warning could not find ConstraintSet id/");
|
StringBuilder P2 = a.P("Warning could not find ConstraintSet id/");
|
||||||
L2.append(Debug.getName(this.mMotionLayout.getContext(), i));
|
P2.append(Debug.getName(this.mMotionLayout.getContext(), i));
|
||||||
L2.append(" In MotionScene");
|
P2.append(" In MotionScene");
|
||||||
Log.e(TAG, L2.toString());
|
Log.e(TAG, P2.toString());
|
||||||
SparseArray<ConstraintSet> sparseArray = this.mConstraintSetMap;
|
SparseArray<ConstraintSet> sparseArray = this.mConstraintSetMap;
|
||||||
return sparseArray.get(sparseArray.keyAt(0));
|
return sparseArray.get(sparseArray.keyAt(0));
|
||||||
}
|
}
|
||||||
|
@ -980,9 +980,9 @@ public class MotionScene {
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
printStream.println("id " + str);
|
printStream.println("id " + str);
|
||||||
PrintStream printStream2 = System.out;
|
PrintStream printStream2 = System.out;
|
||||||
StringBuilder L = a.L("size ");
|
StringBuilder P = a.P("size ");
|
||||||
L.append(this.mConstraintSetMap.size());
|
P.append(this.mConstraintSetMap.size());
|
||||||
printStream2.println(L.toString());
|
printStream2.println(P.toString());
|
||||||
}
|
}
|
||||||
for (int i = 0; i < this.mConstraintSetMap.size(); i++) {
|
for (int i = 0; i < this.mConstraintSetMap.size(); i++) {
|
||||||
int keyAt = this.mConstraintSetMap.keyAt(i);
|
int keyAt = this.mConstraintSetMap.keyAt(i);
|
||||||
|
|
|
@ -454,12 +454,12 @@ public abstract class SplineSet {
|
||||||
String str = this.mType;
|
String str = this.mType;
|
||||||
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
||||||
for (int i = 0; i < this.count; i++) {
|
for (int i = 0; i < this.count; i++) {
|
||||||
StringBuilder P = a.P(str, "[");
|
StringBuilder U = a.U(str, "[");
|
||||||
P.append(this.mTimePoints[i]);
|
U.append(this.mTimePoints[i]);
|
||||||
P.append(" , ");
|
U.append(" , ");
|
||||||
P.append(decimalFormat.format((double) this.mValues[i]));
|
U.append(decimalFormat.format((double) this.mValues[i]));
|
||||||
P.append("] ");
|
U.append("] ");
|
||||||
str = P.toString();
|
str = U.toString();
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
|
@ -502,9 +502,9 @@ public abstract class TimeCycleSplineSet {
|
||||||
public void setup(int i) {
|
public void setup(int i) {
|
||||||
int i2 = this.count;
|
int i2 = this.count;
|
||||||
if (i2 == 0) {
|
if (i2 == 0) {
|
||||||
StringBuilder L = a.L("Error no points added to ");
|
StringBuilder P = a.P("Error no points added to ");
|
||||||
L.append(this.mType);
|
P.append(this.mType);
|
||||||
Log.e(TAG, L.toString());
|
Log.e(TAG, P.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Sort.doubleQuickSort(this.mTimePoints, this.mValues, 0, i2 - 1);
|
Sort.doubleQuickSort(this.mTimePoints, this.mValues, 0, i2 - 1);
|
||||||
|
@ -550,12 +550,12 @@ public abstract class TimeCycleSplineSet {
|
||||||
String str = this.mType;
|
String str = this.mType;
|
||||||
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
DecimalFormat decimalFormat = new DecimalFormat("##.##");
|
||||||
for (int i = 0; i < this.count; i++) {
|
for (int i = 0; i < this.count; i++) {
|
||||||
StringBuilder P = a.P(str, "[");
|
StringBuilder U = a.U(str, "[");
|
||||||
P.append(this.mTimePoints[i]);
|
U.append(this.mTimePoints[i]);
|
||||||
P.append(" , ");
|
U.append(" , ");
|
||||||
P.append(decimalFormat.format(this.mValues[i]));
|
U.append(decimalFormat.format(this.mValues[i]));
|
||||||
P.append("] ");
|
U.append("] ");
|
||||||
str = P.toString();
|
str = U.toString();
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
|
@ -385,9 +385,9 @@ public class TouchResponse {
|
||||||
if (i != -1) {
|
if (i != -1) {
|
||||||
view = this.mMotionLayout.findViewById(i);
|
view = this.mMotionLayout.findViewById(i);
|
||||||
if (view == null) {
|
if (view == null) {
|
||||||
StringBuilder L = a.L("cannot find TouchAnchorId @id/");
|
StringBuilder P = a.P("cannot find TouchAnchorId @id/");
|
||||||
L.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId));
|
P.append(Debug.getName(this.mMotionLayout.getContext(), this.mTouchAnchorId));
|
||||||
Log.e(TAG, L.toString());
|
Log.e(TAG, P.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
view = null;
|
view = null;
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
if (i == -1) {
|
if (i == -1) {
|
||||||
this.mHead = 0;
|
this.mHead = 0;
|
||||||
this.mArrayValues[0] = f;
|
this.mArrayValues[0] = f;
|
||||||
this.mArrayIndices[0] = solverVariable.f21id;
|
this.mArrayIndices[0] = solverVariable.f23id;
|
||||||
this.mArrayNextIndices[0] = -1;
|
this.mArrayNextIndices[0] = -1;
|
||||||
solverVariable.usageInRowCount++;
|
solverVariable.usageInRowCount++;
|
||||||
solverVariable.addToRow(this.mRow);
|
solverVariable.addToRow(this.mRow);
|
||||||
|
@ -57,7 +57,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
while (i != -1 && i3 < this.currentSize) {
|
while (i != -1 && i3 < this.currentSize) {
|
||||||
int[] iArr2 = this.mArrayIndices;
|
int[] iArr2 = this.mArrayIndices;
|
||||||
int i5 = iArr2[i];
|
int i5 = iArr2[i];
|
||||||
int i6 = solverVariable.f21id;
|
int i6 = solverVariable.f23id;
|
||||||
if (i5 == i6) {
|
if (i5 == i6) {
|
||||||
float[] fArr = this.mArrayValues;
|
float[] fArr = this.mArrayValues;
|
||||||
float f3 = fArr[i] + f;
|
float f3 = fArr[i] + f;
|
||||||
|
@ -127,7 +127,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
|
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
|
||||||
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
|
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
|
||||||
}
|
}
|
||||||
this.mArrayIndices[i7] = solverVariable.f21id;
|
this.mArrayIndices[i7] = solverVariable.f23id;
|
||||||
this.mArrayValues[i7] = f;
|
this.mArrayValues[i7] = f;
|
||||||
if (i4 != -1) {
|
if (i4 != -1) {
|
||||||
int[] iArr8 = this.mArrayNextIndices;
|
int[] iArr8 = this.mArrayNextIndices;
|
||||||
|
@ -178,7 +178,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
}
|
}
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
while (i != -1 && i2 < this.currentSize) {
|
while (i != -1 && i2 < this.currentSize) {
|
||||||
if (this.mArrayIndices[i] == solverVariable.f21id) {
|
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
i = this.mArrayNextIndices[i];
|
i = this.mArrayNextIndices[i];
|
||||||
|
@ -218,7 +218,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
int i = this.mHead;
|
int i = this.mHead;
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
while (i != -1 && i2 < this.currentSize) {
|
while (i != -1 && i2 < this.currentSize) {
|
||||||
if (this.mArrayIndices[i] == solverVariable.f21id) {
|
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||||
return this.mArrayValues[i];
|
return this.mArrayValues[i];
|
||||||
}
|
}
|
||||||
i = this.mArrayNextIndices[i];
|
i = this.mArrayNextIndices[i];
|
||||||
|
@ -318,7 +318,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
}
|
}
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
while (i != -1 && i2 < this.currentSize) {
|
while (i != -1 && i2 < this.currentSize) {
|
||||||
if (this.mArrayIndices[i] == solverVariable.f21id) {
|
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
i = this.mArrayNextIndices[i];
|
i = this.mArrayNextIndices[i];
|
||||||
|
@ -349,7 +349,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
if (i == -1) {
|
if (i == -1) {
|
||||||
this.mHead = 0;
|
this.mHead = 0;
|
||||||
this.mArrayValues[0] = f;
|
this.mArrayValues[0] = f;
|
||||||
this.mArrayIndices[0] = solverVariable.f21id;
|
this.mArrayIndices[0] = solverVariable.f23id;
|
||||||
this.mArrayNextIndices[0] = -1;
|
this.mArrayNextIndices[0] = -1;
|
||||||
solverVariable.usageInRowCount++;
|
solverVariable.usageInRowCount++;
|
||||||
solverVariable.addToRow(this.mRow);
|
solverVariable.addToRow(this.mRow);
|
||||||
|
@ -372,7 +372,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
while (i != -1 && i3 < this.currentSize) {
|
while (i != -1 && i3 < this.currentSize) {
|
||||||
int[] iArr2 = this.mArrayIndices;
|
int[] iArr2 = this.mArrayIndices;
|
||||||
int i5 = iArr2[i];
|
int i5 = iArr2[i];
|
||||||
int i6 = solverVariable.f21id;
|
int i6 = solverVariable.f23id;
|
||||||
if (i5 == i6) {
|
if (i5 == i6) {
|
||||||
this.mArrayValues[i] = f;
|
this.mArrayValues[i] = f;
|
||||||
return;
|
return;
|
||||||
|
@ -419,7 +419,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
|
this.mArrayIndices = Arrays.copyOf(this.mArrayIndices, this.ROW_SIZE);
|
||||||
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
|
this.mArrayNextIndices = Arrays.copyOf(this.mArrayNextIndices, this.ROW_SIZE);
|
||||||
}
|
}
|
||||||
this.mArrayIndices[i7] = solverVariable.f21id;
|
this.mArrayIndices[i7] = solverVariable.f23id;
|
||||||
this.mArrayValues[i7] = f;
|
this.mArrayValues[i7] = f;
|
||||||
if (i4 != -1) {
|
if (i4 != -1) {
|
||||||
int[] iArr7 = this.mArrayNextIndices;
|
int[] iArr7 = this.mArrayNextIndices;
|
||||||
|
@ -458,7 +458,7 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
int i3 = -1;
|
int i3 = -1;
|
||||||
while (i != -1 && i2 < this.currentSize) {
|
while (i != -1 && i2 < this.currentSize) {
|
||||||
if (this.mArrayIndices[i] == solverVariable.f21id) {
|
if (this.mArrayIndices[i] == solverVariable.f23id) {
|
||||||
if (i == this.mHead) {
|
if (i == this.mHead) {
|
||||||
this.mHead = this.mArrayNextIndices[i];
|
this.mHead = this.mArrayNextIndices[i];
|
||||||
} else {
|
} else {
|
||||||
|
@ -493,12 +493,12 @@ public class ArrayLinkedVariables implements ArrayRow.ArrayRowVariables {
|
||||||
String str = "";
|
String str = "";
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
while (i != -1 && i2 < this.currentSize) {
|
while (i != -1 && i2 < this.currentSize) {
|
||||||
StringBuilder L = a.L(a.s(str, " -> "));
|
StringBuilder P = a.P(a.u(str, " -> "));
|
||||||
L.append(this.mArrayValues[i]);
|
P.append(this.mArrayValues[i]);
|
||||||
L.append(" : ");
|
P.append(" : ");
|
||||||
StringBuilder L2 = a.L(L.toString());
|
StringBuilder P2 = a.P(P.toString());
|
||||||
L2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]);
|
P2.append(this.mCache.mIndexedVariables[this.mArrayIndices[i]]);
|
||||||
str = L2.toString();
|
str = P2.toString();
|
||||||
i = this.mArrayNextIndices[i];
|
i = this.mArrayNextIndices[i];
|
||||||
i2++;
|
i2++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class ArrayRow implements LinearSystem.Row {
|
||||||
float variableValue = this.variables.getVariableValue(i);
|
float variableValue = this.variables.getVariableValue(i);
|
||||||
if (variableValue < 0.0f) {
|
if (variableValue < 0.0f) {
|
||||||
SolverVariable variable = this.variables.getVariable(i);
|
SolverVariable variable = this.variables.getVariable(i);
|
||||||
if ((zArr == null || !zArr[variable.f21id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
if ((zArr == null || !zArr[variable.f23id]) && variable != solverVariable && (((type = variable.mType) == SolverVariable.Type.SLACK || type == SolverVariable.Type.ERROR) && variableValue < f)) {
|
||||||
f = variableValue;
|
f = variableValue;
|
||||||
solverVariable2 = variable;
|
solverVariable2 = variable;
|
||||||
}
|
}
|
||||||
|
@ -441,15 +441,15 @@ public class ArrayRow implements LinearSystem.Row {
|
||||||
if (this.variable == null) {
|
if (this.variable == null) {
|
||||||
str = "0";
|
str = "0";
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
L.append(this.variable);
|
P.append(this.variable);
|
||||||
str = L.toString();
|
str = P.toString();
|
||||||
}
|
}
|
||||||
String s2 = a.s(str, " = ");
|
String u = a.u(str, " = ");
|
||||||
if (this.constantValue != 0.0f) {
|
if (this.constantValue != 0.0f) {
|
||||||
StringBuilder L2 = a.L(s2);
|
StringBuilder P2 = a.P(u);
|
||||||
L2.append(this.constantValue);
|
P2.append(this.constantValue);
|
||||||
s2 = L2.toString();
|
u = P2.toString();
|
||||||
z2 = true;
|
z2 = true;
|
||||||
} else {
|
} else {
|
||||||
z2 = false;
|
z2 = false;
|
||||||
|
@ -461,17 +461,17 @@ public class ArrayRow implements LinearSystem.Row {
|
||||||
String solverVariable = variable.toString();
|
String solverVariable = variable.toString();
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
if (variableValue < 0.0f) {
|
if (variableValue < 0.0f) {
|
||||||
s2 = a.s(s2, "- ");
|
u = a.u(u, "- ");
|
||||||
}
|
}
|
||||||
s2 = variableValue == 1.0f ? a.s(s2, solverVariable) : s2 + variableValue + " " + solverVariable;
|
u = variableValue == 1.0f ? a.u(u, solverVariable) : u + variableValue + " " + solverVariable;
|
||||||
z2 = true;
|
z2 = true;
|
||||||
} else if (i > 0) {
|
} else if (i > 0) {
|
||||||
s2 = a.s(s2, " + ");
|
u = a.u(u, " + ");
|
||||||
if (variableValue == 1.0f) {
|
if (variableValue == 1.0f) {
|
||||||
}
|
}
|
||||||
z2 = true;
|
z2 = true;
|
||||||
} else {
|
} else {
|
||||||
s2 = a.s(s2, " - ");
|
u = a.u(u, " - ");
|
||||||
}
|
}
|
||||||
variableValue *= -1.0f;
|
variableValue *= -1.0f;
|
||||||
if (variableValue == 1.0f) {
|
if (variableValue == 1.0f) {
|
||||||
|
@ -479,7 +479,7 @@ public class ArrayRow implements LinearSystem.Row {
|
||||||
z2 = true;
|
z2 = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return !z2 ? a.s(s2, "0.0") : s2;
|
return !z2 ? a.u(u, "0.0") : u;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|
|
@ -206,7 +206,7 @@ public class LinearSystem {
|
||||||
int i = this.mVariablesID + 1;
|
int i = this.mVariablesID + 1;
|
||||||
this.mVariablesID = i;
|
this.mVariablesID = i;
|
||||||
this.mNumColumns++;
|
this.mNumColumns++;
|
||||||
acquireSolverVariable.f21id = i;
|
acquireSolverVariable.f23id = i;
|
||||||
if (this.mVariables == null) {
|
if (this.mVariables == null) {
|
||||||
this.mVariables = new HashMap<>();
|
this.mVariables = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
@ -219,21 +219,21 @@ public class LinearSystem {
|
||||||
displaySolverVariables();
|
displaySolverVariables();
|
||||||
String str = "";
|
String str = "";
|
||||||
for (int i = 0; i < this.mNumRows; i++) {
|
for (int i = 0; i < this.mNumRows; i++) {
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(this.mRows[i]);
|
P.append(this.mRows[i]);
|
||||||
str = a.s(L.toString(), "\n");
|
str = a.u(P.toString(), "\n");
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L(str);
|
StringBuilder P2 = a.P(str);
|
||||||
L2.append(this.mGoal);
|
P2.append(this.mGoal);
|
||||||
L2.append("\n");
|
P2.append("\n");
|
||||||
System.out.println(L2.toString());
|
System.out.println(P2.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void displaySolverVariables() {
|
private void displaySolverVariables() {
|
||||||
StringBuilder L = a.L("Display Rows (");
|
StringBuilder P = a.P("Display Rows (");
|
||||||
L.append(this.mNumRows);
|
P.append(this.mNumRows);
|
||||||
L.append("x");
|
P.append("x");
|
||||||
System.out.println(a.w(L, this.mNumColumns, ")\n"));
|
System.out.println(a.z(P, this.mNumColumns, ")\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private int enforceBFS(Row row) throws Exception {
|
private int enforceBFS(Row row) throws Exception {
|
||||||
|
@ -281,7 +281,7 @@ public class LinearSystem {
|
||||||
while (i9 < i7) {
|
while (i9 < i7) {
|
||||||
float f3 = variable.strengthVector[i9] / f2;
|
float f3 = variable.strengthVector[i9] / f2;
|
||||||
if ((f3 < f && i9 == i5) || i9 > i5) {
|
if ((f3 < f && i9 == i5) || i9 > i5) {
|
||||||
i4 = variable.f21id;
|
i4 = variable.f23id;
|
||||||
i5 = i9;
|
i5 = i9;
|
||||||
i3 = i6;
|
i3 = i6;
|
||||||
f = f3;
|
f = f3;
|
||||||
|
@ -337,7 +337,7 @@ public class LinearSystem {
|
||||||
int i2 = i * 4;
|
int i2 = i * 4;
|
||||||
int i3 = i2 / 1024;
|
int i3 = i2 / 1024;
|
||||||
int i4 = i3 / 1024;
|
int i4 = i3 / 1024;
|
||||||
return i4 > 0 ? a.k("", i4, " Mb") : i3 > 0 ? a.k("", i3, " Kb") : a.k("", i2, " bytes");
|
return i4 > 0 ? a.n("", i4, " Mb") : i3 > 0 ? a.n("", i3, " Kb") : a.n("", i2, " bytes");
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getDisplayStrength(int i) {
|
private String getDisplayStrength(int i) {
|
||||||
|
@ -387,12 +387,12 @@ public class LinearSystem {
|
||||||
return i2;
|
return i2;
|
||||||
}
|
}
|
||||||
if (row.getKey() != null) {
|
if (row.getKey() != null) {
|
||||||
this.mAlreadyTestedCandidates[row.getKey().f21id] = true;
|
this.mAlreadyTestedCandidates[row.getKey().f23id] = true;
|
||||||
}
|
}
|
||||||
SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates);
|
SolverVariable pivotCandidate = row.getPivotCandidate(this, this.mAlreadyTestedCandidates);
|
||||||
if (pivotCandidate != null) {
|
if (pivotCandidate != null) {
|
||||||
boolean[] zArr = this.mAlreadyTestedCandidates;
|
boolean[] zArr = this.mAlreadyTestedCandidates;
|
||||||
int i3 = pivotCandidate.f21id;
|
int i3 = pivotCandidate.f23id;
|
||||||
if (zArr[i3]) {
|
if (zArr[i3]) {
|
||||||
return i2;
|
return i2;
|
||||||
}
|
}
|
||||||
|
@ -594,7 +594,7 @@ public class LinearSystem {
|
||||||
solverVariable.setFinalValue(this, f);
|
solverVariable.setFinalValue(this, f);
|
||||||
for (int i3 = 0; i3 < this.mVariablesID + 1; i3++) {
|
for (int i3 = 0; i3 < this.mVariablesID + 1; i3++) {
|
||||||
SolverVariable solverVariable2 = this.mCache.mIndexedVariables[i3];
|
SolverVariable solverVariable2 = this.mCache.mIndexedVariables[i3];
|
||||||
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f21id) {
|
if (solverVariable2 != null && solverVariable2.isSynonym && solverVariable2.synonym == solverVariable.f23id) {
|
||||||
solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f);
|
solverVariable2.setFinalValue(this, solverVariable2.synonymDelta + f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -715,7 +715,7 @@ public class LinearSystem {
|
||||||
int i2 = this.mVariablesID + 1;
|
int i2 = this.mVariablesID + 1;
|
||||||
this.mVariablesID = i2;
|
this.mVariablesID = i2;
|
||||||
this.mNumColumns++;
|
this.mNumColumns++;
|
||||||
acquireSolverVariable.f21id = i2;
|
acquireSolverVariable.f23id = i2;
|
||||||
acquireSolverVariable.strength = i;
|
acquireSolverVariable.strength = i;
|
||||||
this.mCache.mIndexedVariables[i2] = acquireSolverVariable;
|
this.mCache.mIndexedVariables[i2] = acquireSolverVariable;
|
||||||
this.mGoal.addError(acquireSolverVariable);
|
this.mGoal.addError(acquireSolverVariable);
|
||||||
|
@ -734,7 +734,7 @@ public class LinearSystem {
|
||||||
int i = this.mVariablesID + 1;
|
int i = this.mVariablesID + 1;
|
||||||
this.mVariablesID = i;
|
this.mVariablesID = i;
|
||||||
this.mNumColumns++;
|
this.mNumColumns++;
|
||||||
acquireSolverVariable.f21id = i;
|
acquireSolverVariable.f23id = i;
|
||||||
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
||||||
return acquireSolverVariable;
|
return acquireSolverVariable;
|
||||||
}
|
}
|
||||||
|
@ -754,7 +754,7 @@ public class LinearSystem {
|
||||||
constraintAnchor.resetSolverVariable(this.mCache);
|
constraintAnchor.resetSolverVariable(this.mCache);
|
||||||
solverVariable = constraintAnchor.getSolverVariable();
|
solverVariable = constraintAnchor.getSolverVariable();
|
||||||
}
|
}
|
||||||
int i = solverVariable.f21id;
|
int i = solverVariable.f23id;
|
||||||
if (i == -1 || i > this.mVariablesID || this.mCache.mIndexedVariables[i] == null) {
|
if (i == -1 || i > this.mVariablesID || this.mCache.mIndexedVariables[i] == null) {
|
||||||
if (i != -1) {
|
if (i != -1) {
|
||||||
solverVariable.reset();
|
solverVariable.reset();
|
||||||
|
@ -762,7 +762,7 @@ public class LinearSystem {
|
||||||
int i2 = this.mVariablesID + 1;
|
int i2 = this.mVariablesID + 1;
|
||||||
this.mVariablesID = i2;
|
this.mVariablesID = i2;
|
||||||
this.mNumColumns++;
|
this.mNumColumns++;
|
||||||
solverVariable.f21id = i2;
|
solverVariable.f23id = i2;
|
||||||
solverVariable.mType = SolverVariable.Type.UNRESTRICTED;
|
solverVariable.mType = SolverVariable.Type.UNRESTRICTED;
|
||||||
this.mCache.mIndexedVariables[i2] = solverVariable;
|
this.mCache.mIndexedVariables[i2] = solverVariable;
|
||||||
}
|
}
|
||||||
|
@ -805,41 +805,41 @@ public class LinearSystem {
|
||||||
int i = this.mVariablesID + 1;
|
int i = this.mVariablesID + 1;
|
||||||
this.mVariablesID = i;
|
this.mVariablesID = i;
|
||||||
this.mNumColumns++;
|
this.mNumColumns++;
|
||||||
acquireSolverVariable.f21id = i;
|
acquireSolverVariable.f23id = i;
|
||||||
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
this.mCache.mIndexedVariables[i] = acquireSolverVariable;
|
||||||
return acquireSolverVariable;
|
return acquireSolverVariable;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void displayReadableRows() {
|
public void displayReadableRows() {
|
||||||
displaySolverVariables();
|
displaySolverVariables();
|
||||||
String w = a.w(a.L(" num vars "), this.mVariablesID, "\n");
|
String z2 = a.z(a.P(" num vars "), this.mVariablesID, "\n");
|
||||||
for (int i = 0; i < this.mVariablesID + 1; i++) {
|
for (int i = 0; i < this.mVariablesID + 1; i++) {
|
||||||
SolverVariable solverVariable = this.mCache.mIndexedVariables[i];
|
SolverVariable solverVariable = this.mCache.mIndexedVariables[i];
|
||||||
if (solverVariable != null && solverVariable.isFinalValue) {
|
if (solverVariable != null && solverVariable.isFinalValue) {
|
||||||
w = w + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n";
|
z2 = z2 + " $[" + i + "] => " + solverVariable + " = " + solverVariable.computedValue + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String s2 = a.s(w, "\n");
|
String u = a.u(z2, "\n");
|
||||||
for (int i2 = 0; i2 < this.mVariablesID + 1; i2++) {
|
for (int i2 = 0; i2 < this.mVariablesID + 1; i2++) {
|
||||||
SolverVariable[] solverVariableArr = this.mCache.mIndexedVariables;
|
SolverVariable[] solverVariableArr = this.mCache.mIndexedVariables;
|
||||||
SolverVariable solverVariable2 = solverVariableArr[i2];
|
SolverVariable solverVariable2 = solverVariableArr[i2];
|
||||||
if (solverVariable2 != null && solverVariable2.isSynonym) {
|
if (solverVariable2 != null && solverVariable2.isSynonym) {
|
||||||
s2 = s2 + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n";
|
u = u + " ~[" + i2 + "] => " + solverVariable2 + " = " + solverVariableArr[solverVariable2.synonym] + " + " + solverVariable2.synonymDelta + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String s3 = a.s(s2, "\n\n # ");
|
String u2 = a.u(u, "\n\n # ");
|
||||||
for (int i3 = 0; i3 < this.mNumRows; i3++) {
|
for (int i3 = 0; i3 < this.mNumRows; i3++) {
|
||||||
StringBuilder L = a.L(s3);
|
StringBuilder P = a.P(u2);
|
||||||
L.append(this.mRows[i3].toReadableString());
|
P.append(this.mRows[i3].toReadableString());
|
||||||
s3 = a.s(L.toString(), "\n # ");
|
u2 = a.u(P.toString(), "\n # ");
|
||||||
}
|
}
|
||||||
if (this.mGoal != null) {
|
if (this.mGoal != null) {
|
||||||
StringBuilder P = a.P(s3, "Goal: ");
|
StringBuilder U = a.U(u2, "Goal: ");
|
||||||
P.append(this.mGoal);
|
U.append(this.mGoal);
|
||||||
P.append("\n");
|
U.append("\n");
|
||||||
s3 = P.toString();
|
u2 = U.toString();
|
||||||
}
|
}
|
||||||
System.out.println(s3);
|
System.out.println(u2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void displaySystemInformations() {
|
public void displaySystemInformations() {
|
||||||
|
@ -858,28 +858,28 @@ public class LinearSystem {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
StringBuilder L = a.L("Linear System -> Table size: ");
|
StringBuilder P = a.P("Linear System -> Table size: ");
|
||||||
L.append(this.TABLE_SIZE);
|
P.append(this.TABLE_SIZE);
|
||||||
L.append(" (");
|
P.append(" (");
|
||||||
int i5 = this.TABLE_SIZE;
|
int i5 = this.TABLE_SIZE;
|
||||||
L.append(getDisplaySize(i5 * i5));
|
P.append(getDisplaySize(i5 * i5));
|
||||||
L.append(") -- row sizes: ");
|
P.append(") -- row sizes: ");
|
||||||
L.append(getDisplaySize(i));
|
P.append(getDisplaySize(i));
|
||||||
L.append(", actual size: ");
|
P.append(", actual size: ");
|
||||||
L.append(getDisplaySize(i3));
|
P.append(getDisplaySize(i3));
|
||||||
L.append(" rows: ");
|
P.append(" rows: ");
|
||||||
L.append(this.mNumRows);
|
P.append(this.mNumRows);
|
||||||
L.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
P.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||||
L.append(this.mMaxRows);
|
P.append(this.mMaxRows);
|
||||||
L.append(" cols: ");
|
P.append(" cols: ");
|
||||||
L.append(this.mNumColumns);
|
P.append(this.mNumColumns);
|
||||||
L.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
P.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||||
L.append(this.mMaxColumns);
|
P.append(this.mMaxColumns);
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(0);
|
P.append(0);
|
||||||
L.append(" occupied cells, ");
|
P.append(" occupied cells, ");
|
||||||
L.append(getDisplaySize(0));
|
P.append(getDisplaySize(0));
|
||||||
printStream.println(L.toString());
|
printStream.println(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void displayVariablesReadableRows() {
|
public void displayVariablesReadableRows() {
|
||||||
|
@ -887,15 +887,15 @@ public class LinearSystem {
|
||||||
String str = "";
|
String str = "";
|
||||||
for (int i = 0; i < this.mNumRows; i++) {
|
for (int i = 0; i < this.mNumRows; i++) {
|
||||||
if (this.mRows[i].variable.mType == SolverVariable.Type.UNRESTRICTED) {
|
if (this.mRows[i].variable.mType == SolverVariable.Type.UNRESTRICTED) {
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(this.mRows[i].toReadableString());
|
P.append(this.mRows[i].toReadableString());
|
||||||
str = a.s(L.toString(), "\n");
|
str = a.u(P.toString(), "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L(str);
|
StringBuilder P2 = a.P(str);
|
||||||
L2.append(this.mGoal);
|
P2.append(this.mGoal);
|
||||||
L2.append("\n");
|
P2.append("\n");
|
||||||
System.out.println(L2.toString());
|
System.out.println(P2.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fillMetrics(Metrics metrics) {
|
public void fillMetrics(Metrics metrics) {
|
||||||
|
|
|
@ -83,23 +83,23 @@ public class Metrics {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("\n*** Metrics ***\nmeasures: ");
|
StringBuilder P = a.P("\n*** Metrics ***\nmeasures: ");
|
||||||
L.append(this.measures);
|
P.append(this.measures);
|
||||||
L.append("\nmeasuresWrap: ");
|
P.append("\nmeasuresWrap: ");
|
||||||
L.append(this.measuresWrap);
|
P.append(this.measuresWrap);
|
||||||
L.append("\nmeasuresWrapInfeasible: ");
|
P.append("\nmeasuresWrapInfeasible: ");
|
||||||
L.append(this.measuresWrapInfeasible);
|
P.append(this.measuresWrapInfeasible);
|
||||||
L.append("\ndetermineGroups: ");
|
P.append("\ndetermineGroups: ");
|
||||||
L.append(this.determineGroups);
|
P.append(this.determineGroups);
|
||||||
L.append("\ninfeasibleDetermineGroups: ");
|
P.append("\ninfeasibleDetermineGroups: ");
|
||||||
L.append(this.infeasibleDetermineGroups);
|
P.append(this.infeasibleDetermineGroups);
|
||||||
L.append("\ngraphOptimizer: ");
|
P.append("\ngraphOptimizer: ");
|
||||||
L.append(this.graphOptimizer);
|
P.append(this.graphOptimizer);
|
||||||
L.append("\nwidgets: ");
|
P.append("\nwidgets: ");
|
||||||
L.append(this.widgets);
|
P.append(this.widgets);
|
||||||
L.append("\ngraphSolved: ");
|
P.append("\ngraphSolved: ");
|
||||||
L.append(this.graphSolved);
|
P.append(this.graphSolved);
|
||||||
L.append("\nlinearSolved: ");
|
P.append("\nlinearSolved: ");
|
||||||
return a.y(L, this.linearSolved, "\n");
|
return a.A(P, this.linearSolved, "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) {
|
public int compare(SolverVariable solverVariable, SolverVariable solverVariable2) {
|
||||||
return solverVariable.f21id - solverVariable2.f21id;
|
return solverVariable.f23id - solverVariable2.f23id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
|
|
||||||
@Override // java.lang.Comparable
|
@Override // java.lang.Comparable
|
||||||
public int compareTo(Object obj) {
|
public int compareTo(Object obj) {
|
||||||
return this.variable.f21id - ((SolverVariable) obj).f21id;
|
return this.variable.f23id - ((SolverVariable) obj).f23id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void init(SolverVariable solverVariable) {
|
public void init(SolverVariable solverVariable) {
|
||||||
|
@ -132,15 +132,15 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
String str = "[ ";
|
String str = "[ ";
|
||||||
if (this.variable != null) {
|
if (this.variable != null) {
|
||||||
for (int i = 0; i < 9; i++) {
|
for (int i = 0; i < 9; i++) {
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(this.variable.goalStrengthVector[i]);
|
P.append(this.variable.goalStrengthVector[i]);
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
str = L.toString();
|
str = P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StringBuilder P = a.P(str, "] ");
|
StringBuilder U = a.U(str, "] ");
|
||||||
P.append(this.variable);
|
U.append(this.variable);
|
||||||
return P.toString();
|
return U.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
solverVariableArr3[i3] = solverVariable;
|
solverVariableArr3[i3] = solverVariable;
|
||||||
int i4 = i3 + 1;
|
int i4 = i3 + 1;
|
||||||
this.numGoals = i4;
|
this.numGoals = i4;
|
||||||
if (i4 > 1 && solverVariableArr3[i4 - 1].f21id > solverVariable.f21id) {
|
if (i4 > 1 && solverVariableArr3[i4 - 1].f23id > solverVariable.f23id) {
|
||||||
int i5 = 0;
|
int i5 = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
i = this.numGoals;
|
i = this.numGoals;
|
||||||
|
@ -228,7 +228,7 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
int i = -1;
|
int i = -1;
|
||||||
for (int i2 = 0; i2 < this.numGoals; i2++) {
|
for (int i2 = 0; i2 < this.numGoals; i2++) {
|
||||||
SolverVariable solverVariable = this.arrayGoals[i2];
|
SolverVariable solverVariable = this.arrayGoals[i2];
|
||||||
if (!zArr[solverVariable.f21id]) {
|
if (!zArr[solverVariable.f23id]) {
|
||||||
this.accessor.init(solverVariable);
|
this.accessor.init(solverVariable);
|
||||||
if (i == -1) {
|
if (i == -1) {
|
||||||
if (!this.accessor.isNegative()) {
|
if (!this.accessor.isNegative()) {
|
||||||
|
@ -251,10 +251,10 @@ public class PriorityGoalRow extends ArrayRow {
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.solver.ArrayRow
|
@Override // androidx.constraintlayout.solver.ArrayRow
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder P = a.P("", " goal -> (");
|
StringBuilder U = a.U("", " goal -> (");
|
||||||
P.append(this.constantValue);
|
U.append(this.constantValue);
|
||||||
P.append(") : ");
|
U.append(") : ");
|
||||||
String sb = P.toString();
|
String sb = U.toString();
|
||||||
for (int i = 0; i < this.numGoals; i++) {
|
for (int i = 0; i < this.numGoals; i++) {
|
||||||
this.accessor.init(this.arrayGoals[i]);
|
this.accessor.init(this.arrayGoals[i]);
|
||||||
sb = sb + this.accessor + " ";
|
sb = sb + this.accessor + " ";
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class SolverVariable {
|
||||||
public float[] goalStrengthVector;
|
public float[] goalStrengthVector;
|
||||||
|
|
||||||
/* renamed from: id reason: collision with root package name */
|
/* renamed from: id reason: collision with root package name */
|
||||||
public int f21id;
|
public int f23id;
|
||||||
public boolean inGoal;
|
public boolean inGoal;
|
||||||
public HashSet<ArrayRow> inRows;
|
public HashSet<ArrayRow> inRows;
|
||||||
public boolean isFinalValue;
|
public boolean isFinalValue;
|
||||||
|
@ -82,7 +82,7 @@ public class SolverVariable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SolverVariable(Type type, String str) {
|
public SolverVariable(Type type, String str) {
|
||||||
this.f21id = -1;
|
this.f23id = -1;
|
||||||
this.definitionId = -1;
|
this.definitionId = -1;
|
||||||
this.strength = 0;
|
this.strength = 0;
|
||||||
this.isFinalValue = false;
|
this.isFinalValue = false;
|
||||||
|
@ -99,7 +99,7 @@ public class SolverVariable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public SolverVariable(String str, Type type) {
|
public SolverVariable(String str, Type type) {
|
||||||
this.f21id = -1;
|
this.f23id = -1;
|
||||||
this.definitionId = -1;
|
this.definitionId = -1;
|
||||||
this.strength = 0;
|
this.strength = 0;
|
||||||
this.isFinalValue = false;
|
this.isFinalValue = false;
|
||||||
|
@ -118,41 +118,41 @@ public class SolverVariable {
|
||||||
|
|
||||||
private static String getUniqueName(Type type, String str) {
|
private static String getUniqueName(Type type, String str) {
|
||||||
if (str != null) {
|
if (str != null) {
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(uniqueErrorId);
|
P.append(uniqueErrorId);
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
int ordinal = type.ordinal();
|
int ordinal = type.ordinal();
|
||||||
if (ordinal == 0) {
|
if (ordinal == 0) {
|
||||||
StringBuilder L2 = a.L("U");
|
StringBuilder P2 = a.P("U");
|
||||||
int i = uniqueUnrestrictedId + 1;
|
int i = uniqueUnrestrictedId + 1;
|
||||||
uniqueUnrestrictedId = i;
|
uniqueUnrestrictedId = i;
|
||||||
L2.append(i);
|
P2.append(i);
|
||||||
return L2.toString();
|
return P2.toString();
|
||||||
} else if (ordinal == 1) {
|
} else if (ordinal == 1) {
|
||||||
StringBuilder L3 = a.L("C");
|
StringBuilder P3 = a.P("C");
|
||||||
int i2 = uniqueConstantId + 1;
|
int i2 = uniqueConstantId + 1;
|
||||||
uniqueConstantId = i2;
|
uniqueConstantId = i2;
|
||||||
L3.append(i2);
|
P3.append(i2);
|
||||||
return L3.toString();
|
return P3.toString();
|
||||||
} else if (ordinal == 2) {
|
} else if (ordinal == 2) {
|
||||||
StringBuilder L4 = a.L(ExifInterface.LATITUDE_SOUTH);
|
StringBuilder P4 = a.P(ExifInterface.LATITUDE_SOUTH);
|
||||||
int i3 = uniqueSlackId + 1;
|
int i3 = uniqueSlackId + 1;
|
||||||
uniqueSlackId = i3;
|
uniqueSlackId = i3;
|
||||||
L4.append(i3);
|
P4.append(i3);
|
||||||
return L4.toString();
|
return P4.toString();
|
||||||
} else if (ordinal == 3) {
|
} else if (ordinal == 3) {
|
||||||
StringBuilder L5 = a.L("e");
|
StringBuilder P5 = a.P("e");
|
||||||
int i4 = uniqueErrorId + 1;
|
int i4 = uniqueErrorId + 1;
|
||||||
uniqueErrorId = i4;
|
uniqueErrorId = i4;
|
||||||
L5.append(i4);
|
P5.append(i4);
|
||||||
return L5.toString();
|
return P5.toString();
|
||||||
} else if (ordinal == 4) {
|
} else if (ordinal == 4) {
|
||||||
StringBuilder L6 = a.L(ExifInterface.GPS_MEASUREMENT_INTERRUPTED);
|
StringBuilder P6 = a.P(ExifInterface.GPS_MEASUREMENT_INTERRUPTED);
|
||||||
int i5 = uniqueId + 1;
|
int i5 = uniqueId + 1;
|
||||||
uniqueId = i5;
|
uniqueId = i5;
|
||||||
L6.append(i5);
|
P6.append(i5);
|
||||||
return L6.toString();
|
return P6.toString();
|
||||||
} else {
|
} else {
|
||||||
throw new AssertionError(type.name());
|
throw new AssertionError(type.name());
|
||||||
}
|
}
|
||||||
|
@ -216,7 +216,7 @@ public class SolverVariable {
|
||||||
this.mName = null;
|
this.mName = null;
|
||||||
this.mType = Type.UNKNOWN;
|
this.mType = Type.UNKNOWN;
|
||||||
this.strength = 0;
|
this.strength = 0;
|
||||||
this.f21id = -1;
|
this.f23id = -1;
|
||||||
this.definitionId = -1;
|
this.definitionId = -1;
|
||||||
this.computedValue = 0.0f;
|
this.computedValue = 0.0f;
|
||||||
this.isFinalValue = false;
|
this.isFinalValue = false;
|
||||||
|
@ -253,7 +253,7 @@ public class SolverVariable {
|
||||||
|
|
||||||
public void setSynonym(LinearSystem linearSystem, SolverVariable solverVariable, float f) {
|
public void setSynonym(LinearSystem linearSystem, SolverVariable solverVariable, float f) {
|
||||||
this.isSynonym = true;
|
this.isSynonym = true;
|
||||||
this.synonym = solverVariable.f21id;
|
this.synonym = solverVariable.f23id;
|
||||||
this.synonymDelta = f;
|
this.synonymDelta = f;
|
||||||
int i = this.mClientEquationsCount;
|
int i = this.mClientEquationsCount;
|
||||||
this.definitionId = -1;
|
this.definitionId = -1;
|
||||||
|
@ -274,9 +274,9 @@ public class SolverVariable {
|
||||||
boolean z2 = false;
|
boolean z2 = false;
|
||||||
boolean z3 = true;
|
boolean z3 = true;
|
||||||
while (i < this.strengthVector.length) {
|
while (i < this.strengthVector.length) {
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(this.strengthVector[i]);
|
P.append(this.strengthVector[i]);
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
float[] fArr = this.strengthVector;
|
float[] fArr = this.strengthVector;
|
||||||
if (fArr[i] > 0.0f) {
|
if (fArr[i] > 0.0f) {
|
||||||
z2 = false;
|
z2 = false;
|
||||||
|
@ -286,24 +286,24 @@ public class SolverVariable {
|
||||||
if (fArr[i] != 0.0f) {
|
if (fArr[i] != 0.0f) {
|
||||||
z3 = false;
|
z3 = false;
|
||||||
}
|
}
|
||||||
str = i < fArr.length + -1 ? a.s(sb, ", ") : a.s(sb, "] ");
|
str = i < fArr.length + -1 ? a.u(sb, ", ") : a.u(sb, "] ");
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (z2) {
|
if (z2) {
|
||||||
str = a.s(str, " (-)");
|
str = a.u(str, " (-)");
|
||||||
}
|
}
|
||||||
return z3 ? a.s(str, " (*)") : str;
|
return z3 ? a.u(str, " (*)") : str;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
if (this.mName != null) {
|
if (this.mName != null) {
|
||||||
StringBuilder L = a.L("");
|
StringBuilder P = a.P("");
|
||||||
L.append(this.mName);
|
P.append(this.mName);
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L("");
|
StringBuilder P2 = a.P("");
|
||||||
L2.append(this.f21id);
|
P2.append(this.f23id);
|
||||||
return L2.toString();
|
return P2.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void updateReferencesWithNewDefinition(LinearSystem linearSystem, ArrayRow arrayRow) {
|
public final void updateReferencesWithNewDefinition(LinearSystem linearSystem, ArrayRow arrayRow) {
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
|
|
||||||
private void addToHashMap(SolverVariable solverVariable, int i) {
|
private void addToHashMap(SolverVariable solverVariable, int i) {
|
||||||
int[] iArr;
|
int[] iArr;
|
||||||
int i2 = solverVariable.f21id % this.HASH_SIZE;
|
int i2 = solverVariable.f23id % this.HASH_SIZE;
|
||||||
int[] iArr2 = this.keys;
|
int[] iArr2 = this.keys;
|
||||||
int i3 = iArr2[i2];
|
int i3 = iArr2[i2];
|
||||||
if (i3 == -1) {
|
if (i3 == -1) {
|
||||||
|
@ -49,7 +49,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addVariable(int i, SolverVariable solverVariable, float f) {
|
private void addVariable(int i, SolverVariable solverVariable, float f) {
|
||||||
this.variables[i] = solverVariable.f21id;
|
this.variables[i] = solverVariable.f23id;
|
||||||
this.values[i] = f;
|
this.values[i] = f;
|
||||||
this.previous[i] = -1;
|
this.previous[i] = -1;
|
||||||
this.next[i] = -1;
|
this.next[i] = -1;
|
||||||
|
@ -65,9 +65,9 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
int i2 = this.keys[i];
|
int i2 = this.keys[i];
|
||||||
boolean z2 = false;
|
boolean z2 = false;
|
||||||
while (!z2) {
|
while (!z2) {
|
||||||
StringBuilder P = a.P(str, " ");
|
StringBuilder U = a.U(str, " ");
|
||||||
P.append(this.variables[i2]);
|
U.append(this.variables[i2]);
|
||||||
str = P.toString();
|
str = U.toString();
|
||||||
int[] iArr = this.nextKeys;
|
int[] iArr = this.nextKeys;
|
||||||
if (iArr[i2] != -1) {
|
if (iArr[i2] != -1) {
|
||||||
i2 = iArr[i2];
|
i2 = iArr[i2];
|
||||||
|
@ -129,7 +129,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
|
|
||||||
private void removeFromHashMap(SolverVariable solverVariable) {
|
private void removeFromHashMap(SolverVariable solverVariable) {
|
||||||
int[] iArr;
|
int[] iArr;
|
||||||
int i = solverVariable.f21id;
|
int i = solverVariable.f23id;
|
||||||
int i2 = i % this.HASH_SIZE;
|
int i2 = i % this.HASH_SIZE;
|
||||||
int[] iArr2 = this.keys;
|
int[] iArr2 = this.keys;
|
||||||
int i3 = iArr2[i2];
|
int i3 = iArr2[i2];
|
||||||
|
@ -281,7 +281,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
public int indexOf(SolverVariable solverVariable) {
|
public int indexOf(SolverVariable solverVariable) {
|
||||||
int[] iArr;
|
int[] iArr;
|
||||||
if (!(this.mCount == 0 || solverVariable == null)) {
|
if (!(this.mCount == 0 || solverVariable == null)) {
|
||||||
int i = solverVariable.f21id;
|
int i = solverVariable.f23id;
|
||||||
int i2 = this.keys[i % this.HASH_SIZE];
|
int i2 = this.keys[i % this.HASH_SIZE];
|
||||||
if (i2 == -1) {
|
if (i2 == -1) {
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -341,7 +341,7 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
for (int i4 = 0; i4 < i; i4++) {
|
for (int i4 = 0; i4 < i; i4++) {
|
||||||
int[] iArr = this.variables;
|
int[] iArr = this.variables;
|
||||||
int i5 = iArr[i2];
|
int i5 = iArr[i2];
|
||||||
int i6 = solverVariable.f21id;
|
int i6 = solverVariable.f23id;
|
||||||
if (i5 == i6) {
|
if (i5 == i6) {
|
||||||
this.values[i2] = f;
|
this.values[i2] = f;
|
||||||
return;
|
return;
|
||||||
|
@ -404,26 +404,26 @@ public class SolverVariableValues implements ArrayRow.ArrayRowVariables {
|
||||||
if (variable != null) {
|
if (variable != null) {
|
||||||
String str4 = str3 + variable + " = " + getVariableValue(i2) + " ";
|
String str4 = str3 + variable + " = " + getVariableValue(i2) + " ";
|
||||||
int indexOf = indexOf(variable);
|
int indexOf = indexOf(variable);
|
||||||
String s2 = a.s(str4, "[p: ");
|
String u = a.u(str4, "[p: ");
|
||||||
if (this.previous[indexOf] != -1) {
|
if (this.previous[indexOf] != -1) {
|
||||||
StringBuilder L = a.L(s2);
|
StringBuilder P = a.P(u);
|
||||||
L.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]);
|
P.append(this.mCache.mIndexedVariables[this.variables[this.previous[indexOf]]]);
|
||||||
str = L.toString();
|
str = P.toString();
|
||||||
} else {
|
} else {
|
||||||
str = a.s(s2, "none");
|
str = a.u(u, "none");
|
||||||
}
|
}
|
||||||
String s3 = a.s(str, ", n: ");
|
String u2 = a.u(str, ", n: ");
|
||||||
if (this.next[indexOf] != -1) {
|
if (this.next[indexOf] != -1) {
|
||||||
StringBuilder L2 = a.L(s3);
|
StringBuilder P2 = a.P(u2);
|
||||||
L2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]);
|
P2.append(this.mCache.mIndexedVariables[this.variables[this.next[indexOf]]]);
|
||||||
str2 = L2.toString();
|
str2 = P2.toString();
|
||||||
} else {
|
} else {
|
||||||
str2 = a.s(s3, "none");
|
str2 = a.u(u2, "none");
|
||||||
}
|
}
|
||||||
str3 = a.s(str2, "]");
|
str3 = a.u(str2, "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return a.s(str3, " }");
|
return a.u(str3, " }");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.solver.ArrayRow.ArrayRowVariables
|
@Override // androidx.constraintlayout.solver.ArrayRow.ArrayRowVariables
|
||||||
|
|
|
@ -131,9 +131,9 @@ public class ConstraintReference implements Reference {
|
||||||
|
|
||||||
@Override // java.lang.Throwable, java.lang.Object
|
@Override // java.lang.Throwable, java.lang.Object
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("IncorrectConstraintException: ");
|
StringBuilder P = a.P("IncorrectConstraintException: ");
|
||||||
L.append(this.mErrors.toString());
|
P.append(this.mErrors.toString());
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -105,10 +105,10 @@ public class State {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String createHelperKey() {
|
private String createHelperKey() {
|
||||||
StringBuilder L = a.L("__HELPER_KEY_");
|
StringBuilder P = a.P("__HELPER_KEY_");
|
||||||
int i = this.numHelpers;
|
int i = this.numHelpers;
|
||||||
this.numHelpers = i + 1;
|
this.numHelpers = i + 1;
|
||||||
return a.w(L, i, "__");
|
return a.z(P, i, "__");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void apply(ConstraintWidgetContainer constraintWidgetContainer) {
|
public void apply(ConstraintWidgetContainer constraintWidgetContainer) {
|
||||||
|
|
|
@ -252,19 +252,19 @@ public class Barrier extends HelperWidget {
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.solver.widgets.ConstraintWidget
|
@Override // androidx.constraintlayout.solver.widgets.ConstraintWidget
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("[Barrier] ");
|
StringBuilder P = a.P("[Barrier] ");
|
||||||
L.append(getDebugName());
|
P.append(getDebugName());
|
||||||
L.append(" {");
|
P.append(" {");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
for (int i = 0; i < this.mWidgetsCount; i++) {
|
for (int i = 0; i < this.mWidgetsCount; i++) {
|
||||||
ConstraintWidget constraintWidget = this.mWidgets[i];
|
ConstraintWidget constraintWidget = this.mWidgets[i];
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
sb = a.s(sb, ", ");
|
sb = a.u(sb, ", ");
|
||||||
}
|
}
|
||||||
StringBuilder L2 = a.L(sb);
|
StringBuilder P2 = a.P(sb);
|
||||||
L2.append(constraintWidget.getDebugName());
|
P2.append(constraintWidget.getDebugName());
|
||||||
sb = L2.toString();
|
sb = P2.toString();
|
||||||
}
|
}
|
||||||
return a.s(sb, "}");
|
return a.u(sb, "}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3058,9 +3058,9 @@ public class ConstraintWidget {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
String str = "";
|
String str = "";
|
||||||
sb.append(this.mType != null ? a.D(a.L("type: "), this.mType, " ") : str);
|
sb.append(this.mType != null ? a.H(a.P("type: "), this.mType, " ") : str);
|
||||||
if (this.mDebugName != null) {
|
if (this.mDebugName != null) {
|
||||||
str = a.D(a.L("id: "), this.mDebugName, " ");
|
str = a.H(a.P("id: "), this.mDebugName, " ");
|
||||||
}
|
}
|
||||||
sb.append(str);
|
sb.append(str);
|
||||||
sb.append("(");
|
sb.append("(");
|
||||||
|
@ -3070,7 +3070,7 @@ public class ConstraintWidget {
|
||||||
sb.append(") - (");
|
sb.append(") - (");
|
||||||
sb.append(this.mWidth);
|
sb.append(this.mWidth);
|
||||||
sb.append(" x ");
|
sb.append(" x ");
|
||||||
return a.w(sb, this.mHeight, ")");
|
return a.z(sb, this.mHeight, ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateFromRuns(boolean z2, boolean z3) {
|
public void updateFromRuns(boolean z2, boolean z3) {
|
||||||
|
|
|
@ -4,28 +4,28 @@ public class Rectangle {
|
||||||
public int width;
|
public int width;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public int f22x;
|
public int f24x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public int f23y;
|
public int f25y;
|
||||||
|
|
||||||
public boolean contains(int i, int i2) {
|
public boolean contains(int i, int i2) {
|
||||||
int i3;
|
int i3;
|
||||||
int i4 = this.f22x;
|
int i4 = this.f24x;
|
||||||
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f23y) && i2 < i3 + this.height;
|
return i >= i4 && i < i4 + this.width && i2 >= (i3 = this.f25y) && i2 < i3 + this.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCenterX() {
|
public int getCenterX() {
|
||||||
return (this.f22x + this.width) / 2;
|
return (this.f24x + this.width) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCenterY() {
|
public int getCenterY() {
|
||||||
return (this.f23y + this.height) / 2;
|
return (this.f25y + this.height) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void grow(int i, int i2) {
|
public void grow(int i, int i2) {
|
||||||
this.f22x -= i;
|
this.f24x -= i;
|
||||||
this.f23y -= i2;
|
this.f25y -= i2;
|
||||||
this.width = (i * 2) + this.width;
|
this.width = (i * 2) + this.width;
|
||||||
this.height = (i2 * 2) + this.height;
|
this.height = (i2 * 2) + this.height;
|
||||||
}
|
}
|
||||||
|
@ -33,14 +33,14 @@ public class Rectangle {
|
||||||
public boolean intersects(Rectangle rectangle) {
|
public boolean intersects(Rectangle rectangle) {
|
||||||
int i;
|
int i;
|
||||||
int i2;
|
int i2;
|
||||||
int i3 = this.f22x;
|
int i3 = this.f24x;
|
||||||
int i4 = rectangle.f22x;
|
int i4 = rectangle.f24x;
|
||||||
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f23y) >= (i2 = rectangle.f23y) && i < i2 + rectangle.height;
|
return i3 >= i4 && i3 < i4 + rectangle.width && (i = this.f25y) >= (i2 = rectangle.f25y) && i < i2 + rectangle.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBounds(int i, int i2, int i3, int i4) {
|
public void setBounds(int i, int i2, int i3, int i4) {
|
||||||
this.f22x = i;
|
this.f24x = i;
|
||||||
this.f23y = i2;
|
this.f25y = i2;
|
||||||
this.width = i3;
|
this.width = i3;
|
||||||
this.height = i4;
|
this.height = i4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,13 +173,13 @@ public class ChainRun extends WidgetRun {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("ChainRun ");
|
StringBuilder P = a.P("ChainRun ");
|
||||||
L.append(this.orientation == 0 ? "horizontal : " : "vertical : ");
|
P.append(this.orientation == 0 ? "horizontal : " : "vertical : ");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
Iterator<WidgetRun> it = this.widgets.iterator();
|
Iterator<WidgetRun> it = this.widgets.iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
String s2 = a.s(sb, "<");
|
String u = a.u(sb, "<");
|
||||||
sb = a.s(s2 + it.next(), "> ");
|
sb = a.u(u + it.next(), "> ");
|
||||||
}
|
}
|
||||||
return sb;
|
return sb;
|
||||||
}
|
}
|
||||||
|
|
|
@ -267,9 +267,9 @@ public class DependencyGraph {
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
str = generateDisplayGraph(it.next(), str);
|
str = generateDisplayGraph(it.next(), str);
|
||||||
}
|
}
|
||||||
String s2 = a.s(str, "\n}\n");
|
String u = a.u(str, "\n}\n");
|
||||||
PrintStream printStream = System.out;
|
PrintStream printStream = System.out;
|
||||||
printStream.println("content:<<\n" + s2 + "\n>>");
|
printStream.println("content:<<\n" + u + "\n>>");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void findGroup(WidgetRun widgetRun, int i, ArrayList<RunGroup> arrayList) {
|
private void findGroup(WidgetRun widgetRun, int i, ArrayList<RunGroup> arrayList) {
|
||||||
|
@ -298,19 +298,19 @@ public class DependencyGraph {
|
||||||
|
|
||||||
private String generateChainDisplayGraph(ChainRun chainRun, String str) {
|
private String generateChainDisplayGraph(ChainRun chainRun, String str) {
|
||||||
int i = chainRun.orientation;
|
int i = chainRun.orientation;
|
||||||
StringBuilder L = a.L("cluster_");
|
StringBuilder P = a.P("cluster_");
|
||||||
L.append(chainRun.widget.getDebugName());
|
P.append(chainRun.widget.getDebugName());
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
String t = a.t("subgraph ", i == 0 ? a.s(sb, "_h") : a.s(sb, "_v"), " {\n");
|
String v = a.v("subgraph ", i == 0 ? a.u(sb, "_h") : a.u(sb, "_v"), " {\n");
|
||||||
Iterator<WidgetRun> it = chainRun.widgets.iterator();
|
Iterator<WidgetRun> it = chainRun.widgets.iterator();
|
||||||
String str2 = "";
|
String str2 = "";
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
WidgetRun next = it.next();
|
WidgetRun next = it.next();
|
||||||
String debugName = next.widget.getDebugName();
|
String debugName = next.widget.getDebugName();
|
||||||
t = a.t(t, i == 0 ? a.s(debugName, "_HORIZONTAL") : a.s(debugName, "_VERTICAL"), ";\n");
|
v = a.v(v, i == 0 ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ";\n");
|
||||||
str2 = generateDisplayGraph(next, str2);
|
str2 = generateDisplayGraph(next, str2);
|
||||||
}
|
}
|
||||||
return a.t(str, str2, a.s(t, "}\n"));
|
return a.v(str, str2, a.u(v, "}\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private String generateDisplayGraph(WidgetRun widgetRun, String str) {
|
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()) {
|
if (!(widgetRun instanceof HelperReferences) && dependencyNode.dependencies.isEmpty() && (dependencyNode2.dependencies.isEmpty() && dependencyNode.targets.isEmpty()) && dependencyNode2.targets.isEmpty()) {
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L(str);
|
StringBuilder P = a.P(str);
|
||||||
L.append(nodeDefinition(widgetRun));
|
P.append(nodeDefinition(widgetRun));
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
boolean isCenteredConnection = isCenteredConnection(dependencyNode, dependencyNode2);
|
boolean isCenteredConnection = isCenteredConnection(dependencyNode, dependencyNode2);
|
||||||
String generateDisplayNode = generateDisplayNode(dependencyNode2, isCenteredConnection, generateDisplayNode(dependencyNode, isCenteredConnection, sb));
|
String generateDisplayNode = generateDisplayNode(dependencyNode2, isCenteredConnection, generateDisplayNode(dependencyNode, isCenteredConnection, sb));
|
||||||
boolean z3 = widgetRun instanceof VerticalWidgetRun;
|
boolean z3 = widgetRun instanceof VerticalWidgetRun;
|
||||||
|
@ -333,19 +333,19 @@ public class DependencyGraph {
|
||||||
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = widgetRun.widget.getHorizontalDimensionBehaviour();
|
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = widgetRun.widget.getHorizontalDimensionBehaviour();
|
||||||
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
||||||
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
||||||
StringBuilder L2 = a.L("\n");
|
StringBuilder P2 = a.P("\n");
|
||||||
L2.append(dependencyNode2.name());
|
P2.append(dependencyNode2.name());
|
||||||
L2.append(" -> ");
|
P2.append(" -> ");
|
||||||
L2.append(dependencyNode.name());
|
P2.append(dependencyNode.name());
|
||||||
L2.append("\n");
|
P2.append("\n");
|
||||||
generateDisplayNode = a.s(generateDisplayNode, L2.toString());
|
generateDisplayNode = a.u(generateDisplayNode, P2.toString());
|
||||||
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
||||||
StringBuilder L3 = a.L("\n");
|
StringBuilder P3 = a.P("\n");
|
||||||
L3.append(dependencyNode.name());
|
P3.append(dependencyNode.name());
|
||||||
L3.append(" -> ");
|
P3.append(" -> ");
|
||||||
L3.append(dependencyNode2.name());
|
P3.append(dependencyNode2.name());
|
||||||
L3.append("\n");
|
P3.append("\n");
|
||||||
generateDisplayNode = a.s(generateDisplayNode, L3.toString());
|
generateDisplayNode = a.u(generateDisplayNode, P3.toString());
|
||||||
}
|
}
|
||||||
} else if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
} else if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
||||||
widgetRun.widget.getDebugName();
|
widgetRun.widget.getDebugName();
|
||||||
|
@ -354,19 +354,19 @@ public class DependencyGraph {
|
||||||
ConstraintWidget.DimensionBehaviour verticalDimensionBehaviour = widgetRun.widget.getVerticalDimensionBehaviour();
|
ConstraintWidget.DimensionBehaviour verticalDimensionBehaviour = widgetRun.widget.getVerticalDimensionBehaviour();
|
||||||
if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.FIXED || verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.WRAP_CONTENT) {
|
||||||
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
if (!dependencyNode.targets.isEmpty() && dependencyNode2.targets.isEmpty()) {
|
||||||
StringBuilder L4 = a.L("\n");
|
StringBuilder P4 = a.P("\n");
|
||||||
L4.append(dependencyNode2.name());
|
P4.append(dependencyNode2.name());
|
||||||
L4.append(" -> ");
|
P4.append(" -> ");
|
||||||
L4.append(dependencyNode.name());
|
P4.append(dependencyNode.name());
|
||||||
L4.append("\n");
|
P4.append("\n");
|
||||||
generateDisplayNode = a.s(generateDisplayNode, L4.toString());
|
generateDisplayNode = a.u(generateDisplayNode, P4.toString());
|
||||||
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
} else if (dependencyNode.targets.isEmpty() && !dependencyNode2.targets.isEmpty()) {
|
||||||
StringBuilder L5 = a.L("\n");
|
StringBuilder P5 = a.P("\n");
|
||||||
L5.append(dependencyNode.name());
|
P5.append(dependencyNode.name());
|
||||||
L5.append(" -> ");
|
P5.append(" -> ");
|
||||||
L5.append(dependencyNode2.name());
|
P5.append(dependencyNode2.name());
|
||||||
L5.append("\n");
|
P5.append("\n");
|
||||||
generateDisplayNode = a.s(generateDisplayNode, L5.toString());
|
generateDisplayNode = a.u(generateDisplayNode, P5.toString());
|
||||||
}
|
}
|
||||||
} else if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
} else if (verticalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT && widgetRun.widget.getDimensionRatio() > 0.0f) {
|
||||||
widgetRun.widget.getDebugName();
|
widgetRun.widget.getDebugName();
|
||||||
|
@ -377,28 +377,28 @@ public class DependencyGraph {
|
||||||
|
|
||||||
private String generateDisplayNode(DependencyNode dependencyNode, boolean z2, String str) {
|
private String generateDisplayNode(DependencyNode dependencyNode, boolean z2, String str) {
|
||||||
for (DependencyNode dependencyNode2 : dependencyNode.targets) {
|
for (DependencyNode dependencyNode2 : dependencyNode.targets) {
|
||||||
StringBuilder L = a.L("\n");
|
StringBuilder P = a.P("\n");
|
||||||
L.append(dependencyNode.name());
|
P.append(dependencyNode.name());
|
||||||
StringBuilder P = a.P(L.toString(), " -> ");
|
StringBuilder U = a.U(P.toString(), " -> ");
|
||||||
P.append(dependencyNode2.name());
|
U.append(dependencyNode2.name());
|
||||||
String sb = P.toString();
|
String sb = U.toString();
|
||||||
if (dependencyNode.margin > 0 || z2 || (dependencyNode.run instanceof HelperReferences)) {
|
if (dependencyNode.margin > 0 || z2 || (dependencyNode.run instanceof HelperReferences)) {
|
||||||
String s2 = a.s(sb, "[");
|
String u = a.u(sb, "[");
|
||||||
if (dependencyNode.margin > 0) {
|
if (dependencyNode.margin > 0) {
|
||||||
s2 = a.w(a.P(s2, "label=\""), dependencyNode.margin, "\"");
|
u = a.z(a.U(u, "label=\""), dependencyNode.margin, "\"");
|
||||||
if (z2) {
|
if (z2) {
|
||||||
s2 = a.s(s2, ",");
|
u = a.u(u, ",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (z2) {
|
if (z2) {
|
||||||
s2 = a.s(s2, " style=dashed ");
|
u = a.u(u, " style=dashed ");
|
||||||
}
|
}
|
||||||
if (dependencyNode.run instanceof HelperReferences) {
|
if (dependencyNode.run instanceof HelperReferences) {
|
||||||
s2 = a.s(s2, " style=bold,color=gray ");
|
u = a.u(u, " style=bold,color=gray ");
|
||||||
}
|
}
|
||||||
sb = a.s(s2, "]");
|
sb = a.u(u, "]");
|
||||||
}
|
}
|
||||||
str = a.s(str, a.s(sb, "\n"));
|
str = a.u(str, a.u(sb, "\n"));
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
@ -441,59 +441,59 @@ public class DependencyGraph {
|
||||||
ConstraintWidget constraintWidget = widgetRun.widget;
|
ConstraintWidget constraintWidget = widgetRun.widget;
|
||||||
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = !z2 ? constraintWidget.getHorizontalDimensionBehaviour() : constraintWidget.getVerticalDimensionBehaviour();
|
ConstraintWidget.DimensionBehaviour horizontalDimensionBehaviour = !z2 ? constraintWidget.getHorizontalDimensionBehaviour() : constraintWidget.getVerticalDimensionBehaviour();
|
||||||
RunGroup runGroup = widgetRun.runGroup;
|
RunGroup runGroup = widgetRun.runGroup;
|
||||||
String s2 = a.s(a.s(a.s(!z2 ? a.s(debugName, "_HORIZONTAL") : a.s(debugName, "_VERTICAL"), " [shape=none, label=<"), "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"2\">"), " <TR>");
|
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>");
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
String s3 = a.s(s2, " <TD ");
|
String u2 = a.u(u, " <TD ");
|
||||||
if (widgetRun.start.resolved) {
|
if (widgetRun.start.resolved) {
|
||||||
s3 = a.s(s3, " BGCOLOR=\"green\"");
|
u2 = a.u(u2, " BGCOLOR=\"green\"");
|
||||||
}
|
}
|
||||||
str = a.s(s3, " PORT=\"LEFT\" BORDER=\"1\">L</TD>");
|
str = a.u(u2, " PORT=\"LEFT\" BORDER=\"1\">L</TD>");
|
||||||
} else {
|
} else {
|
||||||
String s4 = a.s(s2, " <TD ");
|
String u3 = a.u(u, " <TD ");
|
||||||
if (widgetRun.start.resolved) {
|
if (widgetRun.start.resolved) {
|
||||||
s4 = a.s(s4, " BGCOLOR=\"green\"");
|
u3 = a.u(u3, " BGCOLOR=\"green\"");
|
||||||
}
|
}
|
||||||
str = a.s(s4, " PORT=\"TOP\" BORDER=\"1\">T</TD>");
|
str = a.u(u3, " PORT=\"TOP\" BORDER=\"1\">T</TD>");
|
||||||
}
|
}
|
||||||
String s5 = a.s(str, " <TD BORDER=\"1\" ");
|
String u4 = a.u(str, " <TD BORDER=\"1\" ");
|
||||||
boolean z3 = widgetRun.dimension.resolved;
|
boolean z3 = widgetRun.dimension.resolved;
|
||||||
if (z3 && !widgetRun.widget.measured) {
|
if (z3 && !widgetRun.widget.measured) {
|
||||||
s5 = a.s(s5, " BGCOLOR=\"green\" ");
|
u4 = a.u(u4, " BGCOLOR=\"green\" ");
|
||||||
} else if (z3 && widgetRun.widget.measured) {
|
} else if (z3 && widgetRun.widget.measured) {
|
||||||
s5 = a.s(s5, " BGCOLOR=\"lightgray\" ");
|
u4 = a.u(u4, " BGCOLOR=\"lightgray\" ");
|
||||||
} else if (!z3 && widgetRun.widget.measured) {
|
} else if (!z3 && widgetRun.widget.measured) {
|
||||||
s5 = a.s(s5, " BGCOLOR=\"yellow\" ");
|
u4 = a.u(u4, " BGCOLOR=\"yellow\" ");
|
||||||
}
|
}
|
||||||
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT) {
|
if (horizontalDimensionBehaviour == ConstraintWidget.DimensionBehaviour.MATCH_CONSTRAINT) {
|
||||||
s5 = a.s(s5, "style=\"dashed\"");
|
u4 = a.u(u4, "style=\"dashed\"");
|
||||||
}
|
}
|
||||||
if (runGroup != null) {
|
if (runGroup != null) {
|
||||||
StringBuilder L = a.L(" [");
|
StringBuilder P = a.P(" [");
|
||||||
L.append(runGroup.groupIndex + 1);
|
P.append(runGroup.groupIndex + 1);
|
||||||
L.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
P.append(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN);
|
||||||
str2 = a.w(L, RunGroup.index, "]");
|
str2 = a.z(P, RunGroup.index, "]");
|
||||||
} else {
|
} else {
|
||||||
str2 = "";
|
str2 = "";
|
||||||
}
|
}
|
||||||
String str4 = s5 + ">" + debugName + str2 + " </TD>";
|
String str4 = u4 + ">" + debugName + str2 + " </TD>";
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
String s6 = a.s(str4, " <TD ");
|
String u5 = a.u(str4, " <TD ");
|
||||||
if (widgetRun.end.resolved) {
|
if (widgetRun.end.resolved) {
|
||||||
s6 = a.s(s6, " BGCOLOR=\"green\"");
|
u5 = a.u(u5, " BGCOLOR=\"green\"");
|
||||||
}
|
}
|
||||||
str3 = a.s(s6, " PORT=\"RIGHT\" BORDER=\"1\">R</TD>");
|
str3 = a.u(u5, " PORT=\"RIGHT\" BORDER=\"1\">R</TD>");
|
||||||
} else {
|
} else {
|
||||||
String s7 = a.s(str4, " <TD ");
|
String u6 = a.u(str4, " <TD ");
|
||||||
if ((widgetRun instanceof VerticalWidgetRun) && ((VerticalWidgetRun) widgetRun).baseline.resolved) {
|
if ((widgetRun instanceof VerticalWidgetRun) && ((VerticalWidgetRun) widgetRun).baseline.resolved) {
|
||||||
s7 = a.s(s7, " BGCOLOR=\"green\"");
|
u6 = a.u(u6, " BGCOLOR=\"green\"");
|
||||||
}
|
}
|
||||||
String s8 = a.s(a.s(s7, " PORT=\"BASELINE\" BORDER=\"1\">b</TD>"), " <TD ");
|
String u7 = a.u(a.u(u6, " PORT=\"BASELINE\" BORDER=\"1\">b</TD>"), " <TD ");
|
||||||
if (widgetRun.end.resolved) {
|
if (widgetRun.end.resolved) {
|
||||||
s8 = a.s(s8, " BGCOLOR=\"green\"");
|
u7 = a.u(u7, " BGCOLOR=\"green\"");
|
||||||
}
|
}
|
||||||
str3 = a.s(s8, " PORT=\"BOTTOM\" BORDER=\"1\">B</TD>");
|
str3 = a.u(u7, " PORT=\"BOTTOM\" BORDER=\"1\">B</TD>");
|
||||||
}
|
}
|
||||||
return a.s(a.s(str3, " </TR></TABLE>"), ">];\n");
|
return a.u(a.u(str3, " </TR></TABLE>"), ">];\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void buildGraph() {
|
public void buildGraph() {
|
||||||
|
|
|
@ -51,9 +51,9 @@ public class DependencyNode implements Dependency {
|
||||||
public String name() {
|
public String name() {
|
||||||
String debugName = this.run.widget.getDebugName();
|
String debugName = this.run.widget.getDebugName();
|
||||||
Type type = this.type;
|
Type type = this.type;
|
||||||
StringBuilder P = a.P((type == Type.LEFT || type == Type.RIGHT) ? a.s(debugName, "_HORIZONTAL") : a.s(debugName, "_VERTICAL"), ":");
|
StringBuilder U = a.U((type == Type.LEFT || type == Type.RIGHT) ? a.u(debugName, "_HORIZONTAL") : a.u(debugName, "_VERTICAL"), ":");
|
||||||
P.append(this.type.name());
|
U.append(this.type.name());
|
||||||
return P.toString();
|
return U.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void resolve(int i) {
|
public void resolve(int i) {
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class Grouping {
|
||||||
int findGroupInDependents;
|
int findGroupInDependents;
|
||||||
int i2 = i == 0 ? constraintWidget.horizontalGroup : constraintWidget.verticalGroup;
|
int i2 = i == 0 ? constraintWidget.horizontalGroup : constraintWidget.verticalGroup;
|
||||||
int i3 = 0;
|
int i3 = 0;
|
||||||
if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f24id)) {
|
if (i2 != -1 && (widgetGroup == null || i2 != widgetGroup.f26id)) {
|
||||||
int i4 = 0;
|
int i4 = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
if (i4 >= arrayList.size()) {
|
if (i4 >= arrayList.size()) {
|
||||||
|
@ -87,7 +87,7 @@ public class Grouping {
|
||||||
int size = arrayList.size();
|
int size = arrayList.size();
|
||||||
for (int i2 = 0; i2 < size; i2++) {
|
for (int i2 = 0; i2 < size; i2++) {
|
||||||
WidgetGroup widgetGroup = arrayList.get(i2);
|
WidgetGroup widgetGroup = arrayList.get(i2);
|
||||||
if (i == widgetGroup.f24id) {
|
if (i == widgetGroup.f26id) {
|
||||||
return widgetGroup;
|
return widgetGroup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -257,9 +257,9 @@ public class HorizontalWidgetRun extends WidgetRun {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("HorizontalRun ");
|
StringBuilder P = a.P("HorizontalRun ");
|
||||||
L.append(this.widget.getDebugName());
|
P.append(this.widget.getDebugName());
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Code restructure failed: missing block: B:103:0x02ba, code lost:
|
/* JADX WARNING: Code restructure failed: missing block: B:103:0x02ba, code lost:
|
||||||
|
|
|
@ -283,9 +283,9 @@ public class VerticalWidgetRun extends WidgetRun {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("VerticalRun ");
|
StringBuilder P = a.P("VerticalRun ");
|
||||||
L.append(this.widget.getDebugName());
|
P.append(this.widget.getDebugName());
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.constraintlayout.solver.widgets.analyzer.WidgetRun, androidx.constraintlayout.solver.widgets.analyzer.Dependency
|
@Override // androidx.constraintlayout.solver.widgets.analyzer.WidgetRun, androidx.constraintlayout.solver.widgets.analyzer.Dependency
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class WidgetGroup {
|
||||||
public boolean authoritative = false;
|
public boolean authoritative = false;
|
||||||
|
|
||||||
/* renamed from: id reason: collision with root package name */
|
/* renamed from: id reason: collision with root package name */
|
||||||
public int f24id = -1;
|
public int f26id = -1;
|
||||||
private int moveTo = -1;
|
private int moveTo = -1;
|
||||||
public int orientation = 0;
|
public int orientation = 0;
|
||||||
public ArrayList<MeasureResult> results = null;
|
public ArrayList<MeasureResult> results = null;
|
||||||
|
@ -50,7 +50,7 @@ public class WidgetGroup {
|
||||||
public WidgetGroup(int i) {
|
public WidgetGroup(int i) {
|
||||||
int i2 = count;
|
int i2 = count;
|
||||||
count = i2 + 1;
|
count = i2 + 1;
|
||||||
this.f24id = i2;
|
this.f26id = i2;
|
||||||
this.orientation = i;
|
this.orientation = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ public class WidgetGroup {
|
||||||
if (this.moveTo != -1 && size > 0) {
|
if (this.moveTo != -1 && size > 0) {
|
||||||
for (int i = 0; i < arrayList.size(); i++) {
|
for (int i = 0; i < arrayList.size(); i++) {
|
||||||
WidgetGroup widgetGroup = arrayList.get(i);
|
WidgetGroup widgetGroup = arrayList.get(i);
|
||||||
if (this.moveTo == widgetGroup.f24id) {
|
if (this.moveTo == widgetGroup.f26id) {
|
||||||
moveTo(this.orientation, widgetGroup);
|
moveTo(this.orientation, widgetGroup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -143,7 +143,7 @@ public class WidgetGroup {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return this.f24id;
|
return this.f26id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getOrientation() {
|
public int getOrientation() {
|
||||||
|
@ -181,7 +181,7 @@ public class WidgetGroup {
|
||||||
next.verticalGroup = widgetGroup.getId();
|
next.verticalGroup = widgetGroup.getId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.moveTo = widgetGroup.f24id;
|
this.moveTo = widgetGroup.f26id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAuthoritative(boolean z2) {
|
public void setAuthoritative(boolean z2) {
|
||||||
|
@ -200,13 +200,13 @@ public class WidgetGroup {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(getOrientationString());
|
sb.append(getOrientationString());
|
||||||
sb.append(" [");
|
sb.append(" [");
|
||||||
String w = a.w(sb, this.f24id, "] <");
|
String z2 = a.z(sb, this.f26id, "] <");
|
||||||
Iterator<ConstraintWidget> it = this.widgets.iterator();
|
Iterator<ConstraintWidget> it = this.widgets.iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
StringBuilder P = a.P(w, " ");
|
StringBuilder U = a.U(z2, " ");
|
||||||
P.append(it.next().getDebugName());
|
U.append(it.next().getDebugName());
|
||||||
w = P.toString();
|
z2 = U.toString();
|
||||||
}
|
}
|
||||||
return a.s(w, " >");
|
return a.u(z2, " >");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,32 +174,32 @@ public class ConstraintAttribute {
|
||||||
Class<?> cls = view.getClass();
|
Class<?> cls = view.getClass();
|
||||||
for (String str : hashMap.keySet()) {
|
for (String str : hashMap.keySet()) {
|
||||||
ConstraintAttribute constraintAttribute = hashMap.get(str);
|
ConstraintAttribute constraintAttribute = hashMap.get(str);
|
||||||
String s2 = a.s("set", str);
|
String u = a.u("set", str);
|
||||||
try {
|
try {
|
||||||
switch (constraintAttribute.mType.ordinal()) {
|
switch (constraintAttribute.mType.ordinal()) {
|
||||||
case 0:
|
case 0:
|
||||||
cls.getMethod(s2, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue));
|
cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mIntegerValue));
|
||||||
continue;
|
continue;
|
||||||
case 1:
|
case 1:
|
||||||
cls.getMethod(s2, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||||
continue;
|
continue;
|
||||||
case 2:
|
case 2:
|
||||||
cls.getMethod(s2, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue));
|
cls.getMethod(u, Integer.TYPE).invoke(view, Integer.valueOf(constraintAttribute.mColorValue));
|
||||||
continue;
|
continue;
|
||||||
case 3:
|
case 3:
|
||||||
Method method = cls.getMethod(s2, Drawable.class);
|
Method method = cls.getMethod(u, Drawable.class);
|
||||||
ColorDrawable colorDrawable = new ColorDrawable();
|
ColorDrawable colorDrawable = new ColorDrawable();
|
||||||
colorDrawable.setColor(constraintAttribute.mColorValue);
|
colorDrawable.setColor(constraintAttribute.mColorValue);
|
||||||
method.invoke(view, colorDrawable);
|
method.invoke(view, colorDrawable);
|
||||||
continue;
|
continue;
|
||||||
case 4:
|
case 4:
|
||||||
cls.getMethod(s2, CharSequence.class).invoke(view, constraintAttribute.mStringValue);
|
cls.getMethod(u, CharSequence.class).invoke(view, constraintAttribute.mStringValue);
|
||||||
continue;
|
continue;
|
||||||
case 5:
|
case 5:
|
||||||
cls.getMethod(s2, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue));
|
cls.getMethod(u, Boolean.TYPE).invoke(view, Boolean.valueOf(constraintAttribute.mBooleanValue));
|
||||||
continue;
|
continue;
|
||||||
case 6:
|
case 6:
|
||||||
cls.getMethod(s2, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
cls.getMethod(u, Float.TYPE).invoke(view, Float.valueOf(constraintAttribute.mFloatValue));
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
continue;
|
continue;
|
||||||
|
@ -210,17 +210,17 @@ public class ConstraintAttribute {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(cls.getName());
|
sb.append(cls.getName());
|
||||||
sb.append(" must have a method ");
|
sb.append(" must have a method ");
|
||||||
sb.append(s2);
|
sb.append(u);
|
||||||
Log.e(TAG, sb.toString());
|
Log.e(TAG, sb.toString());
|
||||||
} catch (IllegalAccessException e2) {
|
} catch (IllegalAccessException e2) {
|
||||||
StringBuilder Q = a.Q(" Custom Attribute \"", str, "\" not found on ");
|
StringBuilder V = a.V(" Custom Attribute \"", str, "\" not found on ");
|
||||||
Q.append(cls.getName());
|
V.append(cls.getName());
|
||||||
Log.e(TAG, Q.toString());
|
Log.e(TAG, V.toString());
|
||||||
e2.printStackTrace();
|
e2.printStackTrace();
|
||||||
} catch (InvocationTargetException e3) {
|
} catch (InvocationTargetException e3) {
|
||||||
StringBuilder Q2 = a.Q(" Custom Attribute \"", str, "\" not found on ");
|
StringBuilder V2 = a.V(" Custom Attribute \"", str, "\" not found on ");
|
||||||
Q2.append(cls.getName());
|
V2.append(cls.getName());
|
||||||
Log.e(TAG, Q2.toString());
|
Log.e(TAG, V2.toString());
|
||||||
e3.printStackTrace();
|
e3.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -329,9 +329,9 @@ public class ConstraintAttribute {
|
||||||
*/
|
*/
|
||||||
public void setInterpolatedValue(View view, float[] fArr) {
|
public void setInterpolatedValue(View view, float[] fArr) {
|
||||||
Class<?> cls = view.getClass();
|
Class<?> cls = view.getClass();
|
||||||
StringBuilder L = a.L("set");
|
StringBuilder P = a.P("set");
|
||||||
L.append(this.mName);
|
P.append(this.mName);
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
try {
|
try {
|
||||||
boolean z2 = true;
|
boolean z2 = true;
|
||||||
switch (this.mType.ordinal()) {
|
switch (this.mType.ordinal()) {
|
||||||
|
@ -370,16 +370,16 @@ public class ConstraintAttribute {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (NoSuchMethodException e) {
|
} catch (NoSuchMethodException e) {
|
||||||
StringBuilder Q = a.Q("no method ", sb, "on View \"");
|
StringBuilder V = a.V("no method ", sb, "on View \"");
|
||||||
Q.append(Debug.getName(view));
|
V.append(Debug.getName(view));
|
||||||
Q.append("\"");
|
V.append("\"");
|
||||||
Log.e(TAG, Q.toString());
|
Log.e(TAG, V.toString());
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} catch (IllegalAccessException e2) {
|
} catch (IllegalAccessException e2) {
|
||||||
StringBuilder Q2 = a.Q("cannot access method ", sb, "on View \"");
|
StringBuilder V2 = a.V("cannot access method ", sb, "on View \"");
|
||||||
Q2.append(Debug.getName(view));
|
V2.append(Debug.getName(view));
|
||||||
Q2.append("\"");
|
V2.append("\"");
|
||||||
Log.e(TAG, Q2.toString());
|
Log.e(TAG, V2.toString());
|
||||||
e2.printStackTrace();
|
e2.printStackTrace();
|
||||||
} catch (InvocationTargetException e3) {
|
} catch (InvocationTargetException e3) {
|
||||||
e3.printStackTrace();
|
e3.printStackTrace();
|
||||||
|
|
|
@ -109,10 +109,10 @@ public abstract class ConstraintHelper extends View {
|
||||||
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
|
||||||
if ((layoutParams instanceof ConstraintLayout.LayoutParams) && trim.equals(((ConstraintLayout.LayoutParams) layoutParams).constraintTag)) {
|
if ((layoutParams instanceof ConstraintLayout.LayoutParams) && trim.equals(((ConstraintLayout.LayoutParams) layoutParams).constraintTag)) {
|
||||||
if (childAt.getId() == -1) {
|
if (childAt.getId() == -1) {
|
||||||
StringBuilder L = a.L("to use ConstraintTag view ");
|
StringBuilder P = a.P("to use ConstraintTag view ");
|
||||||
L.append(childAt.getClass().getSimpleName());
|
P.append(childAt.getClass().getSimpleName());
|
||||||
L.append(" must have an ID");
|
P.append(" must have an ID");
|
||||||
Log.w("ConstraintHelper", L.toString());
|
Log.w("ConstraintHelper", P.toString());
|
||||||
} else {
|
} else {
|
||||||
addRscID(childAt.getId());
|
addRscID(childAt.getId());
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,7 +181,7 @@ public class ConstraintProperties {
|
||||||
layoutParams2.leftToRight = i2;
|
layoutParams2.leftToRight = i2;
|
||||||
layoutParams2.leftToLeft = -1;
|
layoutParams2.leftToLeft = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("Left to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("Left to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
((ViewGroup.MarginLayoutParams) this.mParams).leftMargin = i4;
|
((ViewGroup.MarginLayoutParams) this.mParams).leftMargin = i4;
|
||||||
break;
|
break;
|
||||||
|
@ -195,7 +195,7 @@ public class ConstraintProperties {
|
||||||
layoutParams4.rightToRight = i2;
|
layoutParams4.rightToRight = i2;
|
||||||
layoutParams4.rightToLeft = -1;
|
layoutParams4.rightToLeft = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
((ViewGroup.MarginLayoutParams) this.mParams).rightMargin = i4;
|
((ViewGroup.MarginLayoutParams) this.mParams).rightMargin = i4;
|
||||||
break;
|
break;
|
||||||
|
@ -211,7 +211,7 @@ public class ConstraintProperties {
|
||||||
layoutParams6.topToTop = -1;
|
layoutParams6.topToTop = -1;
|
||||||
layoutParams6.baselineToBaseline = -1;
|
layoutParams6.baselineToBaseline = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
((ViewGroup.MarginLayoutParams) this.mParams).topMargin = i4;
|
((ViewGroup.MarginLayoutParams) this.mParams).topMargin = i4;
|
||||||
break;
|
break;
|
||||||
|
@ -227,7 +227,7 @@ public class ConstraintProperties {
|
||||||
layoutParams8.bottomToBottom = -1;
|
layoutParams8.bottomToBottom = -1;
|
||||||
layoutParams8.baselineToBaseline = -1;
|
layoutParams8.baselineToBaseline = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
((ViewGroup.MarginLayoutParams) this.mParams).bottomMargin = i4;
|
((ViewGroup.MarginLayoutParams) this.mParams).bottomMargin = i4;
|
||||||
break;
|
break;
|
||||||
|
@ -241,7 +241,7 @@ public class ConstraintProperties {
|
||||||
layoutParams9.topToBottom = -1;
|
layoutParams9.topToBottom = -1;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
case 6:
|
case 6:
|
||||||
if (i3 == 6) {
|
if (i3 == 6) {
|
||||||
|
@ -253,7 +253,7 @@ public class ConstraintProperties {
|
||||||
layoutParams11.startToEnd = i2;
|
layoutParams11.startToEnd = i2;
|
||||||
layoutParams11.startToStart = -1;
|
layoutParams11.startToStart = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
this.mParams.setMarginStart(i4);
|
this.mParams.setMarginStart(i4);
|
||||||
break;
|
break;
|
||||||
|
@ -267,7 +267,7 @@ public class ConstraintProperties {
|
||||||
layoutParams13.endToStart = i2;
|
layoutParams13.endToStart = i2;
|
||||||
layoutParams13.endToEnd = -1;
|
layoutParams13.endToEnd = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i3), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i3), " undefined"));
|
||||||
}
|
}
|
||||||
this.mParams.setMarginEnd(i4);
|
this.mParams.setMarginEnd(i4);
|
||||||
break;
|
break;
|
||||||
|
@ -275,7 +275,7 @@ public class ConstraintProperties {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(sideToString(i));
|
sb.append(sideToString(i));
|
||||||
sb.append(" to ");
|
sb.append(" to ");
|
||||||
throw new IllegalArgumentException(a.D(sb, sideToString(i3), " unknown"));
|
throw new IllegalArgumentException(a.H(sb, sideToString(i3), " unknown"));
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -287,9 +287,9 @@ public class ConstraintSet {
|
||||||
if (constraintAttribute.getType() == attributeType) {
|
if (constraintAttribute.getType() == attributeType) {
|
||||||
return constraintAttribute;
|
return constraintAttribute;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("ConstraintAttribute is already a ");
|
StringBuilder P = a.P("ConstraintAttribute is already a ");
|
||||||
L.append(constraintAttribute.getType().name());
|
P.append(constraintAttribute.getType().name());
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType);
|
ConstraintAttribute constraintAttribute2 = new ConstraintAttribute(str, attributeType);
|
||||||
this.mCustomConstraints.put(str, constraintAttribute2);
|
this.mCustomConstraints.put(str, constraintAttribute2);
|
||||||
|
@ -857,21 +857,21 @@ public class ConstraintSet {
|
||||||
this.mBarrierAllowsGoneWidgets = obtainStyledAttributes.getBoolean(index, this.mBarrierAllowsGoneWidgets);
|
this.mBarrierAllowsGoneWidgets = obtainStyledAttributes.getBoolean(index, this.mBarrierAllowsGoneWidgets);
|
||||||
continue;
|
continue;
|
||||||
case 76:
|
case 76:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mapToConstant.get(index));
|
P.append(mapToConstant.get(index));
|
||||||
Log.w(ConstraintSet.TAG, L.toString());
|
Log.w(ConstraintSet.TAG, P.toString());
|
||||||
continue;
|
continue;
|
||||||
case 77:
|
case 77:
|
||||||
this.mConstraintTag = obtainStyledAttributes.getString(index);
|
this.mConstraintTag = obtainStyledAttributes.getString(index);
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
StringBuilder L2 = a.L("Unknown attribute 0x");
|
StringBuilder P2 = a.P("Unknown attribute 0x");
|
||||||
L2.append(Integer.toHexString(index));
|
P2.append(Integer.toHexString(index));
|
||||||
L2.append(" ");
|
P2.append(" ");
|
||||||
L2.append(mapToConstant.get(index));
|
P2.append(mapToConstant.get(index));
|
||||||
Log.w(ConstraintSet.TAG, L2.toString());
|
Log.w(ConstraintSet.TAG, P2.toString());
|
||||||
continue;
|
continue;
|
||||||
continue;
|
continue;
|
||||||
continue;
|
continue;
|
||||||
|
@ -1207,9 +1207,9 @@ public class ConstraintSet {
|
||||||
if (this.mSavedAttributes.containsKey(strArr[i])) {
|
if (this.mSavedAttributes.containsKey(strArr[i])) {
|
||||||
ConstraintAttribute constraintAttribute = this.mSavedAttributes.get(strArr[i]);
|
ConstraintAttribute constraintAttribute = this.mSavedAttributes.get(strArr[i]);
|
||||||
if (constraintAttribute.getType() != attributeType) {
|
if (constraintAttribute.getType() != attributeType) {
|
||||||
StringBuilder L = a.L("ConstraintAttribute is already a ");
|
StringBuilder P = a.P("ConstraintAttribute is already a ");
|
||||||
L.append(constraintAttribute.getType().name());
|
P.append(constraintAttribute.getType().name());
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.mSavedAttributes.put(strArr[i], new ConstraintAttribute(strArr[i], attributeType));
|
this.mSavedAttributes.put(strArr[i], new ConstraintAttribute(strArr[i], attributeType));
|
||||||
|
@ -1624,18 +1624,18 @@ public class ConstraintSet {
|
||||||
layout53.constrainedHeight = typedArray.getBoolean(index, layout53.constrainedHeight);
|
layout53.constrainedHeight = typedArray.getBoolean(index, layout53.constrainedHeight);
|
||||||
break;
|
break;
|
||||||
case 82:
|
case 82:
|
||||||
StringBuilder L = a.L("unused attribute 0x");
|
StringBuilder P = a.P("unused attribute 0x");
|
||||||
L.append(Integer.toHexString(index));
|
P.append(Integer.toHexString(index));
|
||||||
L.append(" ");
|
P.append(" ");
|
||||||
L.append(mapToConstant.get(index));
|
P.append(mapToConstant.get(index));
|
||||||
Log.w(TAG, L.toString());
|
Log.w(TAG, P.toString());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
StringBuilder L2 = a.L("Unknown attribute 0x");
|
StringBuilder P2 = a.P("Unknown attribute 0x");
|
||||||
L2.append(Integer.toHexString(index));
|
P2.append(Integer.toHexString(index));
|
||||||
L2.append(" ");
|
P2.append(" ");
|
||||||
L2.append(mapToConstant.get(index));
|
P2.append(mapToConstant.get(index));
|
||||||
Log.w(TAG, L2.toString());
|
Log.w(TAG, P2.toString());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1734,9 +1734,9 @@ public class ConstraintSet {
|
||||||
View childAt = constraintLayout.getChildAt(i);
|
View childAt = constraintLayout.getChildAt(i);
|
||||||
int id2 = childAt.getId();
|
int id2 = childAt.getId();
|
||||||
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||||
StringBuilder L = a.L("id unknown ");
|
StringBuilder P = a.P("id unknown ");
|
||||||
L.append(Debug.getName(childAt));
|
P.append(Debug.getName(childAt));
|
||||||
Log.v(TAG, L.toString());
|
Log.v(TAG, P.toString());
|
||||||
} else if (this.mForceId && id2 == -1) {
|
} else if (this.mForceId && id2 == -1) {
|
||||||
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||||||
} else if (this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
} else if (this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||||
|
@ -1768,9 +1768,9 @@ public class ConstraintSet {
|
||||||
View childAt = constraintLayout.getChildAt(i);
|
View childAt = constraintLayout.getChildAt(i);
|
||||||
int id2 = childAt.getId();
|
int id2 = childAt.getId();
|
||||||
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
if (!this.mConstraints.containsKey(Integer.valueOf(id2))) {
|
||||||
StringBuilder L = a.L("id unknown ");
|
StringBuilder P = a.P("id unknown ");
|
||||||
L.append(Debug.getName(childAt));
|
P.append(Debug.getName(childAt));
|
||||||
Log.w(TAG, L.toString());
|
Log.w(TAG, P.toString());
|
||||||
} else if (this.mForceId && id2 == -1) {
|
} else if (this.mForceId && id2 == -1) {
|
||||||
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||||||
} else if (id2 != -1) {
|
} else if (id2 != -1) {
|
||||||
|
@ -2103,7 +2103,7 @@ public class ConstraintSet {
|
||||||
layout2.leftToLeft = -1;
|
layout2.leftToLeft = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("left to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("left to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
case 2:
|
case 2:
|
||||||
if (i4 == 1) {
|
if (i4 == 1) {
|
||||||
|
@ -2117,7 +2117,7 @@ public class ConstraintSet {
|
||||||
layout4.rightToLeft = -1;
|
layout4.rightToLeft = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
case 3:
|
case 3:
|
||||||
if (i4 == 3) {
|
if (i4 == 3) {
|
||||||
|
@ -2133,7 +2133,7 @@ public class ConstraintSet {
|
||||||
layout6.baselineToBaseline = -1;
|
layout6.baselineToBaseline = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
case 4:
|
case 4:
|
||||||
if (i4 == 4) {
|
if (i4 == 4) {
|
||||||
|
@ -2149,7 +2149,7 @@ public class ConstraintSet {
|
||||||
layout8.baselineToBaseline = -1;
|
layout8.baselineToBaseline = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
case 5:
|
case 5:
|
||||||
if (i4 == 5) {
|
if (i4 == 5) {
|
||||||
|
@ -2161,7 +2161,7 @@ public class ConstraintSet {
|
||||||
layout9.topToBottom = -1;
|
layout9.topToBottom = -1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
case 6:
|
case 6:
|
||||||
if (i4 == 6) {
|
if (i4 == 6) {
|
||||||
Layout layout10 = constraint.layout;
|
Layout layout10 = constraint.layout;
|
||||||
|
@ -2174,7 +2174,7 @@ public class ConstraintSet {
|
||||||
layout11.startToStart = -1;
|
layout11.startToStart = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
case 7:
|
case 7:
|
||||||
if (i4 == 7) {
|
if (i4 == 7) {
|
||||||
|
@ -2188,13 +2188,13 @@ public class ConstraintSet {
|
||||||
layout13.endToEnd = -1;
|
layout13.endToEnd = -1;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(sideToString(i2));
|
sb.append(sideToString(i2));
|
||||||
sb.append(" to ");
|
sb.append(" to ");
|
||||||
throw new IllegalArgumentException(a.D(sb, sideToString(i4), " unknown"));
|
throw new IllegalArgumentException(a.H(sb, sideToString(i4), " unknown"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2214,7 +2214,7 @@ public class ConstraintSet {
|
||||||
layout2.leftToRight = i3;
|
layout2.leftToRight = i3;
|
||||||
layout2.leftToLeft = -1;
|
layout2.leftToLeft = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("Left to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("Left to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.leftMargin = i5;
|
constraint.layout.leftMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2228,7 +2228,7 @@ public class ConstraintSet {
|
||||||
layout4.rightToRight = i3;
|
layout4.rightToRight = i3;
|
||||||
layout4.rightToLeft = -1;
|
layout4.rightToLeft = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.rightMargin = i5;
|
constraint.layout.rightMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2244,7 +2244,7 @@ public class ConstraintSet {
|
||||||
layout6.topToTop = -1;
|
layout6.topToTop = -1;
|
||||||
layout6.baselineToBaseline = -1;
|
layout6.baselineToBaseline = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.topMargin = i5;
|
constraint.layout.topMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2260,7 +2260,7 @@ public class ConstraintSet {
|
||||||
layout8.bottomToBottom = -1;
|
layout8.bottomToBottom = -1;
|
||||||
layout8.baselineToBaseline = -1;
|
layout8.baselineToBaseline = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.bottomMargin = i5;
|
constraint.layout.bottomMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2274,7 +2274,7 @@ public class ConstraintSet {
|
||||||
layout9.topToBottom = -1;
|
layout9.topToBottom = -1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
case 6:
|
case 6:
|
||||||
if (i4 == 6) {
|
if (i4 == 6) {
|
||||||
Layout layout10 = constraint.layout;
|
Layout layout10 = constraint.layout;
|
||||||
|
@ -2285,7 +2285,7 @@ public class ConstraintSet {
|
||||||
layout11.startToEnd = i3;
|
layout11.startToEnd = i3;
|
||||||
layout11.startToStart = -1;
|
layout11.startToStart = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.startMargin = i5;
|
constraint.layout.startMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2299,7 +2299,7 @@ public class ConstraintSet {
|
||||||
layout13.endToStart = i3;
|
layout13.endToStart = i3;
|
||||||
layout13.endToEnd = -1;
|
layout13.endToEnd = -1;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.D(a.L("right to "), sideToString(i4), " undefined"));
|
throw new IllegalArgumentException(a.H(a.P("right to "), sideToString(i4), " undefined"));
|
||||||
}
|
}
|
||||||
constraint.layout.endMargin = i5;
|
constraint.layout.endMargin = i5;
|
||||||
return;
|
return;
|
||||||
|
@ -2307,7 +2307,7 @@ public class ConstraintSet {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(sideToString(i2));
|
sb.append(sideToString(i2));
|
||||||
sb.append(" to ");
|
sb.append(" to ");
|
||||||
throw new IllegalArgumentException(a.D(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++) {
|
for (int i = 0; i < split.length; i++) {
|
||||||
String[] split2 = split[i].split("=");
|
String[] split2 = split[i].split("=");
|
||||||
if (split2.length != 2) {
|
if (split2.length != 2) {
|
||||||
a.j0(a.L(" Unable to parse "), split[i], TAG);
|
a.n0(a.P(" Unable to parse "), split[i], TAG);
|
||||||
} else {
|
} else {
|
||||||
Constraint.access$600(constraint, split2[0], Color.parseColor(split2[1]));
|
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++) {
|
for (int i = 0; i < split.length; i++) {
|
||||||
String[] split2 = split[i].split("=");
|
String[] split2 = split[i].split("=");
|
||||||
if (split2.length != 2) {
|
if (split2.length != 2) {
|
||||||
a.j0(a.L(" Unable to parse "), split[i], TAG);
|
a.n0(a.P(" Unable to parse "), split[i], TAG);
|
||||||
} else {
|
} else {
|
||||||
Constraint.access$700(constraint, split2[0], Float.parseFloat(split2[1]));
|
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++) {
|
for (int i = 0; i < split.length; i++) {
|
||||||
String[] split2 = split[i].split("=");
|
String[] split2 = split[i].split("=");
|
||||||
if (split2.length != 2) {
|
if (split2.length != 2) {
|
||||||
a.j0(a.L(" Unable to parse "), split[i], TAG);
|
a.n0(a.P(" Unable to parse "), split[i], TAG);
|
||||||
} else {
|
} else {
|
||||||
Constraint.access$700(constraint, split2[0], (float) Integer.decode(split2[1]).intValue());
|
Constraint.access$700(constraint, split2[0], (float) Integer.decode(split2[1]).intValue());
|
||||||
}
|
}
|
||||||
|
@ -2704,7 +2704,7 @@ public class ConstraintSet {
|
||||||
String[] splitString = splitString(str);
|
String[] splitString = splitString(str);
|
||||||
for (int i = 0; i < splitString.length; i++) {
|
for (int i = 0; i < splitString.length; i++) {
|
||||||
String[] split = splitString[i].split("=");
|
String[] split = splitString[i].split("=");
|
||||||
a.j0(a.L(" Unable to parse "), splitString[i], TAG);
|
a.n0(a.P(" Unable to parse "), splitString[i], TAG);
|
||||||
Constraint.access$800(constraint, split[0], split[1]);
|
Constraint.access$800(constraint, split[0], split[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -379,11 +379,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
||||||
this.mAnchorDirectChild = null;
|
this.mAnchorDirectChild = null;
|
||||||
this.mAnchorView = null;
|
this.mAnchorView = null;
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = a.L("Could not find CoordinatorLayout descendant view with id ");
|
StringBuilder P = a.P("Could not find CoordinatorLayout descendant view with id ");
|
||||||
L.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId));
|
P.append(coordinatorLayout.getResources().getResourceName(this.mAnchorId));
|
||||||
L.append(" to anchor view ");
|
P.append(" to anchor view ");
|
||||||
L.append(view);
|
P.append(view);
|
||||||
throw new IllegalStateException(L.toString());
|
throw new IllegalStateException(P.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -826,11 +826,11 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
||||||
if (behavior == null || !behavior.getInsetDodgeRect(this, view, acquireTempRect)) {
|
if (behavior == null || !behavior.getInsetDodgeRect(this, view, acquireTempRect)) {
|
||||||
acquireTempRect.set(acquireTempRect2);
|
acquireTempRect.set(acquireTempRect2);
|
||||||
} else if (!acquireTempRect2.contains(acquireTempRect)) {
|
} else if (!acquireTempRect2.contains(acquireTempRect)) {
|
||||||
StringBuilder L = a.L("Rect should be within the child's bounds. Rect:");
|
StringBuilder P = a.P("Rect should be within the child's bounds. Rect:");
|
||||||
L.append(acquireTempRect.toShortString());
|
P.append(acquireTempRect.toShortString());
|
||||||
L.append(" | Bounds:");
|
P.append(" | Bounds:");
|
||||||
L.append(acquireTempRect2.toShortString());
|
P.append(acquireTempRect2.toShortString());
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
releaseTempRect(acquireTempRect2);
|
releaseTempRect(acquireTempRect2);
|
||||||
if (acquireTempRect.isEmpty()) {
|
if (acquireTempRect.isEmpty()) {
|
||||||
|
@ -899,7 +899,7 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
||||||
}
|
}
|
||||||
return constructor.newInstance(context, attributeSet);
|
return constructor.newInstance(context, attributeSet);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(a.s("Could not inflate Behavior subclass ", str), e);
|
throw new RuntimeException(a.u("Could not inflate Behavior subclass ", str), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1257,10 +1257,10 @@ public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen
|
||||||
try {
|
try {
|
||||||
layoutParams.setBehavior((Behavior) defaultBehavior.value().getDeclaredConstructor(new Class[0]).newInstance(new Object[0]));
|
layoutParams.setBehavior((Behavior) defaultBehavior.value().getDeclaredConstructor(new Class[0]).newInstance(new Object[0]));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
StringBuilder L = a.L("Default behavior class ");
|
StringBuilder P = a.P("Default behavior class ");
|
||||||
L.append(defaultBehavior.value().getName());
|
P.append(defaultBehavior.value().getName());
|
||||||
L.append(" could not be instantiated. Did you forget a default constructor?");
|
P.append(" could not be instantiated. Did you forget a default constructor?");
|
||||||
Log.e(TAG, L.toString(), e);
|
Log.e(TAG, P.toString(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
layoutParams.mBehaviorResolved = true;
|
layoutParams.mBehaviorResolved = true;
|
||||||
|
|
|
@ -28,27 +28,27 @@ public final class AccessibilityServiceInfoCompat {
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
public static String feedbackTypeToString(int i) {
|
public static String feedbackTypeToString(int i) {
|
||||||
StringBuilder L = a.L("[");
|
StringBuilder P = a.P("[");
|
||||||
while (i > 0) {
|
while (i > 0) {
|
||||||
int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(i);
|
int numberOfTrailingZeros = 1 << Integer.numberOfTrailingZeros(i);
|
||||||
i &= ~numberOfTrailingZeros;
|
i &= ~numberOfTrailingZeros;
|
||||||
if (L.length() > 1) {
|
if (P.length() > 1) {
|
||||||
L.append(", ");
|
P.append(", ");
|
||||||
}
|
}
|
||||||
if (numberOfTrailingZeros == 1) {
|
if (numberOfTrailingZeros == 1) {
|
||||||
L.append("FEEDBACK_SPOKEN");
|
P.append("FEEDBACK_SPOKEN");
|
||||||
} else if (numberOfTrailingZeros == 2) {
|
} else if (numberOfTrailingZeros == 2) {
|
||||||
L.append("FEEDBACK_HAPTIC");
|
P.append("FEEDBACK_HAPTIC");
|
||||||
} else if (numberOfTrailingZeros == 4) {
|
} else if (numberOfTrailingZeros == 4) {
|
||||||
L.append("FEEDBACK_AUDIBLE");
|
P.append("FEEDBACK_AUDIBLE");
|
||||||
} else if (numberOfTrailingZeros == 8) {
|
} else if (numberOfTrailingZeros == 8) {
|
||||||
L.append("FEEDBACK_VISUAL");
|
P.append("FEEDBACK_VISUAL");
|
||||||
} else if (numberOfTrailingZeros == 16) {
|
} else if (numberOfTrailingZeros == 16) {
|
||||||
L.append("FEEDBACK_GENERIC");
|
P.append("FEEDBACK_GENERIC");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
L.append("]");
|
P.append("]");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
|
@ -265,9 +265,9 @@ public abstract class JobIntentService extends Service {
|
||||||
this.mHasJobId = true;
|
this.mHasJobId = true;
|
||||||
this.mJobId = i;
|
this.mJobId = i;
|
||||||
} else if (this.mJobId != i) {
|
} else if (this.mJobId != i) {
|
||||||
StringBuilder M = a.M("Given job ID ", i, " is different than previous ");
|
StringBuilder Q = a.Q("Given job ID ", i, " is different than previous ");
|
||||||
M.append(this.mJobId);
|
Q.append(this.mJobId);
|
||||||
throw new IllegalArgumentException(M.toString());
|
throw new IllegalArgumentException(Q.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,10 +99,10 @@ public final class NavUtils {
|
||||||
navigateUpTo(activity, parentActivityIntent);
|
navigateUpTo(activity, parentActivityIntent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Activity ");
|
StringBuilder P = a.P("Activity ");
|
||||||
L.append(activity.getClass().getSimpleName());
|
P.append(activity.getClass().getSimpleName());
|
||||||
L.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?)");
|
P.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(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void navigateUpTo(@NonNull Activity activity, @NonNull Intent intent) {
|
public static void navigateUpTo(@NonNull Activity activity, @NonNull Intent intent) {
|
||||||
|
|
|
@ -67,20 +67,20 @@ public final class NotificationManagerCompat {
|
||||||
public final boolean all;
|
public final boolean all;
|
||||||
|
|
||||||
/* renamed from: id reason: collision with root package name */
|
/* renamed from: id reason: collision with root package name */
|
||||||
public final int f25id;
|
public final int f27id;
|
||||||
public final String packageName;
|
public final String packageName;
|
||||||
public final String tag;
|
public final String tag;
|
||||||
|
|
||||||
public CancelTask(String str) {
|
public CancelTask(String str) {
|
||||||
this.packageName = str;
|
this.packageName = str;
|
||||||
this.f25id = 0;
|
this.f27id = 0;
|
||||||
this.tag = null;
|
this.tag = null;
|
||||||
this.all = true;
|
this.all = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CancelTask(String str, int i, String str2) {
|
public CancelTask(String str, int i, String str2) {
|
||||||
this.packageName = str;
|
this.packageName = str;
|
||||||
this.f25id = i;
|
this.f27id = i;
|
||||||
this.tag = str2;
|
this.tag = str2;
|
||||||
this.all = false;
|
this.all = false;
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ public final class NotificationManagerCompat {
|
||||||
if (this.all) {
|
if (this.all) {
|
||||||
aVar.cancelAll(this.packageName);
|
aVar.cancelAll(this.packageName);
|
||||||
} else {
|
} else {
|
||||||
aVar.cancel(this.packageName, this.f25id, this.tag);
|
aVar.cancel(this.packageName, this.f27id, this.tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,32 +100,32 @@ public final class NotificationManagerCompat {
|
||||||
sb.append("packageName:");
|
sb.append("packageName:");
|
||||||
sb.append(this.packageName);
|
sb.append(this.packageName);
|
||||||
sb.append(", id:");
|
sb.append(", id:");
|
||||||
sb.append(this.f25id);
|
sb.append(this.f27id);
|
||||||
sb.append(", tag:");
|
sb.append(", tag:");
|
||||||
sb.append(this.tag);
|
sb.append(this.tag);
|
||||||
sb.append(", all:");
|
sb.append(", all:");
|
||||||
return c.d.b.a.a.G(sb, this.all, "]");
|
return c.d.b.a.a.L(sb, this.all, "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class NotifyTask implements Task {
|
public static class NotifyTask implements Task {
|
||||||
|
|
||||||
/* renamed from: id reason: collision with root package name */
|
/* renamed from: id reason: collision with root package name */
|
||||||
public final int f26id;
|
public final int f28id;
|
||||||
public final Notification notif;
|
public final Notification notif;
|
||||||
public final String packageName;
|
public final String packageName;
|
||||||
public final String tag;
|
public final String tag;
|
||||||
|
|
||||||
public NotifyTask(String str, int i, String str2, Notification notification) {
|
public NotifyTask(String str, int i, String str2, Notification notification) {
|
||||||
this.packageName = str;
|
this.packageName = str;
|
||||||
this.f26id = i;
|
this.f28id = i;
|
||||||
this.tag = str2;
|
this.tag = str2;
|
||||||
this.notif = notification;
|
this.notif = notification;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.core.app.NotificationManagerCompat.Task
|
@Override // androidx.core.app.NotificationManagerCompat.Task
|
||||||
public void send(a aVar) throws RemoteException {
|
public void send(a aVar) throws RemoteException {
|
||||||
aVar.notify(this.packageName, this.f26id, this.tag, this.notif);
|
aVar.notify(this.packageName, this.f28id, this.tag, this.notif);
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
@ -134,9 +134,9 @@ public final class NotificationManagerCompat {
|
||||||
sb.append("packageName:");
|
sb.append("packageName:");
|
||||||
sb.append(this.packageName);
|
sb.append(this.packageName);
|
||||||
sb.append(", id:");
|
sb.append(", id:");
|
||||||
sb.append(this.f26id);
|
sb.append(this.f28id);
|
||||||
sb.append(", tag:");
|
sb.append(", tag:");
|
||||||
return c.d.b.a.a.D(sb, this.tag, "]");
|
return c.d.b.a.a.H(sb, this.tag, "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -190,9 +190,9 @@ public final class NotificationManagerCompat {
|
||||||
if (bindService) {
|
if (bindService) {
|
||||||
listenerRecord.retryCount = 0;
|
listenerRecord.retryCount = 0;
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = c.d.b.a.a.L("Unable to bind to listener ");
|
StringBuilder P = c.d.b.a.a.P("Unable to bind to listener ");
|
||||||
L.append(listenerRecord.componentName);
|
P.append(listenerRecord.componentName);
|
||||||
Log.w(NotificationManagerCompat.TAG, L.toString());
|
Log.w(NotificationManagerCompat.TAG, P.toString());
|
||||||
this.mContext.unbindService(this);
|
this.mContext.unbindService(this);
|
||||||
}
|
}
|
||||||
return listenerRecord.bound;
|
return listenerRecord.bound;
|
||||||
|
@ -239,12 +239,12 @@ public final class NotificationManagerCompat {
|
||||||
|
|
||||||
private void processListenerQueue(ListenerRecord listenerRecord) {
|
private void processListenerQueue(ListenerRecord listenerRecord) {
|
||||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||||
StringBuilder L = c.d.b.a.a.L("Processing component ");
|
StringBuilder P = c.d.b.a.a.P("Processing component ");
|
||||||
L.append(listenerRecord.componentName);
|
P.append(listenerRecord.componentName);
|
||||||
L.append(", ");
|
P.append(", ");
|
||||||
L.append(listenerRecord.taskQueue.size());
|
P.append(listenerRecord.taskQueue.size());
|
||||||
L.append(" queued tasks");
|
P.append(" queued tasks");
|
||||||
Log.d(NotificationManagerCompat.TAG, L.toString());
|
Log.d(NotificationManagerCompat.TAG, P.toString());
|
||||||
}
|
}
|
||||||
if (!listenerRecord.taskQueue.isEmpty()) {
|
if (!listenerRecord.taskQueue.isEmpty()) {
|
||||||
if (!ensureServiceBound(listenerRecord) || listenerRecord.service == null) {
|
if (!ensureServiceBound(listenerRecord) || listenerRecord.service == null) {
|
||||||
|
@ -264,14 +264,14 @@ public final class NotificationManagerCompat {
|
||||||
listenerRecord.taskQueue.remove();
|
listenerRecord.taskQueue.remove();
|
||||||
} catch (DeadObjectException unused) {
|
} catch (DeadObjectException unused) {
|
||||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||||
StringBuilder L2 = c.d.b.a.a.L("Remote service has died: ");
|
StringBuilder P2 = c.d.b.a.a.P("Remote service has died: ");
|
||||||
L2.append(listenerRecord.componentName);
|
P2.append(listenerRecord.componentName);
|
||||||
Log.d(NotificationManagerCompat.TAG, L2.toString());
|
Log.d(NotificationManagerCompat.TAG, P2.toString());
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
StringBuilder L3 = c.d.b.a.a.L("RemoteException communicating with ");
|
StringBuilder P3 = c.d.b.a.a.P("RemoteException communicating with ");
|
||||||
L3.append(listenerRecord.componentName);
|
P3.append(listenerRecord.componentName);
|
||||||
Log.w(NotificationManagerCompat.TAG, L3.toString(), e);
|
Log.w(NotificationManagerCompat.TAG, P3.toString(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!listenerRecord.taskQueue.isEmpty()) {
|
if (!listenerRecord.taskQueue.isEmpty()) {
|
||||||
|
@ -285,14 +285,14 @@ public final class NotificationManagerCompat {
|
||||||
int i = listenerRecord.retryCount + 1;
|
int i = listenerRecord.retryCount + 1;
|
||||||
listenerRecord.retryCount = i;
|
listenerRecord.retryCount = i;
|
||||||
if (i > 6) {
|
if (i > 6) {
|
||||||
StringBuilder L = c.d.b.a.a.L("Giving up on delivering ");
|
StringBuilder P = c.d.b.a.a.P("Giving up on delivering ");
|
||||||
L.append(listenerRecord.taskQueue.size());
|
P.append(listenerRecord.taskQueue.size());
|
||||||
L.append(" tasks to ");
|
P.append(" tasks to ");
|
||||||
L.append(listenerRecord.componentName);
|
P.append(listenerRecord.componentName);
|
||||||
L.append(" after ");
|
P.append(" after ");
|
||||||
L.append(listenerRecord.retryCount);
|
P.append(listenerRecord.retryCount);
|
||||||
L.append(" retries");
|
P.append(" retries");
|
||||||
Log.w(NotificationManagerCompat.TAG, L.toString());
|
Log.w(NotificationManagerCompat.TAG, P.toString());
|
||||||
listenerRecord.taskQueue.clear();
|
listenerRecord.taskQueue.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -336,9 +336,9 @@ public final class NotificationManagerCompat {
|
||||||
Map.Entry<ComponentName, ListenerRecord> next = it2.next();
|
Map.Entry<ComponentName, ListenerRecord> next = it2.next();
|
||||||
if (!hashSet.contains(next.getKey())) {
|
if (!hashSet.contains(next.getKey())) {
|
||||||
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
if (Log.isLoggable(NotificationManagerCompat.TAG, 3)) {
|
||||||
StringBuilder L = c.d.b.a.a.L("Removing listener record for ");
|
StringBuilder P = c.d.b.a.a.P("Removing listener record for ");
|
||||||
L.append(next.getKey());
|
P.append(next.getKey());
|
||||||
Log.d(NotificationManagerCompat.TAG, L.toString());
|
Log.d(NotificationManagerCompat.TAG, P.toString());
|
||||||
}
|
}
|
||||||
ensureServiceUnbound(next.getValue());
|
ensureServiceUnbound(next.getValue());
|
||||||
it2.remove();
|
it2.remove();
|
||||||
|
|
|
@ -234,7 +234,7 @@ public final class RemoteInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String getExtraResultsKeyForData(String str) {
|
private static String getExtraResultsKeyForData(String str) {
|
||||||
return a.s(EXTRA_DATA_TYPE_RESULTS_DATA, str);
|
return a.u(EXTRA_DATA_TYPE_RESULTS_DATA, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Bundle getResultsFromIntent(Intent intent) {
|
public static Bundle getResultsFromIntent(Intent intent) {
|
||||||
|
|
|
@ -433,11 +433,11 @@ public final class ShareCompat {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM");
|
return (Uri) this.mIntent.getParcelableExtra("android.intent.extra.STREAM");
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Stream items available: ");
|
StringBuilder P = a.P("Stream items available: ");
|
||||||
L.append(getStreamCount());
|
P.append(getStreamCount());
|
||||||
L.append(" index requested: ");
|
P.append(" index requested: ");
|
||||||
L.append(i);
|
P.append(i);
|
||||||
throw new IndexOutOfBoundsException(L.toString());
|
throw new IndexOutOfBoundsException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getStreamCount() {
|
public int getStreamCount() {
|
||||||
|
@ -486,15 +486,15 @@ public final class ShareCompat {
|
||||||
configureMenuItem(findItem, intentBuilder);
|
configureMenuItem(findItem, intentBuilder);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.k("Could not find menu item with id ", i, " in the supplied menu"));
|
throw new IllegalArgumentException(a.n("Could not find menu item with id ", i, " in the supplied menu"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void configureMenuItem(@NonNull MenuItem menuItem, @NonNull IntentBuilder intentBuilder) {
|
public static void configureMenuItem(@NonNull MenuItem menuItem, @NonNull IntentBuilder intentBuilder) {
|
||||||
ActionProvider actionProvider = menuItem.getActionProvider();
|
ActionProvider actionProvider = menuItem.getActionProvider();
|
||||||
ShareActionProvider shareActionProvider = !(actionProvider instanceof ShareActionProvider) ? new ShareActionProvider(intentBuilder.getContext()) : (ShareActionProvider) actionProvider;
|
ShareActionProvider shareActionProvider = !(actionProvider instanceof ShareActionProvider) ? new ShareActionProvider(intentBuilder.getContext()) : (ShareActionProvider) actionProvider;
|
||||||
StringBuilder L = a.L(HISTORY_FILENAME_PREFIX);
|
StringBuilder P = a.P(HISTORY_FILENAME_PREFIX);
|
||||||
L.append(intentBuilder.getContext().getClass().getName());
|
P.append(intentBuilder.getContext().getClass().getName());
|
||||||
shareActionProvider.setShareHistoryFileName(L.toString());
|
shareActionProvider.setShareHistoryFileName(P.toString());
|
||||||
shareActionProvider.setShareIntent(intentBuilder.getIntent());
|
shareActionProvider.setShareIntent(intentBuilder.getIntent());
|
||||||
menuItem.setActionProvider(shareActionProvider);
|
menuItem.setActionProvider(shareActionProvider);
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ public class FileProvider extends ContentProvider {
|
||||||
String substring = path2.endsWith(AutocompleteViewModel.COMMAND_DISCOVER_TOKEN) ? canonicalPath.substring(path2.length()) : canonicalPath.substring(path2.length() + 1);
|
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();
|
return new Uri.Builder().scheme("content").authority(this.mAuthority).encodedPath(Uri.encode(entry.getKey()) + MentionUtilsKt.SLASH_CHAR + Uri.encode(substring, AutocompleteViewModel.COMMAND_DISCOVER_TOKEN)).build();
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.s("Failed to find configured root that contains ", canonicalPath));
|
throw new IllegalArgumentException(a.u("Failed to find configured root that contains ", canonicalPath));
|
||||||
} catch (IOException unused) {
|
} catch (IOException unused) {
|
||||||
throw new IllegalArgumentException("Failed to resolve canonical path for " + file);
|
throw new IllegalArgumentException("Failed to resolve canonical path for " + file);
|
||||||
}
|
}
|
||||||
|
@ -172,7 +172,7 @@ public class FileProvider extends ContentProvider {
|
||||||
if ("rwt".equals(str)) {
|
if ("rwt".equals(str)) {
|
||||||
return 1006632960;
|
return 1006632960;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.s("Invalid mode: ", str));
|
throw new IllegalArgumentException(a.u("Invalid mode: ", str));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static PathStrategy parsePathStrategy(Context context, String str) throws IOException, XmlPullParserException {
|
private static PathStrategy parsePathStrategy(Context context, String str) throws IOException, XmlPullParserException {
|
||||||
|
@ -224,7 +224,7 @@ public class FileProvider extends ContentProvider {
|
||||||
throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data");
|
throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.s("Couldn't find meta-data for provider with authority ", str));
|
throw new IllegalArgumentException(a.u("Couldn't find meta-data for provider with authority ", str));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -197,10 +197,10 @@ public class ShortcutInfoCompat {
|
||||||
persistableBundle.putInt(EXTRA_PERSON_COUNT, personArr.length);
|
persistableBundle.putInt(EXTRA_PERSON_COUNT, personArr.length);
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (i < this.mPersons.length) {
|
while (i < this.mPersons.length) {
|
||||||
StringBuilder L = a.L(EXTRA_PERSON_);
|
StringBuilder P = a.P(EXTRA_PERSON_);
|
||||||
int i2 = i + 1;
|
int i2 = i + 1;
|
||||||
L.append(i2);
|
P.append(i2);
|
||||||
persistableBundle.putPersistableBundle(L.toString(), this.mPersons[i].toPersistableBundle());
|
persistableBundle.putPersistableBundle(P.toString(), this.mPersons[i].toPersistableBundle());
|
||||||
i = i2;
|
i = i2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -230,10 +230,10 @@ public class ShortcutInfoCompat {
|
||||||
Person[] personArr = new Person[i];
|
Person[] personArr = new Person[i];
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
while (i2 < i) {
|
while (i2 < i) {
|
||||||
StringBuilder L = a.L(EXTRA_PERSON_);
|
StringBuilder P = a.P(EXTRA_PERSON_);
|
||||||
int i3 = i2 + 1;
|
int i3 = i2 + 1;
|
||||||
L.append(i3);
|
P.append(i3);
|
||||||
personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(L.toString()));
|
personArr[i2] = Person.fromPersistableBundle(persistableBundle.getPersistableBundle(P.toString()));
|
||||||
i2 = i3;
|
i2 = i3;
|
||||||
}
|
}
|
||||||
return personArr;
|
return personArr;
|
||||||
|
|
|
@ -101,7 +101,7 @@ public final class GradientColorInflaterCompat {
|
||||||
throw new XmlPullParserException(xmlPullParser.getPositionDescription() + ": invalid gradient color tag " + name);
|
throw new XmlPullParserException(xmlPullParser.getPositionDescription() + ": invalid gradient color tag " + name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Code restructure failed: missing block: B:17:0x0080, code lost:
|
/* JADX WARNING: Code restructure failed: missing block: B:17:0x0081, code lost:
|
||||||
throw new org.xmlpull.v1.XmlPullParserException(r10.getPositionDescription() + ": <item> tag requires a 'color' attribute and a 'offset' attribute!");
|
throw new org.xmlpull.v1.XmlPullParserException(r10.getPositionDescription() + ": <item> tag requires a 'color' attribute and a 'offset' attribute!");
|
||||||
*/
|
*/
|
||||||
private static ColorStops inflateChildElements(@NonNull Resources resources, @NonNull XmlPullParser xmlPullParser, @NonNull AttributeSet attributeSet, @Nullable Resources.Theme theme) throws XmlPullParserException, IOException {
|
private static ColorStops inflateChildElements(@NonNull Resources resources, @NonNull XmlPullParser xmlPullParser, @NonNull AttributeSet attributeSet, @Nullable Resources.Theme theme) throws XmlPullParserException, IOException {
|
||||||
|
|
|
@ -172,12 +172,12 @@ public final class ResourcesCompat {
|
||||||
if (typedValue.type == 4) {
|
if (typedValue.type == 4) {
|
||||||
return typedValue.getFloat();
|
return typedValue.getFloat();
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Resource ID #0x");
|
StringBuilder P = a.P("Resource ID #0x");
|
||||||
L.append(Integer.toHexString(i));
|
P.append(Integer.toHexString(i));
|
||||||
L.append(" type #0x");
|
P.append(" type #0x");
|
||||||
L.append(Integer.toHexString(typedValue.type));
|
P.append(Integer.toHexString(typedValue.type));
|
||||||
L.append(" is not valid");
|
P.append(" is not valid");
|
||||||
throw new Resources.NotFoundException(L.toString());
|
throw new Resources.NotFoundException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
@ -212,10 +212,10 @@ public final class ResourcesCompat {
|
||||||
if (loadFont != null || fontCallback != null) {
|
if (loadFont != null || fontCallback != null) {
|
||||||
return loadFont;
|
return loadFont;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Font resource ID #0x");
|
StringBuilder P = a.P("Font resource ID #0x");
|
||||||
L.append(Integer.toHexString(i));
|
P.append(Integer.toHexString(i));
|
||||||
L.append(" could not be retrieved.");
|
P.append(" could not be retrieved.");
|
||||||
throw new Resources.NotFoundException(L.toString());
|
throw new Resources.NotFoundException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Removed duplicated region for block: B:34:0x00a4 */
|
/* JADX WARNING: Removed duplicated region for block: B:34:0x00a4 */
|
||||||
|
@ -270,13 +270,13 @@ public final class ResourcesCompat {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = a.L("Resource \"");
|
StringBuilder P = a.P("Resource \"");
|
||||||
L.append(resources.getResourceName(i));
|
P.append(resources.getResourceName(i));
|
||||||
L.append("\" (");
|
P.append("\" (");
|
||||||
L.append(Integer.toHexString(i));
|
P.append(Integer.toHexString(i));
|
||||||
L.append(") is not a Font: ");
|
P.append(") is not a Font: ");
|
||||||
L.append(typedValue);
|
P.append(typedValue);
|
||||||
throw new Resources.NotFoundException(L.toString());
|
throw new Resources.NotFoundException(P.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i5, canvas, save, i5);
|
a.b0(i5, canvas, save, i5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i2, canvas, save, i2);
|
a.b0(i2, canvas, save, i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i2, canvas, save, i2);
|
a.b0(i2, canvas, save, i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i2, canvas, save, i2);
|
a.b0(i2, canvas, save, i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i2, canvas, save, i2);
|
a.b0(i2, canvas, save, i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -236,7 +236,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i, canvas, save, i);
|
a.b0(i, canvas, save, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ public final class CanvasKt {
|
||||||
try {
|
try {
|
||||||
function1.invoke(canvas);
|
function1.invoke(canvas);
|
||||||
} finally {
|
} finally {
|
||||||
a.X(i2, canvas, save, i2);
|
a.b0(i2, canvas, save, i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,9 +206,9 @@ public final class ColorUtils {
|
||||||
double calculateLuminance2 = calculateLuminance(i2) + 0.05d;
|
double calculateLuminance2 = calculateLuminance(i2) + 0.05d;
|
||||||
return Math.max(calculateLuminance, calculateLuminance2) / Math.min(calculateLuminance, calculateLuminance2);
|
return Math.max(calculateLuminance, calculateLuminance2) / Math.min(calculateLuminance, calculateLuminance2);
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("background can not be translucent: #");
|
StringBuilder P = a.P("background can not be translucent: #");
|
||||||
L.append(Integer.toHexString(i2));
|
P.append(Integer.toHexString(i2));
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
||||||
|
@ -236,9 +236,9 @@ public final class ColorUtils {
|
||||||
}
|
}
|
||||||
return i3;
|
return i3;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("background can not be translucent: #");
|
StringBuilder P = a.P("background can not be translucent: #");
|
||||||
L.append(Integer.toHexString(i2));
|
P.append(Integer.toHexString(i2));
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
@ -298,12 +298,12 @@ public final class ColorUtils {
|
||||||
}
|
}
|
||||||
return Color.valueOf(components2, color2.getColorSpace());
|
return Color.valueOf(components2, color2.getColorSpace());
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L("Color models must match (");
|
StringBuilder P = a.P("Color models must match (");
|
||||||
L.append(color.getModel());
|
P.append(color.getModel());
|
||||||
L.append(" vs. ");
|
P.append(" vs. ");
|
||||||
L.append(color2.getModel());
|
P.append(color2.getModel());
|
||||||
L.append(")");
|
P.append(")");
|
||||||
throw new IllegalArgumentException(L.toString());
|
throw new IllegalArgumentException(P.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static int compositeComponent(int i, int i2, int i3, int i4, int i5) {
|
private static int compositeComponent(int i, int i2, int i3, int i4, int i5) {
|
||||||
|
|
|
@ -66,13 +66,13 @@ public final class Insets {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("Insets{left=");
|
StringBuilder P = a.P("Insets{left=");
|
||||||
L.append(this.left);
|
P.append(this.left);
|
||||||
L.append(", top=");
|
P.append(", top=");
|
||||||
L.append(this.top);
|
P.append(this.top);
|
||||||
L.append(", right=");
|
P.append(", right=");
|
||||||
L.append(this.right);
|
P.append(this.right);
|
||||||
L.append(", bottom=");
|
P.append(", bottom=");
|
||||||
return a.v(L, this.bottom, '}');
|
return a.y(P, this.bottom, '}');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -504,7 +504,7 @@ public class PathParser {
|
||||||
PathDataNode.nodesToPath(createNodesFromPathData, path);
|
PathDataNode.nodesToPath(createNodesFromPathData, path);
|
||||||
return path;
|
return path;
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
throw new RuntimeException(a.s("Error in parsing ", str), e);
|
throw new RuntimeException(a.u("Error in parsing ", str), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -592,7 +592,7 @@ public class PathParser {
|
||||||
}
|
}
|
||||||
return copyOfRange(fArr, 0, i2);
|
return copyOfRange(fArr, 0, i2);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
throw new RuntimeException(a.t("error in parsing \"", str, "\""), e);
|
throw new RuntimeException(a.v("error in parsing \"", str, "\""), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,15 +59,15 @@ public final class PathSegment {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("PathSegment{start=");
|
StringBuilder P = a.P("PathSegment{start=");
|
||||||
L.append(this.mStart);
|
P.append(this.mStart);
|
||||||
L.append(", startFraction=");
|
P.append(", startFraction=");
|
||||||
L.append(this.mStartFraction);
|
P.append(this.mStartFraction);
|
||||||
L.append(", end=");
|
P.append(", end=");
|
||||||
L.append(this.mEnd);
|
P.append(this.mEnd);
|
||||||
L.append(", endFraction=");
|
P.append(", endFraction=");
|
||||||
L.append(this.mEndFraction);
|
P.append(this.mEndFraction);
|
||||||
L.append('}');
|
P.append('}');
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,9 +60,9 @@ public class TypefaceCompatApi26Impl extends TypefaceCompatApi21Impl {
|
||||||
method5 = obtainCreateFromFamiliesWithDefaultMethod(obtainFontFamily);
|
method5 = obtainCreateFromFamiliesWithDefaultMethod(obtainFontFamily);
|
||||||
cls = obtainFontFamily;
|
cls = obtainFontFamily;
|
||||||
} catch (ClassNotFoundException | NoSuchMethodException e) {
|
} catch (ClassNotFoundException | NoSuchMethodException e) {
|
||||||
StringBuilder L = a.L("Unable to collect necessary methods for class ");
|
StringBuilder P = a.P("Unable to collect necessary methods for class ");
|
||||||
L.append(e.getClass().getName());
|
P.append(e.getClass().getName());
|
||||||
Log.e(TAG, L.toString(), e);
|
Log.e(TAG, P.toString(), e);
|
||||||
method5 = null;
|
method5 = null;
|
||||||
constructor = null;
|
constructor = null;
|
||||||
method4 = null;
|
method4 = null;
|
||||||
|
|
|
@ -134,14 +134,14 @@ public class TypefaceCompatUtil {
|
||||||
if (cacheDir == null) {
|
if (cacheDir == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
StringBuilder L = a.L(CACHE_FILE_PREFIX);
|
StringBuilder P = a.P(CACHE_FILE_PREFIX);
|
||||||
L.append(Process.myPid());
|
P.append(Process.myPid());
|
||||||
L.append("-");
|
P.append("-");
|
||||||
L.append(Process.myTid());
|
P.append(Process.myTid());
|
||||||
L.append("-");
|
P.append("-");
|
||||||
String sb = L.toString();
|
String sb = P.toString();
|
||||||
for (int i = 0; i < 100; i++) {
|
for (int i = 0; i < 100; i++) {
|
||||||
File file = new File(cacheDir, a.j(sb, i));
|
File file = new File(cacheDir, a.l(sb, i));
|
||||||
try {
|
try {
|
||||||
if (file.createNewFile()) {
|
if (file.createNewFile()) {
|
||||||
return file;
|
return file;
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class IconCompat extends CustomVersionedParcelable {
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
default:
|
default:
|
||||||
a.f0("Unknown type ", i, TAG);
|
a.j0("Unknown type ", i, TAG);
|
||||||
return null;
|
return null;
|
||||||
case 2:
|
case 2:
|
||||||
case 4:
|
case 4:
|
||||||
|
@ -514,9 +514,9 @@ public class IconCompat extends CustomVersionedParcelable {
|
||||||
drawable2.setBounds(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
drawable2.setBounds(0, 0, bitmap.getWidth(), bitmap.getHeight());
|
||||||
drawable2.draw(new Canvas(bitmap));
|
drawable2.draw(new Canvas(bitmap));
|
||||||
} catch (PackageManager.NameNotFoundException e) {
|
} catch (PackageManager.NameNotFoundException e) {
|
||||||
StringBuilder L = a.L("Can't find package ");
|
StringBuilder P = a.P("Can't find package ");
|
||||||
L.append(this.mObj1);
|
P.append(this.mObj1);
|
||||||
throw new IllegalArgumentException(L.toString(), e);
|
throw new IllegalArgumentException(P.toString(), e);
|
||||||
}
|
}
|
||||||
} else if (i == 5) {
|
} else if (i == 5) {
|
||||||
bitmap = createLegacyIconFromAdaptiveIcon((Bitmap) this.mObj1, true);
|
bitmap = createLegacyIconFromAdaptiveIcon((Bitmap) this.mObj1, true);
|
||||||
|
@ -799,14 +799,14 @@ public class IconCompat extends CustomVersionedParcelable {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L = a.L("Cannot load adaptive icon from uri: ");
|
StringBuilder P = a.P("Cannot load adaptive icon from uri: ");
|
||||||
L.append(getUri());
|
P.append(getUri());
|
||||||
throw new IllegalStateException(L.toString());
|
throw new IllegalStateException(P.toString());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L2 = a.L("Context is required to resolve the file uri of the icon: ");
|
StringBuilder P2 = a.P("Context is required to resolve the file uri of the icon: ");
|
||||||
L2.append(getUri());
|
P2.append(getUri());
|
||||||
throw new IllegalArgumentException(L2.toString());
|
throw new IllegalArgumentException(P2.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ColorStateList colorStateList = this.mTintList;
|
ColorStateList colorStateList = this.mTintList;
|
||||||
|
|
|
@ -61,7 +61,7 @@ public final class RoundedBitmapDrawableFactory {
|
||||||
public static RoundedBitmapDrawable create(@NonNull Resources resources, @NonNull String str) {
|
public static RoundedBitmapDrawable create(@NonNull Resources resources, @NonNull String str) {
|
||||||
RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeFile(str));
|
RoundedBitmapDrawable create = create(resources, BitmapFactory.decodeFile(str));
|
||||||
if (create.getBitmap() == null) {
|
if (create.getBitmap() == null) {
|
||||||
a.h0("RoundedBitmapDrawable cannot decode ", str, TAG);
|
a.l0("RoundedBitmapDrawable cannot decode ", str, TAG);
|
||||||
}
|
}
|
||||||
return create;
|
return create;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,15 +30,15 @@ public final class UriCompat {
|
||||||
}
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
} else if (scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase(Constants.SCHEME) || scheme.equalsIgnoreCase("ftp") || scheme.equalsIgnoreCase("rtsp")) {
|
} else if (scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase(Constants.SCHEME) || scheme.equalsIgnoreCase("ftp") || scheme.equalsIgnoreCase("rtsp")) {
|
||||||
StringBuilder L = a.L("//");
|
StringBuilder P = a.P("//");
|
||||||
String str = "";
|
String str = "";
|
||||||
L.append(uri.getHost() != null ? uri.getHost() : str);
|
P.append(uri.getHost() != null ? uri.getHost() : str);
|
||||||
if (uri.getPort() != -1) {
|
if (uri.getPort() != -1) {
|
||||||
StringBuilder L2 = a.L(":");
|
StringBuilder P2 = a.P(":");
|
||||||
L2.append(uri.getPort());
|
P2.append(uri.getPort());
|
||||||
str = L2.toString();
|
str = P2.toString();
|
||||||
}
|
}
|
||||||
schemeSpecificPart = a.D(L, str, "/...");
|
schemeSpecificPart = a.H(P, str, "/...");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StringBuilder sb2 = new StringBuilder(64);
|
StringBuilder sb2 = new StringBuilder(64);
|
||||||
|
|
|
@ -48,7 +48,7 @@ public final class LocaleListCompat {
|
||||||
return new Locale(split2[0]);
|
return new Locale(split2[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(a.t("Can not parse language tag: [", str, "]"));
|
throw new IllegalArgumentException(a.v("Can not parse language tag: [", str, "]"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|
|
@ -30,7 +30,7 @@ public final class LocaleListCompatWrapper implements LocaleListInterface {
|
||||||
for (int i = 0; i < localeArr.length; i++) {
|
for (int i = 0; i < localeArr.length; i++) {
|
||||||
Locale locale = localeArr[i];
|
Locale locale = localeArr[i];
|
||||||
if (locale == null) {
|
if (locale == null) {
|
||||||
throw new NullPointerException(a.k("list[", i, "] is null"));
|
throw new NullPointerException(a.n("list[", i, "] is null"));
|
||||||
} else if (!hashSet.contains(locale)) {
|
} else if (!hashSet.contains(locale)) {
|
||||||
Locale locale2 = (Locale) locale.clone();
|
Locale locale2 = (Locale) locale.clone();
|
||||||
localeArr2[i] = locale2;
|
localeArr2[i] = locale2;
|
||||||
|
@ -40,7 +40,7 @@ public final class LocaleListCompatWrapper implements LocaleListInterface {
|
||||||
}
|
}
|
||||||
hashSet.add(locale2);
|
hashSet.add(locale2);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException(a.k("list[", i, "] is a repetition"));
|
throw new IllegalArgumentException(a.n("list[", i, "] is a repetition"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.mList = localeArr2;
|
this.mList = localeArr2;
|
||||||
|
@ -228,19 +228,19 @@ public final class LocaleListCompatWrapper implements LocaleListInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder L = a.L("[");
|
StringBuilder P = a.P("[");
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
Locale[] localeArr = this.mList;
|
Locale[] localeArr = this.mList;
|
||||||
if (i < localeArr.length) {
|
if (i < localeArr.length) {
|
||||||
L.append(localeArr[i]);
|
P.append(localeArr[i]);
|
||||||
if (i < this.mList.length - 1) {
|
if (i < this.mList.length - 1) {
|
||||||
L.append(',');
|
P.append(',');
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
} else {
|
} else {
|
||||||
L.append("]");
|
P.append("]");
|
||||||
return L.toString();
|
return P.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,14 +73,14 @@ public final class FontRequest {
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
StringBuilder L = a.L("FontRequest {mProviderAuthority: ");
|
StringBuilder P = a.P("FontRequest {mProviderAuthority: ");
|
||||||
L.append(this.mProviderAuthority);
|
P.append(this.mProviderAuthority);
|
||||||
L.append(", mProviderPackage: ");
|
P.append(", mProviderPackage: ");
|
||||||
L.append(this.mProviderPackage);
|
P.append(this.mProviderPackage);
|
||||||
L.append(", mQuery: ");
|
P.append(", mQuery: ");
|
||||||
L.append(this.mQuery);
|
P.append(this.mQuery);
|
||||||
L.append(", mCertificates:");
|
P.append(", mCertificates:");
|
||||||
sb.append(L.toString());
|
sb.append(P.toString());
|
||||||
for (int i = 0; i < this.mCertificates.size(); i++) {
|
for (int i = 0; i < this.mCertificates.size(); i++) {
|
||||||
sb.append(" [");
|
sb.append(" [");
|
||||||
List<byte[]> list = this.mCertificates.get(i);
|
List<byte[]> list = this.mCertificates.get(i);
|
||||||
|
|
|
@ -569,7 +569,7 @@ public class FontsContractCompat {
|
||||||
String providerAuthority = fontRequest.getProviderAuthority();
|
String providerAuthority = fontRequest.getProviderAuthority();
|
||||||
ProviderInfo resolveContentProvider = packageManager.resolveContentProvider(providerAuthority, 0);
|
ProviderInfo resolveContentProvider = packageManager.resolveContentProvider(providerAuthority, 0);
|
||||||
if (resolveContentProvider == null) {
|
if (resolveContentProvider == null) {
|
||||||
throw new PackageManager.NameNotFoundException(a.s("No package found for authority: ", providerAuthority));
|
throw new PackageManager.NameNotFoundException(a.u("No package found for authority: ", providerAuthority));
|
||||||
} else if (resolveContentProvider.packageName.equals(fontRequest.getProviderPackage())) {
|
} else if (resolveContentProvider.packageName.equals(fontRequest.getProviderPackage())) {
|
||||||
List<byte[]> convertToByteArrayList = convertToByteArrayList(packageManager.getPackageInfo(resolveContentProvider.packageName, 64).signatures);
|
List<byte[]> convertToByteArrayList = convertToByteArrayList(packageManager.getPackageInfo(resolveContentProvider.packageName, 64).signatures);
|
||||||
Collections.sort(convertToByteArrayList, sByteArrayComparator);
|
Collections.sort(convertToByteArrayList, sByteArrayComparator);
|
||||||
|
@ -583,9 +583,9 @@ public class FontsContractCompat {
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
StringBuilder Q = a.Q("Found content provider ", providerAuthority, ", but package was not ");
|
StringBuilder V = a.V("Found content provider ", providerAuthority, ", but package was not ");
|
||||||
Q.append(fontRequest.getProviderPackage());
|
V.append(fontRequest.getProviderPackage());
|
||||||
throw new PackageManager.NameNotFoundException(Q.toString());
|
throw new PackageManager.NameNotFoundException(V.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -172,36 +172,36 @@ public class PrecomputedTextCompat implements Spannable {
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder("{");
|
StringBuilder sb = new StringBuilder("{");
|
||||||
StringBuilder L = a.L("textSize=");
|
StringBuilder P = a.P("textSize=");
|
||||||
L.append(this.mPaint.getTextSize());
|
P.append(this.mPaint.getTextSize());
|
||||||
sb.append(L.toString());
|
sb.append(P.toString());
|
||||||
sb.append(", textScaleX=" + this.mPaint.getTextScaleX());
|
sb.append(", textScaleX=" + this.mPaint.getTextScaleX());
|
||||||
sb.append(", textSkewX=" + this.mPaint.getTextSkewX());
|
sb.append(", textSkewX=" + this.mPaint.getTextSkewX());
|
||||||
int i = Build.VERSION.SDK_INT;
|
int i = Build.VERSION.SDK_INT;
|
||||||
StringBuilder L2 = a.L(", letterSpacing=");
|
StringBuilder P2 = a.P(", letterSpacing=");
|
||||||
L2.append(this.mPaint.getLetterSpacing());
|
P2.append(this.mPaint.getLetterSpacing());
|
||||||
sb.append(L2.toString());
|
sb.append(P2.toString());
|
||||||
sb.append(", elegantTextHeight=" + this.mPaint.isElegantTextHeight());
|
sb.append(", elegantTextHeight=" + this.mPaint.isElegantTextHeight());
|
||||||
if (i >= 24) {
|
if (i >= 24) {
|
||||||
StringBuilder L3 = a.L(", textLocale=");
|
StringBuilder P3 = a.P(", textLocale=");
|
||||||
L3.append(this.mPaint.getTextLocales());
|
P3.append(this.mPaint.getTextLocales());
|
||||||
sb.append(L3.toString());
|
sb.append(P3.toString());
|
||||||
} else {
|
} else {
|
||||||
StringBuilder L4 = a.L(", textLocale=");
|
StringBuilder P4 = a.P(", textLocale=");
|
||||||
L4.append(this.mPaint.getTextLocale());
|
P4.append(this.mPaint.getTextLocale());
|
||||||
sb.append(L4.toString());
|
sb.append(P4.toString());
|
||||||
}
|
}
|
||||||
StringBuilder L5 = a.L(", typeface=");
|
StringBuilder P5 = a.P(", typeface=");
|
||||||
L5.append(this.mPaint.getTypeface());
|
P5.append(this.mPaint.getTypeface());
|
||||||
sb.append(L5.toString());
|
sb.append(P5.toString());
|
||||||
if (i >= 26) {
|
if (i >= 26) {
|
||||||
StringBuilder L6 = a.L(", variationSettings=");
|
StringBuilder P6 = a.P(", variationSettings=");
|
||||||
L6.append(this.mPaint.getFontVariationSettings());
|
P6.append(this.mPaint.getFontVariationSettings());
|
||||||
sb.append(L6.toString());
|
sb.append(P6.toString());
|
||||||
}
|
}
|
||||||
StringBuilder L7 = a.L(", textDir=");
|
StringBuilder P7 = a.P(", textDir=");
|
||||||
L7.append(this.mTextDir);
|
P7.append(this.mTextDir);
|
||||||
sb.append(L7.toString());
|
sb.append(P7.toString());
|
||||||
sb.append(", breakStrategy=" + this.mBreakStrategy);
|
sb.append(", breakStrategy=" + this.mBreakStrategy);
|
||||||
sb.append(", hyphenationFrequency=" + this.mHyphenationFrequency);
|
sb.append(", hyphenationFrequency=" + this.mHyphenationFrequency);
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
|
|
|
@ -272,7 +272,7 @@ public final class LinkifyCompat {
|
||||||
str = strArr[i] + str.substring(strArr[i].length());
|
str = strArr[i] + str.substring(strArr[i].length());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return (z2 || strArr.length <= 0) ? str : a.D(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) {
|
private static void pruneOverlaps(ArrayList<LinkSpec> arrayList, Spannable spannable) {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue