2894 lines
122 KiB
Java
2894 lines
122 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.res.TypedArray;
|
||
|
import android.content.res.XmlResourceParser;
|
||
|
import android.util.AttributeSet;
|
||
|
import android.util.SparseIntArray;
|
||
|
import android.util.TypedValue;
|
||
|
import android.util.Xml;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import androidx.constraintlayout.motion.widget.MotionLayout;
|
||
|
import androidx.constraintlayout.widget.Barrier;
|
||
|
import androidx.constraintlayout.widget.ConstraintHelper;
|
||
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||
|
import androidx.constraintlayout.widget.Constraints;
|
||
|
import androidx.constraintlayout.widget.Guideline;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.io.IOException;
|
||
|
import java.util.Arrays;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.HashSet;
|
||
|
import java.util.Iterator;
|
||
|
import o.C3345avm;
|
||
|
import org.bouncycastle.asn1.cmp.PKIFailureInfo;
|
||
|
import org.simpleframework.xml.strategy.Name;
|
||
|
import org.xmlpull.v1.XmlPullParser;
|
||
|
import org.xmlpull.v1.XmlPullParserException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class yqQ {
|
||
|
private static final int[] f = {0, 4, 8};
|
||
|
private static SparseIntArray g = new SparseIntArray();
|
||
|
private static SparseIntArray h = new SparseIntArray();
|
||
|
public String c;
|
||
|
public String b = "";
|
||
|
public int d = 0;
|
||
|
private HashMap<String, Prc> j = new HashMap<>();
|
||
|
public boolean e = true;
|
||
|
public HashMap<Integer, Sts> a = new HashMap<>();
|
||
|
|
||
|
static {
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintLeft_toLeftOf, 25);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintLeft_toRightOf, 26);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintRight_toLeftOf, 29);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintRight_toRightOf, 30);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintTop_toTopOf, 36);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintTop_toBottomOf, 35);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBottom_toTopOf, 4);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBottom_toBottomOf, 3);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBaseline_toBaselineOf, 1);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBaseline_toTopOf, 91);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBaseline_toBottomOf, 92);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_editor_absoluteX, 6);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_editor_absoluteY, 7);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintGuide_begin, 17);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintGuide_end, 18);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintGuide_percent, 19);
|
||
|
g.append(C3345avm.IeS.Constraint_guidelineUseRtl, 99);
|
||
|
g.append(C3345avm.IeS.Constraint_android_orientation, 27);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintStart_toEndOf, 32);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintStart_toStartOf, 33);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintEnd_toStartOf, 10);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintEnd_toEndOf, 9);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginLeft, 13);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginTop, 16);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginRight, 14);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginBottom, 11);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginStart, 15);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_goneMarginEnd, 12);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintVertical_weight, 40);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHorizontal_weight, 39);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHorizontal_chainStyle, 41);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintVertical_chainStyle, 42);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHorizontal_bias, 20);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintVertical_bias, 37);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintDimensionRatio, 5);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintLeft_creator, 87);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintTop_creator, 87);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintRight_creator, 87);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBottom_creator, 87);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintBaseline_creator, 87);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginLeft, 24);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginRight, 28);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginStart, 31);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginEnd, 8);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginTop, 34);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_marginBottom, 2);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_width, 23);
|
||
|
g.append(C3345avm.IeS.Constraint_android_layout_height, 21);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintWidth, 95);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHeight, 96);
|
||
|
g.append(C3345avm.IeS.Constraint_android_visibility, 22);
|
||
|
g.append(C3345avm.IeS.Constraint_android_alpha, 43);
|
||
|
g.append(C3345avm.IeS.Constraint_android_elevation, 44);
|
||
|
g.append(C3345avm.IeS.Constraint_android_rotationX, 45);
|
||
|
g.append(C3345avm.IeS.Constraint_android_rotationY, 46);
|
||
|
g.append(C3345avm.IeS.Constraint_android_rotation, 60);
|
||
|
g.append(C3345avm.IeS.Constraint_android_scaleX, 47);
|
||
|
g.append(C3345avm.IeS.Constraint_android_scaleY, 48);
|
||
|
g.append(C3345avm.IeS.Constraint_android_transformPivotX, 49);
|
||
|
g.append(C3345avm.IeS.Constraint_android_transformPivotY, 50);
|
||
|
g.append(C3345avm.IeS.Constraint_android_translationX, 51);
|
||
|
g.append(C3345avm.IeS.Constraint_android_translationY, 52);
|
||
|
g.append(C3345avm.IeS.Constraint_android_translationZ, 53);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintWidth_default, 54);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHeight_default, 55);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintWidth_max, 56);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHeight_max, 57);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintWidth_min, 58);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHeight_min, 59);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintCircle, 61);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintCircleRadius, 62);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintCircleAngle, 63);
|
||
|
g.append(C3345avm.IeS.Constraint_animateRelativeTo, 64);
|
||
|
g.append(C3345avm.IeS.Constraint_transitionEasing, 65);
|
||
|
g.append(C3345avm.IeS.Constraint_drawPath, 66);
|
||
|
g.append(C3345avm.IeS.Constraint_transitionPathRotate, 67);
|
||
|
g.append(C3345avm.IeS.Constraint_motionStagger, 79);
|
||
|
g.append(C3345avm.IeS.Constraint_android_id, 38);
|
||
|
g.append(C3345avm.IeS.Constraint_motionProgress, 68);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintWidth_percent, 69);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintHeight_percent, 70);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_wrapBehaviorInParent, 97);
|
||
|
g.append(C3345avm.IeS.Constraint_chainUseRtl, 71);
|
||
|
g.append(C3345avm.IeS.Constraint_barrierDirection, 72);
|
||
|
g.append(C3345avm.IeS.Constraint_barrierMargin, 73);
|
||
|
g.append(C3345avm.IeS.Constraint_constraint_referenced_ids, 74);
|
||
|
g.append(C3345avm.IeS.Constraint_barrierAllowsGoneWidgets, 75);
|
||
|
g.append(C3345avm.IeS.Constraint_pathMotionArc, 76);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constraintTag, 77);
|
||
|
g.append(C3345avm.IeS.Constraint_visibilityMode, 78);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constrainedWidth, 80);
|
||
|
g.append(C3345avm.IeS.Constraint_layout_constrainedHeight, 81);
|
||
|
g.append(C3345avm.IeS.Constraint_polarRelativeTo, 82);
|
||
|
g.append(C3345avm.IeS.Constraint_transformPivotTarget, 83);
|
||
|
g.append(C3345avm.IeS.Constraint_quantizeMotionSteps, 84);
|
||
|
g.append(C3345avm.IeS.Constraint_quantizeMotionPhase, 85);
|
||
|
g.append(C3345avm.IeS.Constraint_quantizeMotionInterpolator, 86);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_editor_absoluteY, 6);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_editor_absoluteY, 7);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_orientation, 27);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginLeft, 13);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginTop, 16);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginRight, 14);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginBottom, 11);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginStart, 15);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_goneMarginEnd, 12);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintVertical_weight, 40);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHorizontal_weight, 39);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHorizontal_chainStyle, 41);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintVertical_chainStyle, 42);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHorizontal_bias, 20);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintVertical_bias, 37);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintDimensionRatio, 5);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintLeft_creator, 87);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintTop_creator, 87);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintRight_creator, 87);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintBottom_creator, 87);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintBaseline_creator, 87);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginLeft, 24);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginRight, 28);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginStart, 31);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginEnd, 8);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginTop, 34);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_marginBottom, 2);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_width, 23);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_layout_height, 21);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintWidth, 95);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHeight, 96);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_visibility, 22);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_alpha, 43);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_elevation, 44);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_rotationX, 45);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_rotationY, 46);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_rotation, 60);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_scaleX, 47);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_scaleY, 48);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_transformPivotX, 49);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_transformPivotY, 50);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_translationX, 51);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_translationY, 52);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_translationZ, 53);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintWidth_default, 54);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHeight_default, 55);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintWidth_max, 56);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHeight_max, 57);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintWidth_min, 58);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHeight_min, 59);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintCircleRadius, 62);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintCircleAngle, 63);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_animateRelativeTo, 64);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_transitionEasing, 65);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_drawPath, 66);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_transitionPathRotate, 67);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_motionStagger, 79);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_android_id, 38);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_motionTarget, 98);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_motionProgress, 68);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintWidth_percent, 69);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintHeight_percent, 70);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_chainUseRtl, 71);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_barrierDirection, 72);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_barrierMargin, 73);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_constraint_referenced_ids, 74);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_barrierAllowsGoneWidgets, 75);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_pathMotionArc, 76);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constraintTag, 77);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_visibilityMode, 78);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constrainedWidth, 80);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_constrainedHeight, 81);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_polarRelativeTo, 82);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_transformPivotTarget, 83);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_quantizeMotionSteps, 84);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_quantizeMotionPhase, 85);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_quantizeMotionInterpolator, 86);
|
||
|
h.append(C3345avm.IeS.ConstraintOverride_layout_wrapBehaviorInParent, 97);
|
||
|
}
|
||
|
|
||
|
public final void e(yqQ yqq) {
|
||
|
for (Integer num : yqq.a.keySet()) {
|
||
|
int intValue = num.intValue();
|
||
|
Sts sts = yqq.a.get(num);
|
||
|
if (!this.a.containsKey(Integer.valueOf(intValue))) {
|
||
|
this.a.put(Integer.valueOf(intValue), new Sts());
|
||
|
}
|
||
|
Sts sts2 = this.a.get(Integer.valueOf(intValue));
|
||
|
if (sts2 != null) {
|
||
|
if (!sts2.a.K) {
|
||
|
sts2.a.c(sts.a);
|
||
|
}
|
||
|
if (!sts2.g.d) {
|
||
|
sts2.g.e(sts.g);
|
||
|
}
|
||
|
if (!sts2.h.e) {
|
||
|
sts2.h.a(sts.h);
|
||
|
}
|
||
|
if (!sts2.f.a) {
|
||
|
sts2.f.c(sts.f);
|
||
|
}
|
||
|
for (String str : sts.e.keySet()) {
|
||
|
if (!sts2.e.containsKey(str)) {
|
||
|
sts2.e.put(str, sts.e.get(str));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void b(ConstraintLayout constraintLayout) {
|
||
|
int childCount = constraintLayout.getChildCount();
|
||
|
for (int i = 0; i < childCount; i++) {
|
||
|
View childAt = constraintLayout.getChildAt(i);
|
||
|
ConstraintLayout.Sts sts = (ConstraintLayout.Sts) childAt.getLayoutParams();
|
||
|
int id = childAt.getId();
|
||
|
if (this.e && id == -1) {
|
||
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||
|
}
|
||
|
if (!this.a.containsKey(Integer.valueOf(id))) {
|
||
|
this.a.put(Integer.valueOf(id), new Sts());
|
||
|
}
|
||
|
Sts sts2 = this.a.get(Integer.valueOf(id));
|
||
|
if (sts2 != null) {
|
||
|
if (!sts2.a.K) {
|
||
|
sts2.c(id, sts);
|
||
|
if (childAt instanceof ConstraintHelper) {
|
||
|
sts2.a.T = ((ConstraintHelper) childAt).e();
|
||
|
if (childAt instanceof Barrier) {
|
||
|
Barrier barrier = (Barrier) childAt;
|
||
|
sts2.a.O = barrier.a.e;
|
||
|
sts2.a.Q = barrier.d;
|
||
|
sts2.a.S = barrier.a.a;
|
||
|
}
|
||
|
}
|
||
|
sts2.a.K = true;
|
||
|
}
|
||
|
if (!sts2.g.d) {
|
||
|
sts2.g.a = childAt.getVisibility();
|
||
|
sts2.g.b = childAt.getAlpha();
|
||
|
sts2.g.d = true;
|
||
|
}
|
||
|
if (!sts2.h.e) {
|
||
|
sts2.h.e = true;
|
||
|
sts2.h.c = childAt.getRotation();
|
||
|
sts2.h.d = childAt.getRotationX();
|
||
|
sts2.h.g = childAt.getRotationY();
|
||
|
sts2.h.i = childAt.getScaleX();
|
||
|
sts2.h.j = childAt.getScaleY();
|
||
|
float pivotX = childAt.getPivotX();
|
||
|
float pivotY = childAt.getPivotY();
|
||
|
if (pivotX != 0.0d || pivotY != 0.0d) {
|
||
|
sts2.h.h = pivotX;
|
||
|
sts2.h.k = pivotY;
|
||
|
}
|
||
|
sts2.h.f9324o = childAt.getTranslationX();
|
||
|
sts2.h.l = childAt.getTranslationY();
|
||
|
sts2.h.n = childAt.getTranslationZ();
|
||
|
if (sts2.h.b) {
|
||
|
sts2.h.a = childAt.getElevation();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void a(yqQ yqq) {
|
||
|
for (Sts sts : yqq.a.values()) {
|
||
|
if (sts.b != null) {
|
||
|
if (sts.d != null) {
|
||
|
Iterator<Integer> it = this.a.keySet().iterator();
|
||
|
while (it.hasNext()) {
|
||
|
int intValue = it.next().intValue();
|
||
|
Sts sts2 = this.a.containsKey(Integer.valueOf(intValue)) ? this.a.get(Integer.valueOf(intValue)) : null;
|
||
|
if (sts2.a.P != null && sts.d.matches(sts2.a.P)) {
|
||
|
sts.b.a(sts2);
|
||
|
sts2.e.putAll((HashMap) sts.e.clone());
|
||
|
}
|
||
|
}
|
||
|
} else {
|
||
|
int i = sts.c;
|
||
|
sts.b.a(this.a.containsKey(Integer.valueOf(i)) ? this.a.get(Integer.valueOf(i)) : null);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:18:0x0031 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:24:0x003f */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public static void ll_(java.lang.Object r4, android.content.res.TypedArray r5, int r6, int r7) {
|
||
|
/*
|
||
|
if (r4 != 0) goto L3
|
||
|
return
|
||
|
L3:
|
||
|
android.util.TypedValue r0 = r5.peekValue(r6)
|
||
|
int r0 = r0.type
|
||
|
r1 = 3
|
||
|
if (r0 == r1) goto L6f
|
||
|
r1 = 5
|
||
|
r2 = 0
|
||
|
if (r0 == r1) goto L26
|
||
|
int r5 = r5.getInt(r6, r2)
|
||
|
r6 = -4
|
||
|
r0 = -2
|
||
|
if (r5 == r6) goto L22
|
||
|
r6 = -3
|
||
|
if (r5 == r6) goto L20
|
||
|
if (r5 == r0) goto L2a
|
||
|
r6 = -1
|
||
|
if (r5 == r6) goto L2a
|
||
|
L20:
|
||
|
r5 = r2
|
||
|
goto L2d
|
||
|
L22:
|
||
|
r2 = 1
|
||
|
r5 = r2
|
||
|
r2 = r0
|
||
|
goto L2d
|
||
|
L26:
|
||
|
int r5 = r5.getDimensionPixelSize(r6, r2)
|
||
|
L2a:
|
||
|
r3 = r2
|
||
|
r2 = r5
|
||
|
r5 = r3
|
||
|
L2d:
|
||
|
boolean r6 = r4 instanceof androidx.constraintlayout.widget.ConstraintLayout.Sts
|
||
|
if (r6 == 0) goto L3f
|
||
|
androidx.constraintlayout.widget.ConstraintLayout$Sts r4 = (androidx.constraintlayout.widget.ConstraintLayout.Sts) r4
|
||
|
if (r7 != 0) goto L3a
|
||
|
r4.width = r2
|
||
|
r4.m = r5
|
||
|
return
|
||
|
L3a:
|
||
|
r4.height = r2
|
||
|
r4.f = r5
|
||
|
return
|
||
|
L3f:
|
||
|
boolean r6 = r4 instanceof o.yqQ.IeS
|
||
|
if (r6 == 0) goto L51
|
||
|
o.yqQ$IeS r4 = (o.yqQ.IeS) r4
|
||
|
if (r7 != 0) goto L4c
|
||
|
r4.X = r2
|
||
|
r4.n = r5
|
||
|
return
|
||
|
L4c:
|
||
|
r4.R = r2
|
||
|
r4.f9325o = r5
|
||
|
return
|
||
|
L51:
|
||
|
boolean r6 = r4 instanceof o.yqQ.Sts.C0128Sts
|
||
|
if (r6 == 0) goto L6e
|
||
|
o.yqQ$Sts$Sts r4 = (o.yqQ.Sts.C0128Sts) r4
|
||
|
if (r7 != 0) goto L64
|
||
|
r6 = 23
|
||
|
r4.d(r6, r2)
|
||
|
r6 = 80
|
||
|
r4.a(r6, r5)
|
||
|
return
|
||
|
L64:
|
||
|
r6 = 21
|
||
|
r4.d(r6, r2)
|
||
|
r6 = 81
|
||
|
r4.a(r6, r5)
|
||
|
L6e:
|
||
|
return
|
||
|
L6f:
|
||
|
java.lang.String r5 = r5.getString(r6)
|
||
|
d(r4, r5, r7)
|
||
|
return
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.yqQ.ll_(java.lang.Object, android.content.res.TypedArray, int, int):void");
|
||
|
}
|
||
|
|
||
|
public static void c(ConstraintLayout.Sts sts, String str) {
|
||
|
float f2 = Float.NaN;
|
||
|
int i = -1;
|
||
|
if (str != null) {
|
||
|
int length = str.length();
|
||
|
int indexOf = str.indexOf(44);
|
||
|
int i2 = 0;
|
||
|
if (indexOf > 0 && indexOf < length - 1) {
|
||
|
String substring = str.substring(0, indexOf);
|
||
|
if (substring.equalsIgnoreCase("W")) {
|
||
|
i = 0;
|
||
|
} else if (substring.equalsIgnoreCase("H")) {
|
||
|
i = 1;
|
||
|
}
|
||
|
i2 = indexOf + 1;
|
||
|
}
|
||
|
int indexOf2 = str.indexOf(58);
|
||
|
try {
|
||
|
if (indexOf2 >= 0 && indexOf2 < length - 1) {
|
||
|
String substring2 = str.substring(i2, indexOf2);
|
||
|
String substring3 = str.substring(indexOf2 + 1);
|
||
|
if (substring2.length() > 0 && substring3.length() > 0) {
|
||
|
float parseFloat = Float.parseFloat(substring2);
|
||
|
float parseFloat2 = Float.parseFloat(substring3);
|
||
|
if (parseFloat > BitmapDescriptorFactory.HUE_RED && parseFloat2 > BitmapDescriptorFactory.HUE_RED) {
|
||
|
if (i == 1) {
|
||
|
f2 = Math.abs(parseFloat2 / parseFloat);
|
||
|
i = 1;
|
||
|
} else {
|
||
|
f2 = Math.abs(parseFloat / parseFloat2);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
} else {
|
||
|
String substring4 = str.substring(i2);
|
||
|
if (substring4.length() > 0) {
|
||
|
f2 = Float.parseFloat(substring4);
|
||
|
}
|
||
|
}
|
||
|
} catch (NumberFormatException unused) {
|
||
|
}
|
||
|
}
|
||
|
sts.l = str;
|
||
|
sts.n = f2;
|
||
|
sts.k = i;
|
||
|
}
|
||
|
|
||
|
private static void d(Object obj, String str, int i) {
|
||
|
if (str == null) {
|
||
|
return;
|
||
|
}
|
||
|
int indexOf = str.indexOf(61);
|
||
|
int length = str.length();
|
||
|
if (indexOf <= 0 || indexOf >= length - 1) {
|
||
|
return;
|
||
|
}
|
||
|
String substring = str.substring(0, indexOf);
|
||
|
String substring2 = str.substring(indexOf + 1);
|
||
|
if (substring2.length() > 0) {
|
||
|
String trim = substring.trim();
|
||
|
String trim2 = substring2.trim();
|
||
|
if ("ratio".equalsIgnoreCase(trim)) {
|
||
|
if (obj instanceof ConstraintLayout.Sts) {
|
||
|
ConstraintLayout.Sts sts = (ConstraintLayout.Sts) obj;
|
||
|
if (i == 0) {
|
||
|
((ViewGroup.LayoutParams) sts).width = 0;
|
||
|
} else {
|
||
|
((ViewGroup.LayoutParams) sts).height = 0;
|
||
|
}
|
||
|
c(sts, trim2);
|
||
|
return;
|
||
|
}
|
||
|
if (obj instanceof IeS) {
|
||
|
((IeS) obj).m = trim2;
|
||
|
return;
|
||
|
} else {
|
||
|
if (obj instanceof Sts.C0128Sts) {
|
||
|
((Sts.C0128Sts) obj).d(5, trim2);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
try {
|
||
|
if ("weight".equalsIgnoreCase(trim)) {
|
||
|
float parseFloat = Float.parseFloat(trim2);
|
||
|
if (obj instanceof ConstraintLayout.Sts) {
|
||
|
ConstraintLayout.Sts sts2 = (ConstraintLayout.Sts) obj;
|
||
|
if (i == 0) {
|
||
|
((ViewGroup.LayoutParams) sts2).width = 0;
|
||
|
sts2.F = parseFloat;
|
||
|
return;
|
||
|
} else {
|
||
|
((ViewGroup.LayoutParams) sts2).height = 0;
|
||
|
sts2.ao = parseFloat;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (obj instanceof IeS) {
|
||
|
IeS ieS = (IeS) obj;
|
||
|
if (i == 0) {
|
||
|
ieS.X = 0;
|
||
|
ieS.M = parseFloat;
|
||
|
return;
|
||
|
} else {
|
||
|
ieS.R = 0;
|
||
|
ieS.ak = parseFloat;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (obj instanceof Sts.C0128Sts) {
|
||
|
Sts.C0128Sts c0128Sts = (Sts.C0128Sts) obj;
|
||
|
if (i == 0) {
|
||
|
c0128Sts.d(23, 0);
|
||
|
c0128Sts.e(39, parseFloat);
|
||
|
return;
|
||
|
} else {
|
||
|
c0128Sts.d(21, 0);
|
||
|
c0128Sts.e(40, parseFloat);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if ("parent".equalsIgnoreCase(trim)) {
|
||
|
float max = Math.max(BitmapDescriptorFactory.HUE_RED, Math.min(1.0f, Float.parseFloat(trim2)));
|
||
|
if (obj instanceof ConstraintLayout.Sts) {
|
||
|
ConstraintLayout.Sts sts3 = (ConstraintLayout.Sts) obj;
|
||
|
if (i == 0) {
|
||
|
((ViewGroup.LayoutParams) sts3).width = 0;
|
||
|
sts3.T = max;
|
||
|
sts3.S = 2;
|
||
|
return;
|
||
|
} else {
|
||
|
((ViewGroup.LayoutParams) sts3).height = 0;
|
||
|
sts3.V = max;
|
||
|
sts3.O = 2;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (obj instanceof IeS) {
|
||
|
IeS ieS2 = (IeS) obj;
|
||
|
if (i == 0) {
|
||
|
ieS2.X = 0;
|
||
|
ieS2.ap = max;
|
||
|
ieS2.am = 2;
|
||
|
return;
|
||
|
} else {
|
||
|
ieS2.R = 0;
|
||
|
ieS2.F = max;
|
||
|
ieS2.B = 2;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (obj instanceof Sts.C0128Sts) {
|
||
|
Sts.C0128Sts c0128Sts2 = (Sts.C0128Sts) obj;
|
||
|
if (i == 0) {
|
||
|
c0128Sts2.d(23, 0);
|
||
|
c0128Sts2.d(54, 2);
|
||
|
} else {
|
||
|
c0128Sts2.d(21, 0);
|
||
|
c0128Sts2.d(55, 2);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
} catch (NumberFormatException unused) {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class IeS {
|
||
|
private static SparseIntArray ar;
|
||
|
public String P;
|
||
|
public int R;
|
||
|
public int[] T;
|
||
|
public String V;
|
||
|
public int X;
|
||
|
public boolean U = false;
|
||
|
public boolean K = false;
|
||
|
private boolean ao = false;
|
||
|
public int z = -1;
|
||
|
public int D = -1;
|
||
|
public float C = -1.0f;
|
||
|
public boolean A = true;
|
||
|
public int J = -1;
|
||
|
public int L = -1;
|
||
|
public int aa = -1;
|
||
|
public int ab = -1;
|
||
|
public int ai = -1;
|
||
|
public int ah = -1;
|
||
|
public int h = -1;
|
||
|
public int g = -1;
|
||
|
public int c = -1;
|
||
|
public int a = -1;
|
||
|
public int e = -1;
|
||
|
public int af = -1;
|
||
|
public int ag = -1;
|
||
|
public int s = -1;
|
||
|
public int p = -1;
|
||
|
public float G = 0.5f;
|
||
|
public float aj = 0.5f;
|
||
|
public String m = null;
|
||
|
public int j = -1;
|
||
|
public int f = 0;
|
||
|
public float i = BitmapDescriptorFactory.HUE_RED;
|
||
|
public int k = -1;
|
||
|
public int l = -1;
|
||
|
public int ac = -1;
|
||
|
public int N = 0;
|
||
|
public int Y = 0;
|
||
|
public int ad = 0;
|
||
|
public int d = 0;
|
||
|
public int t = 0;
|
||
|
public int ae = 0;
|
||
|
public int b = 0;
|
||
|
public int u = PKIFailureInfo.systemUnavail;
|
||
|
public int v = PKIFailureInfo.systemUnavail;
|
||
|
public int y = PKIFailureInfo.systemUnavail;
|
||
|
public int r = PKIFailureInfo.systemUnavail;
|
||
|
public int x = PKIFailureInfo.systemUnavail;
|
||
|
public int w = PKIFailureInfo.systemUnavail;
|
||
|
public int q = PKIFailureInfo.systemUnavail;
|
||
|
public float ak = -1.0f;
|
||
|
public float M = -1.0f;
|
||
|
public int E = 0;
|
||
|
public int al = 0;
|
||
|
public int am = 0;
|
||
|
public int B = 0;
|
||
|
public int an = 0;
|
||
|
public int H = 0;
|
||
|
public int aq = 0;
|
||
|
public int I = 0;
|
||
|
public float ap = 1.0f;
|
||
|
public float F = 1.0f;
|
||
|
public int Q = -1;
|
||
|
public int S = 0;
|
||
|
public int W = -1;
|
||
|
public boolean n = false;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
public boolean f9325o = false;
|
||
|
public boolean O = true;
|
||
|
public int Z = 0;
|
||
|
|
||
|
public final void c(IeS ieS) {
|
||
|
this.U = ieS.U;
|
||
|
this.X = ieS.X;
|
||
|
this.K = ieS.K;
|
||
|
this.R = ieS.R;
|
||
|
this.z = ieS.z;
|
||
|
this.D = ieS.D;
|
||
|
this.C = ieS.C;
|
||
|
this.A = ieS.A;
|
||
|
this.J = ieS.J;
|
||
|
this.L = ieS.L;
|
||
|
this.aa = ieS.aa;
|
||
|
this.ab = ieS.ab;
|
||
|
this.ai = ieS.ai;
|
||
|
this.ah = ieS.ah;
|
||
|
this.h = ieS.h;
|
||
|
this.g = ieS.g;
|
||
|
this.c = ieS.c;
|
||
|
this.a = ieS.a;
|
||
|
this.e = ieS.e;
|
||
|
this.af = ieS.af;
|
||
|
this.ag = ieS.ag;
|
||
|
this.s = ieS.s;
|
||
|
this.p = ieS.p;
|
||
|
this.G = ieS.G;
|
||
|
this.aj = ieS.aj;
|
||
|
this.m = ieS.m;
|
||
|
this.j = ieS.j;
|
||
|
this.f = ieS.f;
|
||
|
this.i = ieS.i;
|
||
|
this.k = ieS.k;
|
||
|
this.l = ieS.l;
|
||
|
this.ac = ieS.ac;
|
||
|
this.N = ieS.N;
|
||
|
this.Y = ieS.Y;
|
||
|
this.ad = ieS.ad;
|
||
|
this.d = ieS.d;
|
||
|
this.t = ieS.t;
|
||
|
this.ae = ieS.ae;
|
||
|
this.b = ieS.b;
|
||
|
this.u = ieS.u;
|
||
|
this.v = ieS.v;
|
||
|
this.y = ieS.y;
|
||
|
this.r = ieS.r;
|
||
|
this.x = ieS.x;
|
||
|
this.w = ieS.w;
|
||
|
this.q = ieS.q;
|
||
|
this.ak = ieS.ak;
|
||
|
this.M = ieS.M;
|
||
|
this.E = ieS.E;
|
||
|
this.al = ieS.al;
|
||
|
this.am = ieS.am;
|
||
|
this.B = ieS.B;
|
||
|
this.an = ieS.an;
|
||
|
this.H = ieS.H;
|
||
|
this.aq = ieS.aq;
|
||
|
this.I = ieS.I;
|
||
|
this.ap = ieS.ap;
|
||
|
this.F = ieS.F;
|
||
|
this.Q = ieS.Q;
|
||
|
this.S = ieS.S;
|
||
|
this.W = ieS.W;
|
||
|
this.P = ieS.P;
|
||
|
int[] iArr = ieS.T;
|
||
|
if (iArr == null || ieS.V != null) {
|
||
|
this.T = null;
|
||
|
} else {
|
||
|
this.T = Arrays.copyOf(iArr, iArr.length);
|
||
|
}
|
||
|
this.V = ieS.V;
|
||
|
this.n = ieS.n;
|
||
|
this.f9325o = ieS.f9325o;
|
||
|
this.O = ieS.O;
|
||
|
this.Z = ieS.Z;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
SparseIntArray sparseIntArray = new SparseIntArray();
|
||
|
ar = sparseIntArray;
|
||
|
sparseIntArray.append(C3345avm.IeS.Layout_layout_constraintLeft_toLeftOf, 24);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintLeft_toRightOf, 25);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintRight_toLeftOf, 28);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintRight_toRightOf, 29);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintTop_toTopOf, 35);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintTop_toBottomOf, 34);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintBottom_toTopOf, 4);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintBottom_toBottomOf, 3);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintBaseline_toBaselineOf, 1);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_editor_absoluteX, 6);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_editor_absoluteY, 7);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintGuide_begin, 17);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintGuide_end, 18);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintGuide_percent, 19);
|
||
|
ar.append(C3345avm.IeS.Layout_guidelineUseRtl, 90);
|
||
|
ar.append(C3345avm.IeS.Layout_android_orientation, 26);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintStart_toEndOf, 31);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintStart_toStartOf, 32);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintEnd_toStartOf, 10);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintEnd_toEndOf, 9);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginLeft, 13);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginTop, 16);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginRight, 14);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginBottom, 11);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginStart, 15);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_goneMarginEnd, 12);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintVertical_weight, 38);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintHorizontal_weight, 37);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintHorizontal_chainStyle, 39);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintVertical_chainStyle, 40);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintHorizontal_bias, 20);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintVertical_bias, 36);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintDimensionRatio, 5);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintLeft_creator, 91);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintTop_creator, 91);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintRight_creator, 91);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintBottom_creator, 91);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintBaseline_creator, 91);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginLeft, 23);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginRight, 27);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginStart, 30);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginEnd, 8);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginTop, 33);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_marginBottom, 2);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_width, 22);
|
||
|
ar.append(C3345avm.IeS.Layout_android_layout_height, 21);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintWidth, 41);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintHeight, 42);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constrainedWidth, 41);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constrainedHeight, 42);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_wrapBehaviorInParent, 76);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintCircle, 61);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintCircleRadius, 62);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintCircleAngle, 63);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintWidth_percent, 69);
|
||
|
ar.append(C3345avm.IeS.Layout_layout_constraintHeight_percent, 70);
|
||
|
ar.append(C3345avm.IeS.Layout_chainUseRtl, 71);
|
||
|
ar.append(C3345avm.IeS.Layout_barrierDirection, 72);
|
||
|
ar.append(C3345avm.IeS.Layout_barrierMargin, 73);
|
||
|
ar.append(C3345avm.IeS.Layout_constraint_referenced_ids, 74);
|
||
|
ar.append(C3345avm.IeS.Layout_barrierAllowsGoneWidgets, 75);
|
||
|
}
|
||
|
|
||
|
final void ln_(Context context, AttributeSet attributeSet) {
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C3345avm.IeS.Layout);
|
||
|
this.K = true;
|
||
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = obtainStyledAttributes.getIndex(i);
|
||
|
int i2 = ar.get(index);
|
||
|
switch (i2) {
|
||
|
case 1:
|
||
|
this.c = yqQ.lj_(obtainStyledAttributes, index, this.c);
|
||
|
break;
|
||
|
case 2:
|
||
|
this.d = obtainStyledAttributes.getDimensionPixelSize(index, this.d);
|
||
|
break;
|
||
|
case 3:
|
||
|
this.g = yqQ.lj_(obtainStyledAttributes, index, this.g);
|
||
|
break;
|
||
|
case 4:
|
||
|
this.h = yqQ.lj_(obtainStyledAttributes, index, this.h);
|
||
|
break;
|
||
|
case 5:
|
||
|
this.m = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 6:
|
||
|
this.k = obtainStyledAttributes.getDimensionPixelOffset(index, this.k);
|
||
|
break;
|
||
|
case 7:
|
||
|
this.l = obtainStyledAttributes.getDimensionPixelOffset(index, this.l);
|
||
|
break;
|
||
|
case 8:
|
||
|
this.t = obtainStyledAttributes.getDimensionPixelSize(index, this.t);
|
||
|
break;
|
||
|
case 9:
|
||
|
this.p = yqQ.lj_(obtainStyledAttributes, index, this.p);
|
||
|
break;
|
||
|
case 10:
|
||
|
this.s = yqQ.lj_(obtainStyledAttributes, index, this.s);
|
||
|
break;
|
||
|
case 11:
|
||
|
this.r = obtainStyledAttributes.getDimensionPixelSize(index, this.r);
|
||
|
break;
|
||
|
case 12:
|
||
|
this.x = obtainStyledAttributes.getDimensionPixelSize(index, this.x);
|
||
|
break;
|
||
|
case 13:
|
||
|
this.u = obtainStyledAttributes.getDimensionPixelSize(index, this.u);
|
||
|
break;
|
||
|
case 14:
|
||
|
this.y = obtainStyledAttributes.getDimensionPixelSize(index, this.y);
|
||
|
break;
|
||
|
case 15:
|
||
|
this.w = obtainStyledAttributes.getDimensionPixelSize(index, this.w);
|
||
|
break;
|
||
|
case 16:
|
||
|
this.v = obtainStyledAttributes.getDimensionPixelSize(index, this.v);
|
||
|
break;
|
||
|
case 17:
|
||
|
this.z = obtainStyledAttributes.getDimensionPixelOffset(index, this.z);
|
||
|
break;
|
||
|
case 18:
|
||
|
this.D = obtainStyledAttributes.getDimensionPixelOffset(index, this.D);
|
||
|
break;
|
||
|
case 19:
|
||
|
this.C = obtainStyledAttributes.getFloat(index, this.C);
|
||
|
break;
|
||
|
case 20:
|
||
|
this.G = obtainStyledAttributes.getFloat(index, this.G);
|
||
|
break;
|
||
|
case 21:
|
||
|
this.R = obtainStyledAttributes.getLayoutDimension(index, this.R);
|
||
|
break;
|
||
|
case 22:
|
||
|
this.X = obtainStyledAttributes.getLayoutDimension(index, this.X);
|
||
|
break;
|
||
|
case 23:
|
||
|
this.N = obtainStyledAttributes.getDimensionPixelSize(index, this.N);
|
||
|
break;
|
||
|
case 24:
|
||
|
this.J = yqQ.lj_(obtainStyledAttributes, index, this.J);
|
||
|
break;
|
||
|
case 25:
|
||
|
this.L = yqQ.lj_(obtainStyledAttributes, index, this.L);
|
||
|
break;
|
||
|
case 26:
|
||
|
this.ac = obtainStyledAttributes.getInt(index, this.ac);
|
||
|
break;
|
||
|
case 27:
|
||
|
this.Y = obtainStyledAttributes.getDimensionPixelSize(index, this.Y);
|
||
|
break;
|
||
|
case 28:
|
||
|
this.aa = yqQ.lj_(obtainStyledAttributes, index, this.aa);
|
||
|
break;
|
||
|
case 29:
|
||
|
this.ab = yqQ.lj_(obtainStyledAttributes, index, this.ab);
|
||
|
break;
|
||
|
case 30:
|
||
|
this.ae = obtainStyledAttributes.getDimensionPixelSize(index, this.ae);
|
||
|
break;
|
||
|
case 31:
|
||
|
this.af = yqQ.lj_(obtainStyledAttributes, index, this.af);
|
||
|
break;
|
||
|
case 32:
|
||
|
this.ag = yqQ.lj_(obtainStyledAttributes, index, this.ag);
|
||
|
break;
|
||
|
case 33:
|
||
|
this.ad = obtainStyledAttributes.getDimensionPixelSize(index, this.ad);
|
||
|
break;
|
||
|
case 34:
|
||
|
this.ah = yqQ.lj_(obtainStyledAttributes, index, this.ah);
|
||
|
break;
|
||
|
case 35:
|
||
|
this.ai = yqQ.lj_(obtainStyledAttributes, index, this.ai);
|
||
|
break;
|
||
|
case 36:
|
||
|
this.aj = obtainStyledAttributes.getFloat(index, this.aj);
|
||
|
break;
|
||
|
case 37:
|
||
|
this.M = obtainStyledAttributes.getFloat(index, this.M);
|
||
|
break;
|
||
|
case 38:
|
||
|
this.ak = obtainStyledAttributes.getFloat(index, this.ak);
|
||
|
break;
|
||
|
case 39:
|
||
|
this.E = obtainStyledAttributes.getInt(index, this.E);
|
||
|
break;
|
||
|
case 40:
|
||
|
this.al = obtainStyledAttributes.getInt(index, this.al);
|
||
|
break;
|
||
|
case 41:
|
||
|
yqQ.ll_(this, obtainStyledAttributes, index, 0);
|
||
|
break;
|
||
|
case 42:
|
||
|
yqQ.ll_(this, obtainStyledAttributes, index, 1);
|
||
|
break;
|
||
|
default:
|
||
|
switch (i2) {
|
||
|
case 61:
|
||
|
this.j = yqQ.lj_(obtainStyledAttributes, index, this.j);
|
||
|
break;
|
||
|
case 62:
|
||
|
this.f = obtainStyledAttributes.getDimensionPixelSize(index, this.f);
|
||
|
break;
|
||
|
case 63:
|
||
|
this.i = obtainStyledAttributes.getFloat(index, this.i);
|
||
|
break;
|
||
|
default:
|
||
|
switch (i2) {
|
||
|
case 69:
|
||
|
this.ap = obtainStyledAttributes.getFloat(index, 1.0f);
|
||
|
break;
|
||
|
case 70:
|
||
|
this.F = obtainStyledAttributes.getFloat(index, 1.0f);
|
||
|
break;
|
||
|
case 71:
|
||
|
break;
|
||
|
case 72:
|
||
|
this.Q = obtainStyledAttributes.getInt(index, this.Q);
|
||
|
break;
|
||
|
case 73:
|
||
|
this.S = obtainStyledAttributes.getDimensionPixelSize(index, this.S);
|
||
|
break;
|
||
|
case 74:
|
||
|
this.V = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 75:
|
||
|
this.O = obtainStyledAttributes.getBoolean(index, this.O);
|
||
|
break;
|
||
|
case 76:
|
||
|
this.Z = obtainStyledAttributes.getInt(index, this.Z);
|
||
|
break;
|
||
|
case 77:
|
||
|
this.a = yqQ.lj_(obtainStyledAttributes, index, this.a);
|
||
|
break;
|
||
|
case 78:
|
||
|
this.e = yqQ.lj_(obtainStyledAttributes, index, this.e);
|
||
|
break;
|
||
|
case 79:
|
||
|
this.q = obtainStyledAttributes.getDimensionPixelSize(index, this.q);
|
||
|
break;
|
||
|
case 80:
|
||
|
this.b = obtainStyledAttributes.getDimensionPixelSize(index, this.b);
|
||
|
break;
|
||
|
case 81:
|
||
|
this.am = obtainStyledAttributes.getInt(index, this.am);
|
||
|
break;
|
||
|
case 82:
|
||
|
this.B = obtainStyledAttributes.getInt(index, this.B);
|
||
|
break;
|
||
|
case 83:
|
||
|
this.H = obtainStyledAttributes.getDimensionPixelSize(index, this.H);
|
||
|
break;
|
||
|
case 84:
|
||
|
this.an = obtainStyledAttributes.getDimensionPixelSize(index, this.an);
|
||
|
break;
|
||
|
case 85:
|
||
|
this.I = obtainStyledAttributes.getDimensionPixelSize(index, this.I);
|
||
|
break;
|
||
|
case 86:
|
||
|
this.aq = obtainStyledAttributes.getDimensionPixelSize(index, this.aq);
|
||
|
break;
|
||
|
case 87:
|
||
|
this.n = obtainStyledAttributes.getBoolean(index, this.n);
|
||
|
break;
|
||
|
case 88:
|
||
|
this.f9325o = obtainStyledAttributes.getBoolean(index, this.f9325o);
|
||
|
break;
|
||
|
case 89:
|
||
|
this.P = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 90:
|
||
|
this.A = obtainStyledAttributes.getBoolean(index, this.A);
|
||
|
break;
|
||
|
case 91:
|
||
|
ar.get(index);
|
||
|
break;
|
||
|
default:
|
||
|
ar.get(index);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
obtainStyledAttributes.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class HBt {
|
||
|
private static SparseIntArray m;
|
||
|
public boolean e = false;
|
||
|
public float c = BitmapDescriptorFactory.HUE_RED;
|
||
|
public float d = BitmapDescriptorFactory.HUE_RED;
|
||
|
public float g = BitmapDescriptorFactory.HUE_RED;
|
||
|
public float i = 1.0f;
|
||
|
public float j = 1.0f;
|
||
|
public float h = Float.NaN;
|
||
|
public float k = Float.NaN;
|
||
|
public int f = -1;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
public float f9324o = BitmapDescriptorFactory.HUE_RED;
|
||
|
public float l = BitmapDescriptorFactory.HUE_RED;
|
||
|
public float n = BitmapDescriptorFactory.HUE_RED;
|
||
|
public boolean b = false;
|
||
|
public float a = BitmapDescriptorFactory.HUE_RED;
|
||
|
|
||
|
public final void a(HBt hBt) {
|
||
|
this.e = hBt.e;
|
||
|
this.c = hBt.c;
|
||
|
this.d = hBt.d;
|
||
|
this.g = hBt.g;
|
||
|
this.i = hBt.i;
|
||
|
this.j = hBt.j;
|
||
|
this.h = hBt.h;
|
||
|
this.k = hBt.k;
|
||
|
this.f = hBt.f;
|
||
|
this.f9324o = hBt.f9324o;
|
||
|
this.l = hBt.l;
|
||
|
this.n = hBt.n;
|
||
|
this.b = hBt.b;
|
||
|
this.a = hBt.a;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
SparseIntArray sparseIntArray = new SparseIntArray();
|
||
|
m = sparseIntArray;
|
||
|
sparseIntArray.append(C3345avm.IeS.Transform_android_rotation, 1);
|
||
|
m.append(C3345avm.IeS.Transform_android_rotationX, 2);
|
||
|
m.append(C3345avm.IeS.Transform_android_rotationY, 3);
|
||
|
m.append(C3345avm.IeS.Transform_android_scaleX, 4);
|
||
|
m.append(C3345avm.IeS.Transform_android_scaleY, 5);
|
||
|
m.append(C3345avm.IeS.Transform_android_transformPivotX, 6);
|
||
|
m.append(C3345avm.IeS.Transform_android_transformPivotY, 7);
|
||
|
m.append(C3345avm.IeS.Transform_android_translationX, 8);
|
||
|
m.append(C3345avm.IeS.Transform_android_translationY, 9);
|
||
|
m.append(C3345avm.IeS.Transform_android_translationZ, 10);
|
||
|
m.append(C3345avm.IeS.Transform_android_elevation, 11);
|
||
|
m.append(C3345avm.IeS.Transform_transformPivotTarget, 12);
|
||
|
}
|
||
|
|
||
|
final void lq_(Context context, AttributeSet attributeSet) {
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C3345avm.IeS.Transform);
|
||
|
this.e = true;
|
||
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = obtainStyledAttributes.getIndex(i);
|
||
|
switch (m.get(index)) {
|
||
|
case 1:
|
||
|
this.c = obtainStyledAttributes.getFloat(index, this.c);
|
||
|
break;
|
||
|
case 2:
|
||
|
this.d = obtainStyledAttributes.getFloat(index, this.d);
|
||
|
break;
|
||
|
case 3:
|
||
|
this.g = obtainStyledAttributes.getFloat(index, this.g);
|
||
|
break;
|
||
|
case 4:
|
||
|
this.i = obtainStyledAttributes.getFloat(index, this.i);
|
||
|
break;
|
||
|
case 5:
|
||
|
this.j = obtainStyledAttributes.getFloat(index, this.j);
|
||
|
break;
|
||
|
case 6:
|
||
|
this.h = obtainStyledAttributes.getDimension(index, this.h);
|
||
|
break;
|
||
|
case 7:
|
||
|
this.k = obtainStyledAttributes.getDimension(index, this.k);
|
||
|
break;
|
||
|
case 8:
|
||
|
this.f9324o = obtainStyledAttributes.getDimension(index, this.f9324o);
|
||
|
break;
|
||
|
case 9:
|
||
|
this.l = obtainStyledAttributes.getDimension(index, this.l);
|
||
|
break;
|
||
|
case 10:
|
||
|
this.n = obtainStyledAttributes.getDimension(index, this.n);
|
||
|
break;
|
||
|
case 11:
|
||
|
this.b = true;
|
||
|
this.a = obtainStyledAttributes.getDimension(index, this.a);
|
||
|
break;
|
||
|
case 12:
|
||
|
this.f = yqQ.lj_(obtainStyledAttributes, index, this.f);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
obtainStyledAttributes.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class LWm {
|
||
|
public boolean d = false;
|
||
|
public int a = 0;
|
||
|
public int c = 0;
|
||
|
public float b = 1.0f;
|
||
|
public float e = Float.NaN;
|
||
|
|
||
|
public final void e(LWm lWm) {
|
||
|
this.d = lWm.d;
|
||
|
this.a = lWm.a;
|
||
|
this.b = lWm.b;
|
||
|
this.e = lWm.e;
|
||
|
this.c = lWm.c;
|
||
|
}
|
||
|
|
||
|
final void lp_(Context context, AttributeSet attributeSet) {
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C3345avm.IeS.PropertySet);
|
||
|
this.d = true;
|
||
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = obtainStyledAttributes.getIndex(i);
|
||
|
if (index == C3345avm.IeS.PropertySet_android_alpha) {
|
||
|
this.b = obtainStyledAttributes.getFloat(index, this.b);
|
||
|
} else if (index == C3345avm.IeS.PropertySet_android_visibility) {
|
||
|
this.a = obtainStyledAttributes.getInt(index, this.a);
|
||
|
this.a = yqQ.f[this.a];
|
||
|
} else if (index == C3345avm.IeS.PropertySet_visibilityMode) {
|
||
|
this.c = obtainStyledAttributes.getInt(index, this.c);
|
||
|
} else if (index == C3345avm.IeS.PropertySet_motionProgress) {
|
||
|
this.e = obtainStyledAttributes.getFloat(index, this.e);
|
||
|
}
|
||
|
}
|
||
|
obtainStyledAttributes.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class RVV {
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private static SparseIntArray f9326o;
|
||
|
public boolean a = false;
|
||
|
public int e = -1;
|
||
|
public int b = 0;
|
||
|
public String n = null;
|
||
|
public int i = -1;
|
||
|
public int d = 0;
|
||
|
public float c = Float.NaN;
|
||
|
private int k = -1;
|
||
|
public float j = Float.NaN;
|
||
|
public float l = Float.NaN;
|
||
|
public int m = -1;
|
||
|
public String f = null;
|
||
|
public int h = -3;
|
||
|
public int g = -1;
|
||
|
|
||
|
public final void c(RVV rvv) {
|
||
|
this.a = rvv.a;
|
||
|
this.e = rvv.e;
|
||
|
this.n = rvv.n;
|
||
|
this.i = rvv.i;
|
||
|
this.d = rvv.d;
|
||
|
this.j = rvv.j;
|
||
|
this.c = rvv.c;
|
||
|
this.k = rvv.k;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
SparseIntArray sparseIntArray = new SparseIntArray();
|
||
|
f9326o = sparseIntArray;
|
||
|
sparseIntArray.append(C3345avm.IeS.Motion_motionPathRotate, 1);
|
||
|
f9326o.append(C3345avm.IeS.Motion_pathMotionArc, 2);
|
||
|
f9326o.append(C3345avm.IeS.Motion_transitionEasing, 3);
|
||
|
f9326o.append(C3345avm.IeS.Motion_drawPath, 4);
|
||
|
f9326o.append(C3345avm.IeS.Motion_animateRelativeTo, 5);
|
||
|
f9326o.append(C3345avm.IeS.Motion_animateCircleAngleTo, 6);
|
||
|
f9326o.append(C3345avm.IeS.Motion_motionStagger, 7);
|
||
|
f9326o.append(C3345avm.IeS.Motion_quantizeMotionSteps, 8);
|
||
|
f9326o.append(C3345avm.IeS.Motion_quantizeMotionPhase, 9);
|
||
|
f9326o.append(C3345avm.IeS.Motion_quantizeMotionInterpolator, 10);
|
||
|
}
|
||
|
|
||
|
final void lo_(Context context, AttributeSet attributeSet) {
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C3345avm.IeS.Motion);
|
||
|
this.a = true;
|
||
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = obtainStyledAttributes.getIndex(i);
|
||
|
switch (f9326o.get(index)) {
|
||
|
case 1:
|
||
|
this.j = obtainStyledAttributes.getFloat(index, this.j);
|
||
|
break;
|
||
|
case 2:
|
||
|
this.i = obtainStyledAttributes.getInt(index, this.i);
|
||
|
break;
|
||
|
case 3:
|
||
|
if (obtainStyledAttributes.peekValue(index).type == 3) {
|
||
|
this.n = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
} else {
|
||
|
this.n = Yrp.a[obtainStyledAttributes.getInteger(index, 0)];
|
||
|
break;
|
||
|
}
|
||
|
case 4:
|
||
|
this.d = obtainStyledAttributes.getInt(index, 0);
|
||
|
break;
|
||
|
case 5:
|
||
|
this.e = yqQ.lj_(obtainStyledAttributes, index, this.e);
|
||
|
break;
|
||
|
case 6:
|
||
|
this.b = obtainStyledAttributes.getInteger(index, this.b);
|
||
|
break;
|
||
|
case 7:
|
||
|
this.c = obtainStyledAttributes.getFloat(index, this.c);
|
||
|
break;
|
||
|
case 8:
|
||
|
this.m = obtainStyledAttributes.getInteger(index, this.m);
|
||
|
break;
|
||
|
case 9:
|
||
|
this.l = obtainStyledAttributes.getFloat(index, this.l);
|
||
|
break;
|
||
|
case 10:
|
||
|
TypedValue peekValue = obtainStyledAttributes.peekValue(index);
|
||
|
if (peekValue.type == 1) {
|
||
|
int resourceId = obtainStyledAttributes.getResourceId(index, -1);
|
||
|
this.g = resourceId;
|
||
|
if (resourceId != -1) {
|
||
|
this.h = -2;
|
||
|
break;
|
||
|
} else {
|
||
|
break;
|
||
|
}
|
||
|
} else if (peekValue.type == 3) {
|
||
|
String string = obtainStyledAttributes.getString(index);
|
||
|
this.f = string;
|
||
|
if (string.indexOf("/") > 0) {
|
||
|
this.g = obtainStyledAttributes.getResourceId(index, -1);
|
||
|
this.h = -2;
|
||
|
break;
|
||
|
} else {
|
||
|
this.h = -1;
|
||
|
break;
|
||
|
}
|
||
|
} else {
|
||
|
this.h = obtainStyledAttributes.getInteger(index, this.g);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
obtainStyledAttributes.recycle();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class Sts {
|
||
|
public C0128Sts b;
|
||
|
int c;
|
||
|
String d;
|
||
|
public final LWm g = new LWm();
|
||
|
public final RVV f = new RVV();
|
||
|
public final IeS a = new IeS();
|
||
|
public final HBt h = new HBt();
|
||
|
public HashMap<String, Prc> e = new HashMap<>();
|
||
|
|
||
|
/* renamed from: o.yqQ$Sts$Sts, reason: collision with other inner class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
public static class C0128Sts {
|
||
|
private int[] f = new int[10];
|
||
|
private int[] m = new int[10];
|
||
|
private int d = 0;
|
||
|
private int[] j = new int[10];
|
||
|
private float[] g = new float[10];
|
||
|
private int a = 0;
|
||
|
private int[] i = new int[5];
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private String[] f9327o = new String[5];
|
||
|
private int b = 0;
|
||
|
private int[] e = new int[4];
|
||
|
private boolean[] h = new boolean[4];
|
||
|
private int c = 0;
|
||
|
|
||
|
C0128Sts() {
|
||
|
}
|
||
|
|
||
|
final void d(int i, int i2) {
|
||
|
int i3 = this.d;
|
||
|
int[] iArr = this.f;
|
||
|
if (i3 >= iArr.length) {
|
||
|
this.f = Arrays.copyOf(iArr, iArr.length << 1);
|
||
|
int[] iArr2 = this.m;
|
||
|
this.m = Arrays.copyOf(iArr2, iArr2.length << 1);
|
||
|
}
|
||
|
int[] iArr3 = this.f;
|
||
|
int i4 = this.d;
|
||
|
iArr3[i4] = i;
|
||
|
int[] iArr4 = this.m;
|
||
|
this.d = i4 + 1;
|
||
|
iArr4[i4] = i2;
|
||
|
}
|
||
|
|
||
|
final void e(int i, float f) {
|
||
|
int i2 = this.a;
|
||
|
int[] iArr = this.j;
|
||
|
if (i2 >= iArr.length) {
|
||
|
this.j = Arrays.copyOf(iArr, iArr.length << 1);
|
||
|
float[] fArr = this.g;
|
||
|
this.g = Arrays.copyOf(fArr, fArr.length << 1);
|
||
|
}
|
||
|
int[] iArr2 = this.j;
|
||
|
int i3 = this.a;
|
||
|
iArr2[i3] = i;
|
||
|
float[] fArr2 = this.g;
|
||
|
this.a = i3 + 1;
|
||
|
fArr2[i3] = f;
|
||
|
}
|
||
|
|
||
|
final void d(int i, String str) {
|
||
|
int i2 = this.b;
|
||
|
int[] iArr = this.i;
|
||
|
if (i2 >= iArr.length) {
|
||
|
this.i = Arrays.copyOf(iArr, iArr.length << 1);
|
||
|
String[] strArr = this.f9327o;
|
||
|
this.f9327o = (String[]) Arrays.copyOf(strArr, strArr.length << 1);
|
||
|
}
|
||
|
int[] iArr2 = this.i;
|
||
|
int i3 = this.b;
|
||
|
iArr2[i3] = i;
|
||
|
String[] strArr2 = this.f9327o;
|
||
|
this.b = i3 + 1;
|
||
|
strArr2[i3] = str;
|
||
|
}
|
||
|
|
||
|
final void a(int i, boolean z) {
|
||
|
int i2 = this.c;
|
||
|
int[] iArr = this.e;
|
||
|
if (i2 >= iArr.length) {
|
||
|
this.e = Arrays.copyOf(iArr, iArr.length << 1);
|
||
|
boolean[] zArr = this.h;
|
||
|
this.h = Arrays.copyOf(zArr, zArr.length << 1);
|
||
|
}
|
||
|
int[] iArr2 = this.e;
|
||
|
int i3 = this.c;
|
||
|
iArr2[i3] = i;
|
||
|
boolean[] zArr2 = this.h;
|
||
|
this.c = i3 + 1;
|
||
|
zArr2[i3] = z;
|
||
|
}
|
||
|
|
||
|
public final void a(Sts sts) {
|
||
|
for (int i = 0; i < this.d; i++) {
|
||
|
yqQ.b(sts, this.f[i], this.m[i]);
|
||
|
}
|
||
|
for (int i2 = 0; i2 < this.a; i2++) {
|
||
|
yqQ.e(sts, this.j[i2], this.g[i2]);
|
||
|
}
|
||
|
for (int i3 = 0; i3 < this.b; i3++) {
|
||
|
yqQ.b(sts, this.i[i3], this.f9327o[i3]);
|
||
|
}
|
||
|
for (int i4 = 0; i4 < this.c; i4++) {
|
||
|
yqQ.d(sts, this.e[i4], this.h[i4]);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||
|
public final Sts clone() {
|
||
|
Sts sts = new Sts();
|
||
|
sts.a.c(this.a);
|
||
|
sts.f.c(this.f);
|
||
|
sts.g.e(this.g);
|
||
|
sts.h.a(this.h);
|
||
|
sts.c = this.c;
|
||
|
sts.b = this.b;
|
||
|
return sts;
|
||
|
}
|
||
|
|
||
|
public final void d(int i, Constraints.HBt hBt) {
|
||
|
c(i, hBt);
|
||
|
this.g.b = hBt.aw;
|
||
|
this.h.c = hBt.aB;
|
||
|
this.h.d = hBt.ay;
|
||
|
this.h.g = hBt.ax;
|
||
|
this.h.i = hBt.aA;
|
||
|
this.h.j = hBt.az;
|
||
|
this.h.h = hBt.aD;
|
||
|
this.h.k = hBt.aE;
|
||
|
this.h.f9324o = hBt.aF;
|
||
|
this.h.l = hBt.aC;
|
||
|
this.h.n = hBt.aG;
|
||
|
this.h.a = hBt.at;
|
||
|
this.h.b = hBt.av;
|
||
|
}
|
||
|
|
||
|
final void c(int i, ConstraintLayout.Sts sts) {
|
||
|
this.c = i;
|
||
|
this.a.J = sts.L;
|
||
|
this.a.L = sts.M;
|
||
|
this.a.aa = sts.al;
|
||
|
this.a.ab = sts.am;
|
||
|
this.a.ai = sts.an;
|
||
|
this.a.ah = sts.aj;
|
||
|
this.a.h = sts.g;
|
||
|
this.a.g = sts.b;
|
||
|
this.a.c = sts.c;
|
||
|
this.a.a = sts.a;
|
||
|
this.a.e = sts.d;
|
||
|
this.a.af = sts.ai;
|
||
|
this.a.ag = sts.ak;
|
||
|
this.a.s = sts.t;
|
||
|
this.a.p = sts.p;
|
||
|
this.a.G = sts.E;
|
||
|
this.a.aj = sts.aq;
|
||
|
this.a.m = sts.l;
|
||
|
this.a.j = sts.i;
|
||
|
this.a.f = sts.j;
|
||
|
this.a.i = sts.h;
|
||
|
this.a.k = sts.q;
|
||
|
this.a.l = sts.s;
|
||
|
this.a.ac = sts.U;
|
||
|
this.a.C = sts.C;
|
||
|
this.a.z = sts.A;
|
||
|
this.a.D = sts.D;
|
||
|
this.a.X = ((ViewGroup.LayoutParams) sts).width;
|
||
|
this.a.R = ((ViewGroup.LayoutParams) sts).height;
|
||
|
this.a.N = ((ViewGroup.MarginLayoutParams) sts).leftMargin;
|
||
|
this.a.Y = ((ViewGroup.MarginLayoutParams) sts).rightMargin;
|
||
|
this.a.ad = ((ViewGroup.MarginLayoutParams) sts).topMargin;
|
||
|
this.a.d = ((ViewGroup.MarginLayoutParams) sts).bottomMargin;
|
||
|
this.a.b = sts.e;
|
||
|
this.a.ak = sts.ao;
|
||
|
this.a.M = sts.F;
|
||
|
this.a.al = sts.ap;
|
||
|
this.a.E = sts.H;
|
||
|
this.a.n = sts.m;
|
||
|
this.a.f9325o = sts.f;
|
||
|
this.a.am = sts.S;
|
||
|
this.a.B = sts.O;
|
||
|
this.a.an = sts.Q;
|
||
|
this.a.H = sts.P;
|
||
|
this.a.aq = sts.X;
|
||
|
this.a.I = sts.R;
|
||
|
this.a.ap = sts.T;
|
||
|
this.a.F = sts.V;
|
||
|
this.a.P = sts.f6383o;
|
||
|
this.a.v = sts.z;
|
||
|
this.a.r = sts.x;
|
||
|
this.a.u = sts.w;
|
||
|
this.a.y = sts.v;
|
||
|
this.a.w = sts.y;
|
||
|
this.a.x = sts.u;
|
||
|
this.a.q = sts.r;
|
||
|
this.a.Z = sts.au;
|
||
|
this.a.t = sts.getMarginEnd();
|
||
|
this.a.ae = sts.getMarginStart();
|
||
|
}
|
||
|
|
||
|
public final void b(ConstraintLayout.Sts sts) {
|
||
|
sts.L = this.a.J;
|
||
|
sts.M = this.a.L;
|
||
|
sts.al = this.a.aa;
|
||
|
sts.am = this.a.ab;
|
||
|
sts.an = this.a.ai;
|
||
|
sts.aj = this.a.ah;
|
||
|
sts.g = this.a.h;
|
||
|
sts.b = this.a.g;
|
||
|
sts.c = this.a.c;
|
||
|
sts.a = this.a.a;
|
||
|
sts.d = this.a.e;
|
||
|
sts.ai = this.a.af;
|
||
|
sts.ak = this.a.ag;
|
||
|
sts.t = this.a.s;
|
||
|
sts.p = this.a.p;
|
||
|
((ViewGroup.MarginLayoutParams) sts).leftMargin = this.a.N;
|
||
|
((ViewGroup.MarginLayoutParams) sts).rightMargin = this.a.Y;
|
||
|
((ViewGroup.MarginLayoutParams) sts).topMargin = this.a.ad;
|
||
|
((ViewGroup.MarginLayoutParams) sts).bottomMargin = this.a.d;
|
||
|
sts.y = this.a.w;
|
||
|
sts.u = this.a.x;
|
||
|
sts.z = this.a.v;
|
||
|
sts.x = this.a.r;
|
||
|
sts.E = this.a.G;
|
||
|
sts.aq = this.a.aj;
|
||
|
sts.i = this.a.j;
|
||
|
sts.j = this.a.f;
|
||
|
sts.h = this.a.i;
|
||
|
sts.l = this.a.m;
|
||
|
sts.q = this.a.k;
|
||
|
sts.s = this.a.l;
|
||
|
sts.ao = this.a.ak;
|
||
|
sts.F = this.a.M;
|
||
|
sts.ap = this.a.al;
|
||
|
sts.H = this.a.E;
|
||
|
sts.m = this.a.n;
|
||
|
sts.f = this.a.f9325o;
|
||
|
sts.S = this.a.am;
|
||
|
sts.O = this.a.B;
|
||
|
sts.Q = this.a.an;
|
||
|
sts.P = this.a.H;
|
||
|
sts.X = this.a.aq;
|
||
|
sts.R = this.a.I;
|
||
|
sts.T = this.a.ap;
|
||
|
sts.V = this.a.F;
|
||
|
sts.U = this.a.ac;
|
||
|
sts.C = this.a.C;
|
||
|
sts.A = this.a.z;
|
||
|
sts.D = this.a.D;
|
||
|
((ViewGroup.LayoutParams) sts).width = this.a.X;
|
||
|
((ViewGroup.LayoutParams) sts).height = this.a.R;
|
||
|
if (this.a.P != null) {
|
||
|
sts.f6383o = this.a.P;
|
||
|
}
|
||
|
sts.au = this.a.Z;
|
||
|
sts.setMarginStart(this.a.ae);
|
||
|
sts.setMarginEnd(this.a.t);
|
||
|
sts.d();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void e(ConstraintLayout constraintLayout) {
|
||
|
int childCount = constraintLayout.getChildCount();
|
||
|
this.a.clear();
|
||
|
for (int i = 0; i < childCount; i++) {
|
||
|
View childAt = constraintLayout.getChildAt(i);
|
||
|
ConstraintLayout.Sts sts = (ConstraintLayout.Sts) childAt.getLayoutParams();
|
||
|
int id = childAt.getId();
|
||
|
if (this.e && id == -1) {
|
||
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||
|
}
|
||
|
if (!this.a.containsKey(Integer.valueOf(id))) {
|
||
|
this.a.put(Integer.valueOf(id), new Sts());
|
||
|
}
|
||
|
Sts sts2 = this.a.get(Integer.valueOf(id));
|
||
|
if (sts2 != null) {
|
||
|
sts2.e = Prc.e(this.j, childAt);
|
||
|
sts2.c(id, sts);
|
||
|
sts2.g.a = childAt.getVisibility();
|
||
|
sts2.g.b = childAt.getAlpha();
|
||
|
sts2.h.c = childAt.getRotation();
|
||
|
sts2.h.d = childAt.getRotationX();
|
||
|
sts2.h.g = childAt.getRotationY();
|
||
|
sts2.h.i = childAt.getScaleX();
|
||
|
sts2.h.j = childAt.getScaleY();
|
||
|
float pivotX = childAt.getPivotX();
|
||
|
float pivotY = childAt.getPivotY();
|
||
|
if (pivotX != 0.0d || pivotY != 0.0d) {
|
||
|
sts2.h.h = pivotX;
|
||
|
sts2.h.k = pivotY;
|
||
|
}
|
||
|
sts2.h.f9324o = childAt.getTranslationX();
|
||
|
sts2.h.l = childAt.getTranslationY();
|
||
|
sts2.h.n = childAt.getTranslationZ();
|
||
|
if (sts2.h.b) {
|
||
|
sts2.h.a = childAt.getElevation();
|
||
|
}
|
||
|
if (childAt instanceof Barrier) {
|
||
|
Barrier barrier = (Barrier) childAt;
|
||
|
sts2.a.O = barrier.a.e;
|
||
|
sts2.a.T = barrier.e();
|
||
|
sts2.a.Q = barrier.d;
|
||
|
sts2.a.S = barrier.a.a;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void d(ConstraintLayout constraintLayout) {
|
||
|
a(constraintLayout);
|
||
|
constraintLayout.setConstraintSet(null);
|
||
|
constraintLayout.requestLayout();
|
||
|
}
|
||
|
|
||
|
public final void c(ConstraintLayout constraintLayout) {
|
||
|
Sts sts;
|
||
|
int childCount = constraintLayout.getChildCount();
|
||
|
for (int i = 0; i < childCount; i++) {
|
||
|
View childAt = constraintLayout.getChildAt(i);
|
||
|
int id = childAt.getId();
|
||
|
if (!this.a.containsKey(Integer.valueOf(id))) {
|
||
|
C6805ccO.d(childAt);
|
||
|
} else {
|
||
|
if (this.e && id == -1) {
|
||
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||
|
}
|
||
|
if (this.a.containsKey(Integer.valueOf(id)) && (sts = this.a.get(Integer.valueOf(id))) != null) {
|
||
|
Prc.d(childAt, sts.e);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void a(ConstraintLayout constraintLayout) {
|
||
|
int childCount = constraintLayout.getChildCount();
|
||
|
HashSet hashSet = new HashSet(this.a.keySet());
|
||
|
for (int i = 0; i < childCount; i++) {
|
||
|
View childAt = constraintLayout.getChildAt(i);
|
||
|
int id = childAt.getId();
|
||
|
if (!this.a.containsKey(Integer.valueOf(id))) {
|
||
|
C6805ccO.d(childAt);
|
||
|
} else {
|
||
|
if (this.e && id == -1) {
|
||
|
throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
|
||
|
}
|
||
|
if (id != -1 && this.a.containsKey(Integer.valueOf(id))) {
|
||
|
hashSet.remove(Integer.valueOf(id));
|
||
|
Sts sts = this.a.get(Integer.valueOf(id));
|
||
|
if (sts != null) {
|
||
|
if (childAt instanceof Barrier) {
|
||
|
sts.a.W = 1;
|
||
|
Barrier barrier = (Barrier) childAt;
|
||
|
barrier.setId(id);
|
||
|
barrier.setType(sts.a.Q);
|
||
|
barrier.setMargin(sts.a.S);
|
||
|
barrier.setAllowsGoneWidget(sts.a.O);
|
||
|
if (sts.a.T != null) {
|
||
|
barrier.setReferencedIds(sts.a.T);
|
||
|
} else if (sts.a.V != null) {
|
||
|
sts.a.T = d(barrier, sts.a.V);
|
||
|
barrier.setReferencedIds(sts.a.T);
|
||
|
}
|
||
|
}
|
||
|
ConstraintLayout.Sts sts2 = (ConstraintLayout.Sts) childAt.getLayoutParams();
|
||
|
sts2.d();
|
||
|
sts.b(sts2);
|
||
|
Prc.d(childAt, sts.e);
|
||
|
childAt.setLayoutParams(sts2);
|
||
|
if (sts.g.c == 0) {
|
||
|
childAt.setVisibility(sts.g.a);
|
||
|
}
|
||
|
childAt.setAlpha(sts.g.b);
|
||
|
childAt.setRotation(sts.h.c);
|
||
|
childAt.setRotationX(sts.h.d);
|
||
|
childAt.setRotationY(sts.h.g);
|
||
|
childAt.setScaleX(sts.h.i);
|
||
|
childAt.setScaleY(sts.h.j);
|
||
|
if (sts.h.f != -1) {
|
||
|
if (((View) childAt.getParent()).findViewById(sts.h.f) != null) {
|
||
|
float top = (r4.getTop() + r4.getBottom()) / 2.0f;
|
||
|
float left = (r4.getLeft() + r4.getRight()) / 2.0f;
|
||
|
if (childAt.getRight() - childAt.getLeft() > 0 && childAt.getBottom() - childAt.getTop() > 0) {
|
||
|
float left2 = childAt.getLeft();
|
||
|
float top2 = childAt.getTop();
|
||
|
childAt.setPivotX(left - left2);
|
||
|
childAt.setPivotY(top - top2);
|
||
|
}
|
||
|
}
|
||
|
} else {
|
||
|
if (!Float.isNaN(sts.h.h)) {
|
||
|
childAt.setPivotX(sts.h.h);
|
||
|
}
|
||
|
if (!Float.isNaN(sts.h.k)) {
|
||
|
childAt.setPivotY(sts.h.k);
|
||
|
}
|
||
|
}
|
||
|
childAt.setTranslationX(sts.h.f9324o);
|
||
|
childAt.setTranslationY(sts.h.l);
|
||
|
childAt.setTranslationZ(sts.h.n);
|
||
|
if (sts.h.b) {
|
||
|
childAt.setElevation(sts.h.a);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
Iterator it = hashSet.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
Integer num = (Integer) it.next();
|
||
|
Sts sts3 = this.a.get(num);
|
||
|
if (sts3 != null) {
|
||
|
if (sts3.a.W == 1) {
|
||
|
Barrier barrier2 = new Barrier(constraintLayout.getContext());
|
||
|
barrier2.setId(num.intValue());
|
||
|
if (sts3.a.T != null) {
|
||
|
barrier2.setReferencedIds(sts3.a.T);
|
||
|
} else if (sts3.a.V != null) {
|
||
|
sts3.a.T = d(barrier2, sts3.a.V);
|
||
|
barrier2.setReferencedIds(sts3.a.T);
|
||
|
}
|
||
|
barrier2.setType(sts3.a.Q);
|
||
|
barrier2.setMargin(sts3.a.S);
|
||
|
ConstraintLayout.Sts a = ConstraintLayout.a();
|
||
|
barrier2.d();
|
||
|
sts3.b(a);
|
||
|
constraintLayout.addView(barrier2, a);
|
||
|
}
|
||
|
if (sts3.a.U) {
|
||
|
View guideline = new Guideline(constraintLayout.getContext());
|
||
|
guideline.setId(num.intValue());
|
||
|
ConstraintLayout.Sts a2 = ConstraintLayout.a();
|
||
|
sts3.b(a2);
|
||
|
constraintLayout.addView(guideline, a2);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
for (int i2 = 0; i2 < childCount; i2++) {
|
||
|
View childAt2 = constraintLayout.getChildAt(i2);
|
||
|
if (childAt2 instanceof ConstraintHelper) {
|
||
|
((ConstraintHelper) childAt2).b(constraintLayout);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final Sts b(int i) {
|
||
|
if (!this.a.containsKey(Integer.valueOf(i))) {
|
||
|
this.a.put(Integer.valueOf(i), new Sts());
|
||
|
}
|
||
|
return this.a.get(Integer.valueOf(i));
|
||
|
}
|
||
|
|
||
|
public final void e(Context context, int i) {
|
||
|
XmlResourceParser xml = context.getResources().getXml(i);
|
||
|
try {
|
||
|
for (int eventType = xml.getEventType(); eventType != 1; eventType = xml.next()) {
|
||
|
if (eventType == 0) {
|
||
|
xml.getName();
|
||
|
} else if (eventType == 2) {
|
||
|
String name = xml.getName();
|
||
|
Sts lk_ = lk_(context, Xml.asAttributeSet(xml), false);
|
||
|
if (name.equalsIgnoreCase("Guideline")) {
|
||
|
lk_.a.U = true;
|
||
|
}
|
||
|
this.a.put(Integer.valueOf(lk_.c), lk_);
|
||
|
} else {
|
||
|
continue;
|
||
|
}
|
||
|
}
|
||
|
} catch (IOException | XmlPullParserException unused) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:81:0x01ca, code lost:
|
||
|
|
||
|
continue;
|
||
|
*/
|
||
|
/* JADX WARN: Failed to find 'out' block for switch in B:10:0x0021. Please report as an issue. */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final void b(android.content.Context r10, org.xmlpull.v1.XmlPullParser r11) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 550
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.yqQ.b(android.content.Context, org.xmlpull.v1.XmlPullParser):void");
|
||
|
}
|
||
|
|
||
|
private static Sts lk_(Context context, AttributeSet attributeSet, boolean z) {
|
||
|
Sts sts = new Sts();
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, z ? C3345avm.IeS.ConstraintOverride : C3345avm.IeS.Constraint);
|
||
|
if (z) {
|
||
|
lm_(sts, obtainStyledAttributes);
|
||
|
} else {
|
||
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = obtainStyledAttributes.getIndex(i);
|
||
|
if (index != C3345avm.IeS.Constraint_android_id && C3345avm.IeS.Constraint_android_layout_marginStart != index && C3345avm.IeS.Constraint_android_layout_marginEnd != index) {
|
||
|
sts.f.a = true;
|
||
|
sts.a.K = true;
|
||
|
sts.g.d = true;
|
||
|
sts.h.e = true;
|
||
|
}
|
||
|
switch (g.get(index)) {
|
||
|
case 1:
|
||
|
IeS ieS = sts.a;
|
||
|
int resourceId = obtainStyledAttributes.getResourceId(index, sts.a.c);
|
||
|
if (resourceId == -1) {
|
||
|
resourceId = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS.c = resourceId;
|
||
|
break;
|
||
|
case 2:
|
||
|
sts.a.d = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.d);
|
||
|
break;
|
||
|
case 3:
|
||
|
IeS ieS2 = sts.a;
|
||
|
int resourceId2 = obtainStyledAttributes.getResourceId(index, sts.a.g);
|
||
|
if (resourceId2 == -1) {
|
||
|
resourceId2 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS2.g = resourceId2;
|
||
|
break;
|
||
|
case 4:
|
||
|
IeS ieS3 = sts.a;
|
||
|
int resourceId3 = obtainStyledAttributes.getResourceId(index, sts.a.h);
|
||
|
if (resourceId3 == -1) {
|
||
|
resourceId3 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS3.h = resourceId3;
|
||
|
break;
|
||
|
case 5:
|
||
|
sts.a.m = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 6:
|
||
|
sts.a.k = obtainStyledAttributes.getDimensionPixelOffset(index, sts.a.k);
|
||
|
break;
|
||
|
case 7:
|
||
|
sts.a.l = obtainStyledAttributes.getDimensionPixelOffset(index, sts.a.l);
|
||
|
break;
|
||
|
case 8:
|
||
|
sts.a.t = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.t);
|
||
|
break;
|
||
|
case 9:
|
||
|
IeS ieS4 = sts.a;
|
||
|
int resourceId4 = obtainStyledAttributes.getResourceId(index, sts.a.p);
|
||
|
if (resourceId4 == -1) {
|
||
|
resourceId4 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS4.p = resourceId4;
|
||
|
break;
|
||
|
case 10:
|
||
|
IeS ieS5 = sts.a;
|
||
|
int resourceId5 = obtainStyledAttributes.getResourceId(index, sts.a.s);
|
||
|
if (resourceId5 == -1) {
|
||
|
resourceId5 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS5.s = resourceId5;
|
||
|
break;
|
||
|
case 11:
|
||
|
sts.a.r = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.r);
|
||
|
break;
|
||
|
case 12:
|
||
|
sts.a.x = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.x);
|
||
|
break;
|
||
|
case 13:
|
||
|
sts.a.u = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.u);
|
||
|
break;
|
||
|
case 14:
|
||
|
sts.a.y = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.y);
|
||
|
break;
|
||
|
case 15:
|
||
|
sts.a.w = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.w);
|
||
|
break;
|
||
|
case 16:
|
||
|
sts.a.v = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.v);
|
||
|
break;
|
||
|
case 17:
|
||
|
sts.a.z = obtainStyledAttributes.getDimensionPixelOffset(index, sts.a.z);
|
||
|
break;
|
||
|
case 18:
|
||
|
sts.a.D = obtainStyledAttributes.getDimensionPixelOffset(index, sts.a.D);
|
||
|
break;
|
||
|
case 19:
|
||
|
sts.a.C = obtainStyledAttributes.getFloat(index, sts.a.C);
|
||
|
break;
|
||
|
case 20:
|
||
|
sts.a.G = obtainStyledAttributes.getFloat(index, sts.a.G);
|
||
|
break;
|
||
|
case 21:
|
||
|
sts.a.R = obtainStyledAttributes.getLayoutDimension(index, sts.a.R);
|
||
|
break;
|
||
|
case 22:
|
||
|
sts.g.a = obtainStyledAttributes.getInt(index, sts.g.a);
|
||
|
sts.g.a = f[sts.g.a];
|
||
|
break;
|
||
|
case 23:
|
||
|
sts.a.X = obtainStyledAttributes.getLayoutDimension(index, sts.a.X);
|
||
|
break;
|
||
|
case 24:
|
||
|
sts.a.N = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.N);
|
||
|
break;
|
||
|
case 25:
|
||
|
IeS ieS6 = sts.a;
|
||
|
int resourceId6 = obtainStyledAttributes.getResourceId(index, sts.a.J);
|
||
|
if (resourceId6 == -1) {
|
||
|
resourceId6 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS6.J = resourceId6;
|
||
|
break;
|
||
|
case 26:
|
||
|
IeS ieS7 = sts.a;
|
||
|
int resourceId7 = obtainStyledAttributes.getResourceId(index, sts.a.L);
|
||
|
if (resourceId7 == -1) {
|
||
|
resourceId7 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS7.L = resourceId7;
|
||
|
break;
|
||
|
case 27:
|
||
|
sts.a.ac = obtainStyledAttributes.getInt(index, sts.a.ac);
|
||
|
break;
|
||
|
case 28:
|
||
|
sts.a.Y = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.Y);
|
||
|
break;
|
||
|
case 29:
|
||
|
IeS ieS8 = sts.a;
|
||
|
int resourceId8 = obtainStyledAttributes.getResourceId(index, sts.a.aa);
|
||
|
if (resourceId8 == -1) {
|
||
|
resourceId8 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS8.aa = resourceId8;
|
||
|
break;
|
||
|
case 30:
|
||
|
IeS ieS9 = sts.a;
|
||
|
int resourceId9 = obtainStyledAttributes.getResourceId(index, sts.a.ab);
|
||
|
if (resourceId9 == -1) {
|
||
|
resourceId9 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS9.ab = resourceId9;
|
||
|
break;
|
||
|
case 31:
|
||
|
sts.a.ae = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.ae);
|
||
|
break;
|
||
|
case 32:
|
||
|
IeS ieS10 = sts.a;
|
||
|
int resourceId10 = obtainStyledAttributes.getResourceId(index, sts.a.af);
|
||
|
if (resourceId10 == -1) {
|
||
|
resourceId10 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS10.af = resourceId10;
|
||
|
break;
|
||
|
case 33:
|
||
|
IeS ieS11 = sts.a;
|
||
|
int resourceId11 = obtainStyledAttributes.getResourceId(index, sts.a.ag);
|
||
|
if (resourceId11 == -1) {
|
||
|
resourceId11 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS11.ag = resourceId11;
|
||
|
break;
|
||
|
case 34:
|
||
|
sts.a.ad = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.ad);
|
||
|
break;
|
||
|
case 35:
|
||
|
IeS ieS12 = sts.a;
|
||
|
int resourceId12 = obtainStyledAttributes.getResourceId(index, sts.a.ah);
|
||
|
if (resourceId12 == -1) {
|
||
|
resourceId12 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS12.ah = resourceId12;
|
||
|
break;
|
||
|
case 36:
|
||
|
IeS ieS13 = sts.a;
|
||
|
int resourceId13 = obtainStyledAttributes.getResourceId(index, sts.a.ai);
|
||
|
if (resourceId13 == -1) {
|
||
|
resourceId13 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS13.ai = resourceId13;
|
||
|
break;
|
||
|
case 37:
|
||
|
sts.a.aj = obtainStyledAttributes.getFloat(index, sts.a.aj);
|
||
|
break;
|
||
|
case 38:
|
||
|
sts.c = obtainStyledAttributes.getResourceId(index, sts.c);
|
||
|
break;
|
||
|
case 39:
|
||
|
sts.a.M = obtainStyledAttributes.getFloat(index, sts.a.M);
|
||
|
break;
|
||
|
case 40:
|
||
|
sts.a.ak = obtainStyledAttributes.getFloat(index, sts.a.ak);
|
||
|
break;
|
||
|
case 41:
|
||
|
sts.a.E = obtainStyledAttributes.getInt(index, sts.a.E);
|
||
|
break;
|
||
|
case 42:
|
||
|
sts.a.al = obtainStyledAttributes.getInt(index, sts.a.al);
|
||
|
break;
|
||
|
case 43:
|
||
|
sts.g.b = obtainStyledAttributes.getFloat(index, sts.g.b);
|
||
|
break;
|
||
|
case 44:
|
||
|
sts.h.b = true;
|
||
|
sts.h.a = obtainStyledAttributes.getDimension(index, sts.h.a);
|
||
|
break;
|
||
|
case 45:
|
||
|
sts.h.d = obtainStyledAttributes.getFloat(index, sts.h.d);
|
||
|
break;
|
||
|
case 46:
|
||
|
sts.h.g = obtainStyledAttributes.getFloat(index, sts.h.g);
|
||
|
break;
|
||
|
case 47:
|
||
|
sts.h.i = obtainStyledAttributes.getFloat(index, sts.h.i);
|
||
|
break;
|
||
|
case 48:
|
||
|
sts.h.j = obtainStyledAttributes.getFloat(index, sts.h.j);
|
||
|
break;
|
||
|
case 49:
|
||
|
sts.h.h = obtainStyledAttributes.getDimension(index, sts.h.h);
|
||
|
break;
|
||
|
case 50:
|
||
|
sts.h.k = obtainStyledAttributes.getDimension(index, sts.h.k);
|
||
|
break;
|
||
|
case 51:
|
||
|
sts.h.f9324o = obtainStyledAttributes.getDimension(index, sts.h.f9324o);
|
||
|
break;
|
||
|
case 52:
|
||
|
sts.h.l = obtainStyledAttributes.getDimension(index, sts.h.l);
|
||
|
break;
|
||
|
case 53:
|
||
|
sts.h.n = obtainStyledAttributes.getDimension(index, sts.h.n);
|
||
|
break;
|
||
|
case 54:
|
||
|
sts.a.am = obtainStyledAttributes.getInt(index, sts.a.am);
|
||
|
break;
|
||
|
case 55:
|
||
|
sts.a.B = obtainStyledAttributes.getInt(index, sts.a.B);
|
||
|
break;
|
||
|
case 56:
|
||
|
sts.a.an = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.an);
|
||
|
break;
|
||
|
case 57:
|
||
|
sts.a.H = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.H);
|
||
|
break;
|
||
|
case 58:
|
||
|
sts.a.aq = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.aq);
|
||
|
break;
|
||
|
case 59:
|
||
|
sts.a.I = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.I);
|
||
|
break;
|
||
|
case 60:
|
||
|
sts.h.c = obtainStyledAttributes.getFloat(index, sts.h.c);
|
||
|
break;
|
||
|
case 61:
|
||
|
IeS ieS14 = sts.a;
|
||
|
int resourceId14 = obtainStyledAttributes.getResourceId(index, sts.a.j);
|
||
|
if (resourceId14 == -1) {
|
||
|
resourceId14 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS14.j = resourceId14;
|
||
|
break;
|
||
|
case 62:
|
||
|
sts.a.f = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.f);
|
||
|
break;
|
||
|
case 63:
|
||
|
sts.a.i = obtainStyledAttributes.getFloat(index, sts.a.i);
|
||
|
break;
|
||
|
case 64:
|
||
|
RVV rvv = sts.f;
|
||
|
int resourceId15 = obtainStyledAttributes.getResourceId(index, sts.f.e);
|
||
|
if (resourceId15 == -1) {
|
||
|
resourceId15 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
rvv.e = resourceId15;
|
||
|
break;
|
||
|
case 65:
|
||
|
if (obtainStyledAttributes.peekValue(index).type == 3) {
|
||
|
sts.f.n = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
} else {
|
||
|
sts.f.n = Yrp.a[obtainStyledAttributes.getInteger(index, 0)];
|
||
|
break;
|
||
|
}
|
||
|
case 66:
|
||
|
sts.f.d = obtainStyledAttributes.getInt(index, 0);
|
||
|
break;
|
||
|
case 67:
|
||
|
sts.f.j = obtainStyledAttributes.getFloat(index, sts.f.j);
|
||
|
break;
|
||
|
case 68:
|
||
|
sts.g.e = obtainStyledAttributes.getFloat(index, sts.g.e);
|
||
|
break;
|
||
|
case 69:
|
||
|
sts.a.ap = obtainStyledAttributes.getFloat(index, 1.0f);
|
||
|
break;
|
||
|
case 70:
|
||
|
sts.a.F = obtainStyledAttributes.getFloat(index, 1.0f);
|
||
|
break;
|
||
|
case 71:
|
||
|
break;
|
||
|
case 72:
|
||
|
sts.a.Q = obtainStyledAttributes.getInt(index, sts.a.Q);
|
||
|
break;
|
||
|
case 73:
|
||
|
sts.a.S = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.S);
|
||
|
break;
|
||
|
case 74:
|
||
|
sts.a.V = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 75:
|
||
|
sts.a.O = obtainStyledAttributes.getBoolean(index, sts.a.O);
|
||
|
break;
|
||
|
case 76:
|
||
|
sts.f.i = obtainStyledAttributes.getInt(index, sts.f.i);
|
||
|
break;
|
||
|
case 77:
|
||
|
sts.a.P = obtainStyledAttributes.getString(index);
|
||
|
break;
|
||
|
case 78:
|
||
|
sts.g.c = obtainStyledAttributes.getInt(index, sts.g.c);
|
||
|
break;
|
||
|
case 79:
|
||
|
sts.f.c = obtainStyledAttributes.getFloat(index, sts.f.c);
|
||
|
break;
|
||
|
case 80:
|
||
|
sts.a.n = obtainStyledAttributes.getBoolean(index, sts.a.n);
|
||
|
break;
|
||
|
case 81:
|
||
|
sts.a.f9325o = obtainStyledAttributes.getBoolean(index, sts.a.f9325o);
|
||
|
break;
|
||
|
case 82:
|
||
|
sts.f.b = obtainStyledAttributes.getInteger(index, sts.f.b);
|
||
|
break;
|
||
|
case 83:
|
||
|
HBt hBt = sts.h;
|
||
|
int resourceId16 = obtainStyledAttributes.getResourceId(index, sts.h.f);
|
||
|
if (resourceId16 == -1) {
|
||
|
resourceId16 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
hBt.f = resourceId16;
|
||
|
break;
|
||
|
case 84:
|
||
|
sts.f.m = obtainStyledAttributes.getInteger(index, sts.f.m);
|
||
|
break;
|
||
|
case 85:
|
||
|
sts.f.l = obtainStyledAttributes.getFloat(index, sts.f.l);
|
||
|
break;
|
||
|
case 86:
|
||
|
TypedValue peekValue = obtainStyledAttributes.peekValue(index);
|
||
|
if (peekValue.type == 1) {
|
||
|
sts.f.g = obtainStyledAttributes.getResourceId(index, -1);
|
||
|
if (sts.f.g != -1) {
|
||
|
sts.f.h = -2;
|
||
|
break;
|
||
|
} else {
|
||
|
break;
|
||
|
}
|
||
|
} else if (peekValue.type == 3) {
|
||
|
sts.f.f = obtainStyledAttributes.getString(index);
|
||
|
if (sts.f.f.indexOf("/") > 0) {
|
||
|
sts.f.g = obtainStyledAttributes.getResourceId(index, -1);
|
||
|
sts.f.h = -2;
|
||
|
break;
|
||
|
} else {
|
||
|
sts.f.h = -1;
|
||
|
break;
|
||
|
}
|
||
|
} else {
|
||
|
sts.f.h = obtainStyledAttributes.getInteger(index, sts.f.g);
|
||
|
break;
|
||
|
}
|
||
|
case 87:
|
||
|
g.get(index);
|
||
|
break;
|
||
|
case 88:
|
||
|
case 89:
|
||
|
case 90:
|
||
|
default:
|
||
|
g.get(index);
|
||
|
break;
|
||
|
case 91:
|
||
|
IeS ieS15 = sts.a;
|
||
|
int resourceId17 = obtainStyledAttributes.getResourceId(index, sts.a.a);
|
||
|
if (resourceId17 == -1) {
|
||
|
resourceId17 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS15.a = resourceId17;
|
||
|
break;
|
||
|
case 92:
|
||
|
IeS ieS16 = sts.a;
|
||
|
int resourceId18 = obtainStyledAttributes.getResourceId(index, sts.a.e);
|
||
|
if (resourceId18 == -1) {
|
||
|
resourceId18 = obtainStyledAttributes.getInt(index, -1);
|
||
|
}
|
||
|
ieS16.e = resourceId18;
|
||
|
break;
|
||
|
case 93:
|
||
|
sts.a.b = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.b);
|
||
|
break;
|
||
|
case 94:
|
||
|
sts.a.q = obtainStyledAttributes.getDimensionPixelSize(index, sts.a.q);
|
||
|
break;
|
||
|
case 95:
|
||
|
ll_(sts.a, obtainStyledAttributes, index, 0);
|
||
|
break;
|
||
|
case 96:
|
||
|
ll_(sts.a, obtainStyledAttributes, index, 1);
|
||
|
break;
|
||
|
case 97:
|
||
|
sts.a.Z = obtainStyledAttributes.getInt(index, sts.a.Z);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
if (sts.a.V != null) {
|
||
|
sts.a.T = null;
|
||
|
}
|
||
|
}
|
||
|
obtainStyledAttributes.recycle();
|
||
|
return sts;
|
||
|
}
|
||
|
|
||
|
public static Sts a(Context context, XmlPullParser xmlPullParser) {
|
||
|
AttributeSet asAttributeSet = Xml.asAttributeSet(xmlPullParser);
|
||
|
Sts sts = new Sts();
|
||
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(asAttributeSet, C3345avm.IeS.ConstraintOverride);
|
||
|
lm_(sts, obtainStyledAttributes);
|
||
|
obtainStyledAttributes.recycle();
|
||
|
return sts;
|
||
|
}
|
||
|
|
||
|
private static void lm_(Sts sts, TypedArray typedArray) {
|
||
|
int indexCount = typedArray.getIndexCount();
|
||
|
Sts.C0128Sts c0128Sts = new Sts.C0128Sts();
|
||
|
sts.b = c0128Sts;
|
||
|
sts.f.a = false;
|
||
|
sts.a.K = false;
|
||
|
sts.g.d = false;
|
||
|
sts.h.e = false;
|
||
|
for (int i = 0; i < indexCount; i++) {
|
||
|
int index = typedArray.getIndex(i);
|
||
|
switch (h.get(index)) {
|
||
|
case 2:
|
||
|
c0128Sts.d(2, typedArray.getDimensionPixelSize(index, sts.a.d));
|
||
|
break;
|
||
|
case 3:
|
||
|
case 4:
|
||
|
case 9:
|
||
|
case 10:
|
||
|
case 25:
|
||
|
case 26:
|
||
|
case 29:
|
||
|
case 30:
|
||
|
case 32:
|
||
|
case 33:
|
||
|
case 35:
|
||
|
case 36:
|
||
|
case 61:
|
||
|
case 88:
|
||
|
case 89:
|
||
|
case 90:
|
||
|
case 91:
|
||
|
case 92:
|
||
|
default:
|
||
|
g.get(index);
|
||
|
break;
|
||
|
case 5:
|
||
|
c0128Sts.d(5, typedArray.getString(index));
|
||
|
break;
|
||
|
case 6:
|
||
|
c0128Sts.d(6, typedArray.getDimensionPixelOffset(index, sts.a.k));
|
||
|
break;
|
||
|
case 7:
|
||
|
c0128Sts.d(7, typedArray.getDimensionPixelOffset(index, sts.a.l));
|
||
|
break;
|
||
|
case 8:
|
||
|
c0128Sts.d(8, typedArray.getDimensionPixelSize(index, sts.a.t));
|
||
|
break;
|
||
|
case 11:
|
||
|
c0128Sts.d(11, typedArray.getDimensionPixelSize(index, sts.a.r));
|
||
|
break;
|
||
|
case 12:
|
||
|
c0128Sts.d(12, typedArray.getDimensionPixelSize(index, sts.a.x));
|
||
|
break;
|
||
|
case 13:
|
||
|
c0128Sts.d(13, typedArray.getDimensionPixelSize(index, sts.a.u));
|
||
|
break;
|
||
|
case 14:
|
||
|
c0128Sts.d(14, typedArray.getDimensionPixelSize(index, sts.a.y));
|
||
|
break;
|
||
|
case 15:
|
||
|
c0128Sts.d(15, typedArray.getDimensionPixelSize(index, sts.a.w));
|
||
|
break;
|
||
|
case 16:
|
||
|
c0128Sts.d(16, typedArray.getDimensionPixelSize(index, sts.a.v));
|
||
|
break;
|
||
|
case 17:
|
||
|
c0128Sts.d(17, typedArray.getDimensionPixelOffset(index, sts.a.z));
|
||
|
break;
|
||
|
case 18:
|
||
|
c0128Sts.d(18, typedArray.getDimensionPixelOffset(index, sts.a.D));
|
||
|
break;
|
||
|
case 19:
|
||
|
c0128Sts.e(19, typedArray.getFloat(index, sts.a.C));
|
||
|
break;
|
||
|
case 20:
|
||
|
c0128Sts.e(20, typedArray.getFloat(index, sts.a.G));
|
||
|
break;
|
||
|
case 21:
|
||
|
c0128Sts.d(21, typedArray.getLayoutDimension(index, sts.a.R));
|
||
|
break;
|
||
|
case 22:
|
||
|
c0128Sts.d(22, f[typedArray.getInt(index, sts.g.a)]);
|
||
|
break;
|
||
|
case 23:
|
||
|
c0128Sts.d(23, typedArray.getLayoutDimension(index, sts.a.X));
|
||
|
break;
|
||
|
case 24:
|
||
|
c0128Sts.d(24, typedArray.getDimensionPixelSize(index, sts.a.N));
|
||
|
break;
|
||
|
case 27:
|
||
|
c0128Sts.d(27, typedArray.getInt(index, sts.a.ac));
|
||
|
break;
|
||
|
case 28:
|
||
|
c0128Sts.d(28, typedArray.getDimensionPixelSize(index, sts.a.Y));
|
||
|
break;
|
||
|
case 31:
|
||
|
c0128Sts.d(31, typedArray.getDimensionPixelSize(index, sts.a.ae));
|
||
|
break;
|
||
|
case 34:
|
||
|
c0128Sts.d(34, typedArray.getDimensionPixelSize(index, sts.a.ad));
|
||
|
break;
|
||
|
case 37:
|
||
|
c0128Sts.e(37, typedArray.getFloat(index, sts.a.aj));
|
||
|
break;
|
||
|
case 38:
|
||
|
sts.c = typedArray.getResourceId(index, sts.c);
|
||
|
c0128Sts.d(38, sts.c);
|
||
|
break;
|
||
|
case 39:
|
||
|
c0128Sts.e(39, typedArray.getFloat(index, sts.a.M));
|
||
|
break;
|
||
|
case 40:
|
||
|
c0128Sts.e(40, typedArray.getFloat(index, sts.a.ak));
|
||
|
break;
|
||
|
case 41:
|
||
|
c0128Sts.d(41, typedArray.getInt(index, sts.a.E));
|
||
|
break;
|
||
|
case 42:
|
||
|
c0128Sts.d(42, typedArray.getInt(index, sts.a.al));
|
||
|
break;
|
||
|
case 43:
|
||
|
c0128Sts.e(43, typedArray.getFloat(index, sts.g.b));
|
||
|
break;
|
||
|
case 44:
|
||
|
c0128Sts.a(44, true);
|
||
|
c0128Sts.e(44, typedArray.getDimension(index, sts.h.a));
|
||
|
break;
|
||
|
case 45:
|
||
|
c0128Sts.e(45, typedArray.getFloat(index, sts.h.d));
|
||
|
break;
|
||
|
case 46:
|
||
|
c0128Sts.e(46, typedArray.getFloat(index, sts.h.g));
|
||
|
break;
|
||
|
case 47:
|
||
|
c0128Sts.e(47, typedArray.getFloat(index, sts.h.i));
|
||
|
break;
|
||
|
case 48:
|
||
|
c0128Sts.e(48, typedArray.getFloat(index, sts.h.j));
|
||
|
break;
|
||
|
case 49:
|
||
|
c0128Sts.e(49, typedArray.getDimension(index, sts.h.h));
|
||
|
break;
|
||
|
case 50:
|
||
|
c0128Sts.e(50, typedArray.getDimension(index, sts.h.k));
|
||
|
break;
|
||
|
case 51:
|
||
|
c0128Sts.e(51, typedArray.getDimension(index, sts.h.f9324o));
|
||
|
break;
|
||
|
case 52:
|
||
|
c0128Sts.e(52, typedArray.getDimension(index, sts.h.l));
|
||
|
break;
|
||
|
case 53:
|
||
|
c0128Sts.e(53, typedArray.getDimension(index, sts.h.n));
|
||
|
break;
|
||
|
case 54:
|
||
|
c0128Sts.d(54, typedArray.getInt(index, sts.a.am));
|
||
|
break;
|
||
|
case 55:
|
||
|
c0128Sts.d(55, typedArray.getInt(index, sts.a.B));
|
||
|
break;
|
||
|
case 56:
|
||
|
c0128Sts.d(56, typedArray.getDimensionPixelSize(index, sts.a.an));
|
||
|
break;
|
||
|
case 57:
|
||
|
c0128Sts.d(57, typedArray.getDimensionPixelSize(index, sts.a.H));
|
||
|
break;
|
||
|
case 58:
|
||
|
c0128Sts.d(58, typedArray.getDimensionPixelSize(index, sts.a.aq));
|
||
|
break;
|
||
|
case 59:
|
||
|
c0128Sts.d(59, typedArray.getDimensionPixelSize(index, sts.a.I));
|
||
|
break;
|
||
|
case 60:
|
||
|
c0128Sts.e(60, typedArray.getFloat(index, sts.h.c));
|
||
|
break;
|
||
|
case 62:
|
||
|
c0128Sts.d(62, typedArray.getDimensionPixelSize(index, sts.a.f));
|
||
|
break;
|
||
|
case 63:
|
||
|
c0128Sts.e(63, typedArray.getFloat(index, sts.a.i));
|
||
|
break;
|
||
|
case 64:
|
||
|
int resourceId = typedArray.getResourceId(index, sts.f.e);
|
||
|
if (resourceId == -1) {
|
||
|
resourceId = typedArray.getInt(index, -1);
|
||
|
}
|
||
|
c0128Sts.d(64, resourceId);
|
||
|
break;
|
||
|
case 65:
|
||
|
if (typedArray.peekValue(index).type == 3) {
|
||
|
c0128Sts.d(65, typedArray.getString(index));
|
||
|
break;
|
||
|
} else {
|
||
|
c0128Sts.d(65, Yrp.a[typedArray.getInteger(index, 0)]);
|
||
|
break;
|
||
|
}
|
||
|
case 66:
|
||
|
c0128Sts.d(66, typedArray.getInt(index, 0));
|
||
|
break;
|
||
|
case 67:
|
||
|
c0128Sts.e(67, typedArray.getFloat(index, sts.f.j));
|
||
|
break;
|
||
|
case 68:
|
||
|
c0128Sts.e(68, typedArray.getFloat(index, sts.g.e));
|
||
|
break;
|
||
|
case 69:
|
||
|
c0128Sts.e(69, typedArray.getFloat(index, 1.0f));
|
||
|
break;
|
||
|
case 70:
|
||
|
c0128Sts.e(70, typedArray.getFloat(index, 1.0f));
|
||
|
break;
|
||
|
case 71:
|
||
|
break;
|
||
|
case 72:
|
||
|
c0128Sts.d(72, typedArray.getInt(index, sts.a.Q));
|
||
|
break;
|
||
|
case 73:
|
||
|
c0128Sts.d(73, typedArray.getDimensionPixelSize(index, sts.a.S));
|
||
|
break;
|
||
|
case 74:
|
||
|
c0128Sts.d(74, typedArray.getString(index));
|
||
|
break;
|
||
|
case 75:
|
||
|
c0128Sts.a(75, typedArray.getBoolean(index, sts.a.O));
|
||
|
break;
|
||
|
case 76:
|
||
|
c0128Sts.d(76, typedArray.getInt(index, sts.f.i));
|
||
|
break;
|
||
|
case 77:
|
||
|
c0128Sts.d(77, typedArray.getString(index));
|
||
|
break;
|
||
|
case 78:
|
||
|
c0128Sts.d(78, typedArray.getInt(index, sts.g.c));
|
||
|
break;
|
||
|
case 79:
|
||
|
c0128Sts.e(79, typedArray.getFloat(index, sts.f.c));
|
||
|
break;
|
||
|
case 80:
|
||
|
c0128Sts.a(80, typedArray.getBoolean(index, sts.a.n));
|
||
|
break;
|
||
|
case 81:
|
||
|
c0128Sts.a(81, typedArray.getBoolean(index, sts.a.f9325o));
|
||
|
break;
|
||
|
case 82:
|
||
|
c0128Sts.d(82, typedArray.getInteger(index, sts.f.b));
|
||
|
break;
|
||
|
case 83:
|
||
|
int resourceId2 = typedArray.getResourceId(index, sts.h.f);
|
||
|
if (resourceId2 == -1) {
|
||
|
resourceId2 = typedArray.getInt(index, -1);
|
||
|
}
|
||
|
c0128Sts.d(83, resourceId2);
|
||
|
break;
|
||
|
case 84:
|
||
|
c0128Sts.d(84, typedArray.getInteger(index, sts.f.m));
|
||
|
break;
|
||
|
case 85:
|
||
|
c0128Sts.e(85, typedArray.getFloat(index, sts.f.l));
|
||
|
break;
|
||
|
case 86:
|
||
|
TypedValue peekValue = typedArray.peekValue(index);
|
||
|
if (peekValue.type == 1) {
|
||
|
sts.f.g = typedArray.getResourceId(index, -1);
|
||
|
c0128Sts.d(89, sts.f.g);
|
||
|
if (sts.f.g != -1) {
|
||
|
sts.f.h = -2;
|
||
|
c0128Sts.d(88, sts.f.h);
|
||
|
break;
|
||
|
} else {
|
||
|
break;
|
||
|
}
|
||
|
} else if (peekValue.type == 3) {
|
||
|
sts.f.f = typedArray.getString(index);
|
||
|
c0128Sts.d(90, sts.f.f);
|
||
|
if (sts.f.f.indexOf("/") > 0) {
|
||
|
sts.f.g = typedArray.getResourceId(index, -1);
|
||
|
c0128Sts.d(89, sts.f.g);
|
||
|
sts.f.h = -2;
|
||
|
c0128Sts.d(88, sts.f.h);
|
||
|
break;
|
||
|
} else {
|
||
|
sts.f.h = -1;
|
||
|
c0128Sts.d(88, sts.f.h);
|
||
|
break;
|
||
|
}
|
||
|
} else {
|
||
|
sts.f.h = typedArray.getInteger(index, sts.f.g);
|
||
|
c0128Sts.d(88, sts.f.h);
|
||
|
break;
|
||
|
}
|
||
|
case 87:
|
||
|
g.get(index);
|
||
|
break;
|
||
|
case 93:
|
||
|
c0128Sts.d(93, typedArray.getDimensionPixelSize(index, sts.a.b));
|
||
|
break;
|
||
|
case 94:
|
||
|
c0128Sts.d(94, typedArray.getDimensionPixelSize(index, sts.a.q));
|
||
|
break;
|
||
|
case 95:
|
||
|
ll_(c0128Sts, typedArray, index, 0);
|
||
|
break;
|
||
|
case 96:
|
||
|
ll_(c0128Sts, typedArray, index, 1);
|
||
|
break;
|
||
|
case 97:
|
||
|
c0128Sts.d(97, typedArray.getInt(index, sts.a.Z));
|
||
|
break;
|
||
|
case 98:
|
||
|
if (MotionLayout.b) {
|
||
|
sts.c = typedArray.getResourceId(index, sts.c);
|
||
|
if (sts.c == -1) {
|
||
|
sts.d = typedArray.getString(index);
|
||
|
break;
|
||
|
} else {
|
||
|
break;
|
||
|
}
|
||
|
} else if (typedArray.peekValue(index).type == 3) {
|
||
|
sts.d = typedArray.getString(index);
|
||
|
break;
|
||
|
} else {
|
||
|
sts.c = typedArray.getResourceId(index, sts.c);
|
||
|
break;
|
||
|
}
|
||
|
case 99:
|
||
|
c0128Sts.a(99, typedArray.getBoolean(index, sts.a.A));
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private static int[] d(View view, String str) {
|
||
|
int i;
|
||
|
Object e;
|
||
|
String[] split = str.split(",");
|
||
|
Context context = view.getContext();
|
||
|
int[] iArr = new int[split.length];
|
||
|
int i2 = 0;
|
||
|
int i3 = 0;
|
||
|
while (i2 < split.length) {
|
||
|
String trim = split[i2].trim();
|
||
|
try {
|
||
|
i = C3345avm.RVV.class.getField(trim).getInt(null);
|
||
|
} catch (Exception unused) {
|
||
|
i = 0;
|
||
|
}
|
||
|
if (i == 0) {
|
||
|
i = context.getResources().getIdentifier(trim, Name.MARK, context.getPackageName());
|
||
|
}
|
||
|
if (i == 0 && view.isInEditMode() && (view.getParent() instanceof ConstraintLayout) && (e = ((ConstraintLayout) view.getParent()).e(trim)) != null && (e instanceof Integer)) {
|
||
|
i = ((Integer) e).intValue();
|
||
|
}
|
||
|
iArr[i3] = i;
|
||
|
i2++;
|
||
|
i3++;
|
||
|
}
|
||
|
return i3 != split.length ? Arrays.copyOf(iArr, i3) : iArr;
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ int lj_(TypedArray typedArray, int i, int i2) {
|
||
|
int resourceId = typedArray.getResourceId(i, i2);
|
||
|
return resourceId == -1 ? typedArray.getInt(i, -1) : resourceId;
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(Sts sts, int i, int i2) {
|
||
|
if (i == 6) {
|
||
|
sts.a.k = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 7) {
|
||
|
sts.a.l = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 8) {
|
||
|
sts.a.t = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 27) {
|
||
|
sts.a.ac = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 28) {
|
||
|
sts.a.Y = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 41) {
|
||
|
sts.a.E = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 42) {
|
||
|
sts.a.al = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 61) {
|
||
|
sts.a.j = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 62) {
|
||
|
sts.a.f = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 72) {
|
||
|
sts.a.Q = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 73) {
|
||
|
sts.a.S = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 2) {
|
||
|
sts.a.d = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 31) {
|
||
|
sts.a.ae = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 34) {
|
||
|
sts.a.ad = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 38) {
|
||
|
sts.c = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 64) {
|
||
|
sts.f.e = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 66) {
|
||
|
sts.f.d = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 76) {
|
||
|
sts.f.i = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 78) {
|
||
|
sts.g.c = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 97) {
|
||
|
sts.a.Z = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 93) {
|
||
|
sts.a.b = i2;
|
||
|
return;
|
||
|
}
|
||
|
if (i != 94) {
|
||
|
switch (i) {
|
||
|
case 11:
|
||
|
sts.a.r = i2;
|
||
|
return;
|
||
|
case 12:
|
||
|
sts.a.x = i2;
|
||
|
return;
|
||
|
case 13:
|
||
|
sts.a.u = i2;
|
||
|
return;
|
||
|
case 14:
|
||
|
sts.a.y = i2;
|
||
|
return;
|
||
|
case 15:
|
||
|
sts.a.w = i2;
|
||
|
return;
|
||
|
case 16:
|
||
|
sts.a.v = i2;
|
||
|
return;
|
||
|
case 17:
|
||
|
sts.a.z = i2;
|
||
|
return;
|
||
|
case 18:
|
||
|
sts.a.D = i2;
|
||
|
return;
|
||
|
default:
|
||
|
switch (i) {
|
||
|
case 21:
|
||
|
sts.a.R = i2;
|
||
|
return;
|
||
|
case 22:
|
||
|
sts.g.a = i2;
|
||
|
return;
|
||
|
case 23:
|
||
|
sts.a.X = i2;
|
||
|
return;
|
||
|
case 24:
|
||
|
sts.a.N = i2;
|
||
|
return;
|
||
|
default:
|
||
|
switch (i) {
|
||
|
case 54:
|
||
|
sts.a.am = i2;
|
||
|
return;
|
||
|
case 55:
|
||
|
sts.a.B = i2;
|
||
|
return;
|
||
|
case 56:
|
||
|
sts.a.an = i2;
|
||
|
return;
|
||
|
case 57:
|
||
|
sts.a.H = i2;
|
||
|
return;
|
||
|
case 58:
|
||
|
sts.a.aq = i2;
|
||
|
return;
|
||
|
case 59:
|
||
|
sts.a.I = i2;
|
||
|
return;
|
||
|
default:
|
||
|
switch (i) {
|
||
|
case 82:
|
||
|
sts.f.b = i2;
|
||
|
return;
|
||
|
case 83:
|
||
|
sts.h.f = i2;
|
||
|
return;
|
||
|
case 84:
|
||
|
sts.f.m = i2;
|
||
|
return;
|
||
|
default:
|
||
|
if (i == 88) {
|
||
|
sts.f.h = i2;
|
||
|
return;
|
||
|
} else {
|
||
|
if (i != 89) {
|
||
|
return;
|
||
|
}
|
||
|
sts.f.g = i2;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
sts.a.q = i2;
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(Sts sts, int i, float f2) {
|
||
|
if (i == 19) {
|
||
|
sts.a.C = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 20) {
|
||
|
sts.a.G = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 37) {
|
||
|
sts.a.aj = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 60) {
|
||
|
sts.h.c = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 63) {
|
||
|
sts.a.i = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 79) {
|
||
|
sts.f.c = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 85) {
|
||
|
sts.f.l = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i != 87) {
|
||
|
if (i == 39) {
|
||
|
sts.a.M = f2;
|
||
|
return;
|
||
|
}
|
||
|
if (i != 40) {
|
||
|
switch (i) {
|
||
|
case 43:
|
||
|
sts.g.b = f2;
|
||
|
return;
|
||
|
case 44:
|
||
|
sts.h.a = f2;
|
||
|
sts.h.b = true;
|
||
|
return;
|
||
|
case 45:
|
||
|
sts.h.d = f2;
|
||
|
return;
|
||
|
case 46:
|
||
|
sts.h.g = f2;
|
||
|
return;
|
||
|
case 47:
|
||
|
sts.h.i = f2;
|
||
|
return;
|
||
|
case 48:
|
||
|
sts.h.j = f2;
|
||
|
return;
|
||
|
case 49:
|
||
|
sts.h.h = f2;
|
||
|
return;
|
||
|
case 50:
|
||
|
sts.h.k = f2;
|
||
|
return;
|
||
|
case 51:
|
||
|
sts.h.f9324o = f2;
|
||
|
return;
|
||
|
case 52:
|
||
|
sts.h.l = f2;
|
||
|
return;
|
||
|
case 53:
|
||
|
sts.h.n = f2;
|
||
|
return;
|
||
|
default:
|
||
|
switch (i) {
|
||
|
case 67:
|
||
|
sts.f.j = f2;
|
||
|
return;
|
||
|
case 68:
|
||
|
sts.g.e = f2;
|
||
|
return;
|
||
|
case 69:
|
||
|
sts.a.ap = f2;
|
||
|
return;
|
||
|
case 70:
|
||
|
sts.a.F = f2;
|
||
|
return;
|
||
|
default:
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
sts.a.ak = f2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(Sts sts, int i, String str) {
|
||
|
if (i == 5) {
|
||
|
sts.a.m = str;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 65) {
|
||
|
sts.f.n = str;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 74) {
|
||
|
sts.a.V = str;
|
||
|
sts.a.T = null;
|
||
|
} else if (i == 77) {
|
||
|
sts.a.P = str;
|
||
|
} else {
|
||
|
if (i == 87 || i != 90) {
|
||
|
return;
|
||
|
}
|
||
|
sts.f.f = str;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void d(Sts sts, int i, boolean z) {
|
||
|
if (i == 44) {
|
||
|
sts.h.b = z;
|
||
|
return;
|
||
|
}
|
||
|
if (i == 75) {
|
||
|
sts.a.O = z;
|
||
|
return;
|
||
|
}
|
||
|
if (i != 87) {
|
||
|
if (i == 80) {
|
||
|
sts.a.n = z;
|
||
|
} else if (i == 81) {
|
||
|
sts.a.f9325o = z;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|