132 lines
5.6 KiB
Java
132 lines
5.6 KiB
Java
package androidx.constraintlayout.widget;
|
|
|
|
import android.content.Context;
|
|
import android.content.res.TypedArray;
|
|
import android.util.AttributeSet;
|
|
import android.view.ViewGroup;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import o.C3345avm;
|
|
import o.yqQ;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Constraints extends ViewGroup {
|
|
yqQ d;
|
|
|
|
@Override // android.view.ViewGroup, android.view.View
|
|
protected void onLayout(boolean z, int i, int i2, int i3, int i4) {
|
|
}
|
|
|
|
public Constraints(Context context) {
|
|
super(context);
|
|
super.setVisibility(8);
|
|
}
|
|
|
|
public Constraints(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
super.setVisibility(8);
|
|
}
|
|
|
|
public Constraints(Context context, AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
super.setVisibility(8);
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
public static class HBt extends ConstraintLayout.Sts {
|
|
public float aA;
|
|
public float aB;
|
|
public float aC;
|
|
public float aD;
|
|
public float aE;
|
|
public float aF;
|
|
public float aG;
|
|
public float at;
|
|
public boolean av;
|
|
public float aw;
|
|
public float ax;
|
|
public float ay;
|
|
public float az;
|
|
|
|
public HBt() {
|
|
this.aw = 1.0f;
|
|
this.av = false;
|
|
this.at = BitmapDescriptorFactory.HUE_RED;
|
|
this.aB = BitmapDescriptorFactory.HUE_RED;
|
|
this.ay = BitmapDescriptorFactory.HUE_RED;
|
|
this.ax = BitmapDescriptorFactory.HUE_RED;
|
|
this.aA = 1.0f;
|
|
this.az = 1.0f;
|
|
this.aD = BitmapDescriptorFactory.HUE_RED;
|
|
this.aE = BitmapDescriptorFactory.HUE_RED;
|
|
this.aF = BitmapDescriptorFactory.HUE_RED;
|
|
this.aC = BitmapDescriptorFactory.HUE_RED;
|
|
this.aG = BitmapDescriptorFactory.HUE_RED;
|
|
}
|
|
|
|
public HBt(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
this.aw = 1.0f;
|
|
this.av = false;
|
|
this.at = BitmapDescriptorFactory.HUE_RED;
|
|
this.aB = BitmapDescriptorFactory.HUE_RED;
|
|
this.ay = BitmapDescriptorFactory.HUE_RED;
|
|
this.ax = BitmapDescriptorFactory.HUE_RED;
|
|
this.aA = 1.0f;
|
|
this.az = 1.0f;
|
|
this.aD = BitmapDescriptorFactory.HUE_RED;
|
|
this.aE = BitmapDescriptorFactory.HUE_RED;
|
|
this.aF = BitmapDescriptorFactory.HUE_RED;
|
|
this.aC = BitmapDescriptorFactory.HUE_RED;
|
|
this.aG = BitmapDescriptorFactory.HUE_RED;
|
|
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C3345avm.IeS.ConstraintSet);
|
|
int indexCount = obtainStyledAttributes.getIndexCount();
|
|
for (int i = 0; i < indexCount; i++) {
|
|
int index = obtainStyledAttributes.getIndex(i);
|
|
if (index == C3345avm.IeS.ConstraintSet_android_alpha) {
|
|
this.aw = obtainStyledAttributes.getFloat(index, this.aw);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_elevation) {
|
|
this.at = obtainStyledAttributes.getFloat(index, this.at);
|
|
this.av = true;
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_rotationX) {
|
|
this.ay = obtainStyledAttributes.getFloat(index, this.ay);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_rotationY) {
|
|
this.ax = obtainStyledAttributes.getFloat(index, this.ax);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_rotation) {
|
|
this.aB = obtainStyledAttributes.getFloat(index, this.aB);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_scaleX) {
|
|
this.aA = obtainStyledAttributes.getFloat(index, this.aA);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_scaleY) {
|
|
this.az = obtainStyledAttributes.getFloat(index, this.az);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_transformPivotX) {
|
|
this.aD = obtainStyledAttributes.getFloat(index, this.aD);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_transformPivotY) {
|
|
this.aE = obtainStyledAttributes.getFloat(index, this.aE);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_translationX) {
|
|
this.aF = obtainStyledAttributes.getFloat(index, this.aF);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_translationY) {
|
|
this.aC = obtainStyledAttributes.getFloat(index, this.aC);
|
|
} else if (index == C3345avm.IeS.ConstraintSet_android_translationZ) {
|
|
this.aG = obtainStyledAttributes.getFloat(index, this.aG);
|
|
}
|
|
}
|
|
obtainStyledAttributes.recycle();
|
|
}
|
|
}
|
|
|
|
@Override // android.view.ViewGroup
|
|
protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
|
|
return new ConstraintLayout.Sts(layoutParams);
|
|
}
|
|
|
|
@Override // android.view.ViewGroup
|
|
protected /* synthetic */ ViewGroup.LayoutParams generateDefaultLayoutParams() {
|
|
return new HBt();
|
|
}
|
|
|
|
@Override // android.view.ViewGroup
|
|
public /* synthetic */ ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
|
|
return new HBt(getContext(), attributeSet);
|
|
}
|
|
}
|