Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package androidx.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import kotlin.Metadata;
import kotlin.annotation.AnnotationRetention;
import kotlin.annotation.AnnotationTarget;
@Target({ElementType.PACKAGE, ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.FIELD})
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0087\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Landroidx/annotation/Keep;", "", "annotation"}, k = 1, mv = {1, 7, 0}, xi = 48)
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FILE, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FIELD})
@Retention(RetentionPolicy.CLASS)
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
/* loaded from: classes.dex */
public @interface Keep {
}

View File

@@ -0,0 +1,24 @@
package androidx.appcompat.app;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.ListView;
import f.AbstractC0336a;
/* loaded from: classes.dex */
public class AlertController$RecycleListView extends ListView {
/* renamed from: a, reason: collision with root package name */
public final int f2334a;
/* renamed from: b, reason: collision with root package name */
public final int f2335b;
public AlertController$RecycleListView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6438t);
this.f2335b = obtainStyledAttributes.getDimensionPixelOffset(0, -1);
this.f2334a = obtainStyledAttributes.getDimensionPixelOffset(1, -1);
}
}

View File

@@ -0,0 +1,241 @@
package androidx.appcompat.view.menu;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import f.AbstractC0336a;
import l.AbstractC0425c;
import l.C0424b;
import l.InterfaceC0434l;
import l.m;
import l.o;
import l.z;
import m.InterfaceC0474m;
import m.W;
import m.W0;
/* loaded from: classes.dex */
public class ActionMenuItemView extends W implements z, View.OnClickListener, InterfaceC0474m {
/* renamed from: g, reason: collision with root package name */
public o f2336g;
public CharSequence h;
public Drawable i;
/* renamed from: j, reason: collision with root package name */
public InterfaceC0434l f2337j;
/* renamed from: k, reason: collision with root package name */
public C0424b f2338k;
/* renamed from: l, reason: collision with root package name */
public AbstractC0425c f2339l;
/* renamed from: m, reason: collision with root package name */
public boolean f2340m;
/* renamed from: n, reason: collision with root package name */
public boolean f2341n;
/* renamed from: o, reason: collision with root package name */
public final int f2342o;
public int p;
/* renamed from: q, reason: collision with root package name */
public final int f2343q;
public ActionMenuItemView(Context context, AttributeSet attributeSet) {
super(context, attributeSet, 0);
Resources resources = context.getResources();
this.f2340m = h();
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6424c, 0, 0);
this.f2342o = obtainStyledAttributes.getDimensionPixelSize(0, 0);
obtainStyledAttributes.recycle();
this.f2343q = (int) ((resources.getDisplayMetrics().density * 32.0f) + 0.5f);
setOnClickListener(this);
this.p = -1;
setSaveEnabled(false);
}
@Override // m.InterfaceC0474m
public final boolean a() {
return !TextUtils.isEmpty(getText());
}
@Override // l.z
public final void b(o oVar) {
this.f2336g = oVar;
setIcon(oVar.getIcon());
setTitle(oVar.getTitleCondensed());
setId(oVar.f7268a);
setVisibility(oVar.isVisible() ? 0 : 8);
setEnabled(oVar.isEnabled());
if (oVar.hasSubMenu() && this.f2338k == null) {
this.f2338k = new C0424b(this);
}
}
@Override // m.InterfaceC0474m
public final boolean c() {
return !TextUtils.isEmpty(getText()) && this.f2336g.getIcon() == null;
}
@Override // android.widget.TextView, android.view.View
public CharSequence getAccessibilityClassName() {
return Button.class.getName();
}
@Override // l.z
public o getItemData() {
return this.f2336g;
}
public final boolean h() {
Configuration configuration = getContext().getResources().getConfiguration();
int i = configuration.screenWidthDp;
int i4 = configuration.screenHeightDp;
if (i < 480) {
return (i >= 640 && i4 >= 480) || configuration.orientation == 2;
}
return true;
}
public final void i() {
boolean z3 = true;
boolean z4 = !TextUtils.isEmpty(this.h);
if (this.i != null && ((this.f2336g.f7289y & 4) != 4 || (!this.f2340m && !this.f2341n))) {
z3 = false;
}
boolean z5 = z4 & z3;
setText(z5 ? this.h : null);
CharSequence charSequence = this.f2336g.f7281q;
if (TextUtils.isEmpty(charSequence)) {
setContentDescription(z5 ? null : this.f2336g.f7272e);
} else {
setContentDescription(charSequence);
}
CharSequence charSequence2 = this.f2336g.f7282r;
if (TextUtils.isEmpty(charSequence2)) {
W0.a(this, z5 ? null : this.f2336g.f7272e);
} else {
W0.a(this, charSequence2);
}
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
InterfaceC0434l interfaceC0434l = this.f2337j;
if (interfaceC0434l != null) {
interfaceC0434l.c(this.f2336g);
}
}
@Override // android.widget.TextView, android.view.View
public final void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
this.f2340m = h();
i();
}
@Override // m.W, android.widget.TextView, android.view.View
public final void onMeasure(int i, int i4) {
int i5;
boolean isEmpty = TextUtils.isEmpty(getText());
if (!isEmpty && (i5 = this.p) >= 0) {
super.setPadding(i5, getPaddingTop(), getPaddingRight(), getPaddingBottom());
}
super.onMeasure(i, i4);
int mode = View.MeasureSpec.getMode(i);
int size = View.MeasureSpec.getSize(i);
int measuredWidth = getMeasuredWidth();
int i6 = this.f2342o;
int min = mode == Integer.MIN_VALUE ? Math.min(size, i6) : i6;
if (mode != 1073741824 && i6 > 0 && measuredWidth < min) {
super.onMeasure(View.MeasureSpec.makeMeasureSpec(min, 1073741824), i4);
}
if (!isEmpty || this.i == null) {
return;
}
super.setPadding((getMeasuredWidth() - this.i.getBounds().width()) / 2, getPaddingTop(), getPaddingRight(), getPaddingBottom());
}
@Override // android.widget.TextView, android.view.View
public final void onRestoreInstanceState(Parcelable parcelable) {
super.onRestoreInstanceState(null);
}
@Override // android.widget.TextView, android.view.View
public final boolean onTouchEvent(MotionEvent motionEvent) {
C0424b c0424b;
if (this.f2336g.hasSubMenu() && (c0424b = this.f2338k) != null && c0424b.onTouch(this, motionEvent)) {
return true;
}
return super.onTouchEvent(motionEvent);
}
public void setCheckable(boolean z3) {
}
public void setChecked(boolean z3) {
}
public void setExpandedFormat(boolean z3) {
if (this.f2341n != z3) {
this.f2341n = z3;
o oVar = this.f2336g;
if (oVar != null) {
m mVar = oVar.f7279n;
mVar.f7249k = true;
mVar.p(true);
}
}
}
public void setIcon(Drawable drawable) {
this.i = drawable;
if (drawable != null) {
int intrinsicWidth = drawable.getIntrinsicWidth();
int intrinsicHeight = drawable.getIntrinsicHeight();
int i = this.f2343q;
if (intrinsicWidth > i) {
intrinsicHeight = (int) (intrinsicHeight * (i / intrinsicWidth));
intrinsicWidth = i;
}
if (intrinsicHeight > i) {
intrinsicWidth = (int) (intrinsicWidth * (i / intrinsicHeight));
} else {
i = intrinsicHeight;
}
drawable.setBounds(0, 0, intrinsicWidth, i);
}
setCompoundDrawables(drawable, null, null, null);
i();
}
public void setItemInvoker(InterfaceC0434l interfaceC0434l) {
this.f2337j = interfaceC0434l;
}
@Override // android.widget.TextView, android.view.View
public final void setPadding(int i, int i4, int i5, int i6) {
this.p = i;
super.setPadding(i, i4, i5, i6);
}
public void setPopupCallback(AbstractC0425c abstractC0425c) {
this.f2339l = abstractC0425c;
}
public void setTitle(CharSequence charSequence) {
this.h = charSequence;
i();
}
}

View File

@@ -0,0 +1,63 @@
package androidx.appcompat.view.menu;
import R0.h;
import android.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import l.InterfaceC0418A;
import l.InterfaceC0434l;
import l.m;
import l.o;
/* loaded from: classes.dex */
public final class ExpandedMenuView extends ListView implements InterfaceC0434l, InterfaceC0418A, AdapterView.OnItemClickListener {
/* renamed from: b, reason: collision with root package name */
public static final int[] f2344b = {R.attr.background, R.attr.divider};
/* renamed from: a, reason: collision with root package name */
public m f2345a;
public ExpandedMenuView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
setOnItemClickListener(this);
h l4 = h.l(context, attributeSet, f2344b, R.attr.listViewStyle);
TypedArray typedArray = (TypedArray) l4.f1414b;
if (typedArray.hasValue(0)) {
setBackgroundDrawable(l4.f(0));
}
if (typedArray.hasValue(1)) {
setDivider(l4.f(1));
}
l4.n();
}
@Override // l.InterfaceC0418A
public final void a(m mVar) {
this.f2345a = mVar;
}
@Override // l.InterfaceC0434l
public final boolean c(o oVar) {
return this.f2345a.q(oVar, null, 0);
}
public int getWindowAnimations() {
return 0;
}
@Override // android.widget.ListView, android.widget.AbsListView, android.widget.AdapterView, android.view.ViewGroup, android.view.View
public final void onDetachedFromWindow() {
super.onDetachedFromWindow();
setChildrenDrawingCacheEnabled(false);
}
@Override // android.widget.AdapterView.OnItemClickListener
public final void onItemClick(AdapterView adapterView, View view, int i, long j4) {
c((o) getAdapter().getItem(i));
}
}

View File

@@ -0,0 +1,310 @@
package androidx.appcompat.view.menu;
import R0.h;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.TextView;
import com.adif.elcanomovil.R;
import f.AbstractC0336a;
import l.o;
import l.z;
/* loaded from: classes.dex */
public class ListMenuItemView extends LinearLayout implements z, AbsListView.SelectionBoundsAdjuster {
/* renamed from: a, reason: collision with root package name */
public o f2346a;
/* renamed from: b, reason: collision with root package name */
public ImageView f2347b;
/* renamed from: c, reason: collision with root package name */
public RadioButton f2348c;
/* renamed from: d, reason: collision with root package name */
public TextView f2349d;
/* renamed from: e, reason: collision with root package name */
public CheckBox f2350e;
/* renamed from: f, reason: collision with root package name */
public TextView f2351f;
/* renamed from: g, reason: collision with root package name */
public ImageView f2352g;
public ImageView h;
public LinearLayout i;
/* renamed from: j, reason: collision with root package name */
public final Drawable f2353j;
/* renamed from: k, reason: collision with root package name */
public final int f2354k;
/* renamed from: l, reason: collision with root package name */
public final Context f2355l;
/* renamed from: m, reason: collision with root package name */
public boolean f2356m;
/* renamed from: n, reason: collision with root package name */
public final Drawable f2357n;
/* renamed from: o, reason: collision with root package name */
public final boolean f2358o;
public LayoutInflater p;
/* renamed from: q, reason: collision with root package name */
public boolean f2359q;
public ListMenuItemView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
h l4 = h.l(getContext(), attributeSet, AbstractC0336a.f6436r, R.attr.listMenuViewStyle);
this.f2353j = l4.f(5);
TypedArray typedArray = (TypedArray) l4.f1414b;
this.f2354k = typedArray.getResourceId(1, -1);
this.f2356m = typedArray.getBoolean(7, false);
this.f2355l = context;
this.f2357n = l4.f(8);
TypedArray obtainStyledAttributes = context.getTheme().obtainStyledAttributes(null, new int[]{android.R.attr.divider}, R.attr.dropDownListViewStyle, 0);
this.f2358o = obtainStyledAttributes.hasValue(0);
l4.n();
obtainStyledAttributes.recycle();
}
private LayoutInflater getInflater() {
if (this.p == null) {
this.p = LayoutInflater.from(getContext());
}
return this.p;
}
private void setSubMenuArrowVisible(boolean z3) {
ImageView imageView = this.f2352g;
if (imageView != null) {
imageView.setVisibility(z3 ? 0 : 8);
}
}
@Override // android.widget.AbsListView.SelectionBoundsAdjuster
public final void adjustListItemSelectionBounds(Rect rect) {
ImageView imageView = this.h;
if (imageView == null || imageView.getVisibility() != 0) {
return;
}
LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) this.h.getLayoutParams();
rect.top = this.h.getHeight() + layoutParams.topMargin + layoutParams.bottomMargin + rect.top;
}
/* JADX WARN: Code restructure failed: missing block: B:20:0x005b, code lost:
if (r0 == false) goto L28;
*/
/* JADX WARN: Removed duplicated region for block: B:13:0x003f */
/* JADX WARN: Removed duplicated region for block: B:22:0x0061 */
/* JADX WARN: Removed duplicated region for block: B:49:0x0125 */
@Override // l.z
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void b(l.o r11) {
/*
Method dump skipped, instructions count: 325
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.view.menu.ListMenuItemView.b(l.o):void");
}
@Override // l.z
public o getItemData() {
return this.f2346a;
}
@Override // android.view.View
public final void onFinishInflate() {
super.onFinishInflate();
setBackground(this.f2353j);
TextView textView = (TextView) findViewById(R.id.title);
this.f2349d = textView;
int i = this.f2354k;
if (i != -1) {
textView.setTextAppearance(this.f2355l, i);
}
this.f2351f = (TextView) findViewById(R.id.shortcut);
ImageView imageView = (ImageView) findViewById(R.id.submenuarrow);
this.f2352g = imageView;
if (imageView != null) {
imageView.setImageDrawable(this.f2357n);
}
this.h = (ImageView) findViewById(R.id.group_divider);
this.i = (LinearLayout) findViewById(R.id.content);
}
@Override // android.widget.LinearLayout, android.view.View
public final void onMeasure(int i, int i4) {
if (this.f2347b != null && this.f2356m) {
ViewGroup.LayoutParams layoutParams = getLayoutParams();
LinearLayout.LayoutParams layoutParams2 = (LinearLayout.LayoutParams) this.f2347b.getLayoutParams();
int i5 = layoutParams.height;
if (i5 > 0 && layoutParams2.width <= 0) {
layoutParams2.width = i5;
}
}
super.onMeasure(i, i4);
}
public void setCheckable(boolean z3) {
CompoundButton compoundButton;
View view;
if (!z3 && this.f2348c == null && this.f2350e == null) {
return;
}
if ((this.f2346a.f7288x & 4) != 0) {
if (this.f2348c == null) {
RadioButton radioButton = (RadioButton) getInflater().inflate(R.layout.abc_list_menu_item_radio, (ViewGroup) this, false);
this.f2348c = radioButton;
LinearLayout linearLayout = this.i;
if (linearLayout != null) {
linearLayout.addView(radioButton, -1);
} else {
addView(radioButton, -1);
}
}
compoundButton = this.f2348c;
view = this.f2350e;
} else {
if (this.f2350e == null) {
CheckBox checkBox = (CheckBox) getInflater().inflate(R.layout.abc_list_menu_item_checkbox, (ViewGroup) this, false);
this.f2350e = checkBox;
LinearLayout linearLayout2 = this.i;
if (linearLayout2 != null) {
linearLayout2.addView(checkBox, -1);
} else {
addView(checkBox, -1);
}
}
compoundButton = this.f2350e;
view = this.f2348c;
}
if (z3) {
compoundButton.setChecked(this.f2346a.isChecked());
if (compoundButton.getVisibility() != 0) {
compoundButton.setVisibility(0);
}
if (view == null || view.getVisibility() == 8) {
return;
}
view.setVisibility(8);
return;
}
CheckBox checkBox2 = this.f2350e;
if (checkBox2 != null) {
checkBox2.setVisibility(8);
}
RadioButton radioButton2 = this.f2348c;
if (radioButton2 != null) {
radioButton2.setVisibility(8);
}
}
public void setChecked(boolean z3) {
CompoundButton compoundButton;
if ((this.f2346a.f7288x & 4) != 0) {
if (this.f2348c == null) {
RadioButton radioButton = (RadioButton) getInflater().inflate(R.layout.abc_list_menu_item_radio, (ViewGroup) this, false);
this.f2348c = radioButton;
LinearLayout linearLayout = this.i;
if (linearLayout != null) {
linearLayout.addView(radioButton, -1);
} else {
addView(radioButton, -1);
}
}
compoundButton = this.f2348c;
} else {
if (this.f2350e == null) {
CheckBox checkBox = (CheckBox) getInflater().inflate(R.layout.abc_list_menu_item_checkbox, (ViewGroup) this, false);
this.f2350e = checkBox;
LinearLayout linearLayout2 = this.i;
if (linearLayout2 != null) {
linearLayout2.addView(checkBox, -1);
} else {
addView(checkBox, -1);
}
}
compoundButton = this.f2350e;
}
compoundButton.setChecked(z3);
}
public void setForceShowIcon(boolean z3) {
this.f2359q = z3;
this.f2356m = z3;
}
public void setGroupDividerEnabled(boolean z3) {
ImageView imageView = this.h;
if (imageView != null) {
imageView.setVisibility((this.f2358o || !z3) ? 8 : 0);
}
}
public void setIcon(Drawable drawable) {
this.f2346a.f7279n.getClass();
boolean z3 = this.f2359q;
if (z3 || this.f2356m) {
ImageView imageView = this.f2347b;
if (imageView == null && drawable == null && !this.f2356m) {
return;
}
if (imageView == null) {
ImageView imageView2 = (ImageView) getInflater().inflate(R.layout.abc_list_menu_item_icon, (ViewGroup) this, false);
this.f2347b = imageView2;
LinearLayout linearLayout = this.i;
if (linearLayout != null) {
linearLayout.addView(imageView2, 0);
} else {
addView(imageView2, 0);
}
}
if (drawable == null && !this.f2356m) {
this.f2347b.setVisibility(8);
return;
}
ImageView imageView3 = this.f2347b;
if (!z3) {
drawable = null;
}
imageView3.setImageDrawable(drawable);
if (this.f2347b.getVisibility() != 0) {
this.f2347b.setVisibility(0);
}
}
}
public void setTitle(CharSequence charSequence) {
if (charSequence == null) {
if (this.f2349d.getVisibility() != 8) {
this.f2349d.setVisibility(8);
}
} else {
this.f2349d.setText(charSequence);
if (this.f2349d.getVisibility() != 0) {
this.f2349d.setVisibility(0);
}
}
}
}

View File

@@ -0,0 +1,289 @@
package androidx.appcompat.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.ActionMode;
import android.view.MotionEvent;
import android.view.View;
import android.widget.FrameLayout;
import com.adif.elcanomovil.R;
import f.AbstractC0336a;
import kotlin.jvm.internal.IntCompanionObject;
import m.C0452b;
import m.H0;
/* loaded from: classes.dex */
public class ActionBarContainer extends FrameLayout {
/* renamed from: a, reason: collision with root package name */
public boolean f2360a;
/* renamed from: b, reason: collision with root package name */
public View f2361b;
/* renamed from: c, reason: collision with root package name */
public View f2362c;
/* renamed from: d, reason: collision with root package name */
public Drawable f2363d;
/* renamed from: e, reason: collision with root package name */
public Drawable f2364e;
/* renamed from: f, reason: collision with root package name */
public Drawable f2365f;
/* renamed from: g, reason: collision with root package name */
public final boolean f2366g;
public boolean h;
public final int i;
public ActionBarContainer(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
setBackground(new C0452b(this));
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6422a);
boolean z3 = false;
this.f2363d = obtainStyledAttributes.getDrawable(0);
this.f2364e = obtainStyledAttributes.getDrawable(2);
this.i = obtainStyledAttributes.getDimensionPixelSize(13, -1);
if (getId() == R.id.split_action_bar) {
this.f2366g = true;
this.f2365f = obtainStyledAttributes.getDrawable(1);
}
obtainStyledAttributes.recycle();
if (!this.f2366g ? !(this.f2363d != null || this.f2364e != null) : this.f2365f == null) {
z3 = true;
}
setWillNotDraw(z3);
}
@Override // android.view.ViewGroup, android.view.View
public final void drawableStateChanged() {
super.drawableStateChanged();
Drawable drawable = this.f2363d;
if (drawable != null && drawable.isStateful()) {
this.f2363d.setState(getDrawableState());
}
Drawable drawable2 = this.f2364e;
if (drawable2 != null && drawable2.isStateful()) {
this.f2364e.setState(getDrawableState());
}
Drawable drawable3 = this.f2365f;
if (drawable3 == null || !drawable3.isStateful()) {
return;
}
this.f2365f.setState(getDrawableState());
}
public View getTabContainer() {
return null;
}
@Override // android.view.ViewGroup, android.view.View
public final void jumpDrawablesToCurrentState() {
super.jumpDrawablesToCurrentState();
Drawable drawable = this.f2363d;
if (drawable != null) {
drawable.jumpToCurrentState();
}
Drawable drawable2 = this.f2364e;
if (drawable2 != null) {
drawable2.jumpToCurrentState();
}
Drawable drawable3 = this.f2365f;
if (drawable3 != null) {
drawable3.jumpToCurrentState();
}
}
@Override // android.view.View
public final void onFinishInflate() {
super.onFinishInflate();
this.f2361b = findViewById(R.id.action_bar);
this.f2362c = findViewById(R.id.action_context_bar);
}
@Override // android.view.View
public final boolean onHoverEvent(MotionEvent motionEvent) {
super.onHoverEvent(motionEvent);
return true;
}
@Override // android.view.ViewGroup
public final boolean onInterceptTouchEvent(MotionEvent motionEvent) {
return this.f2360a || super.onInterceptTouchEvent(motionEvent);
}
@Override // android.widget.FrameLayout, android.view.ViewGroup, android.view.View
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
super.onLayout(z3, i, i4, i5, i6);
boolean z4 = true;
if (this.f2366g) {
Drawable drawable = this.f2365f;
if (drawable != null) {
drawable.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
} else {
z4 = false;
}
} else {
if (this.f2363d == null) {
z4 = false;
} else if (this.f2361b.getVisibility() == 0) {
this.f2363d.setBounds(this.f2361b.getLeft(), this.f2361b.getTop(), this.f2361b.getRight(), this.f2361b.getBottom());
} else {
View view = this.f2362c;
if (view == null || view.getVisibility() != 0) {
this.f2363d.setBounds(0, 0, 0, 0);
} else {
this.f2363d.setBounds(this.f2362c.getLeft(), this.f2362c.getTop(), this.f2362c.getRight(), this.f2362c.getBottom());
}
}
this.h = false;
}
if (z4) {
invalidate();
}
}
@Override // android.widget.FrameLayout, android.view.View
public final void onMeasure(int i, int i4) {
int i5;
if (this.f2361b == null && View.MeasureSpec.getMode(i4) == Integer.MIN_VALUE && (i5 = this.i) >= 0) {
i4 = View.MeasureSpec.makeMeasureSpec(Math.min(i5, View.MeasureSpec.getSize(i4)), IntCompanionObject.MIN_VALUE);
}
super.onMeasure(i, i4);
if (this.f2361b == null) {
return;
}
View.MeasureSpec.getMode(i4);
}
@Override // android.view.View
public final boolean onTouchEvent(MotionEvent motionEvent) {
super.onTouchEvent(motionEvent);
return true;
}
public void setPrimaryBackground(Drawable drawable) {
Drawable drawable2 = this.f2363d;
if (drawable2 != null) {
drawable2.setCallback(null);
unscheduleDrawable(this.f2363d);
}
this.f2363d = drawable;
if (drawable != null) {
drawable.setCallback(this);
View view = this.f2361b;
if (view != null) {
this.f2363d.setBounds(view.getLeft(), this.f2361b.getTop(), this.f2361b.getRight(), this.f2361b.getBottom());
}
}
boolean z3 = false;
if (!this.f2366g ? !(this.f2363d != null || this.f2364e != null) : this.f2365f == null) {
z3 = true;
}
setWillNotDraw(z3);
invalidate();
invalidateOutline();
}
public void setSplitBackground(Drawable drawable) {
Drawable drawable2;
Drawable drawable3 = this.f2365f;
if (drawable3 != null) {
drawable3.setCallback(null);
unscheduleDrawable(this.f2365f);
}
this.f2365f = drawable;
boolean z3 = this.f2366g;
boolean z4 = false;
if (drawable != null) {
drawable.setCallback(this);
if (z3 && (drawable2 = this.f2365f) != null) {
drawable2.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight());
}
}
if (!z3 ? !(this.f2363d != null || this.f2364e != null) : this.f2365f == null) {
z4 = true;
}
setWillNotDraw(z4);
invalidate();
invalidateOutline();
}
public void setStackedBackground(Drawable drawable) {
Drawable drawable2 = this.f2364e;
if (drawable2 != null) {
drawable2.setCallback(null);
unscheduleDrawable(this.f2364e);
}
this.f2364e = drawable;
if (drawable != null) {
drawable.setCallback(this);
if (this.h && this.f2364e != null) {
throw null;
}
}
boolean z3 = false;
if (!this.f2366g ? !(this.f2363d != null || this.f2364e != null) : this.f2365f == null) {
z3 = true;
}
setWillNotDraw(z3);
invalidate();
invalidateOutline();
}
public void setTabContainer(H0 h02) {
}
public void setTransitioning(boolean z3) {
this.f2360a = z3;
setDescendantFocusability(z3 ? 393216 : 262144);
}
@Override // android.view.View
public void setVisibility(int i) {
super.setVisibility(i);
boolean z3 = i == 0;
Drawable drawable = this.f2363d;
if (drawable != null) {
drawable.setVisible(z3, false);
}
Drawable drawable2 = this.f2364e;
if (drawable2 != null) {
drawable2.setVisible(z3, false);
}
Drawable drawable3 = this.f2365f;
if (drawable3 != null) {
drawable3.setVisible(z3, false);
}
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final ActionMode startActionModeForChild(View view, ActionMode.Callback callback) {
return null;
}
@Override // android.view.View
public final boolean verifyDrawable(Drawable drawable) {
Drawable drawable2 = this.f2363d;
boolean z3 = this.f2366g;
if (drawable == drawable2 && !z3) {
return true;
}
if (drawable == this.f2364e && this.h) {
return true;
}
return (drawable == this.f2365f && z3) || super.verifyDrawable(drawable);
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final ActionMode startActionModeForChild(View view, ActionMode.Callback callback, int i) {
if (i != 0) {
return super.startActionModeForChild(view, callback, i);
}
return null;
}
}

View File

@@ -0,0 +1,487 @@
package androidx.appcompat.widget;
import O.X;
import O.h0;
import a.AbstractC0106b;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.TypedArray;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.adif.elcanomovil.R;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.datepicker.j;
import f.AbstractC0336a;
import k.AbstractC0405b;
import kotlin.jvm.internal.IntCompanionObject;
import l.InterfaceC0418A;
import l.m;
import m.C0450a;
import m.C0462g;
import m.C0472l;
/* loaded from: classes.dex */
public class ActionBarContextView extends ViewGroup {
/* renamed from: a, reason: collision with root package name */
public final C0450a f2367a;
/* renamed from: b, reason: collision with root package name */
public final Context f2368b;
/* renamed from: c, reason: collision with root package name */
public ActionMenuView f2369c;
/* renamed from: d, reason: collision with root package name */
public C0472l f2370d;
/* renamed from: e, reason: collision with root package name */
public int f2371e;
/* renamed from: f, reason: collision with root package name */
public h0 f2372f;
/* renamed from: g, reason: collision with root package name */
public boolean f2373g;
public boolean h;
public CharSequence i;
/* renamed from: j, reason: collision with root package name */
public CharSequence f2374j;
/* renamed from: k, reason: collision with root package name */
public View f2375k;
/* renamed from: l, reason: collision with root package name */
public View f2376l;
/* renamed from: m, reason: collision with root package name */
public View f2377m;
/* renamed from: n, reason: collision with root package name */
public LinearLayout f2378n;
/* renamed from: o, reason: collision with root package name */
public TextView f2379o;
public TextView p;
/* renamed from: q, reason: collision with root package name */
public final int f2380q;
/* renamed from: r, reason: collision with root package name */
public final int f2381r;
/* renamed from: s, reason: collision with root package name */
public boolean f2382s;
/* renamed from: t, reason: collision with root package name */
public final int f2383t;
public ActionBarContextView(Context context, AttributeSet attributeSet) {
super(context, attributeSet, R.attr.actionModeStyle);
int resourceId;
this.f2367a = new C0450a(this);
TypedValue typedValue = new TypedValue();
if (!context.getTheme().resolveAttribute(R.attr.actionBarPopupTheme, typedValue, true) || typedValue.resourceId == 0) {
this.f2368b = context;
} else {
this.f2368b = new ContextThemeWrapper(context, typedValue.resourceId);
}
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6425d, R.attr.actionModeStyle, 0);
setBackground((!obtainStyledAttributes.hasValue(0) || (resourceId = obtainStyledAttributes.getResourceId(0, 0)) == 0) ? obtainStyledAttributes.getDrawable(0) : AbstractC0106b.m(context, resourceId));
this.f2380q = obtainStyledAttributes.getResourceId(5, 0);
this.f2381r = obtainStyledAttributes.getResourceId(4, 0);
this.f2371e = obtainStyledAttributes.getLayoutDimension(3, 0);
this.f2383t = obtainStyledAttributes.getResourceId(2, R.layout.abc_action_mode_close_item_material);
obtainStyledAttributes.recycle();
}
public static int f(View view, int i, int i4) {
view.measure(View.MeasureSpec.makeMeasureSpec(i, IntCompanionObject.MIN_VALUE), i4);
return Math.max(0, i - view.getMeasuredWidth());
}
public static int g(int i, int i4, int i5, View view, boolean z3) {
int measuredWidth = view.getMeasuredWidth();
int measuredHeight = view.getMeasuredHeight();
int i6 = ((i5 - measuredHeight) / 2) + i4;
if (z3) {
view.layout(i - measuredWidth, i6, i, measuredHeight + i6);
} else {
view.layout(i, i6, i + measuredWidth, measuredHeight + i6);
}
return z3 ? -measuredWidth : measuredWidth;
}
public final void c(AbstractC0405b abstractC0405b) {
View view = this.f2375k;
if (view == null) {
View inflate = LayoutInflater.from(getContext()).inflate(this.f2383t, (ViewGroup) this, false);
this.f2375k = inflate;
addView(inflate);
} else if (view.getParent() == null) {
addView(this.f2375k);
}
View findViewById = this.f2375k.findViewById(R.id.action_mode_close_button);
this.f2376l = findViewById;
findViewById.setOnClickListener(new j(abstractC0405b, 2));
m d4 = abstractC0405b.d();
C0472l c0472l = this.f2370d;
if (c0472l != null) {
c0472l.c();
C0462g c0462g = c0472l.f7693u;
if (c0462g != null && c0462g.b()) {
c0462g.i.dismiss();
}
}
C0472l c0472l2 = new C0472l(getContext());
this.f2370d = c0472l2;
c0472l2.f7686m = true;
c0472l2.f7687n = true;
ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(-2, -1);
d4.b(this.f2370d, this.f2368b);
C0472l c0472l3 = this.f2370d;
InterfaceC0418A interfaceC0418A = c0472l3.h;
if (interfaceC0418A == null) {
InterfaceC0418A interfaceC0418A2 = (InterfaceC0418A) c0472l3.f7679d.inflate(c0472l3.f7681f, (ViewGroup) this, false);
c0472l3.h = interfaceC0418A2;
interfaceC0418A2.a(c0472l3.f7678c);
c0472l3.h(true);
}
InterfaceC0418A interfaceC0418A3 = c0472l3.h;
if (interfaceC0418A != interfaceC0418A3) {
((ActionMenuView) interfaceC0418A3).setPresenter(c0472l3);
}
ActionMenuView actionMenuView = (ActionMenuView) interfaceC0418A3;
this.f2369c = actionMenuView;
actionMenuView.setBackground(null);
addView(this.f2369c, layoutParams);
}
public final void d() {
if (this.f2378n == null) {
LayoutInflater.from(getContext()).inflate(R.layout.abc_action_bar_title_item, this);
LinearLayout linearLayout = (LinearLayout) getChildAt(getChildCount() - 1);
this.f2378n = linearLayout;
this.f2379o = (TextView) linearLayout.findViewById(R.id.action_bar_title);
this.p = (TextView) this.f2378n.findViewById(R.id.action_bar_subtitle);
int i = this.f2380q;
if (i != 0) {
this.f2379o.setTextAppearance(getContext(), i);
}
int i4 = this.f2381r;
if (i4 != 0) {
this.p.setTextAppearance(getContext(), i4);
}
}
this.f2379o.setText(this.i);
this.p.setText(this.f2374j);
boolean isEmpty = TextUtils.isEmpty(this.i);
boolean isEmpty2 = TextUtils.isEmpty(this.f2374j);
this.p.setVisibility(!isEmpty2 ? 0 : 8);
this.f2378n.setVisibility((isEmpty && isEmpty2) ? 8 : 0);
if (this.f2378n.getParent() == null) {
addView(this.f2378n);
}
}
public final void e() {
removeAllViews();
this.f2377m = null;
this.f2369c = null;
this.f2370d = null;
View view = this.f2376l;
if (view != null) {
view.setOnClickListener(null);
}
}
@Override // android.view.ViewGroup
public final ViewGroup.LayoutParams generateDefaultLayoutParams() {
return new ViewGroup.MarginLayoutParams(-1, -2);
}
@Override // android.view.ViewGroup
public final ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
return new ViewGroup.MarginLayoutParams(getContext(), attributeSet);
}
public int getAnimatedVisibility() {
return this.f2372f != null ? this.f2367a.f7645b : getVisibility();
}
public int getContentHeight() {
return this.f2371e;
}
public CharSequence getSubtitle() {
return this.f2374j;
}
public CharSequence getTitle() {
return this.i;
}
@Override // android.view.View
/* renamed from: h, reason: merged with bridge method [inline-methods] */
public final void setVisibility(int i) {
if (i != getVisibility()) {
h0 h0Var = this.f2372f;
if (h0Var != null) {
h0Var.b();
}
super.setVisibility(i);
}
}
public final h0 i(int i, long j4) {
h0 h0Var = this.f2372f;
if (h0Var != null) {
h0Var.b();
}
C0450a c0450a = this.f2367a;
if (i != 0) {
h0 a2 = X.a(this);
a2.a(BitmapDescriptorFactory.HUE_RED);
a2.c(j4);
c0450a.f7646c.f2372f = a2;
c0450a.f7645b = i;
a2.d(c0450a);
return a2;
}
if (getVisibility() != 0) {
setAlpha(BitmapDescriptorFactory.HUE_RED);
}
h0 a4 = X.a(this);
a4.a(1.0f);
a4.c(j4);
c0450a.f7646c.f2372f = a4;
c0450a.f7645b = i;
a4.d(c0450a);
return a4;
}
@Override // android.view.View
public final void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
TypedArray obtainStyledAttributes = getContext().obtainStyledAttributes(null, AbstractC0336a.f6422a, R.attr.actionBarStyle, 0);
setContentHeight(obtainStyledAttributes.getLayoutDimension(13, 0));
obtainStyledAttributes.recycle();
C0472l c0472l = this.f2370d;
if (c0472l != null) {
Configuration configuration2 = c0472l.f7677b.getResources().getConfiguration();
int i = configuration2.screenWidthDp;
int i4 = configuration2.screenHeightDp;
c0472l.f7689q = (configuration2.smallestScreenWidthDp > 600 || i > 600 || (i > 960 && i4 > 720) || (i > 720 && i4 > 960)) ? 5 : (i >= 500 || (i > 640 && i4 > 480) || (i > 480 && i4 > 640)) ? 4 : i >= 360 ? 3 : 2;
m mVar = c0472l.f7678c;
if (mVar != null) {
mVar.p(true);
}
}
}
@Override // android.view.ViewGroup, android.view.View
public final void onDetachedFromWindow() {
super.onDetachedFromWindow();
C0472l c0472l = this.f2370d;
if (c0472l != null) {
c0472l.c();
C0462g c0462g = this.f2370d.f7693u;
if (c0462g == null || !c0462g.b()) {
return;
}
c0462g.i.dismiss();
}
}
@Override // android.view.View
public final boolean onHoverEvent(MotionEvent motionEvent) {
int actionMasked = motionEvent.getActionMasked();
if (actionMasked == 9) {
this.h = false;
}
if (!this.h) {
boolean onHoverEvent = super.onHoverEvent(motionEvent);
if (actionMasked == 9 && !onHoverEvent) {
this.h = true;
}
}
if (actionMasked != 10 && actionMasked != 3) {
return true;
}
this.h = false;
return true;
}
@Override // android.view.ViewGroup, android.view.View
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
boolean z4 = getLayoutDirection() == 1;
int paddingRight = z4 ? (i5 - i) - getPaddingRight() : getPaddingLeft();
int paddingTop = getPaddingTop();
int paddingTop2 = ((i6 - i4) - getPaddingTop()) - getPaddingBottom();
View view = this.f2375k;
if (view != null && view.getVisibility() != 8) {
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) this.f2375k.getLayoutParams();
int i7 = z4 ? marginLayoutParams.rightMargin : marginLayoutParams.leftMargin;
int i8 = z4 ? marginLayoutParams.leftMargin : marginLayoutParams.rightMargin;
int i9 = z4 ? paddingRight - i7 : paddingRight + i7;
int g4 = g(i9, paddingTop, paddingTop2, this.f2375k, z4) + i9;
paddingRight = z4 ? g4 - i8 : g4 + i8;
}
LinearLayout linearLayout = this.f2378n;
if (linearLayout != null && this.f2377m == null && linearLayout.getVisibility() != 8) {
paddingRight += g(paddingRight, paddingTop, paddingTop2, this.f2378n, z4);
}
View view2 = this.f2377m;
if (view2 != null) {
g(paddingRight, paddingTop, paddingTop2, view2, z4);
}
int paddingLeft = z4 ? getPaddingLeft() : (i5 - i) - getPaddingRight();
ActionMenuView actionMenuView = this.f2369c;
if (actionMenuView != null) {
g(paddingLeft, paddingTop, paddingTop2, actionMenuView, !z4);
}
}
@Override // android.view.View
public final void onMeasure(int i, int i4) {
if (View.MeasureSpec.getMode(i) != 1073741824) {
throw new IllegalStateException(getClass().getSimpleName().concat(" can only be used with android:layout_width=\"match_parent\" (or fill_parent)"));
}
if (View.MeasureSpec.getMode(i4) == 0) {
throw new IllegalStateException(getClass().getSimpleName().concat(" can only be used with android:layout_height=\"wrap_content\""));
}
int size = View.MeasureSpec.getSize(i);
int i5 = this.f2371e;
if (i5 <= 0) {
i5 = View.MeasureSpec.getSize(i4);
}
int paddingBottom = getPaddingBottom() + getPaddingTop();
int paddingLeft = (size - getPaddingLeft()) - getPaddingRight();
int i6 = i5 - paddingBottom;
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(i6, IntCompanionObject.MIN_VALUE);
View view = this.f2375k;
if (view != null) {
int f2 = f(view, paddingLeft, makeMeasureSpec);
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) this.f2375k.getLayoutParams();
paddingLeft = f2 - (marginLayoutParams.leftMargin + marginLayoutParams.rightMargin);
}
ActionMenuView actionMenuView = this.f2369c;
if (actionMenuView != null && actionMenuView.getParent() == this) {
paddingLeft = f(this.f2369c, paddingLeft, makeMeasureSpec);
}
LinearLayout linearLayout = this.f2378n;
if (linearLayout != null && this.f2377m == null) {
if (this.f2382s) {
this.f2378n.measure(View.MeasureSpec.makeMeasureSpec(0, 0), makeMeasureSpec);
int measuredWidth = this.f2378n.getMeasuredWidth();
boolean z3 = measuredWidth <= paddingLeft;
if (z3) {
paddingLeft -= measuredWidth;
}
this.f2378n.setVisibility(z3 ? 0 : 8);
} else {
paddingLeft = f(linearLayout, paddingLeft, makeMeasureSpec);
}
}
View view2 = this.f2377m;
if (view2 != null) {
ViewGroup.LayoutParams layoutParams = view2.getLayoutParams();
int i7 = layoutParams.width;
int i8 = i7 != -2 ? 1073741824 : Integer.MIN_VALUE;
if (i7 >= 0) {
paddingLeft = Math.min(i7, paddingLeft);
}
int i9 = layoutParams.height;
int i10 = i9 == -2 ? Integer.MIN_VALUE : 1073741824;
if (i9 >= 0) {
i6 = Math.min(i9, i6);
}
this.f2377m.measure(View.MeasureSpec.makeMeasureSpec(paddingLeft, i8), View.MeasureSpec.makeMeasureSpec(i6, i10));
}
if (this.f2371e > 0) {
setMeasuredDimension(size, i5);
return;
}
int childCount = getChildCount();
int i11 = 0;
for (int i12 = 0; i12 < childCount; i12++) {
int measuredHeight = getChildAt(i12).getMeasuredHeight() + paddingBottom;
if (measuredHeight > i11) {
i11 = measuredHeight;
}
}
setMeasuredDimension(size, i11);
}
@Override // android.view.View
public final boolean onTouchEvent(MotionEvent motionEvent) {
int actionMasked = motionEvent.getActionMasked();
if (actionMasked == 0) {
this.f2373g = false;
}
if (!this.f2373g) {
boolean onTouchEvent = super.onTouchEvent(motionEvent);
if (actionMasked == 0 && !onTouchEvent) {
this.f2373g = true;
}
}
if (actionMasked != 1 && actionMasked != 3) {
return true;
}
this.f2373g = false;
return true;
}
public void setContentHeight(int i) {
this.f2371e = i;
}
public void setCustomView(View view) {
LinearLayout linearLayout;
View view2 = this.f2377m;
if (view2 != null) {
removeView(view2);
}
this.f2377m = view;
if (view != null && (linearLayout = this.f2378n) != null) {
removeView(linearLayout);
this.f2378n = null;
}
if (view != null) {
addView(view);
}
requestLayout();
}
public void setSubtitle(CharSequence charSequence) {
this.f2374j = charSequence;
d();
}
public void setTitle(CharSequence charSequence) {
this.i = charSequence;
d();
X.k(this, charSequence);
}
public void setTitleOptional(boolean z3) {
if (z3 != this.f2382s) {
requestLayout();
}
this.f2382s = z3;
}
@Override // android.view.ViewGroup
public final boolean shouldDelayChildPressedState() {
return false;
}
}

View File

@@ -0,0 +1,681 @@
package androidx.appcompat.widget;
import B0.q;
import G.c;
import O.B0;
import O.C0079u;
import O.D0;
import O.InterfaceC0077s;
import O.InterfaceC0078t;
import O.J;
import O.L;
import O.X;
import O.t0;
import O.u0;
import O.v0;
import a.AbstractC0106b;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewPropertyAnimator;
import android.view.Window;
import android.view.WindowInsets;
import android.widget.OverScroller;
import com.adif.elcanomovil.R;
import g.T;
import java.util.WeakHashMap;
import k.C0414k;
import kotlin.jvm.internal.IntCompanionObject;
import l.m;
import l.x;
import m.C0458e;
import m.C0460f;
import m.C0472l;
import m.InterfaceC0456d;
import m.InterfaceC0457d0;
import m.InterfaceC0459e0;
import m.Q0;
import m.RunnableC0454c;
import m.V0;
@SuppressLint({"UnknownNullness"})
/* loaded from: classes.dex */
public class ActionBarOverlayLayout extends ViewGroup implements InterfaceC0457d0, InterfaceC0077s, InterfaceC0078t {
/* renamed from: C, reason: collision with root package name */
public static final int[] f2384C = {R.attr.actionBarSize, android.R.attr.windowContentOverlay};
/* renamed from: D, reason: collision with root package name */
public static final D0 f2385D;
/* renamed from: E, reason: collision with root package name */
public static final Rect f2386E;
/* renamed from: A, reason: collision with root package name */
public final C0079u f2387A;
/* renamed from: B, reason: collision with root package name */
public final C0460f f2388B;
/* renamed from: a, reason: collision with root package name */
public int f2389a;
/* renamed from: b, reason: collision with root package name */
public int f2390b;
/* renamed from: c, reason: collision with root package name */
public ContentFrameLayout f2391c;
/* renamed from: d, reason: collision with root package name */
public ActionBarContainer f2392d;
/* renamed from: e, reason: collision with root package name */
public InterfaceC0459e0 f2393e;
/* renamed from: f, reason: collision with root package name */
public Drawable f2394f;
/* renamed from: g, reason: collision with root package name */
public boolean f2395g;
public boolean h;
public boolean i;
/* renamed from: j, reason: collision with root package name */
public boolean f2396j;
/* renamed from: k, reason: collision with root package name */
public int f2397k;
/* renamed from: l, reason: collision with root package name */
public int f2398l;
/* renamed from: m, reason: collision with root package name */
public final Rect f2399m;
/* renamed from: n, reason: collision with root package name */
public final Rect f2400n;
/* renamed from: o, reason: collision with root package name */
public final Rect f2401o;
public final Rect p;
/* renamed from: q, reason: collision with root package name */
public D0 f2402q;
/* renamed from: r, reason: collision with root package name */
public D0 f2403r;
/* renamed from: s, reason: collision with root package name */
public D0 f2404s;
/* renamed from: t, reason: collision with root package name */
public D0 f2405t;
/* renamed from: u, reason: collision with root package name */
public InterfaceC0456d f2406u;
/* renamed from: v, reason: collision with root package name */
public OverScroller f2407v;
/* renamed from: w, reason: collision with root package name */
public ViewPropertyAnimator f2408w;
/* renamed from: x, reason: collision with root package name */
public final q f2409x;
/* renamed from: y, reason: collision with root package name */
public final RunnableC0454c f2410y;
/* renamed from: z, reason: collision with root package name */
public final RunnableC0454c f2411z;
static {
v0 u0Var = Build.VERSION.SDK_INT >= 30 ? new u0() : new t0();
u0Var.f(c.b(0, 1, 0, 1));
f2385D = u0Var.b();
f2386E = new Rect();
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r3v14, types: [O.u, java.lang.Object] */
/* JADX WARN: Type inference failed for: r3v15, types: [m.f, android.view.View] */
public ActionBarOverlayLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.f2390b = 0;
this.f2399m = new Rect();
this.f2400n = new Rect();
this.f2401o = new Rect();
this.p = new Rect();
new Rect();
new Rect();
new Rect();
new Rect();
D0 d02 = D0.f1206b;
this.f2402q = d02;
this.f2403r = d02;
this.f2404s = d02;
this.f2405t = d02;
this.f2409x = new q(this, 6);
this.f2410y = new RunnableC0454c(this, 0);
this.f2411z = new RunnableC0454c(this, 1);
i(context);
this.f2387A = new Object();
?? view = new View(context);
view.setWillNotDraw(true);
this.f2388B = view;
addView(view);
}
public static boolean g(View view, Rect rect, boolean z3) {
boolean z4;
C0458e c0458e = (C0458e) view.getLayoutParams();
int i = ((ViewGroup.MarginLayoutParams) c0458e).leftMargin;
int i4 = rect.left;
if (i != i4) {
((ViewGroup.MarginLayoutParams) c0458e).leftMargin = i4;
z4 = true;
} else {
z4 = false;
}
int i5 = ((ViewGroup.MarginLayoutParams) c0458e).topMargin;
int i6 = rect.top;
if (i5 != i6) {
((ViewGroup.MarginLayoutParams) c0458e).topMargin = i6;
z4 = true;
}
int i7 = ((ViewGroup.MarginLayoutParams) c0458e).rightMargin;
int i8 = rect.right;
if (i7 != i8) {
((ViewGroup.MarginLayoutParams) c0458e).rightMargin = i8;
z4 = true;
}
if (z3) {
int i9 = ((ViewGroup.MarginLayoutParams) c0458e).bottomMargin;
int i10 = rect.bottom;
if (i9 != i10) {
((ViewGroup.MarginLayoutParams) c0458e).bottomMargin = i10;
return true;
}
}
return z4;
}
@Override // O.InterfaceC0077s
public final void a(View view, View view2, int i, int i4) {
if (i4 == 0) {
onNestedScrollAccepted(view, view2, i);
}
}
@Override // O.InterfaceC0077s
public final void b(View view, int i) {
if (i == 0) {
onStopNestedScroll(view);
}
}
@Override // O.InterfaceC0077s
public final void c(View view, int i, int i4, int[] iArr, int i5) {
}
@Override // android.view.ViewGroup
public final boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) {
return layoutParams instanceof C0458e;
}
@Override // O.InterfaceC0078t
public final void d(View view, int i, int i4, int i5, int i6, int i7, int[] iArr) {
e(view, i, i4, i5, i6, i7);
}
@Override // android.view.View
public final void draw(Canvas canvas) {
int i;
super.draw(canvas);
if (this.f2394f != null) {
if (this.f2392d.getVisibility() == 0) {
i = (int) (this.f2392d.getTranslationY() + this.f2392d.getBottom() + 0.5f);
} else {
i = 0;
}
this.f2394f.setBounds(0, i, getWidth(), this.f2394f.getIntrinsicHeight() + i);
this.f2394f.draw(canvas);
}
}
@Override // O.InterfaceC0077s
public final void e(View view, int i, int i4, int i5, int i6, int i7) {
if (i7 == 0) {
onNestedScroll(view, i, i4, i5, i6);
}
}
@Override // O.InterfaceC0077s
public final boolean f(View view, View view2, int i, int i4) {
return i4 == 0 && onStartNestedScroll(view, view2, i);
}
@Override // android.view.View
public final boolean fitSystemWindows(Rect rect) {
return super.fitSystemWindows(rect);
}
@Override // android.view.ViewGroup
public final ViewGroup.LayoutParams generateDefaultLayoutParams() {
return new ViewGroup.MarginLayoutParams(-1, -1);
}
@Override // android.view.ViewGroup
public final ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
return new ViewGroup.MarginLayoutParams(getContext(), attributeSet);
}
public int getActionBarHideOffset() {
ActionBarContainer actionBarContainer = this.f2392d;
if (actionBarContainer != null) {
return -((int) actionBarContainer.getTranslationY());
}
return 0;
}
@Override // android.view.ViewGroup
public int getNestedScrollAxes() {
C0079u c0079u = this.f2387A;
return c0079u.f1299b | c0079u.f1298a;
}
public CharSequence getTitle() {
k();
return ((V0) this.f2393e).f7624a.getTitle();
}
public final void h() {
removeCallbacks(this.f2410y);
removeCallbacks(this.f2411z);
ViewPropertyAnimator viewPropertyAnimator = this.f2408w;
if (viewPropertyAnimator != null) {
viewPropertyAnimator.cancel();
}
}
public final void i(Context context) {
TypedArray obtainStyledAttributes = getContext().getTheme().obtainStyledAttributes(f2384C);
this.f2389a = obtainStyledAttributes.getDimensionPixelSize(0, 0);
Drawable drawable = obtainStyledAttributes.getDrawable(1);
this.f2394f = drawable;
setWillNotDraw(drawable == null);
obtainStyledAttributes.recycle();
this.f2407v = new OverScroller(context);
}
public final void j(int i) {
k();
if (i == 2) {
((V0) this.f2393e).getClass();
Log.i("ToolbarWidgetWrapper", "Progress display unsupported");
} else if (i == 5) {
((V0) this.f2393e).getClass();
Log.i("ToolbarWidgetWrapper", "Progress display unsupported");
} else {
if (i != 109) {
return;
}
setOverlayMode(true);
}
}
public final void k() {
InterfaceC0459e0 wrapper;
if (this.f2391c == null) {
this.f2391c = (ContentFrameLayout) findViewById(R.id.action_bar_activity_content);
this.f2392d = (ActionBarContainer) findViewById(R.id.action_bar_container);
KeyEvent.Callback findViewById = findViewById(R.id.action_bar);
if (findViewById instanceof InterfaceC0459e0) {
wrapper = (InterfaceC0459e0) findViewById;
} else {
if (!(findViewById instanceof Toolbar)) {
throw new IllegalStateException("Can't make a decor toolbar out of ".concat(findViewById.getClass().getSimpleName()));
}
wrapper = ((Toolbar) findViewById).getWrapper();
}
this.f2393e = wrapper;
}
}
public final void l(m mVar, x xVar) {
k();
V0 v02 = (V0) this.f2393e;
C0472l c0472l = v02.f7634m;
Toolbar toolbar = v02.f7624a;
if (c0472l == null) {
C0472l c0472l2 = new C0472l(toolbar.getContext());
v02.f7634m = c0472l2;
c0472l2.i = R.id.action_menu_presenter;
}
C0472l c0472l3 = v02.f7634m;
c0472l3.f7680e = xVar;
if (mVar == null && toolbar.f2480a == null) {
return;
}
toolbar.f();
m mVar2 = toolbar.f2480a.p;
if (mVar2 == mVar) {
return;
}
if (mVar2 != null) {
mVar2.r(toolbar.f2471L);
mVar2.r(toolbar.f2472M);
}
if (toolbar.f2472M == null) {
toolbar.f2472M = new Q0(toolbar);
}
c0472l3.f7690r = true;
if (mVar != null) {
mVar.b(c0472l3, toolbar.f2487j);
mVar.b(toolbar.f2472M, toolbar.f2487j);
} else {
c0472l3.i(toolbar.f2487j, null);
toolbar.f2472M.i(toolbar.f2487j, null);
c0472l3.h(true);
toolbar.f2472M.h(true);
}
toolbar.f2480a.setPopupTheme(toolbar.f2488k);
toolbar.f2480a.setPresenter(c0472l3);
toolbar.f2471L = c0472l3;
toolbar.w();
}
@Override // android.view.View
public final WindowInsets onApplyWindowInsets(WindowInsets windowInsets) {
k();
D0 f2 = D0.f(this, windowInsets);
boolean g4 = g(this.f2392d, new Rect(f2.b(), f2.d(), f2.c(), f2.a()), false);
WeakHashMap weakHashMap = X.f1226a;
Rect rect = this.f2399m;
L.b(this, f2, rect);
int i = rect.left;
int i4 = rect.top;
int i5 = rect.right;
int i6 = rect.bottom;
B0 b02 = f2.f1207a;
D0 l4 = b02.l(i, i4, i5, i6);
this.f2402q = l4;
boolean z3 = true;
if (!this.f2403r.equals(l4)) {
this.f2403r = this.f2402q;
g4 = true;
}
Rect rect2 = this.f2400n;
if (rect2.equals(rect)) {
z3 = g4;
} else {
rect2.set(rect);
}
if (z3) {
requestLayout();
}
return b02.a().f1207a.c().f1207a.b().e();
}
@Override // android.view.View
public final void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
i(getContext());
WeakHashMap weakHashMap = X.f1226a;
J.c(this);
}
@Override // android.view.ViewGroup, android.view.View
public final void onDetachedFromWindow() {
super.onDetachedFromWindow();
h();
}
@Override // android.view.ViewGroup, android.view.View
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
int childCount = getChildCount();
int paddingLeft = getPaddingLeft();
int paddingTop = getPaddingTop();
for (int i7 = 0; i7 < childCount; i7++) {
View childAt = getChildAt(i7);
if (childAt.getVisibility() != 8) {
C0458e c0458e = (C0458e) childAt.getLayoutParams();
int measuredWidth = childAt.getMeasuredWidth();
int measuredHeight = childAt.getMeasuredHeight();
int i8 = ((ViewGroup.MarginLayoutParams) c0458e).leftMargin + paddingLeft;
int i9 = ((ViewGroup.MarginLayoutParams) c0458e).topMargin + paddingTop;
childAt.layout(i8, i9, measuredWidth + i8, measuredHeight + i9);
}
}
}
/* JADX WARN: Removed duplicated region for block: B:18:0x00f2 */
@Override // android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onMeasure(int r13, int r14) {
/*
Method dump skipped, instructions count: 361
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.ActionBarOverlayLayout.onMeasure(int, int):void");
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final boolean onNestedFling(View view, float f2, float f4, boolean z3) {
if (!this.i || !z3) {
return false;
}
this.f2407v.fling(0, 0, 0, (int) f4, 0, 0, IntCompanionObject.MIN_VALUE, Integer.MAX_VALUE);
if (this.f2407v.getFinalY() > this.f2392d.getHeight()) {
h();
this.f2411z.run();
} else {
h();
this.f2410y.run();
}
this.f2396j = true;
return true;
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final boolean onNestedPreFling(View view, float f2, float f4) {
return false;
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final void onNestedPreScroll(View view, int i, int i4, int[] iArr) {
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final void onNestedScroll(View view, int i, int i4, int i5, int i6) {
int i7 = this.f2397k + i4;
this.f2397k = i7;
setActionBarHideOffset(i7);
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final void onNestedScrollAccepted(View view, View view2, int i) {
T t2;
C0414k c0414k;
this.f2387A.f1298a = i;
this.f2397k = getActionBarHideOffset();
h();
InterfaceC0456d interfaceC0456d = this.f2406u;
if (interfaceC0456d == null || (c0414k = (t2 = (T) interfaceC0456d).f6593s) == null) {
return;
}
c0414k.a();
t2.f6593s = null;
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final boolean onStartNestedScroll(View view, View view2, int i) {
if ((i & 2) == 0 || this.f2392d.getVisibility() != 0) {
return false;
}
return this.i;
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final void onStopNestedScroll(View view) {
if (!this.i || this.f2396j) {
return;
}
if (this.f2397k <= this.f2392d.getHeight()) {
h();
postDelayed(this.f2410y, 600L);
} else {
h();
postDelayed(this.f2411z, 600L);
}
}
@Override // android.view.View
public final void onWindowSystemUiVisibilityChanged(int i) {
super.onWindowSystemUiVisibilityChanged(i);
k();
int i4 = this.f2398l ^ i;
this.f2398l = i;
boolean z3 = (i & 4) == 0;
boolean z4 = (i & 256) != 0;
InterfaceC0456d interfaceC0456d = this.f2406u;
if (interfaceC0456d != null) {
T t2 = (T) interfaceC0456d;
t2.f6590o = !z4;
if (z3 || !z4) {
if (t2.p) {
t2.p = false;
t2.s(true);
}
} else if (!t2.p) {
t2.p = true;
t2.s(true);
}
}
if ((i4 & 256) == 0 || this.f2406u == null) {
return;
}
WeakHashMap weakHashMap = X.f1226a;
J.c(this);
}
@Override // android.view.View
public final void onWindowVisibilityChanged(int i) {
super.onWindowVisibilityChanged(i);
this.f2390b = i;
InterfaceC0456d interfaceC0456d = this.f2406u;
if (interfaceC0456d != null) {
((T) interfaceC0456d).f6589n = i;
}
}
public void setActionBarHideOffset(int i) {
h();
this.f2392d.setTranslationY(-Math.max(0, Math.min(i, this.f2392d.getHeight())));
}
public void setActionBarVisibilityCallback(InterfaceC0456d interfaceC0456d) {
this.f2406u = interfaceC0456d;
if (getWindowToken() != null) {
((T) this.f2406u).f6589n = this.f2390b;
int i = this.f2398l;
if (i != 0) {
onWindowSystemUiVisibilityChanged(i);
WeakHashMap weakHashMap = X.f1226a;
J.c(this);
}
}
}
public void setHasNonEmbeddedTabs(boolean z3) {
this.h = z3;
}
public void setHideOnContentScrollEnabled(boolean z3) {
if (z3 != this.i) {
this.i = z3;
if (z3) {
return;
}
h();
setActionBarHideOffset(0);
}
}
public void setIcon(int i) {
k();
V0 v02 = (V0) this.f2393e;
v02.f7627d = i != 0 ? AbstractC0106b.m(v02.f7624a.getContext(), i) : null;
v02.c();
}
public void setLogo(int i) {
k();
V0 v02 = (V0) this.f2393e;
v02.f7628e = i != 0 ? AbstractC0106b.m(v02.f7624a.getContext(), i) : null;
v02.c();
}
public void setOverlayMode(boolean z3) {
this.f2395g = z3;
}
public void setShowingForActionMode(boolean z3) {
}
public void setUiOptions(int i) {
}
@Override // m.InterfaceC0457d0
public void setWindowCallback(Window.Callback callback) {
k();
((V0) this.f2393e).f7632k = callback;
}
@Override // m.InterfaceC0457d0
public void setWindowTitle(CharSequence charSequence) {
k();
V0 v02 = (V0) this.f2393e;
if (v02.f7630g) {
return;
}
v02.h = charSequence;
if ((v02.f7625b & 8) != 0) {
Toolbar toolbar = v02.f7624a;
toolbar.setTitle(charSequence);
if (v02.f7630g) {
X.k(toolbar.getRootView(), charSequence);
}
}
}
@Override // android.view.ViewGroup
public final boolean shouldDelayChildPressedState() {
return false;
}
@Override // android.view.ViewGroup
public final ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
return new ViewGroup.MarginLayoutParams(layoutParams);
}
public void setIcon(Drawable drawable) {
k();
V0 v02 = (V0) this.f2393e;
v02.f7627d = drawable;
v02.c();
}
}

View File

@@ -0,0 +1,618 @@
package androidx.appcompat.widget;
import M.g;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.ContextThemeWrapper;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityEvent;
import android.widget.LinearLayout;
import androidx.appcompat.view.menu.ActionMenuItemView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import f0.C0338b;
import h3.d;
import kotlin.jvm.internal.IntCompanionObject;
import l.InterfaceC0418A;
import l.InterfaceC0433k;
import l.InterfaceC0434l;
import l.m;
import l.o;
import l.x;
import m.C0462g;
import m.C0468j;
import m.C0472l;
import m.C0476n;
import m.C0483q0;
import m.InterfaceC0474m;
import m.InterfaceC0478o;
/* loaded from: classes.dex */
public class ActionMenuView extends LinearLayoutCompat implements InterfaceC0434l, InterfaceC0418A {
/* renamed from: A, reason: collision with root package name */
public InterfaceC0478o f2412A;
public m p;
/* renamed from: q, reason: collision with root package name */
public Context f2413q;
/* renamed from: r, reason: collision with root package name */
public int f2414r;
/* renamed from: s, reason: collision with root package name */
public boolean f2415s;
/* renamed from: t, reason: collision with root package name */
public C0472l f2416t;
/* renamed from: u, reason: collision with root package name */
public g f2417u;
/* renamed from: v, reason: collision with root package name */
public InterfaceC0433k f2418v;
/* renamed from: w, reason: collision with root package name */
public boolean f2419w;
/* renamed from: x, reason: collision with root package name */
public int f2420x;
/* renamed from: y, reason: collision with root package name */
public final int f2421y;
/* renamed from: z, reason: collision with root package name */
public final int f2422z;
public ActionMenuView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
setBaselineAligned(false);
float f2 = context.getResources().getDisplayMetrics().density;
this.f2421y = (int) (56.0f * f2);
this.f2422z = (int) (f2 * 4.0f);
this.f2413q = context;
this.f2414r = 0;
}
/* JADX WARN: Type inference failed for: r0v0, types: [android.widget.LinearLayout$LayoutParams, m.n] */
public static C0476n j() {
?? layoutParams = new LinearLayout.LayoutParams(-2, -2);
layoutParams.f7709a = false;
((LinearLayout.LayoutParams) layoutParams).gravity = 16;
return layoutParams;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v3, types: [android.widget.LinearLayout$LayoutParams, m.n] */
public static C0476n k(ViewGroup.LayoutParams layoutParams) {
C0476n c0476n;
if (layoutParams == null) {
return j();
}
if (layoutParams instanceof C0476n) {
C0476n c0476n2 = (C0476n) layoutParams;
?? layoutParams2 = new LinearLayout.LayoutParams((ViewGroup.LayoutParams) c0476n2);
layoutParams2.f7709a = c0476n2.f7709a;
c0476n = layoutParams2;
} else {
c0476n = new LinearLayout.LayoutParams(layoutParams);
}
if (((LinearLayout.LayoutParams) c0476n).gravity <= 0) {
((LinearLayout.LayoutParams) c0476n).gravity = 16;
}
return c0476n;
}
@Override // l.InterfaceC0418A
public final void a(m mVar) {
this.p = mVar;
}
@Override // l.InterfaceC0434l
public final boolean c(o oVar) {
return this.p.q(oVar, null, 0);
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup
public final boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) {
return layoutParams instanceof C0476n;
}
@Override // android.view.View
public final boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
return false;
}
@Override // androidx.appcompat.widget.LinearLayoutCompat
/* renamed from: f */
public final /* bridge */ /* synthetic */ C0483q0 generateDefaultLayoutParams() {
return j();
}
/* JADX WARN: Type inference failed for: r0v0, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
@Override // androidx.appcompat.widget.LinearLayoutCompat
/* renamed from: g */
public final C0483q0 generateLayoutParams(AttributeSet attributeSet) {
return new LinearLayout.LayoutParams(getContext(), attributeSet);
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup
public final /* bridge */ /* synthetic */ ViewGroup.LayoutParams generateDefaultLayoutParams() {
return j();
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup
public final /* bridge */ /* synthetic */ ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
return k(layoutParams);
}
public Menu getMenu() {
if (this.p == null) {
Context context = getContext();
m mVar = new m(context);
this.p = mVar;
mVar.f7245e = new d(this, 6);
C0472l c0472l = new C0472l(context);
this.f2416t = c0472l;
c0472l.f7686m = true;
c0472l.f7687n = true;
x xVar = this.f2417u;
if (xVar == null) {
xVar = new C0338b(6);
}
c0472l.f7680e = xVar;
this.p.b(c0472l, this.f2413q);
C0472l c0472l2 = this.f2416t;
c0472l2.h = this;
this.p = c0472l2.f7678c;
}
return this.p;
}
public Drawable getOverflowIcon() {
getMenu();
C0472l c0472l = this.f2416t;
C0468j c0468j = c0472l.f7683j;
if (c0468j != null) {
return c0468j.getDrawable();
}
if (c0472l.f7685l) {
return c0472l.f7684k;
}
return null;
}
public int getPopupTheme() {
return this.f2414r;
}
public int getWindowAnimations() {
return 0;
}
@Override // androidx.appcompat.widget.LinearLayoutCompat
/* renamed from: h */
public final /* bridge */ /* synthetic */ C0483q0 generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
return k(layoutParams);
}
public final boolean l(int i) {
boolean z3 = false;
if (i == 0) {
return false;
}
KeyEvent.Callback childAt = getChildAt(i - 1);
KeyEvent.Callback childAt2 = getChildAt(i);
if (i < getChildCount() && (childAt instanceof InterfaceC0474m)) {
z3 = ((InterfaceC0474m) childAt).a();
}
return (i <= 0 || !(childAt2 instanceof InterfaceC0474m)) ? z3 : ((InterfaceC0474m) childAt2).c() | z3;
}
@Override // android.view.View
public final void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
C0472l c0472l = this.f2416t;
if (c0472l != null) {
c0472l.h(false);
if (this.f2416t.f()) {
this.f2416t.c();
this.f2416t.n();
}
}
}
@Override // android.view.ViewGroup, android.view.View
public final void onDetachedFromWindow() {
super.onDetachedFromWindow();
C0472l c0472l = this.f2416t;
if (c0472l != null) {
c0472l.c();
C0462g c0462g = c0472l.f7693u;
if (c0462g == null || !c0462g.b()) {
return;
}
c0462g.i.dismiss();
}
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup, android.view.View
public final void onLayout(boolean z3, int i, int i4, int i5, int i6) {
int width;
int i7;
if (!this.f2419w) {
super.onLayout(z3, i, i4, i5, i6);
return;
}
int childCount = getChildCount();
int i8 = (i6 - i4) / 2;
int dividerWidth = getDividerWidth();
int i9 = i5 - i;
int paddingRight = (i9 - getPaddingRight()) - getPaddingLeft();
boolean z4 = getLayoutDirection() == 1;
int i10 = 0;
int i11 = 0;
for (int i12 = 0; i12 < childCount; i12++) {
View childAt = getChildAt(i12);
if (childAt.getVisibility() != 8) {
C0476n c0476n = (C0476n) childAt.getLayoutParams();
if (c0476n.f7709a) {
int measuredWidth = childAt.getMeasuredWidth();
if (l(i12)) {
measuredWidth += dividerWidth;
}
int measuredHeight = childAt.getMeasuredHeight();
if (z4) {
i7 = getPaddingLeft() + ((LinearLayout.LayoutParams) c0476n).leftMargin;
width = i7 + measuredWidth;
} else {
width = (getWidth() - getPaddingRight()) - ((LinearLayout.LayoutParams) c0476n).rightMargin;
i7 = width - measuredWidth;
}
int i13 = i8 - (measuredHeight / 2);
childAt.layout(i7, i13, width, measuredHeight + i13);
paddingRight -= measuredWidth;
i10 = 1;
} else {
paddingRight -= (childAt.getMeasuredWidth() + ((LinearLayout.LayoutParams) c0476n).leftMargin) + ((LinearLayout.LayoutParams) c0476n).rightMargin;
l(i12);
i11++;
}
}
}
if (childCount == 1 && i10 == 0) {
View childAt2 = getChildAt(0);
int measuredWidth2 = childAt2.getMeasuredWidth();
int measuredHeight2 = childAt2.getMeasuredHeight();
int i14 = (i9 / 2) - (measuredWidth2 / 2);
int i15 = i8 - (measuredHeight2 / 2);
childAt2.layout(i14, i15, measuredWidth2 + i14, measuredHeight2 + i15);
return;
}
int i16 = i11 - (i10 ^ 1);
int max = Math.max(0, i16 > 0 ? paddingRight / i16 : 0);
if (z4) {
int width2 = getWidth() - getPaddingRight();
for (int i17 = 0; i17 < childCount; i17++) {
View childAt3 = getChildAt(i17);
C0476n c0476n2 = (C0476n) childAt3.getLayoutParams();
if (childAt3.getVisibility() != 8 && !c0476n2.f7709a) {
int i18 = width2 - ((LinearLayout.LayoutParams) c0476n2).rightMargin;
int measuredWidth3 = childAt3.getMeasuredWidth();
int measuredHeight3 = childAt3.getMeasuredHeight();
int i19 = i8 - (measuredHeight3 / 2);
childAt3.layout(i18 - measuredWidth3, i19, i18, measuredHeight3 + i19);
width2 = i18 - ((measuredWidth3 + ((LinearLayout.LayoutParams) c0476n2).leftMargin) + max);
}
}
return;
}
int paddingLeft = getPaddingLeft();
for (int i20 = 0; i20 < childCount; i20++) {
View childAt4 = getChildAt(i20);
C0476n c0476n3 = (C0476n) childAt4.getLayoutParams();
if (childAt4.getVisibility() != 8 && !c0476n3.f7709a) {
int i21 = paddingLeft + ((LinearLayout.LayoutParams) c0476n3).leftMargin;
int measuredWidth4 = childAt4.getMeasuredWidth();
int measuredHeight4 = childAt4.getMeasuredHeight();
int i22 = i8 - (measuredHeight4 / 2);
childAt4.layout(i21, i22, i21 + measuredWidth4, measuredHeight4 + i22);
paddingLeft = measuredWidth4 + ((LinearLayout.LayoutParams) c0476n3).rightMargin + max + i21;
}
}
}
/* JADX WARN: Type inference failed for: r11v14 */
/* JADX WARN: Type inference failed for: r11v15, types: [int, boolean] */
/* JADX WARN: Type inference failed for: r11v17 */
/* JADX WARN: Type inference failed for: r11v40 */
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.View
public final void onMeasure(int i, int i4) {
int i5;
int i6;
?? r11;
int i7;
int i8;
m mVar;
boolean z3 = this.f2419w;
boolean z4 = View.MeasureSpec.getMode(i) == 1073741824;
this.f2419w = z4;
if (z3 != z4) {
this.f2420x = 0;
}
int size = View.MeasureSpec.getSize(i);
if (this.f2419w && (mVar = this.p) != null && size != this.f2420x) {
this.f2420x = size;
mVar.p(true);
}
int childCount = getChildCount();
if (!this.f2419w || childCount <= 0) {
for (int i9 = 0; i9 < childCount; i9++) {
C0476n c0476n = (C0476n) getChildAt(i9).getLayoutParams();
((LinearLayout.LayoutParams) c0476n).rightMargin = 0;
((LinearLayout.LayoutParams) c0476n).leftMargin = 0;
}
super.onMeasure(i, i4);
return;
}
int mode = View.MeasureSpec.getMode(i4);
int size2 = View.MeasureSpec.getSize(i);
int size3 = View.MeasureSpec.getSize(i4);
int paddingRight = getPaddingRight() + getPaddingLeft();
int paddingBottom = getPaddingBottom() + getPaddingTop();
int childMeasureSpec = ViewGroup.getChildMeasureSpec(i4, paddingBottom, -2);
int i10 = size2 - paddingRight;
int i11 = this.f2421y;
int i12 = i10 / i11;
int i13 = i10 % i11;
if (i12 == 0) {
setMeasuredDimension(i10, 0);
return;
}
int i14 = (i13 / i12) + i11;
int childCount2 = getChildCount();
int i15 = 0;
int i16 = 0;
int i17 = 0;
int i18 = 0;
boolean z5 = false;
int i19 = 0;
long j4 = 0;
while (true) {
i5 = this.f2422z;
if (i18 >= childCount2) {
break;
}
View childAt = getChildAt(i18);
int i20 = size3;
int i21 = paddingBottom;
if (childAt.getVisibility() == 8) {
i7 = i14;
} else {
boolean z6 = childAt instanceof ActionMenuItemView;
i16++;
if (z6) {
childAt.setPadding(i5, 0, i5, 0);
}
C0476n c0476n2 = (C0476n) childAt.getLayoutParams();
c0476n2.f7714f = false;
c0476n2.f7711c = 0;
c0476n2.f7710b = 0;
c0476n2.f7712d = false;
((LinearLayout.LayoutParams) c0476n2).leftMargin = 0;
((LinearLayout.LayoutParams) c0476n2).rightMargin = 0;
c0476n2.f7713e = z6 && !TextUtils.isEmpty(((ActionMenuItemView) childAt).getText());
int i22 = c0476n2.f7709a ? 1 : i12;
C0476n c0476n3 = (C0476n) childAt.getLayoutParams();
int i23 = i12;
i7 = i14;
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(View.MeasureSpec.getSize(childMeasureSpec) - i21, View.MeasureSpec.getMode(childMeasureSpec));
ActionMenuItemView actionMenuItemView = z6 ? (ActionMenuItemView) childAt : null;
boolean z7 = (actionMenuItemView == null || TextUtils.isEmpty(actionMenuItemView.getText())) ? false : true;
boolean z8 = z7;
if (i22 <= 0 || (z7 && i22 < 2)) {
i8 = 0;
} else {
childAt.measure(View.MeasureSpec.makeMeasureSpec(i7 * i22, IntCompanionObject.MIN_VALUE), makeMeasureSpec);
int measuredWidth = childAt.getMeasuredWidth();
i8 = measuredWidth / i7;
if (measuredWidth % i7 != 0) {
i8++;
}
if (z8 && i8 < 2) {
i8 = 2;
}
}
c0476n3.f7712d = !c0476n3.f7709a && z8;
c0476n3.f7710b = i8;
childAt.measure(View.MeasureSpec.makeMeasureSpec(i8 * i7, 1073741824), makeMeasureSpec);
i17 = Math.max(i17, i8);
if (c0476n2.f7712d) {
i19++;
}
if (c0476n2.f7709a) {
z5 = true;
}
i12 = i23 - i8;
i15 = Math.max(i15, childAt.getMeasuredHeight());
if (i8 == 1) {
j4 |= 1 << i18;
}
}
i18++;
size3 = i20;
paddingBottom = i21;
i14 = i7;
}
int i24 = size3;
int i25 = i12;
int i26 = i14;
boolean z9 = z5 && i16 == 2;
int i27 = i25;
boolean z10 = false;
while (i19 > 0 && i27 > 0) {
int i28 = Integer.MAX_VALUE;
long j5 = 0;
int i29 = 0;
int i30 = 0;
while (i30 < childCount2) {
boolean z11 = z9;
C0476n c0476n4 = (C0476n) getChildAt(i30).getLayoutParams();
int i31 = i15;
if (c0476n4.f7712d) {
int i32 = c0476n4.f7710b;
if (i32 < i28) {
j5 = 1 << i30;
i28 = i32;
i29 = 1;
} else if (i32 == i28) {
j5 |= 1 << i30;
i29++;
}
}
i30++;
i15 = i31;
z9 = z11;
}
boolean z12 = z9;
i6 = i15;
j4 |= j5;
if (i29 > i27) {
break;
}
int i33 = i28 + 1;
int i34 = 0;
while (i34 < childCount2) {
View childAt2 = getChildAt(i34);
C0476n c0476n5 = (C0476n) childAt2.getLayoutParams();
boolean z13 = z5;
long j6 = 1 << i34;
if ((j5 & j6) != 0) {
if (z12 && c0476n5.f7713e) {
r11 = 1;
r11 = 1;
if (i27 == 1) {
childAt2.setPadding(i5 + i26, 0, i5, 0);
}
} else {
r11 = 1;
}
c0476n5.f7710b += r11;
c0476n5.f7714f = r11;
i27--;
} else if (c0476n5.f7710b == i33) {
j4 |= j6;
}
i34++;
z5 = z13;
}
i15 = i6;
z9 = z12;
z10 = true;
}
i6 = i15;
boolean z14 = !z5 && i16 == 1;
if (i27 > 0 && j4 != 0 && (i27 < i16 - 1 || z14 || i17 > 1)) {
float bitCount = Long.bitCount(j4);
if (!z14) {
if ((j4 & 1) != 0 && !((C0476n) getChildAt(0).getLayoutParams()).f7713e) {
bitCount -= 0.5f;
}
int i35 = childCount2 - 1;
if ((j4 & (1 << i35)) != 0 && !((C0476n) getChildAt(i35).getLayoutParams()).f7713e) {
bitCount -= 0.5f;
}
}
int i36 = bitCount > BitmapDescriptorFactory.HUE_RED ? (int) ((i27 * i26) / bitCount) : 0;
boolean z15 = z10;
for (int i37 = 0; i37 < childCount2; i37++) {
if ((j4 & (1 << i37)) != 0) {
View childAt3 = getChildAt(i37);
C0476n c0476n6 = (C0476n) childAt3.getLayoutParams();
if (childAt3 instanceof ActionMenuItemView) {
c0476n6.f7711c = i36;
c0476n6.f7714f = true;
if (i37 == 0 && !c0476n6.f7713e) {
((LinearLayout.LayoutParams) c0476n6).leftMargin = (-i36) / 2;
}
z15 = true;
} else if (c0476n6.f7709a) {
c0476n6.f7711c = i36;
c0476n6.f7714f = true;
((LinearLayout.LayoutParams) c0476n6).rightMargin = (-i36) / 2;
z15 = true;
} else {
if (i37 != 0) {
((LinearLayout.LayoutParams) c0476n6).leftMargin = i36 / 2;
}
if (i37 != childCount2 - 1) {
((LinearLayout.LayoutParams) c0476n6).rightMargin = i36 / 2;
}
}
}
}
z10 = z15;
}
if (z10) {
for (int i38 = 0; i38 < childCount2; i38++) {
View childAt4 = getChildAt(i38);
C0476n c0476n7 = (C0476n) childAt4.getLayoutParams();
if (c0476n7.f7714f) {
childAt4.measure(View.MeasureSpec.makeMeasureSpec((c0476n7.f7710b * i26) + c0476n7.f7711c, 1073741824), childMeasureSpec);
}
}
}
setMeasuredDimension(i10, mode != 1073741824 ? i6 : i24);
}
public void setExpandedActionViewsExclusive(boolean z3) {
this.f2416t.f7690r = z3;
}
public void setOnMenuItemClickListener(InterfaceC0478o interfaceC0478o) {
this.f2412A = interfaceC0478o;
}
public void setOverflowIcon(Drawable drawable) {
getMenu();
C0472l c0472l = this.f2416t;
C0468j c0468j = c0472l.f7683j;
if (c0468j != null) {
c0468j.setImageDrawable(drawable);
} else {
c0472l.f7685l = true;
c0472l.f7684k = drawable;
}
}
public void setOverflowReserved(boolean z3) {
this.f2415s = z3;
}
public void setPopupTheme(int i) {
if (this.f2414r != i) {
this.f2414r = i;
if (i == 0) {
this.f2413q = getContext();
} else {
this.f2413q = new ContextThemeWrapper(getContext(), i);
}
}
}
public void setPresenter(C0472l c0472l) {
this.f2416t = c0472l;
c0472l.h = this;
this.p = c0472l.f7678c;
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup
public final ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
return new LinearLayout.LayoutParams(getContext(), attributeSet);
}
}

View File

@@ -0,0 +1,23 @@
package androidx.appcompat.widget;
import a.AbstractC0106b;
import android.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.LinearLayout;
/* loaded from: classes.dex */
public class ActivityChooserView$InnerLayout extends LinearLayout {
/* renamed from: a, reason: collision with root package name */
public static final int[] f2423a = {R.attr.background};
public ActivityChooserView$InnerLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
int resourceId;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, f2423a);
setBackgroundDrawable((!obtainStyledAttributes.hasValue(0) || (resourceId = obtainStyledAttributes.getResourceId(0, 0)) == 0) ? obtainStyledAttributes.getDrawable(0) : AbstractC0106b.m(context, resourceId));
obtainStyledAttributes.recycle();
}
}

View File

@@ -0,0 +1,247 @@
package androidx.appcompat.widget;
import O.X;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.adif.elcanomovil.R;
import java.util.WeakHashMap;
import m.C0483q0;
/* loaded from: classes.dex */
public class AlertDialogLayout extends LinearLayoutCompat {
public AlertDialogLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public static int j(View view) {
WeakHashMap weakHashMap = X.f1226a;
int minimumHeight = view.getMinimumHeight();
if (minimumHeight > 0) {
return minimumHeight;
}
if (view instanceof ViewGroup) {
ViewGroup viewGroup = (ViewGroup) view;
if (viewGroup.getChildCount() == 1) {
return j(viewGroup.getChildAt(0));
}
}
return 0;
}
/* JADX WARN: Removed duplicated region for block: B:25:0x009e */
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.ViewGroup, android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onLayout(boolean r10, int r11, int r12, int r13, int r14) {
/*
r9 = this;
int r10 = r9.getPaddingLeft()
int r13 = r13 - r11
int r11 = r9.getPaddingRight()
int r11 = r13 - r11
int r13 = r13 - r10
int r0 = r9.getPaddingRight()
int r13 = r13 - r0
int r0 = r9.getMeasuredHeight()
int r1 = r9.getChildCount()
int r2 = r9.getGravity()
r3 = r2 & 112(0x70, float:1.57E-43)
r4 = 8388615(0x800007, float:1.1754953E-38)
r2 = r2 & r4
r4 = 16
if (r3 == r4) goto L39
r4 = 80
if (r3 == r4) goto L30
int r12 = r9.getPaddingTop()
goto L43
L30:
int r3 = r9.getPaddingTop()
int r3 = r3 + r14
int r3 = r3 - r12
int r12 = r3 - r0
goto L43
L39:
int r3 = r9.getPaddingTop()
int r14 = r14 - r12
int r14 = r14 - r0
int r14 = r14 / 2
int r12 = r14 + r3
L43:
android.graphics.drawable.Drawable r14 = r9.getDividerDrawable()
r0 = 0
if (r14 != 0) goto L4c
r14 = r0
goto L50
L4c:
int r14 = r14.getIntrinsicHeight()
L50:
if (r0 >= r1) goto Lb0
android.view.View r3 = r9.getChildAt(r0)
if (r3 == 0) goto Lad
int r4 = r3.getVisibility()
r5 = 8
if (r4 == r5) goto Lad
int r4 = r3.getMeasuredWidth()
int r5 = r3.getMeasuredHeight()
android.view.ViewGroup$LayoutParams r6 = r3.getLayoutParams()
m.q0 r6 = (m.C0483q0) r6
int r7 = r6.gravity
if (r7 >= 0) goto L73
r7 = r2
L73:
int r8 = r9.getLayoutDirection()
int r7 = android.view.Gravity.getAbsoluteGravity(r7, r8)
r7 = r7 & 7
r8 = 1
if (r7 == r8) goto L8d
r8 = 5
if (r7 == r8) goto L87
int r7 = r6.leftMargin
int r7 = r7 + r10
goto L98
L87:
int r7 = r11 - r4
int r8 = r6.rightMargin
L8b:
int r7 = r7 - r8
goto L98
L8d:
int r7 = r13 - r4
int r7 = r7 / 2
int r7 = r7 + r10
int r8 = r6.leftMargin
int r7 = r7 + r8
int r8 = r6.rightMargin
goto L8b
L98:
boolean r8 = r9.i(r0)
if (r8 == 0) goto L9f
int r12 = r12 + r14
L9f:
int r8 = r6.topMargin
int r12 = r12 + r8
int r4 = r4 + r7
int r8 = r12 + r5
r3.layout(r7, r12, r4, r8)
int r3 = r6.bottomMargin
int r5 = r5 + r3
int r5 = r5 + r12
r12 = r5
Lad:
int r0 = r0 + 1
goto L50
Lb0:
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.AlertDialogLayout.onLayout(boolean, int, int, int, int):void");
}
@Override // androidx.appcompat.widget.LinearLayoutCompat, android.view.View
public final void onMeasure(int i, int i4) {
int i5;
int i6;
int i7;
int i8;
AlertDialogLayout alertDialogLayout = this;
int childCount = alertDialogLayout.getChildCount();
View view = null;
View view2 = null;
View view3 = null;
for (int i9 = 0; i9 < childCount; i9++) {
View childAt = alertDialogLayout.getChildAt(i9);
if (childAt.getVisibility() != 8) {
int id = childAt.getId();
if (id == R.id.topPanel) {
view = childAt;
} else if (id == R.id.buttonPanel) {
view2 = childAt;
} else {
if ((id != R.id.contentPanel && id != R.id.customPanel) || view3 != null) {
super.onMeasure(i, i4);
return;
}
view3 = childAt;
}
}
}
int mode = View.MeasureSpec.getMode(i4);
int size = View.MeasureSpec.getSize(i4);
int mode2 = View.MeasureSpec.getMode(i);
int paddingBottom = alertDialogLayout.getPaddingBottom() + alertDialogLayout.getPaddingTop();
if (view != null) {
view.measure(i, 0);
paddingBottom += view.getMeasuredHeight();
i5 = View.combineMeasuredStates(0, view.getMeasuredState());
} else {
i5 = 0;
}
if (view2 != null) {
view2.measure(i, 0);
i6 = j(view2);
i7 = view2.getMeasuredHeight() - i6;
paddingBottom += i6;
i5 = View.combineMeasuredStates(i5, view2.getMeasuredState());
} else {
i6 = 0;
i7 = 0;
}
if (view3 != null) {
view3.measure(i, mode == 0 ? 0 : View.MeasureSpec.makeMeasureSpec(Math.max(0, size - paddingBottom), mode));
i8 = view3.getMeasuredHeight();
paddingBottom += i8;
i5 = View.combineMeasuredStates(i5, view3.getMeasuredState());
} else {
i8 = 0;
}
int i10 = size - paddingBottom;
if (view2 != null) {
int i11 = paddingBottom - i6;
int min = Math.min(i10, i7);
if (min > 0) {
i10 -= min;
i6 += min;
}
view2.measure(i, View.MeasureSpec.makeMeasureSpec(i6, 1073741824));
paddingBottom = i11 + view2.getMeasuredHeight();
i5 = View.combineMeasuredStates(i5, view2.getMeasuredState());
}
if (view3 != null && i10 > 0) {
view3.measure(i, View.MeasureSpec.makeMeasureSpec(i8 + i10, mode));
paddingBottom = (paddingBottom - i8) + view3.getMeasuredHeight();
i5 = View.combineMeasuredStates(i5, view3.getMeasuredState());
}
int i12 = 0;
for (int i13 = 0; i13 < childCount; i13++) {
View childAt2 = alertDialogLayout.getChildAt(i13);
if (childAt2.getVisibility() != 8) {
i12 = Math.max(i12, childAt2.getMeasuredWidth());
}
}
int i14 = i4;
alertDialogLayout.setMeasuredDimension(View.resolveSizeAndState(alertDialogLayout.getPaddingRight() + alertDialogLayout.getPaddingLeft() + i12, i, i5), View.resolveSizeAndState(paddingBottom, i14, 0));
if (mode2 != 1073741824) {
int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(alertDialogLayout.getMeasuredWidth(), 1073741824);
int i15 = 0;
while (i15 < childCount) {
View childAt3 = alertDialogLayout.getChildAt(i15);
if (childAt3.getVisibility() != 8) {
C0483q0 c0483q0 = (C0483q0) childAt3.getLayoutParams();
if (((LinearLayout.LayoutParams) c0483q0).width == -1) {
int i16 = ((LinearLayout.LayoutParams) c0483q0).height;
((LinearLayout.LayoutParams) c0483q0).height = childAt3.getMeasuredHeight();
alertDialogLayout.measureChildWithMargins(childAt3, makeMeasureSpec, 0, i14, 0);
((LinearLayout.LayoutParams) c0483q0).height = i16;
}
}
i15++;
alertDialogLayout = this;
i14 = i4;
}
}
}
}

View File

@@ -0,0 +1,237 @@
package androidx.appcompat.widget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.text.InputFilter;
import android.util.AttributeSet;
import android.view.ActionMode;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.Button;
import androidx.recyclerview.widget.C0207b;
import com.adif.elcanomovil.R;
import m.C0491v;
import m.K0;
import m.L0;
import m.T;
/* loaded from: classes.dex */
public class AppCompatButton extends Button {
/* renamed from: a, reason: collision with root package name */
public final C0207b f2424a;
/* renamed from: b, reason: collision with root package name */
public final T f2425b;
/* renamed from: c, reason: collision with root package name */
public C0491v f2426c;
public AppCompatButton(Context context, AttributeSet attributeSet) {
this(context, attributeSet, R.attr.buttonStyle);
}
private C0491v getEmojiTextViewHelper() {
if (this.f2426c == null) {
this.f2426c = new C0491v(this);
}
return this.f2426c;
}
@Override // android.widget.TextView, android.view.View
public final void drawableStateChanged() {
super.drawableStateChanged();
C0207b c0207b = this.f2424a;
if (c0207b != null) {
c0207b.a();
}
T t2 = this.f2425b;
if (t2 != null) {
t2.b();
}
}
@Override // android.widget.TextView
public int getAutoSizeMaxTextSize() {
return super.getAutoSizeMaxTextSize();
}
@Override // android.widget.TextView
public int getAutoSizeMinTextSize() {
return super.getAutoSizeMinTextSize();
}
@Override // android.widget.TextView
public int getAutoSizeStepGranularity() {
return super.getAutoSizeStepGranularity();
}
@Override // android.widget.TextView
public int[] getAutoSizeTextAvailableSizes() {
return super.getAutoSizeTextAvailableSizes();
}
@Override // android.widget.TextView
@SuppressLint({"WrongConstant"})
public int getAutoSizeTextType() {
return super.getAutoSizeTextType() == 1 ? 1 : 0;
}
@Override // android.widget.TextView
public ActionMode.Callback getCustomSelectionActionModeCallback() {
return super.getCustomSelectionActionModeCallback();
}
public ColorStateList getSupportBackgroundTintList() {
C0207b c0207b = this.f2424a;
if (c0207b != null) {
return c0207b.h();
}
return null;
}
public PorterDuff.Mode getSupportBackgroundTintMode() {
C0207b c0207b = this.f2424a;
if (c0207b != null) {
return c0207b.i();
}
return null;
}
public ColorStateList getSupportCompoundDrawablesTintList() {
return this.f2425b.d();
}
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
return this.f2425b.e();
}
@Override // android.view.View
public void onInitializeAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
super.onInitializeAccessibilityEvent(accessibilityEvent);
accessibilityEvent.setClassName(Button.class.getName());
}
@Override // android.view.View
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo accessibilityNodeInfo) {
super.onInitializeAccessibilityNodeInfo(accessibilityNodeInfo);
accessibilityNodeInfo.setClassName(Button.class.getName());
}
@Override // android.widget.TextView, android.view.View
public void onLayout(boolean z3, int i, int i4, int i5, int i6) {
super.onLayout(z3, i, i4, i5, i6);
T t2 = this.f2425b;
if (t2 != null) {
t2.getClass();
}
}
@Override // android.widget.TextView
public void onTextChanged(CharSequence charSequence, int i, int i4, int i5) {
super.onTextChanged(charSequence, i, i4, i5);
}
@Override // android.widget.TextView
public void setAllCaps(boolean z3) {
super.setAllCaps(z3);
getEmojiTextViewHelper().c(z3);
}
@Override // android.widget.TextView
public void setAutoSizeTextTypeWithDefaults(int i) {
super.setAutoSizeTextTypeWithDefaults(i);
}
@Override // android.view.View
public void setBackgroundDrawable(Drawable drawable) {
super.setBackgroundDrawable(drawable);
C0207b c0207b = this.f2424a;
if (c0207b != null) {
c0207b.m();
}
}
@Override // android.view.View
public void setBackgroundResource(int i) {
super.setBackgroundResource(i);
C0207b c0207b = this.f2424a;
if (c0207b != null) {
c0207b.n(i);
}
}
@Override // android.widget.TextView
public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
super.setCustomSelectionActionModeCallback(callback);
}
public void setEmojiCompatEnabled(boolean z3) {
getEmojiTextViewHelper().d(z3);
}
@Override // android.widget.TextView
public void setFilters(InputFilter[] inputFilterArr) {
super.setFilters(getEmojiTextViewHelper().a(inputFilterArr));
}
public void setSupportAllCaps(boolean z3) {
T t2 = this.f2425b;
if (t2 != null) {
t2.f7608a.setAllCaps(z3);
}
}
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
C0207b c0207b = this.f2424a;
if (c0207b != null) {
c0207b.s(colorStateList);
}
}
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
C0207b c0207b = this.f2424a;
if (c0207b != null) {
c0207b.t(mode);
}
}
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
T t2 = this.f2425b;
t2.i(colorStateList);
t2.b();
}
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
T t2 = this.f2425b;
t2.j(mode);
t2.b();
}
@Override // android.widget.TextView
public final void setTextAppearance(Context context, int i) {
super.setTextAppearance(context, i);
T t2 = this.f2425b;
if (t2 != null) {
t2.g(context, i);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AppCompatButton(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
L0.a(context);
K0.a(this, getContext());
C0207b c0207b = new C0207b(this);
this.f2424a = c0207b;
c0207b.k(attributeSet, i);
T t2 = new T(this);
this.f2425b = t2;
t2.f(attributeSet, i);
t2.b();
getEmojiTextViewHelper().b(attributeSet, i);
}
}

View File

@@ -0,0 +1,331 @@
package androidx.appcompat.widget;
import A.a;
import I2.k;
import O.C0060d;
import O.C0064f;
import O.InterfaceC0058c;
import O.InterfaceC0082x;
import O.X;
import T.b;
import U.w;
import a.AbstractC0106b;
import android.app.Activity;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.text.Editable;
import android.text.method.KeyListener;
import android.text.method.NumberKeyListener;
import android.util.AttributeSet;
import android.util.Log;
import android.view.ActionMode;
import android.view.DragEvent;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputMethodManager;
import android.view.textclassifier.TextClassifier;
import android.widget.EditText;
import androidx.recyclerview.widget.C0207b;
import com.adif.elcanomovil.R;
import m.AbstractC0444C;
import m.C0489u;
import m.C0499z;
import m.K0;
import m.L0;
import m.T;
/* loaded from: classes.dex */
public class AppCompatEditText extends EditText implements InterfaceC0082x {
/* renamed from: a, reason: collision with root package name */
public final C0207b f2427a;
/* renamed from: b, reason: collision with root package name */
public final T f2428b;
/* renamed from: c, reason: collision with root package name */
public final w f2429c;
/* renamed from: d, reason: collision with root package name */
public final C0499z f2430d;
/* renamed from: e, reason: collision with root package name */
public C0489u f2431e;
public AppCompatEditText(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
private C0489u getSuperCaller() {
if (this.f2431e == null) {
this.f2431e = new C0489u(this);
}
return this.f2431e;
}
@Override // O.InterfaceC0082x
public final C0064f a(C0064f c0064f) {
return this.f2429c.a(this, c0064f);
}
@Override // android.widget.TextView, android.view.View
public final void drawableStateChanged() {
super.drawableStateChanged();
C0207b c0207b = this.f2427a;
if (c0207b != null) {
c0207b.a();
}
T t2 = this.f2428b;
if (t2 != null) {
t2.b();
}
}
@Override // android.widget.TextView
public ActionMode.Callback getCustomSelectionActionModeCallback() {
return super.getCustomSelectionActionModeCallback();
}
public ColorStateList getSupportBackgroundTintList() {
C0207b c0207b = this.f2427a;
if (c0207b != null) {
return c0207b.h();
}
return null;
}
public PorterDuff.Mode getSupportBackgroundTintMode() {
C0207b c0207b = this.f2427a;
if (c0207b != null) {
return c0207b.i();
}
return null;
}
public ColorStateList getSupportCompoundDrawablesTintList() {
return this.f2428b.d();
}
public PorterDuff.Mode getSupportCompoundDrawablesTintMode() {
return this.f2428b.e();
}
@Override // android.widget.TextView
public TextClassifier getTextClassifier() {
return super.getTextClassifier();
}
@Override // android.widget.TextView, android.view.View
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
String[] d4;
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
this.f2428b.getClass();
T.h(editorInfo, onCreateInputConnection, this);
AbstractC0106b.x(editorInfo, onCreateInputConnection, this);
if (onCreateInputConnection != null && Build.VERSION.SDK_INT <= 30 && (d4 = X.d(this)) != null) {
editorInfo.contentMimeTypes = d4;
onCreateInputConnection = new b(onCreateInputConnection, new k(this, 1));
}
return this.f2430d.f(onCreateInputConnection, editorInfo);
}
@Override // android.view.View
public final void onDetachedFromWindow() {
super.onDetachedFromWindow();
int i = Build.VERSION.SDK_INT;
if (i < 30 || i >= 33) {
return;
}
((InputMethodManager) getContext().getSystemService("input_method")).isActive(this);
}
@Override // android.widget.TextView, android.view.View
public final boolean onDragEvent(DragEvent dragEvent) {
Activity activity;
boolean z3 = false;
if (Build.VERSION.SDK_INT < 31 && dragEvent.getLocalState() == null && X.d(this) != null) {
Context context = getContext();
while (true) {
if (!(context instanceof ContextWrapper)) {
activity = null;
break;
}
if (context instanceof Activity) {
activity = (Activity) context;
break;
}
context = ((ContextWrapper) context).getBaseContext();
}
if (activity == null) {
Log.i("ReceiveContent", "Can't handle drop: no activity: view=" + this);
} else if (dragEvent.getAction() != 1 && dragEvent.getAction() == 3) {
z3 = AbstractC0444C.a(dragEvent, this, activity);
}
}
if (z3) {
return true;
}
return super.onDragEvent(dragEvent);
}
@Override // android.widget.EditText, android.widget.TextView
public final boolean onTextContextMenuItem(int i) {
InterfaceC0058c interfaceC0058c;
int i4 = Build.VERSION.SDK_INT;
if (i4 >= 31 || X.d(this) == null || !(i == 16908322 || i == 16908337)) {
return super.onTextContextMenuItem(i);
}
ClipboardManager clipboardManager = (ClipboardManager) getContext().getSystemService("clipboard");
ClipData primaryClip = clipboardManager == null ? null : clipboardManager.getPrimaryClip();
if (primaryClip != null && primaryClip.getItemCount() > 0) {
if (i4 >= 31) {
interfaceC0058c = new a(primaryClip, 1);
} else {
C0060d c0060d = new C0060d();
c0060d.f1236b = primaryClip;
c0060d.f1237c = 1;
interfaceC0058c = c0060d;
}
interfaceC0058c.k(i == 16908322 ? 0 : 1);
X.g(this, interfaceC0058c.build());
}
return true;
}
@Override // android.view.View
public void setBackgroundDrawable(Drawable drawable) {
super.setBackgroundDrawable(drawable);
C0207b c0207b = this.f2427a;
if (c0207b != null) {
c0207b.m();
}
}
@Override // android.view.View
public void setBackgroundResource(int i) {
super.setBackgroundResource(i);
C0207b c0207b = this.f2427a;
if (c0207b != null) {
c0207b.n(i);
}
}
@Override // android.widget.TextView
public final void setCompoundDrawables(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
super.setCompoundDrawables(drawable, drawable2, drawable3, drawable4);
T t2 = this.f2428b;
if (t2 != null) {
t2.b();
}
}
@Override // android.widget.TextView
public final void setCompoundDrawablesRelative(Drawable drawable, Drawable drawable2, Drawable drawable3, Drawable drawable4) {
super.setCompoundDrawablesRelative(drawable, drawable2, drawable3, drawable4);
T t2 = this.f2428b;
if (t2 != null) {
t2.b();
}
}
@Override // android.widget.TextView
public void setCustomSelectionActionModeCallback(ActionMode.Callback callback) {
super.setCustomSelectionActionModeCallback(callback);
}
public void setEmojiCompatEnabled(boolean z3) {
this.f2430d.g(z3);
}
@Override // android.widget.TextView
public void setKeyListener(KeyListener keyListener) {
super.setKeyListener(this.f2430d.d(keyListener));
}
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
C0207b c0207b = this.f2427a;
if (c0207b != null) {
c0207b.s(colorStateList);
}
}
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
C0207b c0207b = this.f2427a;
if (c0207b != null) {
c0207b.t(mode);
}
}
public void setSupportCompoundDrawablesTintList(ColorStateList colorStateList) {
T t2 = this.f2428b;
t2.i(colorStateList);
t2.b();
}
public void setSupportCompoundDrawablesTintMode(PorterDuff.Mode mode) {
T t2 = this.f2428b;
t2.j(mode);
t2.b();
}
@Override // android.widget.TextView
public final void setTextAppearance(Context context, int i) {
super.setTextAppearance(context, i);
T t2 = this.f2428b;
if (t2 != null) {
t2.g(context, i);
}
}
@Override // android.widget.TextView
public void setTextClassifier(TextClassifier textClassifier) {
super.setTextClassifier(textClassifier);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Type inference failed for: r4v4, types: [java.lang.Object, U.w] */
public AppCompatEditText(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, R.attr.editTextStyle);
L0.a(context);
K0.a(this, getContext());
C0207b c0207b = new C0207b(this);
this.f2427a = c0207b;
c0207b.k(attributeSet, R.attr.editTextStyle);
T t2 = new T(this);
this.f2428b = t2;
t2.f(attributeSet, R.attr.editTextStyle);
t2.b();
this.f2429c = new Object();
C0499z c0499z = new C0499z(this);
this.f2430d = c0499z;
c0499z.e(attributeSet, R.attr.editTextStyle);
KeyListener keyListener = getKeyListener();
if (keyListener instanceof NumberKeyListener) {
return;
}
boolean isFocusable = super.isFocusable();
boolean isClickable = super.isClickable();
boolean isLongClickable = super.isLongClickable();
int inputType = super.getInputType();
KeyListener d4 = c0499z.d(keyListener);
if (d4 == keyListener) {
return;
}
super.setKeyListener(d4);
super.setRawInputType(inputType);
super.setFocusable(isFocusable);
super.setClickable(isClickable);
super.setLongClickable(isLongClickable);
}
@Override // android.widget.EditText, android.widget.TextView
public Editable getText() {
return super.getText();
}
}

View File

@@ -0,0 +1,220 @@
package androidx.appcompat.widget;
import B0.G;
import a.AbstractC0106b;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.RippleDrawable;
import android.net.Uri;
import android.util.AttributeSet;
import android.widget.ImageView;
import androidx.recyclerview.widget.C0207b;
import e3.C0325k;
import m.AbstractC0463g0;
import m.K0;
import m.L0;
/* loaded from: classes.dex */
public class AppCompatImageView extends ImageView {
/* renamed from: a, reason: collision with root package name */
public final C0207b f2432a;
/* renamed from: b, reason: collision with root package name */
public final G f2433b;
/* renamed from: c, reason: collision with root package name */
public boolean f2434c;
public AppCompatImageView(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
@Override // android.widget.ImageView, android.view.View
public final void drawableStateChanged() {
super.drawableStateChanged();
C0207b c0207b = this.f2432a;
if (c0207b != null) {
c0207b.a();
}
G g4 = this.f2433b;
if (g4 != null) {
g4.b();
}
}
public ColorStateList getSupportBackgroundTintList() {
C0207b c0207b = this.f2432a;
if (c0207b != null) {
return c0207b.h();
}
return null;
}
public PorterDuff.Mode getSupportBackgroundTintMode() {
C0207b c0207b = this.f2432a;
if (c0207b != null) {
return c0207b.i();
}
return null;
}
public ColorStateList getSupportImageTintList() {
C0325k c0325k;
G g4 = this.f2433b;
if (g4 == null || (c0325k = (C0325k) g4.f104d) == null) {
return null;
}
return (ColorStateList) c0325k.f6368c;
}
public PorterDuff.Mode getSupportImageTintMode() {
C0325k c0325k;
G g4 = this.f2433b;
if (g4 == null || (c0325k = (C0325k) g4.f104d) == null) {
return null;
}
return (PorterDuff.Mode) c0325k.f6369d;
}
@Override // android.widget.ImageView, android.view.View
public final boolean hasOverlappingRendering() {
return !(((ImageView) this.f2433b.f103c).getBackground() instanceof RippleDrawable) && super.hasOverlappingRendering();
}
@Override // android.view.View
public void setBackgroundDrawable(Drawable drawable) {
super.setBackgroundDrawable(drawable);
C0207b c0207b = this.f2432a;
if (c0207b != null) {
c0207b.m();
}
}
@Override // android.view.View
public void setBackgroundResource(int i) {
super.setBackgroundResource(i);
C0207b c0207b = this.f2432a;
if (c0207b != null) {
c0207b.n(i);
}
}
@Override // android.widget.ImageView
public void setImageBitmap(Bitmap bitmap) {
super.setImageBitmap(bitmap);
G g4 = this.f2433b;
if (g4 != null) {
g4.b();
}
}
@Override // android.widget.ImageView
public void setImageDrawable(Drawable drawable) {
G g4 = this.f2433b;
if (g4 != null && drawable != null && !this.f2434c) {
g4.f102b = drawable.getLevel();
}
super.setImageDrawable(drawable);
if (g4 != null) {
g4.b();
if (this.f2434c) {
return;
}
ImageView imageView = (ImageView) g4.f103c;
if (imageView.getDrawable() != null) {
imageView.getDrawable().setLevel(g4.f102b);
}
}
}
@Override // android.widget.ImageView
public void setImageLevel(int i) {
super.setImageLevel(i);
this.f2434c = true;
}
@Override // android.widget.ImageView
public void setImageResource(int i) {
G g4 = this.f2433b;
if (g4 != null) {
ImageView imageView = (ImageView) g4.f103c;
if (i != 0) {
Drawable m4 = AbstractC0106b.m(imageView.getContext(), i);
if (m4 != null) {
AbstractC0463g0.a(m4);
}
imageView.setImageDrawable(m4);
} else {
imageView.setImageDrawable(null);
}
g4.b();
}
}
@Override // android.widget.ImageView
public void setImageURI(Uri uri) {
super.setImageURI(uri);
G g4 = this.f2433b;
if (g4 != null) {
g4.b();
}
}
public void setSupportBackgroundTintList(ColorStateList colorStateList) {
C0207b c0207b = this.f2432a;
if (c0207b != null) {
c0207b.s(colorStateList);
}
}
public void setSupportBackgroundTintMode(PorterDuff.Mode mode) {
C0207b c0207b = this.f2432a;
if (c0207b != null) {
c0207b.t(mode);
}
}
public void setSupportImageTintList(ColorStateList colorStateList) {
G g4 = this.f2433b;
if (g4 != null) {
if (((C0325k) g4.f104d) == null) {
g4.f104d = new Object();
}
C0325k c0325k = (C0325k) g4.f104d;
c0325k.f6368c = colorStateList;
c0325k.f6367b = true;
g4.b();
}
}
public void setSupportImageTintMode(PorterDuff.Mode mode) {
G g4 = this.f2433b;
if (g4 != null) {
if (((C0325k) g4.f104d) == null) {
g4.f104d = new Object();
}
C0325k c0325k = (C0325k) g4.f104d;
c0325k.f6369d = mode;
c0325k.f6366a = true;
g4.b();
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AppCompatImageView(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
L0.a(context);
this.f2434c = false;
K0.a(this, getContext());
C0207b c0207b = new C0207b(this);
this.f2432a = c0207b;
c0207b.k(attributeSet, i);
G g4 = new G(this);
this.f2433b = g4;
g4.e(attributeSet, i);
}
}

View File

@@ -0,0 +1,139 @@
package androidx.appcompat.widget;
import O.S;
import O.X;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import com.adif.elcanomovil.R;
import f.AbstractC0336a;
import java.util.WeakHashMap;
import kotlin.jvm.internal.IntCompanionObject;
/* loaded from: classes.dex */
public class ButtonBarLayout extends LinearLayout {
/* renamed from: a, reason: collision with root package name */
public boolean f2435a;
/* renamed from: b, reason: collision with root package name */
public boolean f2436b;
/* renamed from: c, reason: collision with root package name */
public int f2437c;
public ButtonBarLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.f2437c = -1;
int[] iArr = AbstractC0336a.f6430k;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, iArr);
WeakHashMap weakHashMap = X.f1226a;
S.d(this, context, iArr, attributeSet, obtainStyledAttributes, 0, 0);
this.f2435a = obtainStyledAttributes.getBoolean(0, true);
obtainStyledAttributes.recycle();
if (getOrientation() == 1) {
setStacked(this.f2435a);
}
}
private void setStacked(boolean z3) {
if (this.f2436b != z3) {
if (!z3 || this.f2435a) {
this.f2436b = z3;
setOrientation(z3 ? 1 : 0);
setGravity(z3 ? 8388613 : 80);
View findViewById = findViewById(R.id.spacer);
if (findViewById != null) {
findViewById.setVisibility(z3 ? 8 : 4);
}
for (int childCount = getChildCount() - 2; childCount >= 0; childCount--) {
bringChildToFront(getChildAt(childCount));
}
}
}
}
@Override // android.widget.LinearLayout, android.view.View
public final void onMeasure(int i, int i4) {
int i5;
boolean z3;
int i6;
int size = View.MeasureSpec.getSize(i);
int i7 = 0;
if (this.f2435a) {
if (size > this.f2437c && this.f2436b) {
setStacked(false);
}
this.f2437c = size;
}
if (this.f2436b || View.MeasureSpec.getMode(i) != 1073741824) {
i5 = i;
z3 = false;
} else {
i5 = View.MeasureSpec.makeMeasureSpec(size, IntCompanionObject.MIN_VALUE);
z3 = true;
}
super.onMeasure(i5, i4);
if (this.f2435a && !this.f2436b && (getMeasuredWidthAndState() & (-16777216)) == 16777216) {
setStacked(true);
z3 = true;
}
if (z3) {
super.onMeasure(i, i4);
}
int childCount = getChildCount();
int i8 = 0;
while (true) {
i6 = -1;
if (i8 >= childCount) {
i8 = -1;
break;
} else if (getChildAt(i8).getVisibility() == 0) {
break;
} else {
i8++;
}
}
if (i8 >= 0) {
View childAt = getChildAt(i8);
LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) childAt.getLayoutParams();
int measuredHeight = childAt.getMeasuredHeight() + getPaddingTop() + layoutParams.topMargin + layoutParams.bottomMargin;
if (this.f2436b) {
int i9 = i8 + 1;
int childCount2 = getChildCount();
while (true) {
if (i9 >= childCount2) {
break;
}
if (getChildAt(i9).getVisibility() == 0) {
i6 = i9;
break;
}
i9++;
}
i7 = i6 >= 0 ? getChildAt(i6).getPaddingTop() + ((int) (getResources().getDisplayMetrics().density * 16.0f)) + measuredHeight : measuredHeight;
} else {
i7 = getPaddingBottom() + measuredHeight;
}
}
WeakHashMap weakHashMap = X.f1226a;
if (getMinimumHeight() != i7) {
setMinimumHeight(i7);
if (i4 == 0) {
super.onMeasure(i, i4);
}
}
}
public void setAllowStacking(boolean z3) {
if (this.f2435a != z3) {
this.f2435a = z3;
if (!z3 && this.f2436b) {
setStacked(false);
}
requestLayout();
}
}
}

View File

@@ -0,0 +1,168 @@
package androidx.appcompat.widget;
import O.h0;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.widget.FrameLayout;
import g.C0372t;
import g.LayoutInflaterFactory2C0351E;
import l.m;
import m.C0462g;
import m.C0472l;
import m.InterfaceC0455c0;
import m.InterfaceC0457d0;
import m.V0;
/* loaded from: classes.dex */
public class ContentFrameLayout extends FrameLayout {
/* renamed from: a, reason: collision with root package name */
public TypedValue f2438a;
/* renamed from: b, reason: collision with root package name */
public TypedValue f2439b;
/* renamed from: c, reason: collision with root package name */
public TypedValue f2440c;
/* renamed from: d, reason: collision with root package name */
public TypedValue f2441d;
/* renamed from: e, reason: collision with root package name */
public TypedValue f2442e;
/* renamed from: f, reason: collision with root package name */
public TypedValue f2443f;
/* renamed from: g, reason: collision with root package name */
public final Rect f2444g;
public InterfaceC0455c0 h;
public ContentFrameLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet, 0);
this.f2444g = new Rect();
}
public TypedValue getFixedHeightMajor() {
if (this.f2442e == null) {
this.f2442e = new TypedValue();
}
return this.f2442e;
}
public TypedValue getFixedHeightMinor() {
if (this.f2443f == null) {
this.f2443f = new TypedValue();
}
return this.f2443f;
}
public TypedValue getFixedWidthMajor() {
if (this.f2440c == null) {
this.f2440c = new TypedValue();
}
return this.f2440c;
}
public TypedValue getFixedWidthMinor() {
if (this.f2441d == null) {
this.f2441d = new TypedValue();
}
return this.f2441d;
}
public TypedValue getMinWidthMajor() {
if (this.f2438a == null) {
this.f2438a = new TypedValue();
}
return this.f2438a;
}
public TypedValue getMinWidthMinor() {
if (this.f2439b == null) {
this.f2439b = new TypedValue();
}
return this.f2439b;
}
@Override // android.view.ViewGroup, android.view.View
public final void onAttachedToWindow() {
super.onAttachedToWindow();
InterfaceC0455c0 interfaceC0455c0 = this.h;
if (interfaceC0455c0 != null) {
interfaceC0455c0.getClass();
}
}
@Override // android.view.ViewGroup, android.view.View
public final void onDetachedFromWindow() {
C0472l c0472l;
super.onDetachedFromWindow();
InterfaceC0455c0 interfaceC0455c0 = this.h;
if (interfaceC0455c0 != null) {
LayoutInflaterFactory2C0351E layoutInflaterFactory2C0351E = ((C0372t) interfaceC0455c0).f6668b;
InterfaceC0457d0 interfaceC0457d0 = layoutInflaterFactory2C0351E.f6533r;
if (interfaceC0457d0 != null) {
ActionBarOverlayLayout actionBarOverlayLayout = (ActionBarOverlayLayout) interfaceC0457d0;
actionBarOverlayLayout.k();
ActionMenuView actionMenuView = ((V0) actionBarOverlayLayout.f2393e).f7624a.f2480a;
if (actionMenuView != null && (c0472l = actionMenuView.f2416t) != null) {
c0472l.c();
C0462g c0462g = c0472l.f7693u;
if (c0462g != null && c0462g.b()) {
c0462g.i.dismiss();
}
}
}
if (layoutInflaterFactory2C0351E.f6538w != null) {
layoutInflaterFactory2C0351E.f6528l.getDecorView().removeCallbacks(layoutInflaterFactory2C0351E.f6539x);
if (layoutInflaterFactory2C0351E.f6538w.isShowing()) {
try {
layoutInflaterFactory2C0351E.f6538w.dismiss();
} catch (IllegalArgumentException unused) {
}
}
layoutInflaterFactory2C0351E.f6538w = null;
}
h0 h0Var = layoutInflaterFactory2C0351E.f6540y;
if (h0Var != null) {
h0Var.b();
}
m mVar = layoutInflaterFactory2C0351E.A(0).h;
if (mVar != null) {
mVar.c(true);
}
}
}
/* JADX WARN: Removed duplicated region for block: B:15:0x004e */
/* JADX WARN: Removed duplicated region for block: B:17:0x0067 */
/* JADX WARN: Removed duplicated region for block: B:26:0x008a */
/* JADX WARN: Removed duplicated region for block: B:29:0x00ac A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:31:0x00b0 */
/* JADX WARN: Removed duplicated region for block: B:36:0x00bd */
/* JADX WARN: Removed duplicated region for block: B:39:0x00d1 */
/* JADX WARN: Removed duplicated region for block: B:41:0x00d9 */
/* JADX WARN: Removed duplicated region for block: B:43:0x00e1 */
/* JADX WARN: Removed duplicated region for block: B:46:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:47:0x00c3 */
/* JADX WARN: Removed duplicated region for block: B:50:0x00b3 */
@Override // android.widget.FrameLayout, android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onMeasure(int r17, int r18) {
/*
Method dump skipped, instructions count: 229
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.ContentFrameLayout.onMeasure(int, int):void");
}
public void setAttachListener(InterfaceC0455c0 interfaceC0455c0) {
this.h = interfaceC0455c0;
}
}

View File

@@ -0,0 +1,35 @@
package androidx.appcompat.widget;
import android.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.text.Layout;
import android.util.AttributeSet;
import f.AbstractC0336a;
import m.W;
/* loaded from: classes.dex */
public class DialogTitle extends W {
public DialogTitle(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
@Override // m.W, android.widget.TextView, android.view.View
public final void onMeasure(int i, int i4) {
int lineCount;
super.onMeasure(i, i4);
Layout layout = getLayout();
if (layout == null || (lineCount = layout.getLineCount()) <= 0 || layout.getEllipsisCount(lineCount - 1) <= 0) {
return;
}
setSingleLine(false);
setMaxLines(2);
TypedArray obtainStyledAttributes = getContext().obtainStyledAttributes(null, AbstractC0336a.f6441w, R.attr.textAppearanceMedium, R.style.TextAppearance.Medium);
int dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(0, 0);
if (dimensionPixelSize != 0) {
setTextSize(0, dimensionPixelSize);
}
obtainStyledAttributes.recycle();
super.onMeasure(i, i4);
}
}

View File

@@ -0,0 +1,22 @@
package androidx.appcompat.widget;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import m.InterfaceC0477n0;
/* loaded from: classes.dex */
public class FitWindowsFrameLayout extends FrameLayout {
public FitWindowsFrameLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
@Override // android.view.View
public final boolean fitSystemWindows(Rect rect) {
return super.fitSystemWindows(rect);
}
public void setOnFitSystemWindowsListener(InterfaceC0477n0 interfaceC0477n0) {
}
}

View File

@@ -0,0 +1,22 @@
package androidx.appcompat.widget;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import m.InterfaceC0477n0;
/* loaded from: classes.dex */
public class FitWindowsLinearLayout extends LinearLayout {
public FitWindowsLinearLayout(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
@Override // android.view.View
public final boolean fitSystemWindows(Rect rect) {
return super.fitSystemWindows(rect);
}
public void setOnFitSystemWindowsListener(InterfaceC0477n0 interfaceC0477n0) {
}
}

View File

@@ -0,0 +1,426 @@
package androidx.appcompat.widget;
import O.S;
import O.X;
import R0.h;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.LinearLayout;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import f.AbstractC0336a;
import java.util.WeakHashMap;
import m.C0483q0;
/* loaded from: classes.dex */
public class LinearLayoutCompat extends ViewGroup {
/* renamed from: a, reason: collision with root package name */
public boolean f2445a;
/* renamed from: b, reason: collision with root package name */
public int f2446b;
/* renamed from: c, reason: collision with root package name */
public int f2447c;
/* renamed from: d, reason: collision with root package name */
public int f2448d;
/* renamed from: e, reason: collision with root package name */
public int f2449e;
/* renamed from: f, reason: collision with root package name */
public int f2450f;
/* renamed from: g, reason: collision with root package name */
public float f2451g;
public boolean h;
public int[] i;
/* renamed from: j, reason: collision with root package name */
public int[] f2452j;
/* renamed from: k, reason: collision with root package name */
public Drawable f2453k;
/* renamed from: l, reason: collision with root package name */
public int f2454l;
/* renamed from: m, reason: collision with root package name */
public int f2455m;
/* renamed from: n, reason: collision with root package name */
public int f2456n;
/* renamed from: o, reason: collision with root package name */
public int f2457o;
public LinearLayoutCompat(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
@Override // android.view.ViewGroup
public boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) {
return layoutParams instanceof C0483q0;
}
public final void d(Canvas canvas, int i) {
this.f2453k.setBounds(getPaddingLeft() + this.f2457o, i, (getWidth() - getPaddingRight()) - this.f2457o, this.f2455m + i);
this.f2453k.draw(canvas);
}
public final void e(Canvas canvas, int i) {
this.f2453k.setBounds(i, getPaddingTop() + this.f2457o, this.f2454l + i, (getHeight() - getPaddingBottom()) - this.f2457o);
this.f2453k.draw(canvas);
}
/* JADX WARN: Type inference failed for: r2v3, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
/* JADX WARN: Type inference failed for: r2v4, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
@Override // android.view.ViewGroup
/* renamed from: f, reason: merged with bridge method [inline-methods] */
public C0483q0 generateDefaultLayoutParams() {
int i = this.f2448d;
if (i == 0) {
return new LinearLayout.LayoutParams(-2, -2);
}
if (i == 1) {
return new LinearLayout.LayoutParams(-1, -2);
}
return null;
}
/* JADX WARN: Type inference failed for: r0v0, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
@Override // android.view.ViewGroup
/* renamed from: g, reason: merged with bridge method [inline-methods] */
public C0483q0 generateLayoutParams(AttributeSet attributeSet) {
return new LinearLayout.LayoutParams(getContext(), attributeSet);
}
@Override // android.view.View
public int getBaseline() {
int i;
if (this.f2446b < 0) {
return super.getBaseline();
}
int childCount = getChildCount();
int i4 = this.f2446b;
if (childCount <= i4) {
throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout set to an index that is out of bounds.");
}
View childAt = getChildAt(i4);
int baseline = childAt.getBaseline();
if (baseline == -1) {
if (this.f2446b == 0) {
return -1;
}
throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout points to a View that doesn't know how to get its baseline.");
}
int i5 = this.f2447c;
if (this.f2448d == 1 && (i = this.f2449e & 112) != 48) {
if (i == 16) {
i5 += ((((getBottom() - getTop()) - getPaddingTop()) - getPaddingBottom()) - this.f2450f) / 2;
} else if (i == 80) {
i5 = ((getBottom() - getTop()) - getPaddingBottom()) - this.f2450f;
}
}
return i5 + ((LinearLayout.LayoutParams) ((C0483q0) childAt.getLayoutParams())).topMargin + baseline;
}
public int getBaselineAlignedChildIndex() {
return this.f2446b;
}
public Drawable getDividerDrawable() {
return this.f2453k;
}
public int getDividerPadding() {
return this.f2457o;
}
public int getDividerWidth() {
return this.f2454l;
}
public int getGravity() {
return this.f2449e;
}
public int getOrientation() {
return this.f2448d;
}
public int getShowDividers() {
return this.f2456n;
}
public int getVirtualChildCount() {
return getChildCount();
}
public float getWeightSum() {
return this.f2451g;
}
/* JADX WARN: Type inference failed for: r0v3, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
/* JADX WARN: Type inference failed for: r0v4, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
/* JADX WARN: Type inference failed for: r0v5, types: [m.q0, android.widget.LinearLayout$LayoutParams] */
@Override // android.view.ViewGroup
/* renamed from: h, reason: merged with bridge method [inline-methods] */
public C0483q0 generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
return layoutParams instanceof C0483q0 ? new LinearLayout.LayoutParams((ViewGroup.MarginLayoutParams) layoutParams) : layoutParams instanceof ViewGroup.MarginLayoutParams ? new LinearLayout.LayoutParams((ViewGroup.MarginLayoutParams) layoutParams) : new LinearLayout.LayoutParams(layoutParams);
}
public final boolean i(int i) {
if (i == 0) {
return (this.f2456n & 1) != 0;
}
if (i == getChildCount()) {
return (this.f2456n & 4) != 0;
}
if ((this.f2456n & 2) != 0) {
for (int i4 = i - 1; i4 >= 0; i4--) {
if (getChildAt(i4).getVisibility() != 8) {
return true;
}
}
}
return false;
}
@Override // android.view.View
public final void onDraw(Canvas canvas) {
int right;
int left;
int i;
if (this.f2453k == null) {
return;
}
int i4 = 0;
if (this.f2448d == 1) {
int virtualChildCount = getVirtualChildCount();
while (i4 < virtualChildCount) {
View childAt = getChildAt(i4);
if (childAt != null && childAt.getVisibility() != 8 && i(i4)) {
d(canvas, (childAt.getTop() - ((LinearLayout.LayoutParams) ((C0483q0) childAt.getLayoutParams())).topMargin) - this.f2455m);
}
i4++;
}
if (i(virtualChildCount)) {
View childAt2 = getChildAt(virtualChildCount - 1);
d(canvas, childAt2 == null ? (getHeight() - getPaddingBottom()) - this.f2455m : childAt2.getBottom() + ((LinearLayout.LayoutParams) ((C0483q0) childAt2.getLayoutParams())).bottomMargin);
return;
}
return;
}
int virtualChildCount2 = getVirtualChildCount();
boolean z3 = getLayoutDirection() == 1;
while (i4 < virtualChildCount2) {
View childAt3 = getChildAt(i4);
if (childAt3 != null && childAt3.getVisibility() != 8 && i(i4)) {
C0483q0 c0483q0 = (C0483q0) childAt3.getLayoutParams();
e(canvas, z3 ? childAt3.getRight() + ((LinearLayout.LayoutParams) c0483q0).rightMargin : (childAt3.getLeft() - ((LinearLayout.LayoutParams) c0483q0).leftMargin) - this.f2454l);
}
i4++;
}
if (i(virtualChildCount2)) {
View childAt4 = getChildAt(virtualChildCount2 - 1);
if (childAt4 != null) {
C0483q0 c0483q02 = (C0483q0) childAt4.getLayoutParams();
if (z3) {
left = childAt4.getLeft() - ((LinearLayout.LayoutParams) c0483q02).leftMargin;
i = this.f2454l;
right = left - i;
} else {
right = childAt4.getRight() + ((LinearLayout.LayoutParams) c0483q02).rightMargin;
}
} else if (z3) {
right = getPaddingLeft();
} else {
left = getWidth() - getPaddingRight();
i = this.f2454l;
right = left - i;
}
e(canvas, right);
}
}
@Override // android.view.View
public final void onInitializeAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
super.onInitializeAccessibilityEvent(accessibilityEvent);
accessibilityEvent.setClassName("androidx.appcompat.widget.LinearLayoutCompat");
}
@Override // android.view.View
public final void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo accessibilityNodeInfo) {
super.onInitializeAccessibilityNodeInfo(accessibilityNodeInfo);
accessibilityNodeInfo.setClassName("androidx.appcompat.widget.LinearLayoutCompat");
}
/* JADX WARN: Removed duplicated region for block: B:25:0x009d */
/* JADX WARN: Removed duplicated region for block: B:62:0x0158 */
/* JADX WARN: Removed duplicated region for block: B:65:0x0161 */
/* JADX WARN: Removed duplicated region for block: B:72:0x01a2 */
/* JADX WARN: Removed duplicated region for block: B:75:0x01a7 */
/* JADX WARN: Removed duplicated region for block: B:83:0x018f */
@Override // android.view.ViewGroup, android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onLayout(boolean r23, int r24, int r25, int r26, int r27) {
/*
Method dump skipped, instructions count: 459
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.onLayout(boolean, int, int, int, int):void");
}
/* JADX WARN: Removed duplicated region for block: B:222:0x04f9 */
/* JADX WARN: Removed duplicated region for block: B:235:0x053e */
/* JADX WARN: Removed duplicated region for block: B:240:0x0548 */
/* JADX WARN: Removed duplicated region for block: B:244:0x0527 */
/* JADX WARN: Removed duplicated region for block: B:46:0x013f */
/* JADX WARN: Removed duplicated region for block: B:51:0x0148 */
@Override // android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onMeasure(int r39, int r40) {
/*
Method dump skipped, instructions count: 2151
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.onMeasure(int, int):void");
}
public void setBaselineAligned(boolean z3) {
this.f2445a = z3;
}
public void setBaselineAlignedChildIndex(int i) {
if (i >= 0 && i < getChildCount()) {
this.f2446b = i;
return;
}
throw new IllegalArgumentException("base aligned child index out of range (0, " + getChildCount() + ")");
}
public void setDividerDrawable(Drawable drawable) {
if (drawable == this.f2453k) {
return;
}
this.f2453k = drawable;
if (drawable != null) {
this.f2454l = drawable.getIntrinsicWidth();
this.f2455m = drawable.getIntrinsicHeight();
} else {
this.f2454l = 0;
this.f2455m = 0;
}
setWillNotDraw(drawable == null);
requestLayout();
}
public void setDividerPadding(int i) {
this.f2457o = i;
}
public void setGravity(int i) {
if (this.f2449e != i) {
if ((8388615 & i) == 0) {
i |= 8388611;
}
if ((i & 112) == 0) {
i |= 48;
}
this.f2449e = i;
requestLayout();
}
}
public void setHorizontalGravity(int i) {
int i4 = i & 8388615;
int i5 = this.f2449e;
if ((8388615 & i5) != i4) {
this.f2449e = i4 | ((-8388616) & i5);
requestLayout();
}
}
public void setMeasureWithLargestChildEnabled(boolean z3) {
this.h = z3;
}
public void setOrientation(int i) {
if (this.f2448d != i) {
this.f2448d = i;
requestLayout();
}
}
public void setShowDividers(int i) {
if (i != this.f2456n) {
requestLayout();
}
this.f2456n = i;
}
public void setVerticalGravity(int i) {
int i4 = i & 112;
int i5 = this.f2449e;
if ((i5 & 112) != i4) {
this.f2449e = i4 | (i5 & (-113));
requestLayout();
}
}
public void setWeightSum(float f2) {
this.f2451g = Math.max(BitmapDescriptorFactory.HUE_RED, f2);
}
@Override // android.view.ViewGroup
public final boolean shouldDelayChildPressedState() {
return false;
}
public LinearLayoutCompat(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, 0);
this.f2445a = true;
this.f2446b = -1;
this.f2447c = 0;
this.f2449e = 8388659;
int[] iArr = AbstractC0336a.f6433n;
h l4 = h.l(context, attributeSet, iArr, 0);
WeakHashMap weakHashMap = X.f1226a;
S.d(this, context, iArr, attributeSet, (TypedArray) l4.f1414b, 0, 0);
TypedArray typedArray = (TypedArray) l4.f1414b;
int i4 = typedArray.getInt(1, -1);
if (i4 >= 0) {
setOrientation(i4);
}
int i5 = typedArray.getInt(0, -1);
if (i5 >= 0) {
setGravity(i5);
}
boolean z3 = typedArray.getBoolean(2, true);
if (!z3) {
setBaselineAligned(z3);
}
this.f2451g = typedArray.getFloat(4, -1.0f);
this.f2446b = typedArray.getInt(3, -1);
this.h = typedArray.getBoolean(7, false);
setDividerDrawable(l4.f(5));
this.f2456n = typedArray.getInt(8, 0);
this.f2457o = typedArray.getDimensionPixelSize(6, 0);
l4.n();
}
}

View File

@@ -0,0 +1,140 @@
package androidx.appcompat.widget;
import F0.c;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputMethodManager;
import m.C0480p;
import m.I0;
/* loaded from: classes.dex */
public class SearchView$SearchAutoComplete extends C0480p {
/* renamed from: e, reason: collision with root package name */
public int f2458e;
/* renamed from: f, reason: collision with root package name */
public boolean f2459f;
/* renamed from: g, reason: collision with root package name */
public final c f2460g;
public SearchView$SearchAutoComplete(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.f2460g = new c(this, 10);
this.f2458e = getThreshold();
}
private int getSearchViewTextMinWidthDp() {
Configuration configuration = getResources().getConfiguration();
int i = configuration.screenWidthDp;
int i4 = configuration.screenHeightDp;
if (i >= 960 && i4 >= 720 && configuration.orientation == 2) {
return 256;
}
if (i < 600) {
return (i < 640 || i4 < 480) ? 160 : 192;
}
return 192;
}
@Override // android.widget.AutoCompleteTextView
public final boolean enoughToFilter() {
return this.f2458e <= 0 || super.enoughToFilter();
}
@Override // m.C0480p, android.widget.TextView, android.view.View
public final InputConnection onCreateInputConnection(EditorInfo editorInfo) {
InputConnection onCreateInputConnection = super.onCreateInputConnection(editorInfo);
if (this.f2459f) {
c cVar = this.f2460g;
removeCallbacks(cVar);
post(cVar);
}
return onCreateInputConnection;
}
@Override // android.view.View
public final void onFinishInflate() {
super.onFinishInflate();
setMinWidth((int) TypedValue.applyDimension(1, getSearchViewTextMinWidthDp(), getResources().getDisplayMetrics()));
}
@Override // android.widget.AutoCompleteTextView, android.widget.TextView, android.view.View
public final void onFocusChanged(boolean z3, int i, Rect rect) {
super.onFocusChanged(z3, i, rect);
throw null;
}
@Override // android.widget.AutoCompleteTextView, android.widget.TextView, android.view.View
public final boolean onKeyPreIme(int i, KeyEvent keyEvent) {
if (i == 4) {
if (keyEvent.getAction() == 0 && keyEvent.getRepeatCount() == 0) {
KeyEvent.DispatcherState keyDispatcherState = getKeyDispatcherState();
if (keyDispatcherState != null) {
keyDispatcherState.startTracking(keyEvent, this);
}
return true;
}
if (keyEvent.getAction() == 1) {
KeyEvent.DispatcherState keyDispatcherState2 = getKeyDispatcherState();
if (keyDispatcherState2 != null) {
keyDispatcherState2.handleUpEvent(keyEvent);
}
if (keyEvent.isTracking() && !keyEvent.isCanceled()) {
throw null;
}
}
}
return super.onKeyPreIme(i, keyEvent);
}
@Override // android.widget.AutoCompleteTextView, android.widget.TextView, android.view.View
public final void onWindowFocusChanged(boolean z3) {
super.onWindowFocusChanged(z3);
if (z3) {
throw null;
}
}
@Override // android.widget.AutoCompleteTextView
public final void performCompletion() {
}
@Override // android.widget.AutoCompleteTextView
public final void replaceText(CharSequence charSequence) {
}
public void setImeVisibility(boolean z3) {
InputMethodManager inputMethodManager = (InputMethodManager) getContext().getSystemService("input_method");
c cVar = this.f2460g;
if (!z3) {
this.f2459f = false;
removeCallbacks(cVar);
inputMethodManager.hideSoftInputFromWindow(getWindowToken(), 0);
} else {
if (!inputMethodManager.isActive(this)) {
this.f2459f = true;
return;
}
this.f2459f = false;
removeCallbacks(cVar);
inputMethodManager.showSoftInput(this, 0);
}
}
public void setSearchView(I0 i02) {
}
@Override // android.widget.AutoCompleteTextView
public void setThreshold(int i) {
super.setThreshold(i);
this.f2458e = i;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,128 @@
package androidx.appcompat.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import f.AbstractC0336a;
import java.lang.ref.WeakReference;
import m.Y0;
/* loaded from: classes.dex */
public final class ViewStubCompat extends View {
/* renamed from: a, reason: collision with root package name */
public int f2503a;
/* renamed from: b, reason: collision with root package name */
public int f2504b;
/* renamed from: c, reason: collision with root package name */
public WeakReference f2505c;
/* renamed from: d, reason: collision with root package name */
public LayoutInflater f2506d;
public ViewStubCompat(Context context, AttributeSet attributeSet) {
super(context, attributeSet, 0);
this.f2503a = 0;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0336a.f6421A, 0, 0);
this.f2504b = obtainStyledAttributes.getResourceId(2, -1);
this.f2503a = obtainStyledAttributes.getResourceId(1, 0);
setId(obtainStyledAttributes.getResourceId(0, -1));
obtainStyledAttributes.recycle();
setVisibility(8);
setWillNotDraw(true);
}
public final View a() {
ViewParent parent = getParent();
if (!(parent instanceof ViewGroup)) {
throw new IllegalStateException("ViewStub must have a non-null ViewGroup viewParent");
}
if (this.f2503a == 0) {
throw new IllegalArgumentException("ViewStub must have a valid layoutResource");
}
ViewGroup viewGroup = (ViewGroup) parent;
LayoutInflater layoutInflater = this.f2506d;
if (layoutInflater == null) {
layoutInflater = LayoutInflater.from(getContext());
}
View inflate = layoutInflater.inflate(this.f2503a, viewGroup, false);
int i = this.f2504b;
if (i != -1) {
inflate.setId(i);
}
int indexOfChild = viewGroup.indexOfChild(this);
viewGroup.removeViewInLayout(this);
ViewGroup.LayoutParams layoutParams = getLayoutParams();
if (layoutParams != null) {
viewGroup.addView(inflate, indexOfChild, layoutParams);
} else {
viewGroup.addView(inflate, indexOfChild);
}
this.f2505c = new WeakReference(inflate);
return inflate;
}
@Override // android.view.View
public final void dispatchDraw(Canvas canvas) {
}
@Override // android.view.View
public final void draw(Canvas canvas) {
}
public int getInflatedId() {
return this.f2504b;
}
public LayoutInflater getLayoutInflater() {
return this.f2506d;
}
public int getLayoutResource() {
return this.f2503a;
}
@Override // android.view.View
public final void onMeasure(int i, int i4) {
setMeasuredDimension(0, 0);
}
public void setInflatedId(int i) {
this.f2504b = i;
}
public void setLayoutInflater(LayoutInflater layoutInflater) {
this.f2506d = layoutInflater;
}
public void setLayoutResource(int i) {
this.f2503a = i;
}
public void setOnInflateListener(Y0 y02) {
}
@Override // android.view.View
public void setVisibility(int i) {
WeakReference weakReference = this.f2505c;
if (weakReference != null) {
View view = (View) weakReference.get();
if (view == null) {
throw new IllegalStateException("setVisibility called on un-referenced view");
}
view.setVisibility(i);
return;
}
super.setVisibility(i);
if (i == 0 || i == 4) {
a();
}
}
}

View File

@@ -0,0 +1,209 @@
package androidx.cardview.widget;
import F.i;
import android.R;
import android.content.Context;
import android.content.res.ColorStateList;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import f0.C0338b;
import q.AbstractC0553a;
import r.C0564a;
/* loaded from: classes.dex */
public class CardView extends FrameLayout {
/* renamed from: f */
public static final int[] f2507f = {R.attr.colorBackground};
/* renamed from: g */
public static final C0338b f2508g = new C0338b(11);
/* renamed from: a */
public boolean f2509a;
/* renamed from: b */
public boolean f2510b;
/* renamed from: c */
public final Rect f2511c;
/* renamed from: d */
public final Rect f2512d;
/* renamed from: e */
public final i f2513e;
public CardView(Context context, AttributeSet attributeSet) {
super(context, attributeSet, com.adif.elcanomovil.R.attr.cardViewStyle);
ColorStateList valueOf;
Rect rect = new Rect();
this.f2511c = rect;
this.f2512d = new Rect();
i iVar = new i(this, 18);
this.f2513e = iVar;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, AbstractC0553a.f8145a, com.adif.elcanomovil.R.attr.cardViewStyle, com.adif.elcanomovil.R.style.CardView);
if (obtainStyledAttributes.hasValue(2)) {
valueOf = obtainStyledAttributes.getColorStateList(2);
} else {
TypedArray obtainStyledAttributes2 = getContext().obtainStyledAttributes(f2507f);
int color = obtainStyledAttributes2.getColor(0, 0);
obtainStyledAttributes2.recycle();
float[] fArr = new float[3];
Color.colorToHSV(color, fArr);
valueOf = ColorStateList.valueOf(fArr[2] > 0.5f ? getResources().getColor(com.adif.elcanomovil.R.color.cardview_light_background) : getResources().getColor(com.adif.elcanomovil.R.color.cardview_dark_background));
}
float dimension = obtainStyledAttributes.getDimension(3, BitmapDescriptorFactory.HUE_RED);
float dimension2 = obtainStyledAttributes.getDimension(4, BitmapDescriptorFactory.HUE_RED);
float dimension3 = obtainStyledAttributes.getDimension(5, BitmapDescriptorFactory.HUE_RED);
this.f2509a = obtainStyledAttributes.getBoolean(7, false);
this.f2510b = obtainStyledAttributes.getBoolean(6, true);
int dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(8, 0);
rect.left = obtainStyledAttributes.getDimensionPixelSize(10, dimensionPixelSize);
rect.top = obtainStyledAttributes.getDimensionPixelSize(12, dimensionPixelSize);
rect.right = obtainStyledAttributes.getDimensionPixelSize(11, dimensionPixelSize);
rect.bottom = obtainStyledAttributes.getDimensionPixelSize(9, dimensionPixelSize);
dimension3 = dimension2 > dimension3 ? dimension2 : dimension3;
obtainStyledAttributes.getDimensionPixelSize(0, 0);
obtainStyledAttributes.getDimensionPixelSize(1, 0);
obtainStyledAttributes.recycle();
C0338b c0338b = f2508g;
C0564a c0564a = new C0564a(valueOf, dimension);
iVar.f490b = c0564a;
setBackgroundDrawable(c0564a);
setClipToOutline(true);
setElevation(dimension2);
c0338b.w(iVar, dimension3);
}
public static /* synthetic */ void a(CardView cardView, int i, int i4, int i5, int i6) {
super.setPadding(i, i4, i5, i6);
}
public ColorStateList getCardBackgroundColor() {
return ((C0564a) ((Drawable) this.f2513e.f490b)).h;
}
public float getCardElevation() {
return ((CardView) this.f2513e.f491c).getElevation();
}
public int getContentPaddingBottom() {
return this.f2511c.bottom;
}
public int getContentPaddingLeft() {
return this.f2511c.left;
}
public int getContentPaddingRight() {
return this.f2511c.right;
}
public int getContentPaddingTop() {
return this.f2511c.top;
}
public float getMaxCardElevation() {
return ((C0564a) ((Drawable) this.f2513e.f490b)).f8197e;
}
public boolean getPreventCornerOverlap() {
return this.f2510b;
}
public float getRadius() {
return ((C0564a) ((Drawable) this.f2513e.f490b)).f8193a;
}
public boolean getUseCompatPadding() {
return this.f2509a;
}
@Override // android.widget.FrameLayout, android.view.View
public final void onMeasure(int i, int i4) {
super.onMeasure(i, i4);
}
public void setCardBackgroundColor(int i) {
ColorStateList valueOf = ColorStateList.valueOf(i);
C0564a c0564a = (C0564a) ((Drawable) this.f2513e.f490b);
if (valueOf == null) {
c0564a.getClass();
valueOf = ColorStateList.valueOf(0);
}
c0564a.h = valueOf;
c0564a.f8194b.setColor(valueOf.getColorForState(c0564a.getState(), c0564a.h.getDefaultColor()));
c0564a.invalidateSelf();
}
public void setCardElevation(float f2) {
((CardView) this.f2513e.f491c).setElevation(f2);
}
public void setMaxCardElevation(float f2) {
f2508g.w(this.f2513e, f2);
}
@Override // android.view.View
public void setMinimumHeight(int i) {
super.setMinimumHeight(i);
}
@Override // android.view.View
public void setMinimumWidth(int i) {
super.setMinimumWidth(i);
}
@Override // android.view.View
public final void setPadding(int i, int i4, int i5, int i6) {
}
@Override // android.view.View
public final void setPaddingRelative(int i, int i4, int i5, int i6) {
}
public void setPreventCornerOverlap(boolean z3) {
if (z3 != this.f2510b) {
this.f2510b = z3;
C0338b c0338b = f2508g;
i iVar = this.f2513e;
c0338b.w(iVar, ((C0564a) ((Drawable) iVar.f490b)).f8197e);
}
}
public void setRadius(float f2) {
C0564a c0564a = (C0564a) ((Drawable) this.f2513e.f490b);
if (f2 == c0564a.f8193a) {
return;
}
c0564a.f8193a = f2;
c0564a.b(null);
c0564a.invalidateSelf();
}
public void setUseCompatPadding(boolean z3) {
if (this.f2509a != z3) {
this.f2509a = z3;
C0338b c0338b = f2508g;
i iVar = this.f2513e;
c0338b.w(iVar, ((C0564a) ((Drawable) iVar.f490b)).f8197e);
}
}
public void setCardBackgroundColor(ColorStateList colorStateList) {
C0564a c0564a = (C0564a) ((Drawable) this.f2513e.f490b);
if (colorStateList == null) {
c0564a.getClass();
colorStateList = ColorStateList.valueOf(0);
}
c0564a.h = colorStateList;
c0564a.f8194b.setColor(colorStateList.getColorForState(c0564a.getState(), c0564a.h.getDefaultColor()));
c0564a.invalidateSelf();
}
}

View File

@@ -0,0 +1,14 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public abstract class a {
public abstract boolean a(j jVar, e eVar, e eVar2);
public abstract boolean b(j jVar, Object obj, Object obj2);
public abstract boolean c(j jVar, i iVar, i iVar2);
public abstract void d(i iVar, i iVar2);
public abstract void e(i iVar, Thread thread);
}

View File

@@ -0,0 +1,34 @@
package androidx.concurrent.futures;
import java.util.concurrent.CancellationException;
/* loaded from: classes.dex */
public final class b {
/* renamed from: c, reason: collision with root package name */
public static final b f2514c;
/* renamed from: d, reason: collision with root package name */
public static final b f2515d;
/* renamed from: a, reason: collision with root package name */
public final boolean f2516a;
/* renamed from: b, reason: collision with root package name */
public final CancellationException f2517b;
static {
if (j.GENERATE_CANCELLATION_CAUSES) {
f2515d = null;
f2514c = null;
} else {
f2515d = new b(false, null);
f2514c = new b(true, null);
}
}
public b(boolean z3, CancellationException cancellationException) {
this.f2516a = z3;
this.f2517b = cancellationException;
}
}

View File

@@ -0,0 +1,9 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class c extends Throwable {
@Override // java.lang.Throwable
public final synchronized Throwable fillInStackTrace() {
return this;
}
}

View File

@@ -0,0 +1,15 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class d {
/* renamed from: b, reason: collision with root package name */
public static final d f2518b = new d(new Throwable("Failure occurred while trying to finish a future."));
/* renamed from: a, reason: collision with root package name */
public final Throwable f2519a;
public d(Throwable th) {
this.f2519a = (Throwable) j.checkNotNull(th);
}
}

View File

@@ -0,0 +1,24 @@
package androidx.concurrent.futures;
import java.util.concurrent.Executor;
/* loaded from: classes.dex */
public final class e {
/* renamed from: d, reason: collision with root package name */
public static final e f2520d = new e(null, null);
/* renamed from: a, reason: collision with root package name */
public final Runnable f2521a;
/* renamed from: b, reason: collision with root package name */
public final Executor f2522b;
/* renamed from: c, reason: collision with root package name */
public e f2523c;
public e(Runnable runnable, Executor executor) {
this.f2521a = runnable;
this.f2522b = executor;
}
}

View File

@@ -0,0 +1,76 @@
package androidx.concurrent.futures;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
/* loaded from: classes.dex */
public final class f extends a {
/* renamed from: a, reason: collision with root package name */
public final AtomicReferenceFieldUpdater f2524a;
/* renamed from: b, reason: collision with root package name */
public final AtomicReferenceFieldUpdater f2525b;
/* renamed from: c, reason: collision with root package name */
public final AtomicReferenceFieldUpdater f2526c;
/* renamed from: d, reason: collision with root package name */
public final AtomicReferenceFieldUpdater f2527d;
/* renamed from: e, reason: collision with root package name */
public final AtomicReferenceFieldUpdater f2528e;
public f(AtomicReferenceFieldUpdater atomicReferenceFieldUpdater, AtomicReferenceFieldUpdater atomicReferenceFieldUpdater2, AtomicReferenceFieldUpdater atomicReferenceFieldUpdater3, AtomicReferenceFieldUpdater atomicReferenceFieldUpdater4, AtomicReferenceFieldUpdater atomicReferenceFieldUpdater5) {
this.f2524a = atomicReferenceFieldUpdater;
this.f2525b = atomicReferenceFieldUpdater2;
this.f2526c = atomicReferenceFieldUpdater3;
this.f2527d = atomicReferenceFieldUpdater4;
this.f2528e = atomicReferenceFieldUpdater5;
}
@Override // androidx.concurrent.futures.a
public final boolean a(j jVar, e eVar, e eVar2) {
AtomicReferenceFieldUpdater atomicReferenceFieldUpdater;
do {
atomicReferenceFieldUpdater = this.f2527d;
if (atomicReferenceFieldUpdater.compareAndSet(jVar, eVar, eVar2)) {
return true;
}
} while (atomicReferenceFieldUpdater.get(jVar) == eVar);
return false;
}
@Override // androidx.concurrent.futures.a
public final boolean b(j jVar, Object obj, Object obj2) {
AtomicReferenceFieldUpdater atomicReferenceFieldUpdater;
do {
atomicReferenceFieldUpdater = this.f2528e;
if (atomicReferenceFieldUpdater.compareAndSet(jVar, obj, obj2)) {
return true;
}
} while (atomicReferenceFieldUpdater.get(jVar) == obj);
return false;
}
@Override // androidx.concurrent.futures.a
public final boolean c(j jVar, i iVar, i iVar2) {
AtomicReferenceFieldUpdater atomicReferenceFieldUpdater;
do {
atomicReferenceFieldUpdater = this.f2526c;
if (atomicReferenceFieldUpdater.compareAndSet(jVar, iVar, iVar2)) {
return true;
}
} while (atomicReferenceFieldUpdater.get(jVar) == iVar);
return false;
}
@Override // androidx.concurrent.futures.a
public final void d(i iVar, i iVar2) {
this.f2525b.lazySet(iVar, iVar2);
}
@Override // androidx.concurrent.futures.a
public final void e(i iVar, Thread thread) {
this.f2524a.lazySet(iVar, thread);
}
}

View File

@@ -0,0 +1,26 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class g implements Runnable {
/* renamed from: a, reason: collision with root package name */
public final j f2529a;
/* renamed from: b, reason: collision with root package name */
public final L2.a f2530b;
public g(j jVar, L2.a aVar) {
this.f2529a = jVar;
this.f2530b = aVar;
}
@Override // java.lang.Runnable
public final void run() {
if (this.f2529a.value != this) {
return;
}
if (j.ATOMIC_HELPER.b(this.f2529a, this, j.getFutureValue(this.f2530b))) {
j.complete(this.f2529a);
}
}
}

View File

@@ -0,0 +1,59 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class h extends a {
@Override // androidx.concurrent.futures.a
public final boolean a(j jVar, e eVar, e eVar2) {
synchronized (jVar) {
try {
if (jVar.listeners != eVar) {
return false;
}
jVar.listeners = eVar2;
return true;
} catch (Throwable th) {
throw th;
}
}
}
@Override // androidx.concurrent.futures.a
public final boolean b(j jVar, Object obj, Object obj2) {
synchronized (jVar) {
try {
if (jVar.value != obj) {
return false;
}
jVar.value = obj2;
return true;
} catch (Throwable th) {
throw th;
}
}
}
@Override // androidx.concurrent.futures.a
public final boolean c(j jVar, i iVar, i iVar2) {
synchronized (jVar) {
try {
if (jVar.waiters != iVar) {
return false;
}
jVar.waiters = iVar2;
return true;
} catch (Throwable th) {
throw th;
}
}
}
@Override // androidx.concurrent.futures.a
public final void d(i iVar, i iVar2) {
iVar.f2533b = iVar2;
}
@Override // androidx.concurrent.futures.a
public final void e(i iVar, Thread thread) {
iVar.f2532a = thread;
}
}

View File

@@ -0,0 +1,18 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class i {
/* renamed from: c, reason: collision with root package name */
public static final i f2531c = new Object();
/* renamed from: a, reason: collision with root package name */
public volatile Thread f2532a;
/* renamed from: b, reason: collision with root package name */
public volatile i f2533b;
public i() {
j.ATOMIC_HELPER.e(this, Thread.currentThread());
}
}

View File

@@ -0,0 +1,567 @@
package androidx.concurrent.futures;
import C.w;
import java.util.Locale;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.Future;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
import java.util.concurrent.locks.LockSupport;
import java.util.logging.Level;
import java.util.logging.Logger;
/* loaded from: classes.dex */
public abstract class j implements L2.a {
static final a ATOMIC_HELPER;
private static final Object NULL;
private static final long SPIN_THRESHOLD_NANOS = 1000;
volatile e listeners;
volatile Object value;
volatile i waiters;
static final boolean GENERATE_CANCELLATION_CAUSES = Boolean.parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
private static final Logger log = Logger.getLogger(j.class.getName());
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r3v1, types: [androidx.concurrent.futures.a] */
/* JADX WARN: Type inference failed for: r3v4 */
/* JADX WARN: Type inference failed for: r3v5 */
static {
?? r32;
try {
th = null;
r32 = new f(AtomicReferenceFieldUpdater.newUpdater(i.class, Thread.class, "a"), AtomicReferenceFieldUpdater.newUpdater(i.class, i.class, "b"), AtomicReferenceFieldUpdater.newUpdater(j.class, i.class, "waiters"), AtomicReferenceFieldUpdater.newUpdater(j.class, e.class, "listeners"), AtomicReferenceFieldUpdater.newUpdater(j.class, Object.class, "value"));
} catch (Throwable th) {
th = th;
r32 = new Object();
}
ATOMIC_HELPER = r32;
if (th != null) {
log.log(Level.SEVERE, "SafeAtomicHelper is broken!", th);
}
NULL = new Object();
}
public static void b(Runnable runnable, Executor executor) {
try {
executor.execute(runnable);
} catch (RuntimeException e4) {
log.log(Level.SEVERE, "RuntimeException while executing runnable " + runnable + " with executor " + executor, (Throwable) e4);
}
}
public static Object c(Object obj) {
if (obj instanceof b) {
CancellationException cancellationException = ((b) obj).f2517b;
CancellationException cancellationException2 = new CancellationException("Task was cancelled.");
cancellationException2.initCause(cancellationException);
throw cancellationException2;
}
if (obj instanceof d) {
throw new ExecutionException(((d) obj).f2519a);
}
if (obj == NULL) {
return null;
}
return obj;
}
public static <T> T checkNotNull(T t2) {
t2.getClass();
return t2;
}
public static void complete(j jVar) {
e eVar;
e eVar2;
e eVar3 = null;
while (true) {
i iVar = jVar.waiters;
if (ATOMIC_HELPER.c(jVar, iVar, i.f2531c)) {
while (iVar != null) {
Thread thread = iVar.f2532a;
if (thread != null) {
iVar.f2532a = null;
LockSupport.unpark(thread);
}
iVar = iVar.f2533b;
}
jVar.afterDone();
do {
eVar = jVar.listeners;
} while (!ATOMIC_HELPER.a(jVar, eVar, e.f2520d));
while (true) {
eVar2 = eVar3;
eVar3 = eVar;
if (eVar3 == null) {
break;
}
eVar = eVar3.f2523c;
eVar3.f2523c = eVar2;
}
while (eVar2 != null) {
eVar3 = eVar2.f2523c;
Runnable runnable = eVar2.f2521a;
if (runnable instanceof g) {
g gVar = (g) runnable;
jVar = gVar.f2529a;
if (jVar.value == gVar) {
if (ATOMIC_HELPER.b(jVar, gVar, getFutureValue(gVar.f2530b))) {
break;
}
} else {
continue;
}
} else {
b(runnable, eVar2.f2522b);
}
eVar2 = eVar3;
}
return;
}
}
}
public static Object getFutureValue(L2.a aVar) {
if (aVar instanceof j) {
Object obj = ((j) aVar).value;
if (!(obj instanceof b)) {
return obj;
}
b bVar = (b) obj;
return bVar.f2516a ? bVar.f2517b != null ? new b(false, bVar.f2517b) : b.f2515d : obj;
}
boolean isCancelled = aVar.isCancelled();
if ((!GENERATE_CANCELLATION_CAUSES) && isCancelled) {
return b.f2515d;
}
try {
Object uninterruptibly = getUninterruptibly(aVar);
return uninterruptibly == null ? NULL : uninterruptibly;
} catch (CancellationException e4) {
if (isCancelled) {
return new b(false, e4);
}
return new d(new IllegalArgumentException("get() threw CancellationException, despite reporting isCancelled() == false: " + aVar, e4));
} catch (ExecutionException e5) {
return new d(e5.getCause());
} catch (Throwable th) {
return new d(th);
}
}
public static <V> V getUninterruptibly(Future<V> future) throws ExecutionException {
V v3;
boolean z3 = false;
while (true) {
try {
v3 = future.get();
break;
} catch (InterruptedException unused) {
z3 = true;
} catch (Throwable th) {
if (z3) {
Thread.currentThread().interrupt();
}
throw th;
}
}
if (z3) {
Thread.currentThread().interrupt();
}
return v3;
}
public final void a(StringBuilder sb) {
try {
Object uninterruptibly = getUninterruptibly(this);
sb.append("SUCCESS, result=[");
sb.append(uninterruptibly == this ? "this future" : String.valueOf(uninterruptibly));
sb.append("]");
} catch (CancellationException unused) {
sb.append("CANCELLED");
} catch (RuntimeException e4) {
sb.append("UNKNOWN, cause=[");
sb.append(e4.getClass());
sb.append(" thrown from get()]");
} catch (ExecutionException e5) {
sb.append("FAILURE, cause=[");
sb.append(e5.getCause());
sb.append("]");
}
}
@Override // L2.a
public final void addListener(Runnable runnable, Executor executor) {
checkNotNull(runnable);
checkNotNull(executor);
e eVar = this.listeners;
e eVar2 = e.f2520d;
if (eVar != eVar2) {
e eVar3 = new e(runnable, executor);
do {
eVar3.f2523c = eVar;
if (ATOMIC_HELPER.a(this, eVar, eVar3)) {
return;
} else {
eVar = this.listeners;
}
} while (eVar != eVar2);
}
b(runnable, executor);
}
public void afterDone() {
}
/* JADX WARN: Code restructure failed: missing block: B:35:0x0056, code lost:
return true;
*/
@Override // java.util.concurrent.Future
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean cancel(boolean r7) {
/*
r6 = this;
java.lang.Object r0 = r6.value
r1 = 1
r2 = 0
if (r0 != 0) goto L8
r3 = r1
goto L9
L8:
r3 = r2
L9:
boolean r4 = r0 instanceof androidx.concurrent.futures.g
r3 = r3 | r4
if (r3 == 0) goto L5e
boolean r3 = androidx.concurrent.futures.j.GENERATE_CANCELLATION_CAUSES
if (r3 == 0) goto L1f
androidx.concurrent.futures.b r3 = new androidx.concurrent.futures.b
java.util.concurrent.CancellationException r4 = new java.util.concurrent.CancellationException
java.lang.String r5 = "Future.cancel() was called."
r4.<init>(r5)
r3.<init>(r7, r4)
goto L26
L1f:
if (r7 == 0) goto L24
androidx.concurrent.futures.b r3 = androidx.concurrent.futures.b.f2514c
goto L26
L24:
androidx.concurrent.futures.b r3 = androidx.concurrent.futures.b.f2515d
L26:
r4 = r2
L27:
androidx.concurrent.futures.a r5 = androidx.concurrent.futures.j.ATOMIC_HELPER
boolean r5 = r5.b(r6, r0, r3)
if (r5 == 0) goto L57
if (r7 == 0) goto L34
r6.interruptTask()
L34:
complete(r6)
boolean r6 = r0 instanceof androidx.concurrent.futures.g
if (r6 == 0) goto L56
androidx.concurrent.futures.g r0 = (androidx.concurrent.futures.g) r0
L2.a r6 = r0.f2530b
boolean r0 = r6 instanceof androidx.concurrent.futures.j
if (r0 == 0) goto L53
androidx.concurrent.futures.j r6 = (androidx.concurrent.futures.j) r6
java.lang.Object r0 = r6.value
if (r0 != 0) goto L4b
r4 = r1
goto L4c
L4b:
r4 = r2
L4c:
boolean r5 = r0 instanceof androidx.concurrent.futures.g
r4 = r4 | r5
if (r4 == 0) goto L56
r4 = r1
goto L27
L53:
r6.cancel(r7)
L56:
return r1
L57:
java.lang.Object r0 = r6.value
boolean r5 = r0 instanceof androidx.concurrent.futures.g
if (r5 != 0) goto L27
return r4
L5e:
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.concurrent.futures.j.cancel(boolean):boolean");
}
public final void d(i iVar) {
iVar.f2532a = null;
while (true) {
i iVar2 = this.waiters;
if (iVar2 == i.f2531c) {
return;
}
i iVar3 = null;
while (iVar2 != null) {
i iVar4 = iVar2.f2533b;
if (iVar2.f2532a != null) {
iVar3 = iVar2;
} else if (iVar3 != null) {
iVar3.f2533b = iVar4;
if (iVar3.f2532a == null) {
break;
}
} else if (!ATOMIC_HELPER.c(this, iVar2, iVar4)) {
break;
}
iVar2 = iVar4;
}
return;
}
}
@Override // java.util.concurrent.Future
public final Object get(long j4, TimeUnit timeUnit) throws InterruptedException, TimeoutException, ExecutionException {
boolean z3;
long nanos = timeUnit.toNanos(j4);
if (!Thread.interrupted()) {
Object obj = this.value;
if ((obj != null) & (!(obj instanceof g))) {
return c(obj);
}
long nanoTime = nanos > 0 ? System.nanoTime() + nanos : 0L;
if (nanos >= 1000) {
i iVar = this.waiters;
i iVar2 = i.f2531c;
if (iVar != iVar2) {
i iVar3 = new i();
z3 = true;
do {
a aVar = ATOMIC_HELPER;
aVar.d(iVar3, iVar);
if (aVar.c(this, iVar, iVar3)) {
do {
LockSupport.parkNanos(this, nanos);
if (!Thread.interrupted()) {
Object obj2 = this.value;
if ((obj2 != null) & (!(obj2 instanceof g))) {
return c(obj2);
}
nanos = nanoTime - System.nanoTime();
} else {
d(iVar3);
throw new InterruptedException();
}
} while (nanos >= 1000);
d(iVar3);
} else {
iVar = this.waiters;
}
} while (iVar != iVar2);
}
return c(this.value);
}
z3 = true;
while (nanos > 0) {
Object obj3 = this.value;
if ((obj3 != null ? z3 : false) & (!(obj3 instanceof g))) {
return c(obj3);
}
if (!Thread.interrupted()) {
nanos = nanoTime - System.nanoTime();
} else {
throw new InterruptedException();
}
}
String jVar = toString();
String obj4 = timeUnit.toString();
Locale locale = Locale.ROOT;
String lowerCase = obj4.toLowerCase(locale);
String str = "Waited " + j4 + " " + timeUnit.toString().toLowerCase(locale);
if (nanos + 1000 < 0) {
String n4 = w.n(str, " (plus ");
long j5 = -nanos;
long convert = timeUnit.convert(j5, TimeUnit.NANOSECONDS);
long nanos2 = j5 - timeUnit.toNanos(convert);
boolean z4 = (convert == 0 || nanos2 > 1000) ? z3 : false;
if (convert > 0) {
String str2 = n4 + convert + " " + lowerCase;
if (z4) {
str2 = w.n(str2, ",");
}
n4 = w.n(str2, " ");
}
if (z4) {
n4 = n4 + nanos2 + " nanoseconds ";
}
str = w.n(n4, "delay)");
}
if (isDone()) {
throw new TimeoutException(w.n(str, " but future completed as timeout expired"));
}
throw new TimeoutException(str + " for " + jVar);
}
throw new InterruptedException();
}
public void interruptTask() {
}
@Override // java.util.concurrent.Future
public final boolean isCancelled() {
return this.value instanceof b;
}
@Override // java.util.concurrent.Future
public final boolean isDone() {
return (!(r2 instanceof g)) & (this.value != null);
}
public final void maybePropagateCancellationTo(Future<?> future) {
if ((future != null) && isCancelled()) {
future.cancel(wasInterrupted());
}
}
/* JADX WARN: Multi-variable type inference failed */
public String pendingToString() {
Object obj = this.value;
if (obj instanceof g) {
StringBuilder sb = new StringBuilder("setFuture=[");
L2.a aVar = ((g) obj).f2530b;
return w.r(sb, aVar == this ? "this future" : String.valueOf(aVar), "]");
}
if (!(this instanceof ScheduledFuture)) {
return null;
}
return "remaining delay=[" + ((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS) + " ms]";
}
public boolean set(Object obj) {
if (obj == null) {
obj = NULL;
}
if (!ATOMIC_HELPER.b(this, null, obj)) {
return false;
}
complete(this);
return true;
}
public boolean setException(Throwable th) {
if (!ATOMIC_HELPER.b(this, null, new d((Throwable) checkNotNull(th)))) {
return false;
}
complete(this);
return true;
}
public boolean setFuture(L2.a aVar) {
d dVar;
checkNotNull(aVar);
Object obj = this.value;
if (obj == null) {
if (aVar.isDone()) {
if (ATOMIC_HELPER.b(this, null, getFutureValue(aVar))) {
complete(this);
return true;
}
return false;
}
g gVar = new g(this, aVar);
if (ATOMIC_HELPER.b(this, null, gVar)) {
try {
aVar.addListener(gVar, k.f2534a);
return true;
} catch (Throwable th) {
try {
dVar = new d(th);
} catch (Throwable unused) {
dVar = d.f2518b;
}
ATOMIC_HELPER.b(this, gVar, dVar);
return true;
}
}
obj = this.value;
}
if (obj instanceof b) {
aVar.cancel(((b) obj).f2516a);
}
return false;
}
public String toString() {
String str;
StringBuilder sb = new StringBuilder();
sb.append(super.toString());
sb.append("[status=");
if (isCancelled()) {
sb.append("CANCELLED");
} else if (isDone()) {
a(sb);
} else {
try {
str = pendingToString();
} catch (RuntimeException e4) {
str = "Exception thrown from implementation: " + e4.getClass();
}
if (str != null && !str.isEmpty()) {
sb.append("PENDING, info=[");
sb.append(str);
sb.append("]");
} else if (isDone()) {
a(sb);
} else {
sb.append("PENDING");
}
}
sb.append("]");
return sb.toString();
}
public final boolean wasInterrupted() {
Object obj = this.value;
return (obj instanceof b) && ((b) obj).f2516a;
}
@Override // java.util.concurrent.Future
public final Object get() throws InterruptedException, ExecutionException {
Object obj;
if (!Thread.interrupted()) {
Object obj2 = this.value;
if ((obj2 != null) & (!(obj2 instanceof g))) {
return c(obj2);
}
i iVar = this.waiters;
i iVar2 = i.f2531c;
if (iVar != iVar2) {
i iVar3 = new i();
do {
a aVar = ATOMIC_HELPER;
aVar.d(iVar3, iVar);
if (aVar.c(this, iVar, iVar3)) {
do {
LockSupport.park(this);
if (!Thread.interrupted()) {
obj = this.value;
} else {
d(iVar3);
throw new InterruptedException();
}
} while (!((obj != null) & (!(obj instanceof g))));
return c(obj);
}
iVar = this.waiters;
} while (iVar != iVar2);
}
return c(this.value);
}
throw new InterruptedException();
}
}

View File

@@ -0,0 +1,40 @@
package androidx.concurrent.futures;
import java.util.concurrent.Executor;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes.dex */
public final class k implements Executor {
/* renamed from: a, reason: collision with root package name */
public static final k f2534a;
/* renamed from: b, reason: collision with root package name */
public static final /* synthetic */ k[] f2535b;
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.concurrent.futures.k, java.lang.Enum] */
static {
?? r02 = new Enum("INSTANCE", 0);
f2534a = r02;
f2535b = new k[]{r02};
}
public static k valueOf(String str) {
return (k) Enum.valueOf(k.class, str);
}
public static k[] values() {
return (k[]) f2535b.clone();
}
@Override // java.util.concurrent.Executor
public final void execute(Runnable runnable) {
runnable.run();
}
@Override // java.lang.Enum
public final String toString() {
return "DirectExecutor";
}
}

View File

@@ -0,0 +1,5 @@
package androidx.concurrent.futures;
/* loaded from: classes.dex */
public final class l extends j {
}

View File

@@ -0,0 +1,304 @@
package androidx.constraintlayout.helper.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import androidx.constraintlayout.widget.s;
import androidx.constraintlayout.widget.u;
import java.util.ArrayList;
import java.util.HashMap;
import w.d;
import w.g;
import w.i;
/* loaded from: classes.dex */
public class Flow extends u {
/* renamed from: j, reason: collision with root package name */
public final g f2536j;
/* JADX WARN: Type inference failed for: r1v0, types: [java.lang.Object, x.b] */
/* JADX WARN: Type inference failed for: r8v1, types: [w.g, w.i] */
public Flow(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.f2546a = new int[32];
this.f2552g = new HashMap();
this.f2548c = context;
super.g(attributeSet);
?? iVar = new i();
iVar.f8786s0 = 0;
iVar.f8787t0 = 0;
iVar.f8788u0 = 0;
iVar.f8789v0 = 0;
iVar.f8790w0 = 0;
iVar.f8791x0 = 0;
iVar.f8792y0 = false;
iVar.f8793z0 = 0;
iVar.A0 = 0;
iVar.f8761B0 = new Object();
iVar.f8762C0 = null;
iVar.f8763D0 = -1;
iVar.E0 = -1;
iVar.f8764F0 = -1;
iVar.f8765G0 = -1;
iVar.f8766H0 = -1;
iVar.f8767I0 = -1;
iVar.f8768J0 = 0.5f;
iVar.f8769K0 = 0.5f;
iVar.f8770L0 = 0.5f;
iVar.f8771M0 = 0.5f;
iVar.f8772N0 = 0.5f;
iVar.f8773O0 = 0.5f;
iVar.f8774P0 = 0;
iVar.f8775Q0 = 0;
iVar.f8776R0 = 2;
iVar.f8777S0 = 2;
iVar.f8778T0 = 0;
iVar.f8779U0 = -1;
iVar.f8780V0 = 0;
iVar.f8781W0 = new ArrayList();
iVar.f8782X0 = null;
iVar.Y0 = null;
iVar.f8783Z0 = null;
iVar.f8785b1 = 0;
this.f2536j = iVar;
if (attributeSet != null) {
TypedArray obtainStyledAttributes = getContext().obtainStyledAttributes(attributeSet, s.f2749b);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 0) {
this.f2536j.f8780V0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 1) {
g gVar = this.f2536j;
int dimensionPixelSize = obtainStyledAttributes.getDimensionPixelSize(index, 0);
gVar.f8786s0 = dimensionPixelSize;
gVar.f8787t0 = dimensionPixelSize;
gVar.f8788u0 = dimensionPixelSize;
gVar.f8789v0 = dimensionPixelSize;
} else if (index == 18) {
g gVar2 = this.f2536j;
int dimensionPixelSize2 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
gVar2.f8788u0 = dimensionPixelSize2;
gVar2.f8790w0 = dimensionPixelSize2;
gVar2.f8791x0 = dimensionPixelSize2;
} else if (index == 19) {
this.f2536j.f8789v0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 2) {
this.f2536j.f8790w0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 3) {
this.f2536j.f8786s0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 4) {
this.f2536j.f8791x0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 5) {
this.f2536j.f8787t0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 54) {
this.f2536j.f8778T0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 44) {
this.f2536j.f8763D0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 53) {
this.f2536j.E0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 38) {
this.f2536j.f8764F0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 46) {
this.f2536j.f8766H0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 40) {
this.f2536j.f8765G0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 48) {
this.f2536j.f8767I0 = obtainStyledAttributes.getInt(index, 0);
} else if (index == 42) {
this.f2536j.f8768J0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 37) {
this.f2536j.f8770L0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 45) {
this.f2536j.f8772N0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 39) {
this.f2536j.f8771M0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 47) {
this.f2536j.f8773O0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 51) {
this.f2536j.f8769K0 = obtainStyledAttributes.getFloat(index, 0.5f);
} else if (index == 41) {
this.f2536j.f8776R0 = obtainStyledAttributes.getInt(index, 2);
} else if (index == 50) {
this.f2536j.f8777S0 = obtainStyledAttributes.getInt(index, 2);
} else if (index == 43) {
this.f2536j.f8774P0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 52) {
this.f2536j.f8775Q0 = obtainStyledAttributes.getDimensionPixelSize(index, 0);
} else if (index == 49) {
this.f2536j.f8779U0 = obtainStyledAttributes.getInt(index, -1);
}
}
obtainStyledAttributes.recycle();
}
this.f2549d = this.f2536j;
i();
}
@Override // androidx.constraintlayout.widget.c
public final void h(d dVar, boolean z3) {
g gVar = this.f2536j;
int i = gVar.f8788u0;
if (i > 0 || gVar.f8789v0 > 0) {
if (z3) {
gVar.f8790w0 = gVar.f8789v0;
gVar.f8791x0 = i;
} else {
gVar.f8790w0 = i;
gVar.f8791x0 = gVar.f8789v0;
}
}
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:85:0x06e0 */
/* JADX WARN: Removed duplicated region for block: B:91:0x06ee */
/* JADX WARN: Removed duplicated region for block: B:94:0x070d */
/* JADX WARN: Removed duplicated region for block: B:96:0x0710 */
/* JADX WARN: Removed duplicated region for block: B:97:0x06f1 */
/* JADX WARN: Type inference failed for: r28v0 */
/* JADX WARN: Type inference failed for: r28v1 */
/* JADX WARN: Type inference failed for: r28v2 */
@Override // androidx.constraintlayout.widget.u
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void j(w.g r38, int r39, int r40) {
/*
Method dump skipped, instructions count: 1828
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.constraintlayout.helper.widget.Flow.j(w.g, int, int):void");
}
@Override // androidx.constraintlayout.widget.c, android.view.View
public final void onMeasure(int i, int i4) {
j(this.f2536j, i, i4);
}
public void setFirstHorizontalBias(float f2) {
this.f2536j.f8770L0 = f2;
requestLayout();
}
public void setFirstHorizontalStyle(int i) {
this.f2536j.f8764F0 = i;
requestLayout();
}
public void setFirstVerticalBias(float f2) {
this.f2536j.f8771M0 = f2;
requestLayout();
}
public void setFirstVerticalStyle(int i) {
this.f2536j.f8765G0 = i;
requestLayout();
}
public void setHorizontalAlign(int i) {
this.f2536j.f8776R0 = i;
requestLayout();
}
public void setHorizontalBias(float f2) {
this.f2536j.f8768J0 = f2;
requestLayout();
}
public void setHorizontalGap(int i) {
this.f2536j.f8774P0 = i;
requestLayout();
}
public void setHorizontalStyle(int i) {
this.f2536j.f8763D0 = i;
requestLayout();
}
public void setLastHorizontalBias(float f2) {
this.f2536j.f8772N0 = f2;
requestLayout();
}
public void setLastHorizontalStyle(int i) {
this.f2536j.f8766H0 = i;
requestLayout();
}
public void setLastVerticalBias(float f2) {
this.f2536j.f8773O0 = f2;
requestLayout();
}
public void setLastVerticalStyle(int i) {
this.f2536j.f8767I0 = i;
requestLayout();
}
public void setMaxElementsWrap(int i) {
this.f2536j.f8779U0 = i;
requestLayout();
}
public void setOrientation(int i) {
this.f2536j.f8780V0 = i;
requestLayout();
}
public void setPadding(int i) {
g gVar = this.f2536j;
gVar.f8786s0 = i;
gVar.f8787t0 = i;
gVar.f8788u0 = i;
gVar.f8789v0 = i;
requestLayout();
}
public void setPaddingBottom(int i) {
this.f2536j.f8787t0 = i;
requestLayout();
}
public void setPaddingLeft(int i) {
this.f2536j.f8790w0 = i;
requestLayout();
}
public void setPaddingRight(int i) {
this.f2536j.f8791x0 = i;
requestLayout();
}
public void setPaddingTop(int i) {
this.f2536j.f8786s0 = i;
requestLayout();
}
public void setVerticalAlign(int i) {
this.f2536j.f8777S0 = i;
requestLayout();
}
public void setVerticalBias(float f2) {
this.f2536j.f8769K0 = f2;
requestLayout();
}
public void setVerticalGap(int i) {
this.f2536j.f8775Q0 = i;
requestLayout();
}
public void setVerticalStyle(int i) {
this.f2536j.E0 = i;
requestLayout();
}
public void setWrapMode(int i) {
this.f2536j.f8778T0 = i;
requestLayout();
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,69 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
/* loaded from: classes.dex */
public class Guideline extends View {
/* renamed from: a, reason: collision with root package name */
public boolean f2537a;
public Guideline(Context context) {
super(context);
this.f2537a = true;
super.setVisibility(8);
}
@Override // android.view.View
public final void draw(Canvas canvas) {
}
@Override // android.view.View
public final void onMeasure(int i, int i4) {
setMeasuredDimension(0, 0);
}
public void setFilterRedundantCalls(boolean z3) {
this.f2537a = z3;
}
public void setGuidelineBegin(int i) {
e eVar = (e) getLayoutParams();
if (this.f2537a && eVar.f2578a == i) {
return;
}
eVar.f2578a = i;
setLayoutParams(eVar);
}
public void setGuidelineEnd(int i) {
e eVar = (e) getLayoutParams();
if (this.f2537a && eVar.f2580b == i) {
return;
}
eVar.f2580b = i;
setLayoutParams(eVar);
}
public void setGuidelinePercent(float f2) {
e eVar = (e) getLayoutParams();
if (this.f2537a && eVar.f2582c == f2) {
return;
}
eVar.f2582c = f2;
setLayoutParams(eVar);
}
@Override // android.view.View
public void setVisibility(int i) {
}
public Guideline(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.f2537a = true;
super.setVisibility(8);
}
}

View File

@@ -0,0 +1,60 @@
package androidx.constraintlayout.widget;
import w.C0643a;
/* loaded from: classes.dex */
public final class a extends c {
public int h;
public int i;
/* renamed from: j, reason: collision with root package name */
public C0643a f2538j;
public boolean getAllowsGoneWidget() {
return this.f2538j.f8639t0;
}
public int getMargin() {
return this.f2538j.f8640u0;
}
public int getType() {
return this.h;
}
@Override // androidx.constraintlayout.widget.c
public final void h(w.d dVar, boolean z3) {
int i = this.h;
this.i = i;
if (z3) {
if (i == 5) {
this.i = 1;
} else if (i == 6) {
this.i = 0;
}
} else if (i == 5) {
this.i = 0;
} else if (i == 6) {
this.i = 1;
}
if (dVar instanceof C0643a) {
((C0643a) dVar).f8638s0 = this.i;
}
}
public void setAllowsGoneWidget(boolean z3) {
this.f2538j.f8639t0 = z3;
}
public void setDpMargin(int i) {
this.f2538j.f8640u0 = (int) ((i * getResources().getDisplayMetrics().density) + 0.5f);
}
public void setMargin(int i) {
this.f2538j.f8640u0 = i;
}
public void setType(int i) {
this.h = i;
}
}

View File

@@ -0,0 +1,142 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.util.TypedValue;
import android.util.Xml;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.util.HashMap;
import u.AbstractC0629f;
/* loaded from: classes.dex */
public final class b {
/* renamed from: a, reason: collision with root package name */
public boolean f2539a = false;
/* renamed from: b, reason: collision with root package name */
public int f2540b;
/* renamed from: c, reason: collision with root package name */
public int f2541c;
/* renamed from: d, reason: collision with root package name */
public float f2542d;
/* renamed from: e, reason: collision with root package name */
public String f2543e;
/* renamed from: f, reason: collision with root package name */
public boolean f2544f;
/* renamed from: g, reason: collision with root package name */
public int f2545g;
public b(b bVar, Object obj) {
bVar.getClass();
this.f2540b = bVar.f2540b;
b(obj);
}
/* JADX WARN: Type inference failed for: r1v2, types: [androidx.constraintlayout.widget.b, java.lang.Object] */
public static void a(Context context, XmlResourceParser xmlResourceParser, HashMap hashMap) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(Xml.asAttributeSet(xmlResourceParser), s.f2751d);
int indexCount = obtainStyledAttributes.getIndexCount();
String str = null;
int i = 0;
boolean z3 = false;
Object obj = null;
for (int i4 = 0; i4 < indexCount; i4++) {
int index = obtainStyledAttributes.getIndex(i4);
int i5 = 1;
if (index == 0) {
str = obtainStyledAttributes.getString(index);
if (str != null && str.length() > 0) {
str = Character.toUpperCase(str.charAt(0)) + str.substring(1);
}
} else if (index == 10) {
str = obtainStyledAttributes.getString(index);
z3 = true;
} else if (index == 1) {
obj = Boolean.valueOf(obtainStyledAttributes.getBoolean(index, false));
i = 6;
} else {
int i6 = 3;
if (index == 3) {
obj = Integer.valueOf(obtainStyledAttributes.getColor(index, 0));
} else {
i6 = 4;
if (index == 2) {
obj = Integer.valueOf(obtainStyledAttributes.getColor(index, 0));
} else {
if (index == 7) {
obj = Float.valueOf(TypedValue.applyDimension(1, obtainStyledAttributes.getDimension(index, BitmapDescriptorFactory.HUE_RED), context.getResources().getDisplayMetrics()));
} else if (index == 4) {
obj = Float.valueOf(obtainStyledAttributes.getDimension(index, BitmapDescriptorFactory.HUE_RED));
} else {
i6 = 5;
if (index == 5) {
obj = Float.valueOf(obtainStyledAttributes.getFloat(index, Float.NaN));
i = 2;
} else {
if (index == 6) {
obj = Integer.valueOf(obtainStyledAttributes.getInteger(index, -1));
} else if (index == 9) {
obj = obtainStyledAttributes.getString(index);
} else {
i5 = 8;
if (index == 8) {
int resourceId = obtainStyledAttributes.getResourceId(index, -1);
if (resourceId == -1) {
resourceId = obtainStyledAttributes.getInt(index, -1);
}
obj = Integer.valueOf(resourceId);
}
}
i = i5;
}
}
i = 7;
}
}
i = i6;
}
}
if (str != null && obj != null) {
?? obj2 = new Object();
obj2.f2540b = i;
obj2.f2539a = z3;
obj2.b(obj);
hashMap.put(str, obj2);
}
obtainStyledAttributes.recycle();
}
public final void b(Object obj) {
switch (AbstractC0629f.b(this.f2540b)) {
case 0:
case 7:
this.f2541c = ((Integer) obj).intValue();
return;
case 1:
this.f2542d = ((Float) obj).floatValue();
return;
case 2:
case 3:
this.f2545g = ((Integer) obj).intValue();
return;
case 4:
this.f2543e = (String) obj;
return;
case 5:
this.f2544f = ((Boolean) obj).booleanValue();
return;
case 6:
this.f2542d = ((Float) obj).floatValue();
return;
default:
return;
}
}
}

View File

@@ -0,0 +1,265 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.util.Arrays;
import java.util.HashMap;
/* loaded from: classes.dex */
public abstract class c extends View {
/* renamed from: a, reason: collision with root package name */
public int[] f2546a;
/* renamed from: b, reason: collision with root package name */
public int f2547b;
/* renamed from: c, reason: collision with root package name */
public Context f2548c;
/* renamed from: d, reason: collision with root package name */
public w.i f2549d;
/* renamed from: e, reason: collision with root package name */
public String f2550e;
/* renamed from: f, reason: collision with root package name */
public String f2551f;
/* renamed from: g, reason: collision with root package name */
public HashMap f2552g;
public final void a(String str) {
Context context;
if (str == null || str.length() == 0 || (context = this.f2548c) == null) {
return;
}
String trim = str.trim();
if (getParent() instanceof ConstraintLayout) {
}
ConstraintLayout constraintLayout = getParent() instanceof ConstraintLayout ? (ConstraintLayout) getParent() : null;
int i = 0;
if (isInEditMode() && constraintLayout != null) {
Object designInformation = constraintLayout.getDesignInformation(0, trim);
if (designInformation instanceof Integer) {
i = ((Integer) designInformation).intValue();
}
}
if (i == 0 && constraintLayout != null) {
i = f(constraintLayout, trim);
}
if (i == 0) {
try {
i = r.class.getField(trim).getInt(null);
} catch (Exception unused) {
}
}
if (i == 0) {
i = context.getResources().getIdentifier(trim, NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, context.getPackageName());
}
if (i != 0) {
this.f2552g.put(Integer.valueOf(i), trim);
b(i);
} else {
Log.w("ConstraintHelper", "Could not find id of \"" + trim + "\"");
}
}
public final void b(int i) {
if (i == getId()) {
return;
}
int i4 = this.f2547b + 1;
int[] iArr = this.f2546a;
if (i4 > iArr.length) {
this.f2546a = Arrays.copyOf(iArr, iArr.length * 2);
}
int[] iArr2 = this.f2546a;
int i5 = this.f2547b;
iArr2[i5] = i;
this.f2547b = i5 + 1;
}
public final void c(String str) {
if (str == null || str.length() == 0 || this.f2548c == null) {
return;
}
String trim = str.trim();
ConstraintLayout constraintLayout = getParent() instanceof ConstraintLayout ? (ConstraintLayout) getParent() : null;
if (constraintLayout == null) {
Log.w("ConstraintHelper", "Parent not a ConstraintLayout");
return;
}
int childCount = constraintLayout.getChildCount();
for (int i = 0; i < childCount; i++) {
View childAt = constraintLayout.getChildAt(i);
ViewGroup.LayoutParams layoutParams = childAt.getLayoutParams();
if ((layoutParams instanceof e) && trim.equals(((e) layoutParams).f2577Y)) {
if (childAt.getId() == -1) {
Log.w("ConstraintHelper", "to use ConstraintTag view " + childAt.getClass().getSimpleName() + " must have an ID");
} else {
b(childAt.getId());
}
}
}
}
public final void d(ConstraintLayout constraintLayout) {
int visibility = getVisibility();
float elevation = getElevation();
for (int i = 0; i < this.f2547b; i++) {
View viewById = constraintLayout.getViewById(this.f2546a[i]);
if (viewById != null) {
viewById.setVisibility(visibility);
if (elevation > BitmapDescriptorFactory.HUE_RED) {
viewById.setTranslationZ(viewById.getTranslationZ() + elevation);
}
}
}
}
public void e(ConstraintLayout constraintLayout) {
}
public final int f(ConstraintLayout constraintLayout, String str) {
Resources resources;
String str2;
if (str != null && (resources = this.f2548c.getResources()) != null) {
int childCount = constraintLayout.getChildCount();
for (int i = 0; i < childCount; i++) {
View childAt = constraintLayout.getChildAt(i);
if (childAt.getId() != -1) {
try {
str2 = resources.getResourceEntryName(childAt.getId());
} catch (Resources.NotFoundException unused) {
str2 = null;
}
if (str.equals(str2)) {
return childAt.getId();
}
}
}
}
return 0;
}
public void g(AttributeSet attributeSet) {
if (attributeSet != null) {
TypedArray obtainStyledAttributes = getContext().obtainStyledAttributes(attributeSet, s.f2749b);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 35) {
String string = obtainStyledAttributes.getString(index);
this.f2550e = string;
setIds(string);
} else if (index == 36) {
String string2 = obtainStyledAttributes.getString(index);
this.f2551f = string2;
setReferenceTags(string2);
}
}
obtainStyledAttributes.recycle();
}
}
public int[] getReferencedIds() {
return Arrays.copyOf(this.f2546a, this.f2547b);
}
public abstract void h(w.d dVar, boolean z3);
public final void i() {
if (this.f2549d == null) {
return;
}
ViewGroup.LayoutParams layoutParams = getLayoutParams();
if (layoutParams instanceof e) {
((e) layoutParams).f2606p0 = this.f2549d;
}
}
@Override // android.view.View
public void onAttachedToWindow() {
super.onAttachedToWindow();
String str = this.f2550e;
if (str != null) {
setIds(str);
}
String str2 = this.f2551f;
if (str2 != null) {
setReferenceTags(str2);
}
}
@Override // android.view.View
public final void onDraw(Canvas canvas) {
}
@Override // android.view.View
public void onMeasure(int i, int i4) {
setMeasuredDimension(0, 0);
}
public void setIds(String str) {
this.f2550e = str;
if (str == null) {
return;
}
int i = 0;
this.f2547b = 0;
while (true) {
int indexOf = str.indexOf(44, i);
if (indexOf == -1) {
a(str.substring(i));
return;
} else {
a(str.substring(i, indexOf));
i = indexOf + 1;
}
}
}
public void setReferenceTags(String str) {
this.f2551f = str;
if (str == null) {
return;
}
int i = 0;
this.f2547b = 0;
while (true) {
int indexOf = str.indexOf(44, i);
if (indexOf == -1) {
c(str.substring(i));
return;
} else {
c(str.substring(i, indexOf));
i = indexOf + 1;
}
}
}
public void setReferencedIds(int[] iArr) {
this.f2550e = null;
this.f2547b = 0;
for (int i : iArr) {
b(i);
}
}
@Override // android.view.View
public final void setTag(int i, Object obj) {
super.setTag(i, obj);
if (obj == null && this.f2550e == null) {
b(i);
}
}
}

View File

@@ -0,0 +1,74 @@
package androidx.constraintlayout.widget;
import android.util.SparseIntArray;
/* loaded from: classes.dex */
public abstract class d {
/* renamed from: a, reason: collision with root package name */
public static final SparseIntArray f2553a;
static {
SparseIntArray sparseIntArray = new SparseIntArray();
f2553a = sparseIntArray;
sparseIntArray.append(98, 64);
sparseIntArray.append(75, 65);
sparseIntArray.append(84, 8);
sparseIntArray.append(85, 9);
sparseIntArray.append(87, 10);
sparseIntArray.append(88, 11);
sparseIntArray.append(94, 12);
sparseIntArray.append(93, 13);
sparseIntArray.append(65, 14);
sparseIntArray.append(64, 15);
sparseIntArray.append(60, 16);
sparseIntArray.append(62, 52);
sparseIntArray.append(61, 53);
sparseIntArray.append(66, 2);
sparseIntArray.append(68, 3);
sparseIntArray.append(67, 4);
sparseIntArray.append(103, 49);
sparseIntArray.append(104, 50);
sparseIntArray.append(72, 5);
sparseIntArray.append(73, 6);
sparseIntArray.append(74, 7);
sparseIntArray.append(55, 67);
sparseIntArray.append(0, 1);
sparseIntArray.append(89, 17);
sparseIntArray.append(90, 18);
sparseIntArray.append(71, 19);
sparseIntArray.append(70, 20);
sparseIntArray.append(108, 21);
sparseIntArray.append(111, 22);
sparseIntArray.append(109, 23);
sparseIntArray.append(106, 24);
sparseIntArray.append(110, 25);
sparseIntArray.append(107, 26);
sparseIntArray.append(105, 55);
sparseIntArray.append(112, 54);
sparseIntArray.append(80, 29);
sparseIntArray.append(95, 30);
sparseIntArray.append(69, 44);
sparseIntArray.append(82, 45);
sparseIntArray.append(97, 46);
sparseIntArray.append(81, 47);
sparseIntArray.append(96, 48);
sparseIntArray.append(58, 27);
sparseIntArray.append(57, 28);
sparseIntArray.append(99, 31);
sparseIntArray.append(76, 32);
sparseIntArray.append(101, 33);
sparseIntArray.append(100, 34);
sparseIntArray.append(102, 35);
sparseIntArray.append(78, 36);
sparseIntArray.append(77, 37);
sparseIntArray.append(79, 38);
sparseIntArray.append(83, 39);
sparseIntArray.append(92, 40);
sparseIntArray.append(86, 41);
sparseIntArray.append(63, 42);
sparseIntArray.append(59, 43);
sparseIntArray.append(91, 51);
sparseIntArray.append(114, 66);
}
}

View File

@@ -0,0 +1,265 @@
package androidx.constraintlayout.widget;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public final class e extends ViewGroup.MarginLayoutParams {
/* renamed from: A, reason: collision with root package name */
public int f2554A;
/* renamed from: B, reason: collision with root package name */
public int f2555B;
/* renamed from: C, reason: collision with root package name */
public int f2556C;
/* renamed from: D, reason: collision with root package name */
public int f2557D;
/* renamed from: E, reason: collision with root package name */
public float f2558E;
/* renamed from: F, reason: collision with root package name */
public float f2559F;
/* renamed from: G, reason: collision with root package name */
public String f2560G;
/* renamed from: H, reason: collision with root package name */
public float f2561H;
/* renamed from: I, reason: collision with root package name */
public float f2562I;
public int J;
/* renamed from: K, reason: collision with root package name */
public int f2563K;
/* renamed from: L, reason: collision with root package name */
public int f2564L;
/* renamed from: M, reason: collision with root package name */
public int f2565M;
/* renamed from: N, reason: collision with root package name */
public int f2566N;
/* renamed from: O, reason: collision with root package name */
public int f2567O;
/* renamed from: P, reason: collision with root package name */
public int f2568P;
/* renamed from: Q, reason: collision with root package name */
public int f2569Q;
/* renamed from: R, reason: collision with root package name */
public float f2570R;
/* renamed from: S, reason: collision with root package name */
public float f2571S;
/* renamed from: T, reason: collision with root package name */
public int f2572T;
/* renamed from: U, reason: collision with root package name */
public int f2573U;
/* renamed from: V, reason: collision with root package name */
public int f2574V;
/* renamed from: W, reason: collision with root package name */
public boolean f2575W;
/* renamed from: X, reason: collision with root package name */
public boolean f2576X;
/* renamed from: Y, reason: collision with root package name */
public String f2577Y;
public int Z;
/* renamed from: a, reason: collision with root package name */
public int f2578a;
/* renamed from: a0, reason: collision with root package name */
public boolean f2579a0;
/* renamed from: b, reason: collision with root package name */
public int f2580b;
/* renamed from: b0, reason: collision with root package name */
public boolean f2581b0;
/* renamed from: c, reason: collision with root package name */
public float f2582c;
/* renamed from: c0, reason: collision with root package name */
public boolean f2583c0;
/* renamed from: d, reason: collision with root package name */
public boolean f2584d;
/* renamed from: d0, reason: collision with root package name */
public boolean f2585d0;
/* renamed from: e, reason: collision with root package name */
public int f2586e;
/* renamed from: e0, reason: collision with root package name */
public boolean f2587e0;
/* renamed from: f, reason: collision with root package name */
public int f2588f;
/* renamed from: f0, reason: collision with root package name */
public int f2589f0;
/* renamed from: g, reason: collision with root package name */
public int f2590g;
/* renamed from: g0, reason: collision with root package name */
public int f2591g0;
public int h;
/* renamed from: h0, reason: collision with root package name */
public int f2592h0;
public int i;
/* renamed from: i0, reason: collision with root package name */
public int f2593i0;
/* renamed from: j, reason: collision with root package name */
public int f2594j;
/* renamed from: j0, reason: collision with root package name */
public int f2595j0;
/* renamed from: k, reason: collision with root package name */
public int f2596k;
/* renamed from: k0, reason: collision with root package name */
public int f2597k0;
/* renamed from: l, reason: collision with root package name */
public int f2598l;
/* renamed from: l0, reason: collision with root package name */
public float f2599l0;
/* renamed from: m, reason: collision with root package name */
public int f2600m;
/* renamed from: m0, reason: collision with root package name */
public int f2601m0;
/* renamed from: n, reason: collision with root package name */
public int f2602n;
/* renamed from: n0, reason: collision with root package name */
public int f2603n0;
/* renamed from: o, reason: collision with root package name */
public int f2604o;
/* renamed from: o0, reason: collision with root package name */
public float f2605o0;
public int p;
/* renamed from: p0, reason: collision with root package name */
public w.d f2606p0;
/* renamed from: q, reason: collision with root package name */
public int f2607q;
/* renamed from: r, reason: collision with root package name */
public float f2608r;
/* renamed from: s, reason: collision with root package name */
public int f2609s;
/* renamed from: t, reason: collision with root package name */
public int f2610t;
/* renamed from: u, reason: collision with root package name */
public int f2611u;
/* renamed from: v, reason: collision with root package name */
public int f2612v;
/* renamed from: w, reason: collision with root package name */
public int f2613w;
/* renamed from: x, reason: collision with root package name */
public int f2614x;
/* renamed from: y, reason: collision with root package name */
public int f2615y;
/* renamed from: z, reason: collision with root package name */
public int f2616z;
public final void a() {
this.f2585d0 = false;
this.f2579a0 = true;
this.f2581b0 = true;
int i = ((ViewGroup.MarginLayoutParams) this).width;
if (i == -2 && this.f2575W) {
this.f2579a0 = false;
if (this.f2564L == 0) {
this.f2564L = 1;
}
}
int i4 = ((ViewGroup.MarginLayoutParams) this).height;
if (i4 == -2 && this.f2576X) {
this.f2581b0 = false;
if (this.f2565M == 0) {
this.f2565M = 1;
}
}
if (i == 0 || i == -1) {
this.f2579a0 = false;
if (i == 0 && this.f2564L == 1) {
((ViewGroup.MarginLayoutParams) this).width = -2;
this.f2575W = true;
}
}
if (i4 == 0 || i4 == -1) {
this.f2581b0 = false;
if (i4 == 0 && this.f2565M == 1) {
((ViewGroup.MarginLayoutParams) this).height = -2;
this.f2576X = true;
}
}
if (this.f2582c == -1.0f && this.f2578a == -1 && this.f2580b == -1) {
return;
}
this.f2585d0 = true;
this.f2579a0 = true;
this.f2581b0 = true;
if (!(this.f2606p0 instanceof w.h)) {
this.f2606p0 = new w.h();
}
((w.h) this.f2606p0).S(this.f2574V);
}
/* JADX WARN: Removed duplicated region for block: B:12:0x004a */
/* JADX WARN: Removed duplicated region for block: B:15:0x0051 */
/* JADX WARN: Removed duplicated region for block: B:18:0x0058 */
/* JADX WARN: Removed duplicated region for block: B:21:0x005e */
/* JADX WARN: Removed duplicated region for block: B:24:0x0064 */
/* JADX WARN: Removed duplicated region for block: B:33:0x007a */
/* JADX WARN: Removed duplicated region for block: B:34:0x0082 */
@Override // android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.LayoutParams
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void resolveLayoutDirection(int r11) {
/*
Method dump skipped, instructions count: 259
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.constraintlayout.widget.e.resolveLayoutDirection(int):void");
}
}

View File

@@ -0,0 +1,232 @@
package androidx.constraintlayout.widget;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import u.AbstractC0629f;
import x.C0653b;
/* loaded from: classes.dex */
public final class f {
/* renamed from: a, reason: collision with root package name */
public final ConstraintLayout f2617a;
/* renamed from: b, reason: collision with root package name */
public int f2618b;
/* renamed from: c, reason: collision with root package name */
public int f2619c;
/* renamed from: d, reason: collision with root package name */
public int f2620d;
/* renamed from: e, reason: collision with root package name */
public int f2621e;
/* renamed from: f, reason: collision with root package name */
public int f2622f;
/* renamed from: g, reason: collision with root package name */
public int f2623g;
public final /* synthetic */ ConstraintLayout h;
public f(ConstraintLayout constraintLayout, ConstraintLayout constraintLayout2) {
this.h = constraintLayout;
this.f2617a = constraintLayout2;
}
public static boolean a(int i, int i4, int i5) {
if (i == i4) {
return true;
}
int mode = View.MeasureSpec.getMode(i);
View.MeasureSpec.getSize(i);
int mode2 = View.MeasureSpec.getMode(i4);
int size = View.MeasureSpec.getSize(i4);
if (mode2 == 1073741824) {
return (mode == Integer.MIN_VALUE || mode == 0) && i5 == size;
}
return false;
}
public final void b(w.d dVar, C0653b c0653b) {
int makeMeasureSpec;
int makeMeasureSpec2;
int max;
int max2;
int i;
boolean z3;
int baseline;
int i4;
int i5;
if (dVar == null) {
return;
}
if (dVar.f8700g0 == 8) {
c0653b.f8815e = 0;
c0653b.f8816f = 0;
c0653b.f8817g = 0;
return;
}
if (dVar.f8681T == null) {
return;
}
int i6 = c0653b.f8811a;
int i7 = c0653b.f8812b;
int i8 = c0653b.f8813c;
int i9 = c0653b.f8814d;
int i10 = this.f2618b + this.f2619c;
int i11 = this.f2620d;
View view = dVar.f8698f0;
int b4 = AbstractC0629f.b(i6);
w.c cVar = dVar.f8672K;
w.c cVar2 = dVar.f8671I;
if (b4 == 0) {
makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(i8, 1073741824);
} else if (b4 == 1) {
makeMeasureSpec = ViewGroup.getChildMeasureSpec(this.f2622f, i11, -2);
} else if (b4 == 2) {
makeMeasureSpec = ViewGroup.getChildMeasureSpec(this.f2622f, i11, -2);
boolean z4 = dVar.f8717r == 1;
int i12 = c0653b.f8818j;
if (i12 == 1 || i12 == 2) {
boolean z5 = view.getMeasuredHeight() == dVar.k();
if (c0653b.f8818j == 2 || !z4 || ((z4 && z5) || dVar.A())) {
makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(dVar.q(), 1073741824);
}
}
} else if (b4 != 3) {
makeMeasureSpec = 0;
} else {
int i13 = this.f2622f;
int i14 = cVar2 != null ? cVar2.f8662g : 0;
if (cVar != null) {
i14 += cVar.f8662g;
}
makeMeasureSpec = ViewGroup.getChildMeasureSpec(i13, i11 + i14, -1);
}
int b5 = AbstractC0629f.b(i7);
if (b5 == 0) {
makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(i9, 1073741824);
} else if (b5 == 1) {
makeMeasureSpec2 = ViewGroup.getChildMeasureSpec(this.f2623g, i10, -2);
} else if (b5 == 2) {
makeMeasureSpec2 = ViewGroup.getChildMeasureSpec(this.f2623g, i10, -2);
boolean z6 = dVar.f8718s == 1;
int i15 = c0653b.f8818j;
if (i15 == 1 || i15 == 2) {
boolean z7 = view.getMeasuredWidth() == dVar.q();
if (c0653b.f8818j == 2 || !z6 || ((z6 && z7) || dVar.B())) {
makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(dVar.k(), 1073741824);
}
}
} else if (b5 != 3) {
makeMeasureSpec2 = 0;
} else {
int i16 = this.f2623g;
int i17 = cVar2 != null ? dVar.J.f8662g : 0;
if (cVar != null) {
i17 += dVar.f8673L.f8662g;
}
makeMeasureSpec2 = ViewGroup.getChildMeasureSpec(i16, i10 + i17, -1);
}
w.e eVar = (w.e) dVar.f8681T;
ConstraintLayout constraintLayout = this.h;
if (eVar != null) {
i5 = constraintLayout.mOptimizationLevel;
if (w.j.c(i5, 256) && view.getMeasuredWidth() == dVar.q() && view.getMeasuredWidth() < eVar.q() && view.getMeasuredHeight() == dVar.k() && view.getMeasuredHeight() < eVar.k() && view.getBaseline() == dVar.f8688a0 && !dVar.z() && a(dVar.f8669G, makeMeasureSpec, dVar.q()) && a(dVar.f8670H, makeMeasureSpec2, dVar.k())) {
c0653b.f8815e = dVar.q();
c0653b.f8816f = dVar.k();
c0653b.f8817g = dVar.f8688a0;
return;
}
}
boolean z8 = i6 == 3;
boolean z9 = i7 == 3;
boolean z10 = i7 == 4 || i7 == 1;
boolean z11 = i6 == 4 || i6 == 1;
boolean z12 = z8 && dVar.f8684W > BitmapDescriptorFactory.HUE_RED;
boolean z13 = z9 && dVar.f8684W > BitmapDescriptorFactory.HUE_RED;
if (view == null) {
return;
}
e eVar2 = (e) view.getLayoutParams();
int i18 = c0653b.f8818j;
if (i18 != 1 && i18 != 2 && z8 && dVar.f8717r == 0 && z9 && dVar.f8718s == 0) {
baseline = 0;
z3 = false;
i4 = -1;
max2 = 0;
max = 0;
} else {
if ((view instanceof u) && (dVar instanceof w.g)) {
((u) view).j((w.g) dVar, makeMeasureSpec, makeMeasureSpec2);
} else {
view.measure(makeMeasureSpec, makeMeasureSpec2);
}
dVar.f8669G = makeMeasureSpec;
dVar.f8670H = makeMeasureSpec2;
dVar.f8699g = false;
int measuredWidth = view.getMeasuredWidth();
int measuredHeight = view.getMeasuredHeight();
int baseline2 = view.getBaseline();
int i19 = dVar.f8720u;
max = i19 > 0 ? Math.max(i19, measuredWidth) : measuredWidth;
int i20 = dVar.f8721v;
if (i20 > 0) {
max = Math.min(i20, max);
}
int i21 = dVar.f8723x;
max2 = i21 > 0 ? Math.max(i21, measuredHeight) : measuredHeight;
int i22 = dVar.f8724y;
if (i22 > 0) {
max2 = Math.min(i22, max2);
}
i = constraintLayout.mOptimizationLevel;
boolean z14 = z11;
if (!w.j.c(i, 1)) {
if (z12 && z10) {
max = (int) ((max2 * dVar.f8684W) + 0.5f);
} else if (z13 && z14) {
max2 = (int) ((max / dVar.f8684W) + 0.5f);
}
}
if (measuredWidth == max && measuredHeight == max2) {
baseline = baseline2;
z3 = false;
} else {
if (measuredWidth != max) {
makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(max, 1073741824);
}
if (measuredHeight != max2) {
makeMeasureSpec2 = View.MeasureSpec.makeMeasureSpec(max2, 1073741824);
}
view.measure(makeMeasureSpec, makeMeasureSpec2);
dVar.f8669G = makeMeasureSpec;
dVar.f8670H = makeMeasureSpec2;
z3 = false;
dVar.f8699g = false;
int measuredWidth2 = view.getMeasuredWidth();
int measuredHeight2 = view.getMeasuredHeight();
baseline = view.getBaseline();
max = measuredWidth2;
max2 = measuredHeight2;
}
i4 = -1;
}
boolean z15 = baseline != i4 ? true : z3;
if (max != c0653b.f8813c || max2 != c0653b.f8814d) {
z3 = true;
}
c0653b.i = z3;
boolean z16 = eVar2.f2583c0 ? true : z15;
if (z16 && baseline != -1 && dVar.f8688a0 != baseline) {
c0653b.i = true;
}
c0653b.f8815e = max;
c0653b.f8816f = max2;
c0653b.h = z16;
c0653b.f8817g = baseline;
}
}

View File

@@ -0,0 +1,48 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.util.Xml;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import java.util.ArrayList;
/* loaded from: classes.dex */
public final class g {
/* renamed from: a, reason: collision with root package name */
public final int f2624a;
/* renamed from: b, reason: collision with root package name */
public final ArrayList f2625b = new ArrayList();
/* renamed from: c, reason: collision with root package name */
public final int f2626c;
/* renamed from: d, reason: collision with root package name */
public final p f2627d;
public g(Context context, XmlResourceParser xmlResourceParser) {
this.f2626c = -1;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(Xml.asAttributeSet(xmlResourceParser), s.h);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 0) {
this.f2624a = obtainStyledAttributes.getResourceId(index, this.f2624a);
} else if (index == 1) {
int resourceId = obtainStyledAttributes.getResourceId(index, this.f2626c);
this.f2626c = resourceId;
String resourceTypeName = context.getResources().getResourceTypeName(resourceId);
context.getResources().getResourceName(resourceId);
if ("layout".equals(resourceTypeName)) {
p pVar = new p();
this.f2627d = pVar;
pVar.b((ConstraintLayout) LayoutInflater.from(context).inflate(resourceId, (ViewGroup) null));
}
}
}
obtainStyledAttributes.recycle();
}
}

View File

@@ -0,0 +1,83 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.util.Log;
import android.util.Xml;
import android.view.LayoutInflater;
import android.view.ViewGroup;
/* loaded from: classes.dex */
public final class h {
/* renamed from: a, reason: collision with root package name */
public final float f2628a;
/* renamed from: b, reason: collision with root package name */
public final float f2629b;
/* renamed from: c, reason: collision with root package name */
public final float f2630c;
/* renamed from: d, reason: collision with root package name */
public final float f2631d;
/* renamed from: e, reason: collision with root package name */
public final int f2632e;
/* renamed from: f, reason: collision with root package name */
public final p f2633f;
public h(Context context, XmlResourceParser xmlResourceParser) {
this.f2628a = Float.NaN;
this.f2629b = Float.NaN;
this.f2630c = Float.NaN;
this.f2631d = Float.NaN;
this.f2632e = -1;
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(Xml.asAttributeSet(xmlResourceParser), s.f2755j);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 0) {
int resourceId = obtainStyledAttributes.getResourceId(index, this.f2632e);
this.f2632e = resourceId;
String resourceTypeName = context.getResources().getResourceTypeName(resourceId);
context.getResources().getResourceName(resourceId);
if ("layout".equals(resourceTypeName)) {
p pVar = new p();
this.f2633f = pVar;
pVar.b((ConstraintLayout) LayoutInflater.from(context).inflate(resourceId, (ViewGroup) null));
}
} else if (index == 1) {
this.f2631d = obtainStyledAttributes.getDimension(index, this.f2631d);
} else if (index == 2) {
this.f2629b = obtainStyledAttributes.getDimension(index, this.f2629b);
} else if (index == 3) {
this.f2630c = obtainStyledAttributes.getDimension(index, this.f2630c);
} else if (index == 4) {
this.f2628a = obtainStyledAttributes.getDimension(index, this.f2628a);
} else {
Log.v("ConstraintLayoutStates", "Unknown tag");
}
}
obtainStyledAttributes.recycle();
}
public final boolean a(float f2, float f4) {
float f5 = this.f2628a;
if (!Float.isNaN(f5) && f2 < f5) {
return false;
}
float f6 = this.f2629b;
if (!Float.isNaN(f6) && f4 < f6) {
return false;
}
float f7 = this.f2630c;
if (!Float.isNaN(f7) && f2 > f7) {
return false;
}
float f8 = this.f2631d;
return Float.isNaN(f8) || f4 <= f8;
}
}

View File

@@ -0,0 +1,110 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.XmlResourceParser;
import android.util.SparseArray;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public final class i {
/* renamed from: a, reason: collision with root package name */
public final ConstraintLayout f2634a;
/* renamed from: b, reason: collision with root package name */
public int f2635b = -1;
/* renamed from: c, reason: collision with root package name */
public int f2636c = -1;
/* renamed from: d, reason: collision with root package name */
public final SparseArray f2637d = new SparseArray();
/* renamed from: e, reason: collision with root package name */
public final SparseArray f2638e = new SparseArray();
public i(Context context, ConstraintLayout constraintLayout, int i) {
this.f2634a = constraintLayout;
XmlResourceParser xml = context.getResources().getXml(i);
try {
int eventType = xml.getEventType();
g gVar = null;
while (true) {
char c4 = 1;
if (eventType == 1) {
return;
}
if (eventType == 0) {
xml.getName();
} else if (eventType == 2) {
String name = xml.getName();
switch (name.hashCode()) {
case -1349929691:
if (name.equals("ConstraintSet")) {
c4 = 4;
break;
}
break;
case 80204913:
if (name.equals("State")) {
c4 = 2;
break;
}
break;
case 1382829617:
if (name.equals("StateSet")) {
break;
}
break;
case 1657696882:
if (name.equals("layoutDescription")) {
c4 = 0;
break;
}
break;
case 1901439077:
if (name.equals("Variant")) {
c4 = 3;
break;
}
break;
}
c4 = 65535;
if (c4 == 2) {
gVar = new g(context, xml);
this.f2637d.put(gVar.f2624a, gVar);
} else if (c4 == 3) {
h hVar = new h(context, xml);
if (gVar != null) {
gVar.f2625b.add(hVar);
}
} else if (c4 == 4) {
a(context, xml);
}
}
eventType = xml.next();
}
} catch (IOException e4) {
e4.printStackTrace();
} catch (XmlPullParserException e5) {
e5.printStackTrace();
}
}
/* JADX WARN: Code restructure failed: missing block: B:99:0x022b, code lost:
continue;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a(android.content.Context r12, android.content.res.XmlResourceParser r13) {
/*
Method dump skipped, instructions count: 664
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.constraintlayout.widget.i.a(android.content.Context, android.content.res.XmlResourceParser):void");
}
}

View File

@@ -0,0 +1,103 @@
package androidx.constraintlayout.widget;
import java.util.Arrays;
/* loaded from: classes.dex */
public final class j {
/* renamed from: a, reason: collision with root package name */
public int[] f2639a;
/* renamed from: b, reason: collision with root package name */
public int[] f2640b;
/* renamed from: c, reason: collision with root package name */
public int f2641c;
/* renamed from: d, reason: collision with root package name */
public int[] f2642d;
/* renamed from: e, reason: collision with root package name */
public float[] f2643e;
/* renamed from: f, reason: collision with root package name */
public int f2644f;
/* renamed from: g, reason: collision with root package name */
public int[] f2645g;
public String[] h;
public int i;
/* renamed from: j, reason: collision with root package name */
public int[] f2646j;
/* renamed from: k, reason: collision with root package name */
public boolean[] f2647k;
/* renamed from: l, reason: collision with root package name */
public int f2648l;
public final void a(int i, float f2) {
int i4 = this.f2644f;
int[] iArr = this.f2642d;
if (i4 >= iArr.length) {
this.f2642d = Arrays.copyOf(iArr, iArr.length * 2);
float[] fArr = this.f2643e;
this.f2643e = Arrays.copyOf(fArr, fArr.length * 2);
}
int[] iArr2 = this.f2642d;
int i5 = this.f2644f;
iArr2[i5] = i;
float[] fArr2 = this.f2643e;
this.f2644f = i5 + 1;
fArr2[i5] = f2;
}
public final void b(int i, int i4) {
int i5 = this.f2641c;
int[] iArr = this.f2639a;
if (i5 >= iArr.length) {
this.f2639a = Arrays.copyOf(iArr, iArr.length * 2);
int[] iArr2 = this.f2640b;
this.f2640b = Arrays.copyOf(iArr2, iArr2.length * 2);
}
int[] iArr3 = this.f2639a;
int i6 = this.f2641c;
iArr3[i6] = i;
int[] iArr4 = this.f2640b;
this.f2641c = i6 + 1;
iArr4[i6] = i4;
}
public final void c(int i, String str) {
int i4 = this.i;
int[] iArr = this.f2645g;
if (i4 >= iArr.length) {
this.f2645g = Arrays.copyOf(iArr, iArr.length * 2);
String[] strArr = this.h;
this.h = (String[]) Arrays.copyOf(strArr, strArr.length * 2);
}
int[] iArr2 = this.f2645g;
int i5 = this.i;
iArr2[i5] = i;
String[] strArr2 = this.h;
this.i = i5 + 1;
strArr2[i5] = str;
}
public final void d(int i, boolean z3) {
int i4 = this.f2648l;
int[] iArr = this.f2646j;
if (i4 >= iArr.length) {
this.f2646j = Arrays.copyOf(iArr, iArr.length * 2);
boolean[] zArr = this.f2647k;
this.f2647k = Arrays.copyOf(zArr, zArr.length * 2);
}
int[] iArr2 = this.f2646j;
int i5 = this.f2648l;
iArr2[i5] = i;
boolean[] zArr2 = this.f2647k;
this.f2648l = i5 + 1;
zArr2[i5] = z3;
}
}

View File

@@ -0,0 +1,308 @@
package androidx.constraintlayout.widget;
import android.view.ViewGroup;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.util.Arrays;
import java.util.HashMap;
import kotlin.jvm.internal.IntCompanionObject;
/* loaded from: classes.dex */
public final class k {
/* renamed from: a, reason: collision with root package name */
public int f2649a;
/* renamed from: b, reason: collision with root package name */
public final n f2650b;
/* renamed from: c, reason: collision with root package name */
public final m f2651c;
/* renamed from: d, reason: collision with root package name */
public final l f2652d;
/* renamed from: e, reason: collision with root package name */
public final o f2653e;
/* renamed from: f, reason: collision with root package name */
public HashMap f2654f;
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.constraintlayout.widget.n, java.lang.Object] */
/* JADX WARN: Type inference failed for: r0v1, types: [java.lang.Object, androidx.constraintlayout.widget.m] */
/* JADX WARN: Type inference failed for: r0v2, types: [java.lang.Object, androidx.constraintlayout.widget.l] */
/* JADX WARN: Type inference failed for: r0v3, types: [androidx.constraintlayout.widget.o, java.lang.Object] */
public k() {
?? obj = new Object();
obj.f2726a = 0;
obj.f2727b = 0;
obj.f2728c = 1.0f;
obj.f2729d = Float.NaN;
this.f2650b = obj;
?? obj2 = new Object();
obj2.f2719a = -1;
obj2.f2720b = 0;
obj2.f2721c = -1;
obj2.f2722d = Float.NaN;
obj2.f2723e = Float.NaN;
obj2.f2724f = Float.NaN;
obj2.f2725g = -1;
obj2.h = null;
obj2.i = -1;
this.f2651c = obj2;
?? obj3 = new Object();
obj3.f2680a = false;
obj3.f2686d = -1;
obj3.f2688e = -1;
obj3.f2690f = -1.0f;
obj3.f2692g = true;
obj3.h = -1;
obj3.i = -1;
obj3.f2696j = -1;
obj3.f2698k = -1;
obj3.f2700l = -1;
obj3.f2702m = -1;
obj3.f2704n = -1;
obj3.f2706o = -1;
obj3.p = -1;
obj3.f2708q = -1;
obj3.f2709r = -1;
obj3.f2710s = -1;
obj3.f2711t = -1;
obj3.f2712u = -1;
obj3.f2713v = -1;
obj3.f2714w = 0.5f;
obj3.f2715x = 0.5f;
obj3.f2716y = null;
obj3.f2717z = -1;
obj3.f2656A = 0;
obj3.f2657B = BitmapDescriptorFactory.HUE_RED;
obj3.f2658C = -1;
obj3.f2659D = -1;
obj3.f2660E = -1;
obj3.f2661F = 0;
obj3.f2662G = 0;
obj3.f2663H = 0;
obj3.f2664I = 0;
obj3.J = 0;
obj3.f2665K = 0;
obj3.f2666L = 0;
obj3.f2667M = IntCompanionObject.MIN_VALUE;
obj3.f2668N = IntCompanionObject.MIN_VALUE;
obj3.f2669O = IntCompanionObject.MIN_VALUE;
obj3.f2670P = IntCompanionObject.MIN_VALUE;
obj3.f2671Q = IntCompanionObject.MIN_VALUE;
obj3.f2672R = IntCompanionObject.MIN_VALUE;
obj3.f2673S = IntCompanionObject.MIN_VALUE;
obj3.f2674T = -1.0f;
obj3.f2675U = -1.0f;
obj3.f2676V = 0;
obj3.f2677W = 0;
obj3.f2678X = 0;
obj3.f2679Y = 0;
obj3.Z = 0;
obj3.f2681a0 = 0;
obj3.f2683b0 = 0;
obj3.f2685c0 = 0;
obj3.f2687d0 = 1.0f;
obj3.f2689e0 = 1.0f;
obj3.f2691f0 = -1;
obj3.f2693g0 = 0;
obj3.f2694h0 = -1;
obj3.f2701l0 = false;
obj3.f2703m0 = false;
obj3.f2705n0 = true;
obj3.f2707o0 = 0;
this.f2652d = obj3;
?? obj4 = new Object();
obj4.f2731a = BitmapDescriptorFactory.HUE_RED;
obj4.f2732b = BitmapDescriptorFactory.HUE_RED;
obj4.f2733c = BitmapDescriptorFactory.HUE_RED;
obj4.f2734d = 1.0f;
obj4.f2735e = 1.0f;
obj4.f2736f = Float.NaN;
obj4.f2737g = Float.NaN;
obj4.h = -1;
obj4.i = BitmapDescriptorFactory.HUE_RED;
obj4.f2738j = BitmapDescriptorFactory.HUE_RED;
obj4.f2739k = BitmapDescriptorFactory.HUE_RED;
obj4.f2740l = false;
obj4.f2741m = BitmapDescriptorFactory.HUE_RED;
this.f2653e = obj4;
this.f2654f = new HashMap();
}
public final void a(e eVar) {
l lVar = this.f2652d;
eVar.f2586e = lVar.h;
eVar.f2588f = lVar.i;
eVar.f2590g = lVar.f2696j;
eVar.h = lVar.f2698k;
eVar.i = lVar.f2700l;
eVar.f2594j = lVar.f2702m;
eVar.f2596k = lVar.f2704n;
eVar.f2598l = lVar.f2706o;
eVar.f2600m = lVar.p;
eVar.f2602n = lVar.f2708q;
eVar.f2604o = lVar.f2709r;
eVar.f2609s = lVar.f2710s;
eVar.f2610t = lVar.f2711t;
eVar.f2611u = lVar.f2712u;
eVar.f2612v = lVar.f2713v;
((ViewGroup.MarginLayoutParams) eVar).leftMargin = lVar.f2661F;
((ViewGroup.MarginLayoutParams) eVar).rightMargin = lVar.f2662G;
((ViewGroup.MarginLayoutParams) eVar).topMargin = lVar.f2663H;
((ViewGroup.MarginLayoutParams) eVar).bottomMargin = lVar.f2664I;
eVar.f2554A = lVar.f2672R;
eVar.f2555B = lVar.f2671Q;
eVar.f2614x = lVar.f2668N;
eVar.f2616z = lVar.f2670P;
eVar.f2558E = lVar.f2714w;
eVar.f2559F = lVar.f2715x;
eVar.p = lVar.f2717z;
eVar.f2607q = lVar.f2656A;
eVar.f2608r = lVar.f2657B;
eVar.f2560G = lVar.f2716y;
eVar.f2572T = lVar.f2658C;
eVar.f2573U = lVar.f2659D;
eVar.f2562I = lVar.f2674T;
eVar.f2561H = lVar.f2675U;
eVar.f2563K = lVar.f2677W;
eVar.J = lVar.f2676V;
eVar.f2575W = lVar.f2701l0;
eVar.f2576X = lVar.f2703m0;
eVar.f2564L = lVar.f2678X;
eVar.f2565M = lVar.f2679Y;
eVar.f2568P = lVar.Z;
eVar.f2569Q = lVar.f2681a0;
eVar.f2566N = lVar.f2683b0;
eVar.f2567O = lVar.f2685c0;
eVar.f2570R = lVar.f2687d0;
eVar.f2571S = lVar.f2689e0;
eVar.f2574V = lVar.f2660E;
eVar.f2582c = lVar.f2690f;
eVar.f2578a = lVar.f2686d;
eVar.f2580b = lVar.f2688e;
((ViewGroup.MarginLayoutParams) eVar).width = lVar.f2682b;
((ViewGroup.MarginLayoutParams) eVar).height = lVar.f2684c;
String str = lVar.f2699k0;
if (str != null) {
eVar.f2577Y = str;
}
eVar.Z = lVar.f2707o0;
eVar.setMarginStart(lVar.f2665K);
eVar.setMarginEnd(lVar.J);
eVar.a();
}
public final Object clone() {
k kVar = new k();
l lVar = kVar.f2652d;
lVar.getClass();
l lVar2 = this.f2652d;
lVar.f2680a = lVar2.f2680a;
lVar.f2682b = lVar2.f2682b;
lVar.f2684c = lVar2.f2684c;
lVar.f2686d = lVar2.f2686d;
lVar.f2688e = lVar2.f2688e;
lVar.f2690f = lVar2.f2690f;
lVar.f2692g = lVar2.f2692g;
lVar.h = lVar2.h;
lVar.i = lVar2.i;
lVar.f2696j = lVar2.f2696j;
lVar.f2698k = lVar2.f2698k;
lVar.f2700l = lVar2.f2700l;
lVar.f2702m = lVar2.f2702m;
lVar.f2704n = lVar2.f2704n;
lVar.f2706o = lVar2.f2706o;
lVar.p = lVar2.p;
lVar.f2708q = lVar2.f2708q;
lVar.f2709r = lVar2.f2709r;
lVar.f2710s = lVar2.f2710s;
lVar.f2711t = lVar2.f2711t;
lVar.f2712u = lVar2.f2712u;
lVar.f2713v = lVar2.f2713v;
lVar.f2714w = lVar2.f2714w;
lVar.f2715x = lVar2.f2715x;
lVar.f2716y = lVar2.f2716y;
lVar.f2717z = lVar2.f2717z;
lVar.f2656A = lVar2.f2656A;
lVar.f2657B = lVar2.f2657B;
lVar.f2658C = lVar2.f2658C;
lVar.f2659D = lVar2.f2659D;
lVar.f2660E = lVar2.f2660E;
lVar.f2661F = lVar2.f2661F;
lVar.f2662G = lVar2.f2662G;
lVar.f2663H = lVar2.f2663H;
lVar.f2664I = lVar2.f2664I;
lVar.J = lVar2.J;
lVar.f2665K = lVar2.f2665K;
lVar.f2666L = lVar2.f2666L;
lVar.f2667M = lVar2.f2667M;
lVar.f2668N = lVar2.f2668N;
lVar.f2669O = lVar2.f2669O;
lVar.f2670P = lVar2.f2670P;
lVar.f2671Q = lVar2.f2671Q;
lVar.f2672R = lVar2.f2672R;
lVar.f2673S = lVar2.f2673S;
lVar.f2674T = lVar2.f2674T;
lVar.f2675U = lVar2.f2675U;
lVar.f2676V = lVar2.f2676V;
lVar.f2677W = lVar2.f2677W;
lVar.f2678X = lVar2.f2678X;
lVar.f2679Y = lVar2.f2679Y;
lVar.Z = lVar2.Z;
lVar.f2681a0 = lVar2.f2681a0;
lVar.f2683b0 = lVar2.f2683b0;
lVar.f2685c0 = lVar2.f2685c0;
lVar.f2687d0 = lVar2.f2687d0;
lVar.f2689e0 = lVar2.f2689e0;
lVar.f2691f0 = lVar2.f2691f0;
lVar.f2693g0 = lVar2.f2693g0;
lVar.f2694h0 = lVar2.f2694h0;
lVar.f2699k0 = lVar2.f2699k0;
int[] iArr = lVar2.f2695i0;
if (iArr == null || lVar2.f2697j0 != null) {
lVar.f2695i0 = null;
} else {
lVar.f2695i0 = Arrays.copyOf(iArr, iArr.length);
}
lVar.f2697j0 = lVar2.f2697j0;
lVar.f2701l0 = lVar2.f2701l0;
lVar.f2703m0 = lVar2.f2703m0;
lVar.f2705n0 = lVar2.f2705n0;
lVar.f2707o0 = lVar2.f2707o0;
m mVar = kVar.f2651c;
mVar.getClass();
m mVar2 = this.f2651c;
mVar2.getClass();
mVar.f2719a = mVar2.f2719a;
mVar.f2721c = mVar2.f2721c;
mVar.f2723e = mVar2.f2723e;
mVar.f2722d = mVar2.f2722d;
n nVar = kVar.f2650b;
n nVar2 = this.f2650b;
nVar.f2726a = nVar2.f2726a;
nVar.f2728c = nVar2.f2728c;
nVar.f2729d = nVar2.f2729d;
nVar.f2727b = nVar2.f2727b;
o oVar = kVar.f2653e;
oVar.getClass();
o oVar2 = this.f2653e;
oVar2.getClass();
oVar.f2731a = oVar2.f2731a;
oVar.f2732b = oVar2.f2732b;
oVar.f2733c = oVar2.f2733c;
oVar.f2734d = oVar2.f2734d;
oVar.f2735e = oVar2.f2735e;
oVar.f2736f = oVar2.f2736f;
oVar.f2737g = oVar2.f2737g;
oVar.h = oVar2.h;
oVar.i = oVar2.i;
oVar.f2738j = oVar2.f2738j;
oVar.f2739k = oVar2.f2739k;
oVar.f2740l = oVar2.f2740l;
oVar.f2741m = oVar2.f2741m;
kVar.f2649a = this.f2649a;
return kVar;
}
}

View File

@@ -0,0 +1,497 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseIntArray;
/* loaded from: classes.dex */
public final class l {
/* renamed from: p0, reason: collision with root package name */
public static final SparseIntArray f2655p0;
/* renamed from: A, reason: collision with root package name */
public int f2656A;
/* renamed from: B, reason: collision with root package name */
public float f2657B;
/* renamed from: C, reason: collision with root package name */
public int f2658C;
/* renamed from: D, reason: collision with root package name */
public int f2659D;
/* renamed from: E, reason: collision with root package name */
public int f2660E;
/* renamed from: F, reason: collision with root package name */
public int f2661F;
/* renamed from: G, reason: collision with root package name */
public int f2662G;
/* renamed from: H, reason: collision with root package name */
public int f2663H;
/* renamed from: I, reason: collision with root package name */
public int f2664I;
public int J;
/* renamed from: K, reason: collision with root package name */
public int f2665K;
/* renamed from: L, reason: collision with root package name */
public int f2666L;
/* renamed from: M, reason: collision with root package name */
public int f2667M;
/* renamed from: N, reason: collision with root package name */
public int f2668N;
/* renamed from: O, reason: collision with root package name */
public int f2669O;
/* renamed from: P, reason: collision with root package name */
public int f2670P;
/* renamed from: Q, reason: collision with root package name */
public int f2671Q;
/* renamed from: R, reason: collision with root package name */
public int f2672R;
/* renamed from: S, reason: collision with root package name */
public int f2673S;
/* renamed from: T, reason: collision with root package name */
public float f2674T;
/* renamed from: U, reason: collision with root package name */
public float f2675U;
/* renamed from: V, reason: collision with root package name */
public int f2676V;
/* renamed from: W, reason: collision with root package name */
public int f2677W;
/* renamed from: X, reason: collision with root package name */
public int f2678X;
/* renamed from: Y, reason: collision with root package name */
public int f2679Y;
public int Z;
/* renamed from: a, reason: collision with root package name */
public boolean f2680a;
/* renamed from: a0, reason: collision with root package name */
public int f2681a0;
/* renamed from: b, reason: collision with root package name */
public int f2682b;
/* renamed from: b0, reason: collision with root package name */
public int f2683b0;
/* renamed from: c, reason: collision with root package name */
public int f2684c;
/* renamed from: c0, reason: collision with root package name */
public int f2685c0;
/* renamed from: d, reason: collision with root package name */
public int f2686d;
/* renamed from: d0, reason: collision with root package name */
public float f2687d0;
/* renamed from: e, reason: collision with root package name */
public int f2688e;
/* renamed from: e0, reason: collision with root package name */
public float f2689e0;
/* renamed from: f, reason: collision with root package name */
public float f2690f;
/* renamed from: f0, reason: collision with root package name */
public int f2691f0;
/* renamed from: g, reason: collision with root package name */
public boolean f2692g;
/* renamed from: g0, reason: collision with root package name */
public int f2693g0;
public int h;
/* renamed from: h0, reason: collision with root package name */
public int f2694h0;
public int i;
/* renamed from: i0, reason: collision with root package name */
public int[] f2695i0;
/* renamed from: j, reason: collision with root package name */
public int f2696j;
/* renamed from: j0, reason: collision with root package name */
public String f2697j0;
/* renamed from: k, reason: collision with root package name */
public int f2698k;
/* renamed from: k0, reason: collision with root package name */
public String f2699k0;
/* renamed from: l, reason: collision with root package name */
public int f2700l;
/* renamed from: l0, reason: collision with root package name */
public boolean f2701l0;
/* renamed from: m, reason: collision with root package name */
public int f2702m;
/* renamed from: m0, reason: collision with root package name */
public boolean f2703m0;
/* renamed from: n, reason: collision with root package name */
public int f2704n;
/* renamed from: n0, reason: collision with root package name */
public boolean f2705n0;
/* renamed from: o, reason: collision with root package name */
public int f2706o;
/* renamed from: o0, reason: collision with root package name */
public int f2707o0;
public int p;
/* renamed from: q, reason: collision with root package name */
public int f2708q;
/* renamed from: r, reason: collision with root package name */
public int f2709r;
/* renamed from: s, reason: collision with root package name */
public int f2710s;
/* renamed from: t, reason: collision with root package name */
public int f2711t;
/* renamed from: u, reason: collision with root package name */
public int f2712u;
/* renamed from: v, reason: collision with root package name */
public int f2713v;
/* renamed from: w, reason: collision with root package name */
public float f2714w;
/* renamed from: x, reason: collision with root package name */
public float f2715x;
/* renamed from: y, reason: collision with root package name */
public String f2716y;
/* renamed from: z, reason: collision with root package name */
public int f2717z;
static {
SparseIntArray sparseIntArray = new SparseIntArray();
f2655p0 = sparseIntArray;
sparseIntArray.append(43, 24);
sparseIntArray.append(44, 25);
sparseIntArray.append(46, 28);
sparseIntArray.append(47, 29);
sparseIntArray.append(52, 35);
sparseIntArray.append(51, 34);
sparseIntArray.append(24, 4);
sparseIntArray.append(23, 3);
sparseIntArray.append(19, 1);
sparseIntArray.append(61, 6);
sparseIntArray.append(62, 7);
sparseIntArray.append(31, 17);
sparseIntArray.append(32, 18);
sparseIntArray.append(33, 19);
sparseIntArray.append(15, 90);
sparseIntArray.append(0, 26);
sparseIntArray.append(48, 31);
sparseIntArray.append(49, 32);
sparseIntArray.append(30, 10);
sparseIntArray.append(29, 9);
sparseIntArray.append(66, 13);
sparseIntArray.append(69, 16);
sparseIntArray.append(67, 14);
sparseIntArray.append(64, 11);
sparseIntArray.append(68, 15);
sparseIntArray.append(65, 12);
sparseIntArray.append(55, 38);
sparseIntArray.append(41, 37);
sparseIntArray.append(40, 39);
sparseIntArray.append(54, 40);
sparseIntArray.append(39, 20);
sparseIntArray.append(53, 36);
sparseIntArray.append(28, 5);
sparseIntArray.append(42, 91);
sparseIntArray.append(50, 91);
sparseIntArray.append(45, 91);
sparseIntArray.append(22, 91);
sparseIntArray.append(18, 91);
sparseIntArray.append(3, 23);
sparseIntArray.append(5, 27);
sparseIntArray.append(7, 30);
sparseIntArray.append(8, 8);
sparseIntArray.append(4, 33);
sparseIntArray.append(6, 2);
sparseIntArray.append(1, 22);
sparseIntArray.append(2, 21);
sparseIntArray.append(56, 41);
sparseIntArray.append(34, 42);
sparseIntArray.append(17, 41);
sparseIntArray.append(16, 42);
sparseIntArray.append(71, 76);
sparseIntArray.append(25, 61);
sparseIntArray.append(27, 62);
sparseIntArray.append(26, 63);
sparseIntArray.append(60, 69);
sparseIntArray.append(38, 70);
sparseIntArray.append(12, 71);
sparseIntArray.append(10, 72);
sparseIntArray.append(11, 73);
sparseIntArray.append(13, 74);
sparseIntArray.append(9, 75);
}
public final void a(Context context, AttributeSet attributeSet) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.f2752e);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
SparseIntArray sparseIntArray = f2655p0;
int i4 = sparseIntArray.get(index);
switch (i4) {
case 1:
this.p = p.f(obtainStyledAttributes, index, this.p);
break;
case 2:
this.f2664I = obtainStyledAttributes.getDimensionPixelSize(index, this.f2664I);
break;
case 3:
this.f2706o = p.f(obtainStyledAttributes, index, this.f2706o);
break;
case 4:
this.f2704n = p.f(obtainStyledAttributes, index, this.f2704n);
break;
case 5:
this.f2716y = obtainStyledAttributes.getString(index);
break;
case 6:
this.f2658C = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2658C);
break;
case 7:
this.f2659D = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2659D);
break;
case 8:
this.J = obtainStyledAttributes.getDimensionPixelSize(index, this.J);
break;
case 9:
this.f2713v = p.f(obtainStyledAttributes, index, this.f2713v);
break;
case 10:
this.f2712u = p.f(obtainStyledAttributes, index, this.f2712u);
break;
case 11:
this.f2670P = obtainStyledAttributes.getDimensionPixelSize(index, this.f2670P);
break;
case 12:
this.f2671Q = obtainStyledAttributes.getDimensionPixelSize(index, this.f2671Q);
break;
case 13:
this.f2667M = obtainStyledAttributes.getDimensionPixelSize(index, this.f2667M);
break;
case 14:
this.f2669O = obtainStyledAttributes.getDimensionPixelSize(index, this.f2669O);
break;
case 15:
this.f2672R = obtainStyledAttributes.getDimensionPixelSize(index, this.f2672R);
break;
case 16:
this.f2668N = obtainStyledAttributes.getDimensionPixelSize(index, this.f2668N);
break;
case 17:
this.f2686d = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2686d);
break;
case 18:
this.f2688e = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2688e);
break;
case 19:
this.f2690f = obtainStyledAttributes.getFloat(index, this.f2690f);
break;
case 20:
this.f2714w = obtainStyledAttributes.getFloat(index, this.f2714w);
break;
case 21:
this.f2684c = obtainStyledAttributes.getLayoutDimension(index, this.f2684c);
break;
case 22:
this.f2682b = obtainStyledAttributes.getLayoutDimension(index, this.f2682b);
break;
case 23:
this.f2661F = obtainStyledAttributes.getDimensionPixelSize(index, this.f2661F);
break;
case 24:
this.h = p.f(obtainStyledAttributes, index, this.h);
break;
case 25:
this.i = p.f(obtainStyledAttributes, index, this.i);
break;
case 26:
this.f2660E = obtainStyledAttributes.getInt(index, this.f2660E);
break;
case 27:
this.f2662G = obtainStyledAttributes.getDimensionPixelSize(index, this.f2662G);
break;
case 28:
this.f2696j = p.f(obtainStyledAttributes, index, this.f2696j);
break;
case 29:
this.f2698k = p.f(obtainStyledAttributes, index, this.f2698k);
break;
case 30:
this.f2665K = obtainStyledAttributes.getDimensionPixelSize(index, this.f2665K);
break;
case 31:
this.f2710s = p.f(obtainStyledAttributes, index, this.f2710s);
break;
case 32:
this.f2711t = p.f(obtainStyledAttributes, index, this.f2711t);
break;
case 33:
this.f2663H = obtainStyledAttributes.getDimensionPixelSize(index, this.f2663H);
break;
case 34:
this.f2702m = p.f(obtainStyledAttributes, index, this.f2702m);
break;
case 35:
this.f2700l = p.f(obtainStyledAttributes, index, this.f2700l);
break;
case 36:
this.f2715x = obtainStyledAttributes.getFloat(index, this.f2715x);
break;
case 37:
this.f2675U = obtainStyledAttributes.getFloat(index, this.f2675U);
break;
case 38:
this.f2674T = obtainStyledAttributes.getFloat(index, this.f2674T);
break;
case 39:
this.f2676V = obtainStyledAttributes.getInt(index, this.f2676V);
break;
case 40:
this.f2677W = obtainStyledAttributes.getInt(index, this.f2677W);
break;
case 41:
p.g(this, obtainStyledAttributes, index, 0);
break;
case 42:
p.g(this, obtainStyledAttributes, index, 1);
break;
default:
switch (i4) {
case 61:
this.f2717z = p.f(obtainStyledAttributes, index, this.f2717z);
break;
case 62:
this.f2656A = obtainStyledAttributes.getDimensionPixelSize(index, this.f2656A);
break;
case 63:
this.f2657B = obtainStyledAttributes.getFloat(index, this.f2657B);
break;
default:
switch (i4) {
case 69:
this.f2687d0 = obtainStyledAttributes.getFloat(index, 1.0f);
break;
case 70:
this.f2689e0 = obtainStyledAttributes.getFloat(index, 1.0f);
break;
case 71:
Log.e("ConstraintSet", "CURRENTLY UNSUPPORTED");
break;
case 72:
this.f2691f0 = obtainStyledAttributes.getInt(index, this.f2691f0);
break;
case 73:
this.f2693g0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2693g0);
break;
case 74:
this.f2697j0 = obtainStyledAttributes.getString(index);
break;
case 75:
this.f2705n0 = obtainStyledAttributes.getBoolean(index, this.f2705n0);
break;
case 76:
this.f2707o0 = obtainStyledAttributes.getInt(index, this.f2707o0);
break;
case 77:
this.f2708q = p.f(obtainStyledAttributes, index, this.f2708q);
break;
case 78:
this.f2709r = p.f(obtainStyledAttributes, index, this.f2709r);
break;
case 79:
this.f2673S = obtainStyledAttributes.getDimensionPixelSize(index, this.f2673S);
break;
case 80:
this.f2666L = obtainStyledAttributes.getDimensionPixelSize(index, this.f2666L);
break;
case 81:
this.f2678X = obtainStyledAttributes.getInt(index, this.f2678X);
break;
case 82:
this.f2679Y = obtainStyledAttributes.getInt(index, this.f2679Y);
break;
case 83:
this.f2681a0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2681a0);
break;
case 84:
this.Z = obtainStyledAttributes.getDimensionPixelSize(index, this.Z);
break;
case 85:
this.f2685c0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2685c0);
break;
case 86:
this.f2683b0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2683b0);
break;
case 87:
this.f2701l0 = obtainStyledAttributes.getBoolean(index, this.f2701l0);
break;
case 88:
this.f2703m0 = obtainStyledAttributes.getBoolean(index, this.f2703m0);
break;
case 89:
this.f2699k0 = obtainStyledAttributes.getString(index);
break;
case 90:
this.f2692g = obtainStyledAttributes.getBoolean(index, this.f2692g);
break;
case 91:
Log.w("ConstraintSet", "unused attribute 0x" + Integer.toHexString(index) + " " + sparseIntArray.get(index));
break;
default:
Log.w("ConstraintSet", "Unknown attribute 0x" + Integer.toHexString(index) + " " + sparseIntArray.get(index));
break;
}
}
}
}
obtainStyledAttributes.recycle();
}
}

View File

@@ -0,0 +1,114 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.SparseIntArray;
import com.google.firebase.sessions.settings.RemoteSettings;
import v.AbstractC0635a;
/* loaded from: classes.dex */
public final class m {
/* renamed from: j, reason: collision with root package name */
public static final SparseIntArray f2718j;
/* renamed from: a, reason: collision with root package name */
public int f2719a;
/* renamed from: b, reason: collision with root package name */
public int f2720b;
/* renamed from: c, reason: collision with root package name */
public int f2721c;
/* renamed from: d, reason: collision with root package name */
public float f2722d;
/* renamed from: e, reason: collision with root package name */
public float f2723e;
/* renamed from: f, reason: collision with root package name */
public float f2724f;
/* renamed from: g, reason: collision with root package name */
public int f2725g;
public String h;
public int i;
static {
SparseIntArray sparseIntArray = new SparseIntArray();
f2718j = sparseIntArray;
sparseIntArray.append(3, 1);
sparseIntArray.append(5, 2);
sparseIntArray.append(9, 3);
sparseIntArray.append(2, 4);
sparseIntArray.append(1, 5);
sparseIntArray.append(0, 6);
sparseIntArray.append(4, 7);
sparseIntArray.append(8, 8);
sparseIntArray.append(7, 9);
sparseIntArray.append(6, 10);
}
public final void a(Context context, AttributeSet attributeSet) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.f2753f);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
switch (f2718j.get(index)) {
case 1:
this.f2723e = obtainStyledAttributes.getFloat(index, this.f2723e);
break;
case 2:
this.f2721c = obtainStyledAttributes.getInt(index, this.f2721c);
break;
case 3:
if (obtainStyledAttributes.peekValue(index).type == 3) {
obtainStyledAttributes.getString(index);
break;
} else {
String str = AbstractC0635a.f8626a[obtainStyledAttributes.getInteger(index, 0)];
break;
}
case 4:
obtainStyledAttributes.getInt(index, 0);
break;
case 5:
this.f2719a = p.f(obtainStyledAttributes, index, this.f2719a);
break;
case 6:
this.f2720b = obtainStyledAttributes.getInteger(index, this.f2720b);
break;
case 7:
this.f2722d = obtainStyledAttributes.getFloat(index, this.f2722d);
break;
case 8:
this.f2725g = obtainStyledAttributes.getInteger(index, this.f2725g);
break;
case 9:
this.f2724f = obtainStyledAttributes.getFloat(index, this.f2724f);
break;
case 10:
int i4 = obtainStyledAttributes.peekValue(index).type;
if (i4 == 1) {
this.i = obtainStyledAttributes.getResourceId(index, -1);
break;
} else if (i4 == 3) {
String string = obtainStyledAttributes.getString(index);
this.h = string;
if (string.indexOf(RemoteSettings.FORWARD_SLASH_STRING) > 0) {
this.i = obtainStyledAttributes.getResourceId(index, -1);
break;
} else {
break;
}
} else {
obtainStyledAttributes.getInteger(index, this.i);
break;
}
}
}
obtainStyledAttributes.recycle();
}
}

View File

@@ -0,0 +1,41 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
/* loaded from: classes.dex */
public final class n {
/* renamed from: a, reason: collision with root package name */
public int f2726a;
/* renamed from: b, reason: collision with root package name */
public int f2727b;
/* renamed from: c, reason: collision with root package name */
public float f2728c;
/* renamed from: d, reason: collision with root package name */
public float f2729d;
public final void a(Context context, AttributeSet attributeSet) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.f2754g);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 1) {
this.f2728c = obtainStyledAttributes.getFloat(index, this.f2728c);
} else if (index == 0) {
int i4 = obtainStyledAttributes.getInt(index, this.f2726a);
this.f2726a = i4;
this.f2726a = p.f2742d[i4];
} else if (index == 4) {
this.f2727b = obtainStyledAttributes.getInt(index, this.f2727b);
} else if (index == 3) {
this.f2729d = obtainStyledAttributes.getFloat(index, this.f2729d);
}
}
obtainStyledAttributes.recycle();
}
}

View File

@@ -0,0 +1,113 @@
package androidx.constraintlayout.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.SparseIntArray;
/* loaded from: classes.dex */
public final class o {
/* renamed from: n, reason: collision with root package name */
public static final SparseIntArray f2730n;
/* renamed from: a, reason: collision with root package name */
public float f2731a;
/* renamed from: b, reason: collision with root package name */
public float f2732b;
/* renamed from: c, reason: collision with root package name */
public float f2733c;
/* renamed from: d, reason: collision with root package name */
public float f2734d;
/* renamed from: e, reason: collision with root package name */
public float f2735e;
/* renamed from: f, reason: collision with root package name */
public float f2736f;
/* renamed from: g, reason: collision with root package name */
public float f2737g;
public int h;
public float i;
/* renamed from: j, reason: collision with root package name */
public float f2738j;
/* renamed from: k, reason: collision with root package name */
public float f2739k;
/* renamed from: l, reason: collision with root package name */
public boolean f2740l;
/* renamed from: m, reason: collision with root package name */
public float f2741m;
static {
SparseIntArray sparseIntArray = new SparseIntArray();
f2730n = sparseIntArray;
sparseIntArray.append(6, 1);
sparseIntArray.append(7, 2);
sparseIntArray.append(8, 3);
sparseIntArray.append(4, 4);
sparseIntArray.append(5, 5);
sparseIntArray.append(0, 6);
sparseIntArray.append(1, 7);
sparseIntArray.append(2, 8);
sparseIntArray.append(3, 9);
sparseIntArray.append(9, 10);
sparseIntArray.append(10, 11);
sparseIntArray.append(11, 12);
}
public final void a(Context context, AttributeSet attributeSet) {
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.i);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
switch (f2730n.get(index)) {
case 1:
this.f2731a = obtainStyledAttributes.getFloat(index, this.f2731a);
break;
case 2:
this.f2732b = obtainStyledAttributes.getFloat(index, this.f2732b);
break;
case 3:
this.f2733c = obtainStyledAttributes.getFloat(index, this.f2733c);
break;
case 4:
this.f2734d = obtainStyledAttributes.getFloat(index, this.f2734d);
break;
case 5:
this.f2735e = obtainStyledAttributes.getFloat(index, this.f2735e);
break;
case 6:
this.f2736f = obtainStyledAttributes.getDimension(index, this.f2736f);
break;
case 7:
this.f2737g = obtainStyledAttributes.getDimension(index, this.f2737g);
break;
case 8:
this.i = obtainStyledAttributes.getDimension(index, this.i);
break;
case 9:
this.f2738j = obtainStyledAttributes.getDimension(index, this.f2738j);
break;
case 10:
this.f2739k = obtainStyledAttributes.getDimension(index, this.f2739k);
break;
case 11:
this.f2740l = true;
this.f2741m = obtainStyledAttributes.getDimension(index, this.f2741m);
break;
case 12:
this.h = p.f(obtainStyledAttributes, index, this.h);
break;
}
}
obtainStyledAttributes.recycle();
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
package androidx.constraintlayout.widget;
/* loaded from: classes.dex */
public abstract class q {
}

View File

@@ -0,0 +1,5 @@
package androidx.constraintlayout.widget;
/* loaded from: classes.dex */
public abstract class r {
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
package androidx.constraintlayout.widget;
/* loaded from: classes.dex */
public final class t {
}

View File

@@ -0,0 +1,82 @@
package androidx.constraintlayout.widget;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewParent;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
/* loaded from: classes.dex */
public abstract class u extends c {
public boolean h;
public boolean i;
@Override // androidx.constraintlayout.widget.c
public final void e(ConstraintLayout constraintLayout) {
d(constraintLayout);
}
@Override // androidx.constraintlayout.widget.c
public void g(AttributeSet attributeSet) {
super.g(attributeSet);
if (attributeSet != null) {
TypedArray obtainStyledAttributes = getContext().obtainStyledAttributes(attributeSet, s.f2749b);
int indexCount = obtainStyledAttributes.getIndexCount();
for (int i = 0; i < indexCount; i++) {
int index = obtainStyledAttributes.getIndex(i);
if (index == 6) {
this.h = true;
} else if (index == 22) {
this.i = true;
}
}
obtainStyledAttributes.recycle();
}
}
public abstract void j(w.g gVar, int i, int i4);
@Override // androidx.constraintlayout.widget.c, android.view.View
public final void onAttachedToWindow() {
super.onAttachedToWindow();
if (this.h || this.i) {
ViewParent parent = getParent();
if (parent instanceof ConstraintLayout) {
ConstraintLayout constraintLayout = (ConstraintLayout) parent;
int visibility = getVisibility();
float elevation = getElevation();
for (int i = 0; i < this.f2547b; i++) {
View viewById = constraintLayout.getViewById(this.f2546a[i]);
if (viewById != null) {
if (this.h) {
viewById.setVisibility(visibility);
}
if (this.i && elevation > BitmapDescriptorFactory.HUE_RED) {
viewById.setTranslationZ(viewById.getTranslationZ() + elevation);
}
}
}
}
}
}
@Override // android.view.View
public void setElevation(float f2) {
super.setElevation(f2);
ViewParent parent = getParent();
if (parent == null || !(parent instanceof ConstraintLayout)) {
return;
}
d((ConstraintLayout) parent);
}
@Override // android.view.View
public void setVisibility(int i) {
super.setVisibility(i);
ViewParent parent = getParent();
if (parent == null || !(parent instanceof ConstraintLayout)) {
return;
}
d((ConstraintLayout) parent);
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
package androidx.core.app;
import android.app.Activity;
import android.app.AppComponentFactory;
import android.app.Application;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.ContentProvider;
import android.content.Intent;
/* loaded from: classes.dex */
public class CoreComponentFactory extends AppComponentFactory {
public static <T> T checkCompatWrapper(T t2) {
return t2;
}
@Override // android.app.AppComponentFactory
public Activity instantiateActivity(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Activity) checkCompatWrapper(super.instantiateActivity(classLoader, str, intent));
}
@Override // android.app.AppComponentFactory
public Application instantiateApplication(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Application) checkCompatWrapper(super.instantiateApplication(classLoader, str));
}
@Override // android.app.AppComponentFactory
public ContentProvider instantiateProvider(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (ContentProvider) checkCompatWrapper(super.instantiateProvider(classLoader, str));
}
@Override // android.app.AppComponentFactory
public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (BroadcastReceiver) checkCompatWrapper(super.instantiateReceiver(classLoader, str, intent));
}
@Override // android.app.AppComponentFactory
public Service instantiateService(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Service) checkCompatWrapper(super.instantiateService(classLoader, str, intent));
}
}

View File

@@ -0,0 +1,27 @@
package androidx.core.app;
import D0.d;
import android.app.PendingIntent;
import androidx.core.graphics.drawable.IconCompat;
/* loaded from: classes.dex */
public final class RemoteActionCompat implements d {
/* renamed from: a, reason: collision with root package name */
public IconCompat f2777a;
/* renamed from: b, reason: collision with root package name */
public CharSequence f2778b;
/* renamed from: c, reason: collision with root package name */
public CharSequence f2779c;
/* renamed from: d, reason: collision with root package name */
public PendingIntent f2780d;
/* renamed from: e, reason: collision with root package name */
public boolean f2781e;
/* renamed from: f, reason: collision with root package name */
public boolean f2782f;
}

View File

@@ -0,0 +1,69 @@
package androidx.core.app;
import D0.b;
import D0.c;
import D0.d;
import android.app.PendingIntent;
import android.os.Parcel;
import android.text.TextUtils;
import androidx.core.graphics.drawable.IconCompat;
/* loaded from: classes.dex */
public class RemoteActionCompatParcelizer {
public static RemoteActionCompat read(b bVar) {
RemoteActionCompat remoteActionCompat = new RemoteActionCompat();
d dVar = remoteActionCompat.f2777a;
boolean z3 = true;
if (bVar.e(1)) {
dVar = bVar.g();
}
remoteActionCompat.f2777a = (IconCompat) dVar;
CharSequence charSequence = remoteActionCompat.f2778b;
if (bVar.e(2)) {
charSequence = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(((c) bVar).f365e);
}
remoteActionCompat.f2778b = charSequence;
CharSequence charSequence2 = remoteActionCompat.f2779c;
if (bVar.e(3)) {
charSequence2 = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(((c) bVar).f365e);
}
remoteActionCompat.f2779c = charSequence2;
remoteActionCompat.f2780d = (PendingIntent) bVar.f(remoteActionCompat.f2780d, 4);
boolean z4 = remoteActionCompat.f2781e;
if (bVar.e(5)) {
z4 = ((c) bVar).f365e.readInt() != 0;
}
remoteActionCompat.f2781e = z4;
boolean z5 = remoteActionCompat.f2782f;
if (!bVar.e(6)) {
z3 = z5;
} else if (((c) bVar).f365e.readInt() == 0) {
z3 = false;
}
remoteActionCompat.f2782f = z3;
return remoteActionCompat;
}
public static void write(RemoteActionCompat remoteActionCompat, b bVar) {
bVar.getClass();
IconCompat iconCompat = remoteActionCompat.f2777a;
bVar.h(1);
bVar.i(iconCompat);
CharSequence charSequence = remoteActionCompat.f2778b;
bVar.h(2);
Parcel parcel = ((c) bVar).f365e;
TextUtils.writeToParcel(charSequence, parcel, 0);
CharSequence charSequence2 = remoteActionCompat.f2779c;
bVar.h(3);
TextUtils.writeToParcel(charSequence2, parcel, 0);
PendingIntent pendingIntent = remoteActionCompat.f2780d;
bVar.h(4);
parcel.writeParcelable(pendingIntent, 0);
boolean z3 = remoteActionCompat.f2781e;
bVar.h(5);
parcel.writeInt(z3 ? 1 : 0);
boolean z4 = remoteActionCompat.f2782f;
bVar.h(6);
parcel.writeInt(z4 ? 1 : 0);
}
}

View File

@@ -0,0 +1,343 @@
package androidx.core.content;
import C.w;
import D.h;
import D.i;
import D.j;
import D.k;
import android.annotation.SuppressLint;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.pm.ProviderInfo;
import android.content.res.XmlResourceParser;
import android.database.Cursor;
import android.database.MatrixCursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.os.ParcelFileDescriptor;
import android.text.TextUtils;
import android.webkit.MimeTypeMap;
import com.adif.elcanomovil.widget.DefaultWidgetPayloadHandler;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.google.firebase.sessions.settings.RemoteSettings;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public class FileProvider extends ContentProvider {
private static final String ATTR_NAME = "name";
private static final String ATTR_PATH = "path";
private static final String DISPLAYNAME_FIELD = "displayName";
private static final String META_DATA_FILE_PROVIDER_PATHS = "android.support.FILE_PROVIDER_PATHS";
private static final String TAG_CACHE_PATH = "cache-path";
private static final String TAG_EXTERNAL = "external-path";
private static final String TAG_EXTERNAL_CACHE = "external-cache-path";
private static final String TAG_EXTERNAL_FILES = "external-files-path";
private static final String TAG_EXTERNAL_MEDIA = "external-media-path";
private static final String TAG_FILES_PATH = "files-path";
private static final String TAG_ROOT_PATH = "root-path";
private String mAuthority;
private j mLocalPathStrategy;
private final Object mLock;
private final int mResourceId;
private static final String[] COLUMNS = {"_display_name", "_size"};
private static final File DEVICE_ROOT = new File(RemoteSettings.FORWARD_SLASH_STRING);
private static final HashMap<String, j> sCache = new HashMap<>();
public FileProvider() {
this(0);
}
private static File buildPath(File file, String... strArr) {
for (String str : strArr) {
if (str != null) {
file = new File(file, str);
}
}
return file;
}
private static String[] copyOf(String[] strArr, int i) {
String[] strArr2 = new String[i];
System.arraycopy(strArr, 0, strArr2, 0, i);
return strArr2;
}
public static XmlResourceParser getFileProviderPathsMetaData(Context context, String str, ProviderInfo providerInfo, int i) {
if (providerInfo == null) {
throw new IllegalArgumentException(w.z("Couldn't find meta-data for provider with authority ", str));
}
if (providerInfo.metaData == null && i != 0) {
Bundle bundle = new Bundle(1);
providerInfo.metaData = bundle;
bundle.putInt(META_DATA_FILE_PROVIDER_PATHS, i);
}
XmlResourceParser loadXmlMetaData = providerInfo.loadXmlMetaData(context.getPackageManager(), META_DATA_FILE_PROVIDER_PATHS);
if (loadXmlMetaData != null) {
return loadXmlMetaData;
}
throw new IllegalArgumentException("Missing android.support.FILE_PROVIDER_PATHS meta-data");
}
private j getLocalPathStrategy() {
j jVar;
synchronized (this.mLock) {
try {
if (this.mAuthority == null) {
throw new NullPointerException("mAuthority is null. Did you override attachInfo and did not call super.attachInfo()?");
}
if (this.mLocalPathStrategy == null) {
this.mLocalPathStrategy = getPathStrategy(getContext(), this.mAuthority, this.mResourceId);
}
jVar = this.mLocalPathStrategy;
} catch (Throwable th) {
throw th;
}
}
return jVar;
}
private static j getPathStrategy(Context context, String str, int i) {
j jVar;
HashMap<String, j> hashMap = sCache;
synchronized (hashMap) {
try {
jVar = hashMap.get(str);
if (jVar == null) {
try {
try {
jVar = parsePathStrategy(context, str, i);
hashMap.put(str, jVar);
} catch (IOException e4) {
throw new IllegalArgumentException("Failed to parse android.support.FILE_PROVIDER_PATHS meta-data", e4);
}
} catch (XmlPullParserException e5) {
throw new IllegalArgumentException("Failed to parse android.support.FILE_PROVIDER_PATHS meta-data", e5);
}
}
} catch (Throwable th) {
throw th;
}
}
return jVar;
}
public static Uri getUriForFile(Context context, String str, File file) {
String substring;
k kVar = (k) getPathStrategy(context, str, 0);
kVar.getClass();
try {
String canonicalPath = file.getCanonicalPath();
Map.Entry entry = null;
for (Map.Entry entry2 : kVar.f359b.entrySet()) {
String path = ((File) entry2.getValue()).getPath();
if (k.a(canonicalPath, path) && (entry == null || path.length() > ((File) entry.getValue()).getPath().length())) {
entry = entry2;
}
}
if (entry != null) {
String path2 = ((File) entry.getValue()).getPath();
if (path2.endsWith(RemoteSettings.FORWARD_SLASH_STRING)) {
substring = canonicalPath.substring(path2.length());
} else {
substring = canonicalPath.substring(path2.length() + 1);
}
return new Uri.Builder().scheme(FirebaseAnalytics.Param.CONTENT).authority(kVar.f358a).encodedPath(Uri.encode((String) entry.getKey()) + '/' + Uri.encode(substring, RemoteSettings.FORWARD_SLASH_STRING)).build();
}
throw new IllegalArgumentException(w.z("Failed to find configured root that contains ", canonicalPath));
} catch (IOException unused) {
throw new IllegalArgumentException("Failed to resolve canonical path for " + file);
}
}
private static int modeToMode(String str) {
if ("r".equals(str)) {
return 268435456;
}
if (DefaultWidgetPayloadHandler.IS_WIDGET_JSON_TYPE.equals(str) || "wt".equals(str)) {
return 738197504;
}
if ("wa".equals(str)) {
return 704643072;
}
if ("rw".equals(str)) {
return 939524096;
}
if ("rwt".equals(str)) {
return 1006632960;
}
throw new IllegalArgumentException(w.z("Invalid mode: ", str));
}
private static j parsePathStrategy(Context context, String str, int i) throws IOException, XmlPullParserException {
k kVar = new k(str);
XmlResourceParser fileProviderPathsMetaData = getFileProviderPathsMetaData(context, str, context.getPackageManager().resolveContentProvider(str, 128), i);
while (true) {
int next = fileProviderPathsMetaData.next();
if (next == 1) {
return kVar;
}
if (next == 2) {
String name = fileProviderPathsMetaData.getName();
File file = null;
String attributeValue = fileProviderPathsMetaData.getAttributeValue(null, "name");
String attributeValue2 = fileProviderPathsMetaData.getAttributeValue(null, "path");
if (TAG_ROOT_PATH.equals(name)) {
file = DEVICE_ROOT;
} else if (TAG_FILES_PATH.equals(name)) {
file = context.getFilesDir();
} else if (TAG_CACHE_PATH.equals(name)) {
file = context.getCacheDir();
} else if (TAG_EXTERNAL.equals(name)) {
file = Environment.getExternalStorageDirectory();
} else if (TAG_EXTERNAL_FILES.equals(name)) {
File[] externalFilesDirs = h.getExternalFilesDirs(context, null);
if (externalFilesDirs.length > 0) {
file = externalFilesDirs[0];
}
} else if (TAG_EXTERNAL_CACHE.equals(name)) {
File[] externalCacheDirs = h.getExternalCacheDirs(context);
if (externalCacheDirs.length > 0) {
file = externalCacheDirs[0];
}
} else if (TAG_EXTERNAL_MEDIA.equals(name)) {
File[] a2 = i.a(context);
if (a2.length > 0) {
file = a2[0];
}
}
if (file != null) {
File buildPath = buildPath(file, attributeValue2);
if (TextUtils.isEmpty(attributeValue)) {
throw new IllegalArgumentException("Name must not be empty");
}
try {
kVar.f359b.put(attributeValue, buildPath.getCanonicalFile());
} catch (IOException e4) {
throw new IllegalArgumentException("Failed to resolve canonical path for " + buildPath, e4);
}
} else {
continue;
}
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static String removeTrailingSlash(String str) {
return (str.length() <= 0 || str.charAt(str.length() + (-1)) != '/') ? str : str.substring(0, str.length() - 1);
}
@Override // android.content.ContentProvider
public void attachInfo(Context context, ProviderInfo providerInfo) {
super.attachInfo(context, providerInfo);
if (providerInfo.exported) {
throw new SecurityException("Provider must not be exported");
}
if (!providerInfo.grantUriPermissions) {
throw new SecurityException("Provider must grant uri permissions");
}
String str = providerInfo.authority.split(";")[0];
synchronized (this.mLock) {
this.mAuthority = str;
}
HashMap<String, j> hashMap = sCache;
synchronized (hashMap) {
hashMap.remove(str);
}
}
@Override // android.content.ContentProvider
public int delete(Uri uri, String str, String[] strArr) {
return ((k) getLocalPathStrategy()).b(uri).delete() ? 1 : 0;
}
@Override // android.content.ContentProvider
public String getType(Uri uri) {
File b4 = ((k) getLocalPathStrategy()).b(uri);
int lastIndexOf = b4.getName().lastIndexOf(46);
if (lastIndexOf < 0) {
return "application/octet-stream";
}
String mimeTypeFromExtension = MimeTypeMap.getSingleton().getMimeTypeFromExtension(b4.getName().substring(lastIndexOf + 1));
return mimeTypeFromExtension != null ? mimeTypeFromExtension : "application/octet-stream";
}
@Override // android.content.ContentProvider
public String getTypeAnonymous(Uri uri) {
return "application/octet-stream";
}
@Override // android.content.ContentProvider
public Uri insert(Uri uri, ContentValues contentValues) {
throw new UnsupportedOperationException("No external inserts");
}
@Override // android.content.ContentProvider
public boolean onCreate() {
return true;
}
@Override // android.content.ContentProvider
@SuppressLint({"UnknownNullness"})
public ParcelFileDescriptor openFile(Uri uri, String str) throws FileNotFoundException {
return ParcelFileDescriptor.open(((k) getLocalPathStrategy()).b(uri), modeToMode(str));
}
@Override // android.content.ContentProvider
public Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
int i;
File b4 = ((k) getLocalPathStrategy()).b(uri);
String queryParameter = uri.getQueryParameter(DISPLAYNAME_FIELD);
if (strArr == null) {
strArr = COLUMNS;
}
String[] strArr3 = new String[strArr.length];
Object[] objArr = new Object[strArr.length];
int i4 = 0;
for (String str3 : strArr) {
if ("_display_name".equals(str3)) {
strArr3[i4] = "_display_name";
i = i4 + 1;
objArr[i4] = queryParameter == null ? b4.getName() : queryParameter;
} else if ("_size".equals(str3)) {
strArr3[i4] = "_size";
i = i4 + 1;
objArr[i4] = Long.valueOf(b4.length());
}
i4 = i;
}
String[] copyOf = copyOf(strArr3, i4);
Object[] copyOf2 = copyOf(objArr, i4);
MatrixCursor matrixCursor = new MatrixCursor(copyOf, 1);
matrixCursor.addRow(copyOf2);
return matrixCursor;
}
@Override // android.content.ContentProvider
public int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
throw new UnsupportedOperationException("No external updates");
}
public FileProvider(int i) {
this.mLock = new Object();
this.mResourceId = i;
}
private static Object[] copyOf(Object[] objArr, int i) {
Object[] objArr2 = new Object[i];
System.arraycopy(objArr, 0, objArr2, 0, i);
return objArr2;
}
@SuppressLint({"StreamFiles"})
public static Uri getUriForFile(Context context, String str, File file, String str2) {
return getUriForFile(context, str, file).buildUpon().appendQueryParameter(DISPLAYNAME_FIELD, str2).build();
}
}

View File

@@ -0,0 +1,169 @@
package androidx.core.graphics.drawable;
import H.c;
import H.e;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.PorterDuff;
import android.net.Uri;
import android.os.Parcelable;
import androidx.versionedparcelable.CustomVersionedParcelable;
/* loaded from: classes.dex */
public class IconCompat extends CustomVersionedParcelable {
/* renamed from: k, reason: collision with root package name */
public static final PorterDuff.Mode f2783k = PorterDuff.Mode.SRC_IN;
/* renamed from: a, reason: collision with root package name */
public int f2784a;
/* renamed from: b, reason: collision with root package name */
public Object f2785b;
/* renamed from: c, reason: collision with root package name */
public byte[] f2786c;
/* renamed from: d, reason: collision with root package name */
public Parcelable f2787d;
/* renamed from: e, reason: collision with root package name */
public int f2788e;
/* renamed from: f, reason: collision with root package name */
public int f2789f;
/* renamed from: g, reason: collision with root package name */
public ColorStateList f2790g;
public PorterDuff.Mode h;
public String i;
/* renamed from: j, reason: collision with root package name */
public String f2791j;
public IconCompat() {
this.f2784a = -1;
this.f2786c = null;
this.f2787d = null;
this.f2788e = 0;
this.f2789f = 0;
this.f2790g = null;
this.h = f2783k;
this.i = null;
}
public static IconCompat a(int i) {
if (i == 0) {
throw new IllegalArgumentException("Drawable resource ID must not be 0");
}
IconCompat iconCompat = new IconCompat(2);
iconCompat.f2788e = i;
iconCompat.f2785b = "";
iconCompat.f2791j = "";
return iconCompat;
}
public final int b() {
int i = this.f2784a;
if (i == -1) {
return e.a(this.f2785b);
}
if (i == 2) {
return this.f2788e;
}
throw new IllegalStateException("called getResId() on " + this);
}
public final Uri c() {
int i = this.f2784a;
if (i == -1) {
return c.a(this.f2785b);
}
if (i == 4 || i == 6) {
return Uri.parse((String) this.f2785b);
}
throw new IllegalStateException("called getUri() on " + this);
}
public final String toString() {
String str;
if (this.f2784a == -1) {
return String.valueOf(this.f2785b);
}
StringBuilder sb = new StringBuilder("Icon(typ=");
switch (this.f2784a) {
case 1:
str = "BITMAP";
break;
case 2:
str = "RESOURCE";
break;
case 3:
str = "DATA";
break;
case 4:
str = "URI";
break;
case 5:
str = "BITMAP_MASKABLE";
break;
case 6:
str = "URI_MASKABLE";
break;
default:
str = "UNKNOWN";
break;
}
sb.append(str);
switch (this.f2784a) {
case 1:
case 5:
sb.append(" size=");
sb.append(((Bitmap) this.f2785b).getWidth());
sb.append("x");
sb.append(((Bitmap) this.f2785b).getHeight());
break;
case 2:
sb.append(" pkg=");
sb.append(this.f2791j);
sb.append(" id=");
sb.append(String.format("0x%08x", Integer.valueOf(b())));
break;
case 3:
sb.append(" len=");
sb.append(this.f2788e);
if (this.f2789f != 0) {
sb.append(" off=");
sb.append(this.f2789f);
break;
}
break;
case 4:
case 6:
sb.append(" uri=");
sb.append(this.f2785b);
break;
}
if (this.f2790g != null) {
sb.append(" tint=");
sb.append(this.f2790g);
}
if (this.h != f2783k) {
sb.append(" mode=");
sb.append(this.h);
}
sb.append(")");
return sb.toString();
}
public IconCompat(int i) {
this.f2786c = null;
this.f2787d = null;
this.f2788e = 0;
this.f2789f = 0;
this.f2790g = null;
this.h = f2783k;
this.i = null;
this.f2784a = i;
}
}

View File

@@ -0,0 +1,162 @@
package androidx.core.graphics.drawable;
import D0.b;
import D0.c;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.os.Parcel;
import android.os.Parcelable;
import java.nio.charset.Charset;
/* loaded from: classes.dex */
public class IconCompatParcelizer {
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
public static IconCompat read(b bVar) {
IconCompat iconCompat = new IconCompat();
int i = iconCompat.f2784a;
if (bVar.e(1)) {
i = ((c) bVar).f365e.readInt();
}
iconCompat.f2784a = i;
byte[] bArr = iconCompat.f2786c;
if (bVar.e(2)) {
Parcel parcel = ((c) bVar).f365e;
int readInt = parcel.readInt();
if (readInt < 0) {
bArr = null;
} else {
byte[] bArr2 = new byte[readInt];
parcel.readByteArray(bArr2);
bArr = bArr2;
}
}
iconCompat.f2786c = bArr;
iconCompat.f2787d = bVar.f(iconCompat.f2787d, 3);
int i4 = iconCompat.f2788e;
if (bVar.e(4)) {
i4 = ((c) bVar).f365e.readInt();
}
iconCompat.f2788e = i4;
int i5 = iconCompat.f2789f;
if (bVar.e(5)) {
i5 = ((c) bVar).f365e.readInt();
}
iconCompat.f2789f = i5;
iconCompat.f2790g = (ColorStateList) bVar.f(iconCompat.f2790g, 6);
String str = iconCompat.i;
if (bVar.e(7)) {
str = ((c) bVar).f365e.readString();
}
iconCompat.i = str;
String str2 = iconCompat.f2791j;
if (bVar.e(8)) {
str2 = ((c) bVar).f365e.readString();
}
iconCompat.f2791j = str2;
iconCompat.h = PorterDuff.Mode.valueOf(iconCompat.i);
switch (iconCompat.f2784a) {
case -1:
Parcelable parcelable = iconCompat.f2787d;
if (parcelable == null) {
throw new IllegalArgumentException("Invalid icon");
}
iconCompat.f2785b = parcelable;
return iconCompat;
case 0:
default:
return iconCompat;
case 1:
case 5:
Parcelable parcelable2 = iconCompat.f2787d;
if (parcelable2 != null) {
iconCompat.f2785b = parcelable2;
return iconCompat;
}
byte[] bArr3 = iconCompat.f2786c;
iconCompat.f2785b = bArr3;
iconCompat.f2784a = 3;
iconCompat.f2788e = 0;
iconCompat.f2789f = bArr3.length;
return iconCompat;
case 2:
case 4:
case 6:
String str3 = new String(iconCompat.f2786c, Charset.forName("UTF-16"));
iconCompat.f2785b = str3;
if (iconCompat.f2784a == 2 && iconCompat.f2791j == null) {
iconCompat.f2791j = str3.split(":", -1)[0];
}
return iconCompat;
case 3:
iconCompat.f2785b = iconCompat.f2786c;
return iconCompat;
}
}
public static void write(IconCompat iconCompat, b bVar) {
bVar.getClass();
iconCompat.i = iconCompat.h.name();
switch (iconCompat.f2784a) {
case -1:
iconCompat.f2787d = (Parcelable) iconCompat.f2785b;
break;
case 1:
case 5:
iconCompat.f2787d = (Parcelable) iconCompat.f2785b;
break;
case 2:
iconCompat.f2786c = ((String) iconCompat.f2785b).getBytes(Charset.forName("UTF-16"));
break;
case 3:
iconCompat.f2786c = (byte[]) iconCompat.f2785b;
break;
case 4:
case 6:
iconCompat.f2786c = iconCompat.f2785b.toString().getBytes(Charset.forName("UTF-16"));
break;
}
int i = iconCompat.f2784a;
if (-1 != i) {
bVar.h(1);
((c) bVar).f365e.writeInt(i);
}
byte[] bArr = iconCompat.f2786c;
if (bArr != null) {
bVar.h(2);
int length = bArr.length;
Parcel parcel = ((c) bVar).f365e;
parcel.writeInt(length);
parcel.writeByteArray(bArr);
}
Parcelable parcelable = iconCompat.f2787d;
if (parcelable != null) {
bVar.h(3);
((c) bVar).f365e.writeParcelable(parcelable, 0);
}
int i4 = iconCompat.f2788e;
if (i4 != 0) {
bVar.h(4);
((c) bVar).f365e.writeInt(i4);
}
int i5 = iconCompat.f2789f;
if (i5 != 0) {
bVar.h(5);
((c) bVar).f365e.writeInt(i5);
}
ColorStateList colorStateList = iconCompat.f2790g;
if (colorStateList != null) {
bVar.h(6);
((c) bVar).f365e.writeParcelable(colorStateList, 0);
}
String str = iconCompat.i;
if (str != null) {
bVar.h(7);
((c) bVar).f365e.writeString(str);
}
String str2 = iconCompat.f2791j;
if (str2 != null) {
bVar.h(8);
((c) bVar).f365e.writeString(str2);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,31 @@
package androidx.core.widget;
import U.s;
import android.content.Intent;
import android.widget.RemoteViewsService;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0007\u0018\u00002\u00020\u0001:\u0002\u0004\u0005B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0006"}, d2 = {"Landroidx/core/widget/RemoteViewsCompatService;", "Landroid/widget/RemoteViewsService;", "<init>", "()V", "U/r", "U/s", "core-remoteviews_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nRemoteViewsCompatService.kt\nKotlin\n*S Kotlin\n*F\n+ 1 RemoteViewsCompatService.kt\nandroidx/core/widget/RemoteViewsCompatService\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,319:1\n1#2:320\n*E\n"})
/* loaded from: classes.dex */
public final class RemoteViewsCompatService extends RemoteViewsService {
/* renamed from: a, reason: collision with root package name */
public static final /* synthetic */ int f2820a = 0;
@Override // android.widget.RemoteViewsService
public final RemoteViewsService.RemoteViewsFactory onGetViewFactory(Intent intent) {
Intrinsics.checkNotNullParameter(intent, "intent");
int intExtra = intent.getIntExtra("appWidgetId", -1);
if (intExtra == -1) {
throw new IllegalStateException("No app widget id was present in the intent");
}
int intExtra2 = intent.getIntExtra("androidx.core.widget.extra.view_id", -1);
if (intExtra2 != -1) {
return new s(this, intExtra, intExtra2);
}
throw new IllegalStateException("No view id was present in the intent");
}
}

View File

@@ -0,0 +1,36 @@
package androidx.datastore.preferences.protobuf;
import java.io.IOException;
/* loaded from: classes.dex */
public class A extends IOException {
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.A, java.io.IOException] */
public static A a() {
return new IOException("Protocol message had invalid UTF-8.");
}
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.z, java.io.IOException] */
public static C0134z b() {
return new IOException("Protocol message tag had invalid wire type.");
}
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.A, java.io.IOException] */
public static A c() {
return new IOException("CodedInputStream encountered a malformed varint.");
}
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.A, java.io.IOException] */
public static A d() {
return new IOException("CodedInputStream encountered an embedded string or message which claimed to have negative size.");
}
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.A, java.io.IOException] */
public static A e() {
return new IOException("Failed to parse the message.");
}
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.A, java.io.IOException] */
public static A f() {
return new IOException("While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.");
}
}

View File

@@ -0,0 +1,80 @@
package androidx.datastore.preferences.protobuf;
/* JADX WARN: Enum visitor error
jadx.core.utils.exceptions.JadxRuntimeException: Init of enum field 'EF12' uses external variables
at jadx.core.dex.visitors.EnumVisitor.createEnumFieldByConstructor(EnumVisitor.java:451)
at jadx.core.dex.visitors.EnumVisitor.processEnumFieldByRegister(EnumVisitor.java:395)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromFilledArray(EnumVisitor.java:324)
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromInsn(EnumVisitor.java:262)
at jadx.core.dex.visitors.EnumVisitor.convertToEnum(EnumVisitor.java:151)
at jadx.core.dex.visitors.EnumVisitor.visit(EnumVisitor.java:100)
*/
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* loaded from: classes.dex */
public class A0 {
/* renamed from: c, reason: collision with root package name */
public static final w0 f2821c;
/* renamed from: d, reason: collision with root package name */
public static final x0 f2822d;
/* renamed from: e, reason: collision with root package name */
public static final y0 f2823e;
/* renamed from: f, reason: collision with root package name */
public static final /* synthetic */ A0[] f2824f;
/* renamed from: a, reason: collision with root package name */
public final B0 f2825a;
/* renamed from: b, reason: collision with root package name */
public final int f2826b;
/* JADX INFO: Fake field, exist only in values array */
A0 EF10;
/* JADX INFO: Fake field, exist only in values array */
A0 EF11;
/* JADX INFO: Fake field, exist only in values array */
A0 EF12;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v2, types: [androidx.datastore.preferences.protobuf.A0, androidx.datastore.preferences.protobuf.w0] */
/* JADX WARN: Type inference failed for: r2v2, types: [androidx.datastore.preferences.protobuf.A0, androidx.datastore.preferences.protobuf.y0] */
/* JADX WARN: Type inference failed for: r8v2, types: [androidx.datastore.preferences.protobuf.A0, androidx.datastore.preferences.protobuf.x0] */
static {
A0 a02 = new A0("DOUBLE", 0, B0.DOUBLE, 1);
A0 a03 = new A0("FLOAT", 1, B0.FLOAT, 5);
B0 b02 = B0.LONG;
A0 a04 = new A0("INT64", 2, b02, 0);
A0 a05 = new A0("UINT64", 3, b02, 0);
B0 b03 = B0.INT;
A0 a06 = new A0("INT32", 4, b03, 0);
A0 a07 = new A0("FIXED64", 5, b02, 1);
A0 a08 = new A0("FIXED32", 6, b03, 5);
A0 a09 = new A0("BOOL", 7, B0.BOOLEAN, 0);
?? a010 = new A0("STRING", 8, B0.STRING, 2);
f2821c = a010;
B0 b04 = B0.MESSAGE;
?? a011 = new A0("GROUP", 9, b04, 3);
f2822d = a011;
?? a012 = new A0("MESSAGE", 10, b04, 2);
f2823e = a012;
f2824f = new A0[]{a02, a03, a04, a05, a06, a07, a08, a09, a010, a011, a012, new A0("BYTES", 11, B0.BYTE_STRING, 2), new A0("UINT32", 12, b03, 0), new A0("ENUM", 13, B0.ENUM, 0), new A0("SFIXED32", 14, b03, 5), new A0("SFIXED64", 15, b02, 1), new A0("SINT32", 16, b03, 0), new A0("SINT64", 17, b02, 0)};
}
public A0(String str, int i, B0 b02, int i4) {
this.f2825a = b02;
this.f2826b = i4;
}
public static A0 valueOf(String str) {
return (A0) Enum.valueOf(A0.class, str);
}
public static A0[] values() {
return (A0[]) f2824f.clone();
}
}

View File

@@ -0,0 +1,22 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.a, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0108a {
protected int memoizedHashCode;
public abstract int a();
public final int b(InterfaceC0111b0 interfaceC0111b0) {
AbstractC0130v abstractC0130v = (AbstractC0130v) this;
int i = abstractC0130v.memoizedSerializedSize;
if (i != -1) {
return i;
}
int e4 = interfaceC0111b0.e(this);
abstractC0130v.memoizedSerializedSize = e4;
return e4;
}
public abstract void c(C0119j c0119j);
}

View File

@@ -0,0 +1,96 @@
package androidx.datastore.preferences.protobuf;
import java.util.AbstractList;
import java.util.Collection;
import java.util.List;
import java.util.RandomAccess;
/* renamed from: androidx.datastore.preferences.protobuf.b, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0110b extends AbstractList implements InterfaceC0132x {
/* renamed from: a, reason: collision with root package name */
public boolean f2891a = true;
public final void a() {
if (!this.f2891a) {
throw new UnsupportedOperationException();
}
}
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public boolean add(Object obj) {
a();
return super.add(obj);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public boolean addAll(Collection collection) {
a();
return super.addAll(collection);
}
@Override // java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public void clear() {
a();
super.clear();
}
@Override // java.util.AbstractList, java.util.Collection, java.util.List
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof List)) {
return false;
}
if (!(obj instanceof RandomAccess)) {
return super.equals(obj);
}
List list = (List) obj;
int size = size();
if (size != list.size()) {
return false;
}
for (int i = 0; i < size; i++) {
if (!get(i).equals(list.get(i))) {
return false;
}
}
return true;
}
@Override // java.util.AbstractList, java.util.Collection, java.util.List
public final int hashCode() {
int size = size();
int i = 1;
for (int i4 = 0; i4 < size; i4++) {
i = (i * 31) + get(i4).hashCode();
}
return i;
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean remove(Object obj) {
a();
return super.remove(obj);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean removeAll(Collection collection) {
a();
return super.removeAll(collection);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean retainAll(Collection collection) {
a();
return super.retainAll(collection);
}
@Override // java.util.AbstractList, java.util.List
public boolean addAll(int i, Collection collection) {
a();
return super.addAll(i, collection);
}
}

View File

@@ -0,0 +1,32 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.c, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0112c {
/* renamed from: a, reason: collision with root package name */
public static final Class f2892a;
/* renamed from: b, reason: collision with root package name */
public static final boolean f2893b;
static {
Class<?> cls;
Class<?> cls2 = null;
try {
cls = Class.forName("libcore.io.Memory");
} catch (Throwable unused) {
cls = null;
}
f2892a = cls;
try {
cls2 = Class.forName("org.robolectric.Robolectric");
} catch (Throwable unused2) {
}
f2893b = cls2 != null;
}
public static boolean a() {
return (f2892a == null || f2893b) ? false : true;
}
}

View File

@@ -0,0 +1,8 @@
package androidx.datastore.preferences.protobuf;
import java.util.RandomAccess;
/* renamed from: androidx.datastore.preferences.protobuf.d, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0113d extends AbstractC0110b implements RandomAccess, X {
}

View File

@@ -0,0 +1,8 @@
package androidx.datastore.preferences.protobuf;
import java.util.RandomAccess;
/* renamed from: androidx.datastore.preferences.protobuf.k, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0120k extends AbstractC0110b implements RandomAccess, X {
}

View File

@@ -0,0 +1,19 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.l, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0121l {
/* renamed from: a, reason: collision with root package name */
public static final Class f2941a;
static {
Class<?> cls;
try {
cls = Class.forName("androidx.datastore.preferences.protobuf.ExtensionRegistry");
} catch (ClassNotFoundException unused) {
cls = null;
}
f2941a = cls;
}
}

View File

@@ -0,0 +1,23 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.o, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0124o {
/* renamed from: a, reason: collision with root package name */
public static final C0123n f2948a = new Object();
/* renamed from: b, reason: collision with root package name */
public static final C0123n f2949b;
/* JADX WARN: Type inference failed for: r0v0, types: [androidx.datastore.preferences.protobuf.n, java.lang.Object] */
static {
C0123n c0123n;
try {
c0123n = (C0123n) Class.forName("androidx.datastore.preferences.protobuf.ExtensionSchemaFull").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
} catch (Exception unused) {
c0123n = null;
}
f2949b = c0123n;
}
}

View File

@@ -0,0 +1,64 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.t, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0128t implements Cloneable {
/* renamed from: a, reason: collision with root package name */
public final AbstractC0130v f2970a;
/* renamed from: b, reason: collision with root package name */
public AbstractC0130v f2971b;
/* renamed from: c, reason: collision with root package name */
public boolean f2972c = false;
public AbstractC0128t(AbstractC0130v abstractC0130v) {
this.f2970a = abstractC0130v;
this.f2971b = (AbstractC0130v) abstractC0130v.d(4);
}
public static void d(AbstractC0130v abstractC0130v, AbstractC0130v abstractC0130v2) {
Y y3 = Y.f2881c;
y3.getClass();
y3.a(abstractC0130v.getClass()).h(abstractC0130v, abstractC0130v2);
}
public final AbstractC0130v a() {
AbstractC0130v b4 = b();
if (b4.g()) {
return b4;
}
throw new Q2.j();
}
public final AbstractC0130v b() {
if (this.f2972c) {
return this.f2971b;
}
AbstractC0130v abstractC0130v = this.f2971b;
abstractC0130v.getClass();
Y y3 = Y.f2881c;
y3.getClass();
y3.a(abstractC0130v.getClass()).d(abstractC0130v);
this.f2972c = true;
return this.f2971b;
}
public final void c() {
if (this.f2972c) {
AbstractC0130v abstractC0130v = (AbstractC0130v) this.f2971b.d(4);
d(abstractC0130v, this.f2971b);
this.f2971b = abstractC0130v;
this.f2972c = false;
}
}
public final Object clone() {
AbstractC0128t abstractC0128t = (AbstractC0128t) this.f2970a.d(5);
AbstractC0130v b4 = b();
abstractC0128t.c();
d(abstractC0128t.f2971b, b4);
return abstractC0128t;
}
}

View File

@@ -0,0 +1,134 @@
package androidx.datastore.preferences.protobuf;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/* renamed from: androidx.datastore.preferences.protobuf.v, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0130v extends AbstractC0108a {
private static Map<Object, AbstractC0130v> defaultInstanceMap = new ConcurrentHashMap();
protected int memoizedSerializedSize;
protected j0 unknownFields;
public AbstractC0130v() {
this.memoizedHashCode = 0;
this.unknownFields = j0.f2935f;
this.memoizedSerializedSize = -1;
}
public static AbstractC0130v e(Class cls) {
AbstractC0130v abstractC0130v = defaultInstanceMap.get(cls);
if (abstractC0130v == null) {
try {
Class.forName(cls.getName(), true, cls.getClassLoader());
abstractC0130v = defaultInstanceMap.get(cls);
} catch (ClassNotFoundException e4) {
throw new IllegalStateException("Class initialization cannot fail.", e4);
}
}
if (abstractC0130v != null) {
return abstractC0130v;
}
AbstractC0130v abstractC0130v2 = (AbstractC0130v) ((AbstractC0130v) s0.a(cls)).d(6);
if (abstractC0130v2 == null) {
throw new IllegalStateException();
}
defaultInstanceMap.put(cls, abstractC0130v2);
return abstractC0130v2;
}
public static Object f(Method method, AbstractC0108a abstractC0108a, Object... objArr) {
try {
return method.invoke(abstractC0108a, objArr);
} catch (IllegalAccessException e4) {
throw new RuntimeException("Couldn't use Java reflection to implement protocol message reflection.", e4);
} catch (InvocationTargetException e5) {
Throwable cause = e5.getCause();
if (cause instanceof RuntimeException) {
throw ((RuntimeException) cause);
}
if (cause instanceof Error) {
throw ((Error) cause);
}
throw new RuntimeException("Unexpected exception thrown by generated accessor method.", cause);
}
}
public static void h(Class cls, AbstractC0130v abstractC0130v) {
defaultInstanceMap.put(cls, abstractC0130v);
}
@Override // androidx.datastore.preferences.protobuf.AbstractC0108a
public final int a() {
if (this.memoizedSerializedSize == -1) {
Y y3 = Y.f2881c;
y3.getClass();
this.memoizedSerializedSize = y3.a(getClass()).e(this);
}
return this.memoizedSerializedSize;
}
@Override // androidx.datastore.preferences.protobuf.AbstractC0108a
public final void c(C0119j c0119j) {
Y y3 = Y.f2881c;
y3.getClass();
InterfaceC0111b0 a2 = y3.a(getClass());
J j4 = c0119j.f2930c;
if (j4 == null) {
j4 = new J(c0119j);
}
a2.a(this, j4);
}
public abstract Object d(int i);
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!((AbstractC0130v) d(6)).getClass().isInstance(obj)) {
return false;
}
Y y3 = Y.f2881c;
y3.getClass();
return y3.a(getClass()).g(this, (AbstractC0130v) obj);
}
public final boolean g() {
byte byteValue = ((Byte) d(1)).byteValue();
if (byteValue == 1) {
return true;
}
if (byteValue == 0) {
return false;
}
Y y3 = Y.f2881c;
y3.getClass();
boolean f2 = y3.a(getClass()).f(this);
d(2);
return f2;
}
public final int hashCode() {
int i = this.memoizedHashCode;
if (i != 0) {
return i;
}
Y y3 = Y.f2881c;
y3.getClass();
int b4 = y3.a(getClass()).b(this);
this.memoizedHashCode = b4;
return b4;
}
public final String toString() {
String obj = super.toString();
StringBuilder sb = new StringBuilder();
sb.append("# ");
sb.append(obj);
Q.k(this, sb, 0);
return sb.toString();
}
}

View File

@@ -0,0 +1,8 @@
package androidx.datastore.preferences.protobuf;
import java.util.RandomAccess;
/* renamed from: androidx.datastore.preferences.protobuf.w, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0131w extends AbstractC0110b implements RandomAccess, X {
}

View File

@@ -0,0 +1,54 @@
package androidx.datastore.preferences.protobuf;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
/* renamed from: androidx.datastore.preferences.protobuf.y, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0133y {
/* renamed from: a, reason: collision with root package name */
public static final Charset f2975a = Charset.forName("UTF-8");
/* renamed from: b, reason: collision with root package name */
public static final byte[] f2976b;
static {
Charset.forName("ISO-8859-1");
byte[] bArr = new byte[0];
f2976b = bArr;
ByteBuffer.wrap(bArr);
if (0 + 0 <= Integer.MAX_VALUE) {
return;
}
try {
throw A.f();
} catch (A e4) {
throw new IllegalArgumentException(e4);
}
}
public static void a(Object obj, String str) {
if (obj == null) {
throw new NullPointerException(str);
}
}
public static int b(long j4) {
return (int) (j4 ^ (j4 >>> 32));
}
public static AbstractC0130v c(Object obj, Object obj2) {
AbstractC0130v abstractC0130v = (AbstractC0130v) ((AbstractC0108a) obj);
AbstractC0128t abstractC0128t = (AbstractC0128t) abstractC0130v.d(5);
abstractC0128t.c();
AbstractC0128t.d(abstractC0128t.f2971b, abstractC0130v);
AbstractC0108a abstractC0108a = (AbstractC0108a) obj2;
if (!abstractC0128t.f2970a.getClass().isInstance(abstractC0108a)) {
throw new IllegalArgumentException("mergeFrom(MessageLite) can only merge messages of the same type.");
}
abstractC0128t.c();
AbstractC0128t.d(abstractC0128t.f2971b, (AbstractC0130v) abstractC0108a);
return abstractC0128t.b();
}
}

View File

@@ -0,0 +1,27 @@
package androidx.datastore.preferences.protobuf;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import java.io.Serializable;
/* loaded from: classes.dex */
public enum B {
VOID(Void.class, null),
INT(Integer.class, 0),
LONG(Long.class, 0L),
FLOAT(Float.class, Float.valueOf(BitmapDescriptorFactory.HUE_RED)),
DOUBLE(Double.class, Double.valueOf(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE)),
BOOLEAN(Boolean.class, Boolean.FALSE),
STRING(String.class, ""),
BYTE_STRING(C0116g.class, C0116g.f2909c),
ENUM(Integer.class, null),
MESSAGE(Object.class, null);
/* renamed from: a, reason: collision with root package name */
public final Serializable f2836a;
B(Class cls, Serializable serializable) {
this.f2836a = serializable;
}
}

View File

@@ -0,0 +1,26 @@
package androidx.datastore.preferences.protobuf;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import java.io.Serializable;
/* loaded from: classes.dex */
public enum B0 {
INT(0),
LONG(0L),
FLOAT(Float.valueOf(BitmapDescriptorFactory.HUE_RED)),
DOUBLE(Double.valueOf(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE)),
BOOLEAN(Boolean.FALSE),
STRING(""),
BYTE_STRING(C0116g.f2909c),
ENUM(null),
MESSAGE(null);
/* renamed from: a, reason: collision with root package name */
public final Serializable f2845a;
B0(Serializable serializable) {
this.f2845a = serializable;
}
}

View File

@@ -0,0 +1,167 @@
package androidx.datastore.preferences.protobuf;
import java.nio.charset.Charset;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.RandomAccess;
/* loaded from: classes.dex */
public final class C extends AbstractC0110b implements D, RandomAccess {
/* renamed from: b, reason: collision with root package name */
public final ArrayList f2846b;
static {
new C(10).f2891a = false;
}
public C(int i) {
this(new ArrayList(i));
}
@Override // java.util.AbstractList, java.util.List
public final void add(int i, Object obj) {
a();
this.f2846b.add(i, (String) obj);
((AbstractList) this).modCount++;
}
@Override // androidx.datastore.preferences.protobuf.AbstractC0110b, java.util.AbstractCollection, java.util.Collection, java.util.List
public final boolean addAll(Collection collection) {
return addAll(this.f2846b.size(), collection);
}
@Override // androidx.datastore.preferences.protobuf.AbstractC0110b, java.util.AbstractList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final void clear() {
a();
this.f2846b.clear();
((AbstractList) this).modCount++;
}
@Override // androidx.datastore.preferences.protobuf.InterfaceC0132x
public final InterfaceC0132x d(int i) {
ArrayList arrayList = this.f2846b;
if (i < arrayList.size()) {
throw new IllegalArgumentException();
}
ArrayList arrayList2 = new ArrayList(i);
arrayList2.addAll(arrayList);
return new C(arrayList2);
}
@Override // androidx.datastore.preferences.protobuf.D
public final void e(C0116g c0116g) {
a();
this.f2846b.add(c0116g);
((AbstractList) this).modCount++;
}
@Override // java.util.AbstractList, java.util.List
public final Object get(int i) {
String str;
ArrayList arrayList = this.f2846b;
Object obj = arrayList.get(i);
if (obj instanceof String) {
return (String) obj;
}
if (!(obj instanceof C0116g)) {
byte[] bArr = (byte[]) obj;
String str2 = new String(bArr, AbstractC0133y.f2975a);
Q q4 = v0.f2974a;
if (v0.f2974a.i(bArr, 0, bArr.length) == 0) {
arrayList.set(i, str2);
}
return str2;
}
C0116g c0116g = (C0116g) obj;
c0116g.getClass();
Charset charset = AbstractC0133y.f2975a;
if (c0116g.size() == 0) {
str = "";
} else {
str = new String(c0116g.f2912b, c0116g.b(), c0116g.size(), charset);
}
int b4 = c0116g.b();
if (v0.f2974a.i(c0116g.f2912b, b4, c0116g.size() + b4) == 0) {
arrayList.set(i, str);
}
return str;
}
@Override // androidx.datastore.preferences.protobuf.D
public final List getUnderlyingElements() {
return Collections.unmodifiableList(this.f2846b);
}
@Override // androidx.datastore.preferences.protobuf.D
public final D getUnmodifiableView() {
return this.f2891a ? new n0(this) : this;
}
@Override // java.util.AbstractList, java.util.List
public final Object remove(int i) {
a();
Object remove = this.f2846b.remove(i);
((AbstractList) this).modCount++;
if (remove instanceof String) {
return (String) remove;
}
if (!(remove instanceof C0116g)) {
return new String((byte[]) remove, AbstractC0133y.f2975a);
}
C0116g c0116g = (C0116g) remove;
c0116g.getClass();
Charset charset = AbstractC0133y.f2975a;
if (c0116g.size() == 0) {
return "";
}
return new String(c0116g.f2912b, c0116g.b(), c0116g.size(), charset);
}
@Override // androidx.datastore.preferences.protobuf.D
public final Object s(int i) {
return this.f2846b.get(i);
}
@Override // java.util.AbstractList, java.util.List
public final Object set(int i, Object obj) {
a();
Object obj2 = this.f2846b.set(i, (String) obj);
if (obj2 instanceof String) {
return (String) obj2;
}
if (!(obj2 instanceof C0116g)) {
return new String((byte[]) obj2, AbstractC0133y.f2975a);
}
C0116g c0116g = (C0116g) obj2;
c0116g.getClass();
Charset charset = AbstractC0133y.f2975a;
if (c0116g.size() == 0) {
return "";
}
return new String(c0116g.f2912b, c0116g.b(), c0116g.size(), charset);
}
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
public final int size() {
return this.f2846b.size();
}
public C(ArrayList arrayList) {
this.f2846b = arrayList;
}
@Override // androidx.datastore.preferences.protobuf.AbstractC0110b, java.util.AbstractList, java.util.List
public final boolean addAll(int i, Collection collection) {
a();
if (collection instanceof D) {
collection = ((D) collection).getUnderlyingElements();
}
boolean addAll = this.f2846b.addAll(i, collection);
((AbstractList) this).modCount++;
return addAll;
}
}

View File

@@ -0,0 +1,44 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.a0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0109a0 {
/* renamed from: a, reason: collision with root package name */
public final AbstractC0130v f2887a;
/* renamed from: b, reason: collision with root package name */
public final String f2888b;
/* renamed from: c, reason: collision with root package name */
public final Object[] f2889c;
/* renamed from: d, reason: collision with root package name */
public final int f2890d;
public C0109a0(AbstractC0130v abstractC0130v, String str, Object[] objArr) {
this.f2887a = abstractC0130v;
this.f2888b = str;
this.f2889c = objArr;
char charAt = str.charAt(0);
if (charAt < 55296) {
this.f2890d = charAt;
return;
}
int i = charAt & 8191;
int i4 = 1;
int i5 = 13;
while (true) {
int i6 = i4 + 1;
char charAt2 = str.charAt(i4);
if (charAt2 < 55296) {
this.f2890d = i | (charAt2 << i5);
return;
} else {
i |= (charAt2 & 8191) << i5;
i5 += 13;
i4 = i6;
}
}
}
}

View File

@@ -0,0 +1,43 @@
package androidx.datastore.preferences.protobuf;
import java.util.Iterator;
import java.util.NoSuchElementException;
/* renamed from: androidx.datastore.preferences.protobuf.e, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0114e implements Iterator {
/* renamed from: a, reason: collision with root package name */
public int f2905a = 0;
/* renamed from: b, reason: collision with root package name */
public final int f2906b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ C0116g f2907c;
public C0114e(C0116g c0116g) {
this.f2907c = c0116g;
this.f2906b = c0116g.size();
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.f2905a < this.f2906b;
}
@Override // java.util.Iterator
public final Object next() {
int i = this.f2905a;
if (i >= this.f2906b) {
throw new NoSuchElementException();
}
this.f2905a = i + 1;
return Byte.valueOf(this.f2907c.f2912b[i]);
}
@Override // java.util.Iterator
public final void remove() {
throw new UnsupportedOperationException();
}
}

View File

@@ -0,0 +1,9 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.f, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0115f {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f2908a;
}

View File

@@ -0,0 +1,132 @@
package androidx.datastore.preferences.protobuf;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Iterator;
/* renamed from: androidx.datastore.preferences.protobuf.g, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C0116g implements Iterable, Serializable {
/* renamed from: c, reason: collision with root package name */
public static final C0116g f2909c = new C0116g(AbstractC0133y.f2976b);
/* renamed from: d, reason: collision with root package name */
public static final C0115f f2910d;
/* renamed from: a, reason: collision with root package name */
public int f2911a = 0;
/* renamed from: b, reason: collision with root package name */
public final byte[] f2912b;
static {
f2910d = AbstractC0112c.a() ? new C0115f(1) : new C0115f(0);
}
public C0116g(byte[] bArr) {
bArr.getClass();
this.f2912b = bArr;
}
public static C0116g a(int i, int i4, byte[] bArr) {
byte[] copyOfRange;
int i5 = i + i4;
int length = bArr.length;
if (((i5 - i) | i | i5 | (length - i5)) < 0) {
if (i < 0) {
throw new IndexOutOfBoundsException(C.w.i(i, "Beginning index: ", " < 0"));
}
if (i5 < i) {
throw new IndexOutOfBoundsException(C.w.k("Beginning index larger than ending index: ", i, i5, ", "));
}
throw new IndexOutOfBoundsException(C.w.k("End index: ", i5, length, " >= "));
}
switch (f2910d.f2908a) {
case 0:
copyOfRange = Arrays.copyOfRange(bArr, i, i4 + i);
break;
default:
copyOfRange = new byte[i4];
System.arraycopy(bArr, i, copyOfRange, 0, i4);
break;
}
return new C0116g(copyOfRange);
}
public int b() {
return 0;
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof C0116g) || size() != ((C0116g) obj).size()) {
return false;
}
if (size() == 0) {
return true;
}
if (!(obj instanceof C0116g)) {
return obj.equals(this);
}
C0116g c0116g = (C0116g) obj;
int i = this.f2911a;
int i4 = c0116g.f2911a;
if (i != 0 && i4 != 0 && i != i4) {
return false;
}
int size = size();
if (size > c0116g.size()) {
throw new IllegalArgumentException("Length too large: " + size + size());
}
if (size > c0116g.size()) {
StringBuilder t2 = C.w.t(size, "Ran off end of other: 0, ", ", ");
t2.append(c0116g.size());
throw new IllegalArgumentException(t2.toString());
}
int b4 = b() + size;
int b5 = b();
int b6 = c0116g.b();
while (b5 < b4) {
if (this.f2912b[b5] != c0116g.f2912b[b6]) {
return false;
}
b5++;
b6++;
}
return true;
}
public final int hashCode() {
int i = this.f2911a;
if (i != 0) {
return i;
}
int size = size();
int b4 = b();
int i4 = size;
for (int i5 = b4; i5 < b4 + size; i5++) {
i4 = (i4 * 31) + this.f2912b[i5];
}
if (i4 == 0) {
i4 = 1;
}
this.f2911a = i4;
return i4;
}
@Override // java.lang.Iterable
public final Iterator iterator() {
return new C0114e(this);
}
public int size() {
return this.f2912b.length;
}
public final String toString() {
return String.format("<ByteString@%s size=%d>", Integer.toHexString(System.identityHashCode(this)), Integer.valueOf(size()));
}
}

View File

@@ -0,0 +1,599 @@
package androidx.datastore.preferences.protobuf;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Iterator;
import kotlin.UByte;
import kotlin.io.ConstantsKt;
import kotlin.jvm.internal.ByteCompanionObject;
/* renamed from: androidx.datastore.preferences.protobuf.h, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0117h {
/* renamed from: a, reason: collision with root package name */
public int f2916a;
/* renamed from: b, reason: collision with root package name */
public Z2.y f2917b;
/* renamed from: c, reason: collision with root package name */
public final FileInputStream f2918c;
/* renamed from: d, reason: collision with root package name */
public final byte[] f2919d;
/* renamed from: e, reason: collision with root package name */
public int f2920e;
/* renamed from: f, reason: collision with root package name */
public int f2921f;
/* renamed from: g, reason: collision with root package name */
public int f2922g;
public int h;
public int i;
/* renamed from: j, reason: collision with root package name */
public int f2923j = Integer.MAX_VALUE;
public C0117h(FileInputStream fileInputStream) {
Charset charset = AbstractC0133y.f2975a;
this.f2918c = fileInputStream;
this.f2919d = new byte[ConstantsKt.DEFAULT_BLOCK_SIZE];
this.f2920e = 0;
this.f2922g = 0;
this.i = 0;
}
public final int A() {
return s();
}
public final long B() {
return t();
}
public final void C() {
int i = this.f2920e + this.f2921f;
this.f2920e = i;
int i4 = this.i + i;
int i5 = this.f2923j;
if (i4 <= i5) {
this.f2921f = 0;
return;
}
int i6 = i4 - i5;
this.f2921f = i6;
this.f2920e = i - i6;
}
public final void D(int i) {
if (G(i)) {
return;
}
if (i <= (Integer.MAX_VALUE - this.i) - this.f2922g) {
throw A.f();
}
throw new IOException("Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit.");
}
public final boolean E(int i) {
int z3;
int i4 = i & 7;
int i5 = 0;
if (i4 == 0) {
int i6 = this.f2920e - this.f2922g;
byte[] bArr = this.f2919d;
if (i6 >= 10) {
while (i5 < 10) {
int i7 = this.f2922g;
this.f2922g = i7 + 1;
if (bArr[i7] < 0) {
i5++;
}
}
throw A.c();
}
while (i5 < 10) {
if (this.f2922g == this.f2920e) {
D(1);
}
int i8 = this.f2922g;
this.f2922g = i8 + 1;
if (bArr[i8] < 0) {
i5++;
}
}
throw A.c();
return true;
}
if (i4 == 1) {
F(8);
return true;
}
if (i4 == 2) {
F(s());
return true;
}
if (i4 != 3) {
if (i4 == 4) {
return false;
}
if (i4 != 5) {
throw A.b();
}
F(4);
return true;
}
do {
z3 = z();
if (z3 == 0) {
break;
}
} while (E(z3));
a(((i >>> 3) << 3) | 4);
return true;
}
public final void F(int i) {
int i4 = this.f2920e;
int i5 = this.f2922g;
int i6 = i4 - i5;
if (i <= i6 && i >= 0) {
this.f2922g = i5 + i;
return;
}
FileInputStream fileInputStream = this.f2918c;
if (i < 0) {
throw A.d();
}
int i7 = this.i;
int i8 = i7 + i5;
int i9 = i8 + i;
int i10 = this.f2923j;
if (i9 > i10) {
F((i10 - i7) - i5);
throw A.f();
}
this.i = i8;
this.f2920e = 0;
this.f2922g = 0;
while (i6 < i) {
long j4 = i - i6;
try {
long skip = fileInputStream.skip(j4);
if (skip < 0 || skip > j4) {
throw new IllegalStateException(fileInputStream.getClass() + "#skip returned invalid result: " + skip + "\nThe InputStream implementation is buggy.");
}
if (skip == 0) {
break;
} else {
i6 += (int) skip;
}
} finally {
this.i += i6;
C();
}
}
if (i6 >= i) {
return;
}
int i11 = this.f2920e;
int i12 = i11 - this.f2922g;
this.f2922g = i11;
D(1);
while (true) {
int i13 = i - i12;
int i14 = this.f2920e;
if (i13 <= i14) {
this.f2922g = i13;
return;
} else {
i12 += i14;
this.f2922g = i14;
D(1);
}
}
}
public final boolean G(int i) {
int i4 = this.f2922g;
int i5 = i4 + i;
int i6 = this.f2920e;
if (i5 <= i6) {
throw new IllegalStateException(C.w.i(i, "refillBuffer() called when ", " bytes were already available in buffer"));
}
int i7 = this.i;
if (i <= (Integer.MAX_VALUE - i7) - i4 && i7 + i4 + i <= this.f2923j) {
byte[] bArr = this.f2919d;
if (i4 > 0) {
if (i6 > i4) {
System.arraycopy(bArr, i4, bArr, 0, i6 - i4);
}
this.i += i4;
this.f2920e -= i4;
this.f2922g = 0;
}
int i8 = this.f2920e;
int min = Math.min(bArr.length - i8, (Integer.MAX_VALUE - this.i) - i8);
FileInputStream fileInputStream = this.f2918c;
int read = fileInputStream.read(bArr, i8, min);
if (read == 0 || read < -1 || read > bArr.length) {
throw new IllegalStateException(fileInputStream.getClass() + "#read(byte[]) returned invalid result: " + read + "\nThe InputStream implementation is buggy.");
}
if (read > 0) {
this.f2920e += read;
C();
if (this.f2920e >= i) {
return true;
}
return G(i);
}
}
return false;
}
public final void a(int i) {
if (this.h != i) {
throw new IOException("Protocol message end-group tag did not match expected tag.");
}
}
public final int b() {
return this.i + this.f2922g;
}
public final boolean c() {
return this.f2922g == this.f2920e && !G(1);
}
public final void d(int i) {
this.f2923j = i;
C();
}
public final int e(int i) {
if (i < 0) {
throw A.d();
}
int i4 = this.i + this.f2922g + i;
int i5 = this.f2923j;
if (i4 > i5) {
throw A.f();
}
this.f2923j = i4;
C();
return i5;
}
public final boolean f() {
return t() != 0;
}
public final double g() {
return Double.longBitsToDouble(r());
}
public final int h() {
return s();
}
public final int i() {
return q();
}
public final long j() {
return r();
}
public final float k() {
return Float.intBitsToFloat(q());
}
public final int l() {
return s();
}
public final long m() {
return t();
}
public final byte[] n(int i) {
byte[] o4 = o(i);
if (o4 != null) {
return o4;
}
int i4 = this.f2922g;
int i5 = this.f2920e;
int i6 = i5 - i4;
this.i += i5;
this.f2922g = 0;
this.f2920e = 0;
ArrayList p = p(i - i6);
byte[] bArr = new byte[i];
System.arraycopy(this.f2919d, i4, bArr, 0, i6);
Iterator it = p.iterator();
while (it.hasNext()) {
byte[] bArr2 = (byte[]) it.next();
System.arraycopy(bArr2, 0, bArr, i6, bArr2.length);
i6 += bArr2.length;
}
return bArr;
}
public final byte[] o(int i) {
if (i == 0) {
return AbstractC0133y.f2976b;
}
if (i < 0) {
throw A.d();
}
int i4 = this.i;
int i5 = this.f2922g;
int i6 = i4 + i5 + i;
if (i6 - Integer.MAX_VALUE > 0) {
throw new IOException("Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit.");
}
int i7 = this.f2923j;
if (i6 > i7) {
F((i7 - i4) - i5);
throw A.f();
}
int i8 = this.f2920e - i5;
int i9 = i - i8;
FileInputStream fileInputStream = this.f2918c;
if (i9 >= 4096 && i9 > fileInputStream.available()) {
return null;
}
byte[] bArr = new byte[i];
System.arraycopy(this.f2919d, this.f2922g, bArr, 0, i8);
this.i += this.f2920e;
this.f2922g = 0;
this.f2920e = 0;
while (i8 < i) {
int read = fileInputStream.read(bArr, i8, i - i8);
if (read == -1) {
throw A.f();
}
this.i += read;
i8 += read;
}
return bArr;
}
public final ArrayList p(int i) {
ArrayList arrayList = new ArrayList();
while (i > 0) {
int min = Math.min(i, ConstantsKt.DEFAULT_BLOCK_SIZE);
byte[] bArr = new byte[min];
int i4 = 0;
while (i4 < min) {
int read = this.f2918c.read(bArr, i4, min - i4);
if (read == -1) {
throw A.f();
}
this.i += read;
i4 += read;
}
i -= min;
arrayList.add(bArr);
}
return arrayList;
}
public final int q() {
int i = this.f2922g;
if (this.f2920e - i < 4) {
D(4);
i = this.f2922g;
}
this.f2922g = i + 4;
byte[] bArr = this.f2919d;
return ((bArr[i + 3] & UByte.MAX_VALUE) << 24) | (bArr[i] & UByte.MAX_VALUE) | ((bArr[i + 1] & UByte.MAX_VALUE) << 8) | ((bArr[i + 2] & UByte.MAX_VALUE) << 16);
}
public final long r() {
int i = this.f2922g;
if (this.f2920e - i < 8) {
D(8);
i = this.f2922g;
}
this.f2922g = i + 8;
byte[] bArr = this.f2919d;
return ((bArr[i + 1] & 255) << 8) | (bArr[i] & 255) | ((bArr[i + 2] & 255) << 16) | ((bArr[i + 3] & 255) << 24) | ((bArr[i + 4] & 255) << 32) | ((bArr[i + 5] & 255) << 40) | ((bArr[i + 6] & 255) << 48) | ((bArr[i + 7] & 255) << 56);
}
public final int s() {
int i;
int i4 = this.f2922g;
int i5 = this.f2920e;
if (i5 != i4) {
int i6 = i4 + 1;
byte[] bArr = this.f2919d;
byte b4 = bArr[i4];
if (b4 >= 0) {
this.f2922g = i6;
return b4;
}
if (i5 - i6 >= 9) {
int i7 = i4 + 2;
int i8 = (bArr[i6] << 7) ^ b4;
if (i8 < 0) {
i = i8 ^ (-128);
} else {
int i9 = i4 + 3;
int i10 = (bArr[i7] << 14) ^ i8;
if (i10 >= 0) {
i = i10 ^ 16256;
} else {
int i11 = i4 + 4;
int i12 = i10 ^ (bArr[i9] << 21);
if (i12 < 0) {
i = (-2080896) ^ i12;
} else {
i9 = i4 + 5;
byte b5 = bArr[i11];
int i13 = (i12 ^ (b5 << 28)) ^ 266354560;
if (b5 < 0) {
i11 = i4 + 6;
if (bArr[i9] < 0) {
i9 = i4 + 7;
if (bArr[i11] < 0) {
i11 = i4 + 8;
if (bArr[i9] < 0) {
i9 = i4 + 9;
if (bArr[i11] < 0) {
int i14 = i4 + 10;
if (bArr[i9] >= 0) {
i7 = i14;
i = i13;
}
}
}
}
}
i = i13;
}
i = i13;
}
i7 = i11;
}
i7 = i9;
}
this.f2922g = i7;
return i;
}
}
return (int) u();
}
public final long t() {
long j4;
long j5;
long j6;
long j7;
int i = this.f2922g;
int i4 = this.f2920e;
if (i4 != i) {
int i5 = i + 1;
byte[] bArr = this.f2919d;
byte b4 = bArr[i];
if (b4 >= 0) {
this.f2922g = i5;
return b4;
}
if (i4 - i5 >= 9) {
int i6 = i + 2;
int i7 = (bArr[i5] << 7) ^ b4;
if (i7 < 0) {
j4 = i7 ^ (-128);
} else {
int i8 = i + 3;
int i9 = (bArr[i6] << 14) ^ i7;
if (i9 >= 0) {
j4 = i9 ^ 16256;
i6 = i8;
} else {
int i10 = i + 4;
int i11 = i9 ^ (bArr[i8] << 21);
if (i11 < 0) {
j7 = (-2080896) ^ i11;
} else {
long j8 = i11;
i6 = i + 5;
long j9 = j8 ^ (bArr[i10] << 28);
if (j9 >= 0) {
j6 = 266354560;
} else {
i10 = i + 6;
long j10 = j9 ^ (bArr[i6] << 35);
if (j10 < 0) {
j5 = -34093383808L;
} else {
i6 = i + 7;
j9 = j10 ^ (bArr[i10] << 42);
if (j9 >= 0) {
j6 = 4363953127296L;
} else {
i10 = i + 8;
j10 = j9 ^ (bArr[i6] << 49);
if (j10 < 0) {
j5 = -558586000294016L;
} else {
i6 = i + 9;
long j11 = (j10 ^ (bArr[i10] << 56)) ^ 71499008037633920L;
if (j11 < 0) {
int i12 = i + 10;
if (bArr[i6] >= 0) {
i6 = i12;
}
}
j4 = j11;
}
}
}
j7 = j5 ^ j10;
}
j4 = j6 ^ j9;
}
i6 = i10;
j4 = j7;
}
}
this.f2922g = i6;
return j4;
}
}
return u();
}
public final long u() {
long j4 = 0;
for (int i = 0; i < 64; i += 7) {
if (this.f2922g == this.f2920e) {
D(1);
}
int i4 = this.f2922g;
this.f2922g = i4 + 1;
j4 |= (r3 & ByteCompanionObject.MAX_VALUE) << i;
if ((this.f2919d[i4] & ByteCompanionObject.MIN_VALUE) == 0) {
return j4;
}
}
throw A.c();
}
public final int v() {
return q();
}
public final long w() {
return r();
}
public final int x() {
int s4 = s();
return (-(s4 & 1)) ^ (s4 >>> 1);
}
public final long y() {
long t2 = t();
return (-(t2 & 1)) ^ (t2 >>> 1);
}
public final int z() {
if (c()) {
this.h = 0;
return 0;
}
int s4 = s();
this.h = s4;
if ((s4 >>> 3) != 0) {
return s4;
}
throw new IOException("Protocol message contained an invalid tag (zero).");
}
}

View File

@@ -0,0 +1,11 @@
package androidx.datastore.preferences.protobuf;
import java.io.IOException;
/* renamed from: androidx.datastore.preferences.protobuf.i, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0118i extends IOException {
public C0118i(IndexOutOfBoundsException indexOutOfBoundsException) {
super("CodedOutputStream was writing to a flat byte array and ran out of space.", indexOutOfBoundsException);
}
}

View File

@@ -0,0 +1,411 @@
package androidx.datastore.preferences.protobuf;
import java.util.logging.Level;
import java.util.logging.Logger;
import kotlin.KotlinVersion;
import kotlinx.coroutines.scheduling.WorkQueueKt;
/* renamed from: androidx.datastore.preferences.protobuf.j, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0119j extends Q {
public static final Logger h = Logger.getLogger(C0119j.class.getName());
public static final boolean i = s0.f2968f;
/* renamed from: c, reason: collision with root package name */
public J f2930c;
/* renamed from: d, reason: collision with root package name */
public final byte[] f2931d;
/* renamed from: e, reason: collision with root package name */
public final int f2932e;
/* renamed from: f, reason: collision with root package name */
public int f2933f;
/* renamed from: g, reason: collision with root package name */
public final Y.n f2934g;
public C0119j(Y.n nVar, int i4) {
if (i4 < 0) {
throw new IllegalArgumentException("bufferSize must be >= 0");
}
int max = Math.max(i4, 20);
this.f2931d = new byte[max];
this.f2932e = max;
this.f2934g = nVar;
}
public static int A(long j4) {
int i4;
if (((-128) & j4) == 0) {
return 1;
}
if (j4 < 0) {
return 10;
}
if (((-34359738368L) & j4) != 0) {
j4 >>>= 28;
i4 = 6;
} else {
i4 = 2;
}
if (((-2097152) & j4) != 0) {
i4 += 2;
j4 >>>= 14;
}
return (j4 & (-16384)) != 0 ? i4 + 1 : i4;
}
public static int r(int i4, C0116g c0116g) {
return s(c0116g) + y(i4);
}
public static int s(C0116g c0116g) {
int size = c0116g.size();
return z(size) + size;
}
public static int t(int i4) {
return y(i4) + 4;
}
public static int u(int i4) {
return y(i4) + 8;
}
public static int v(int i4, AbstractC0108a abstractC0108a, InterfaceC0111b0 interfaceC0111b0) {
return abstractC0108a.b(interfaceC0111b0) + (y(i4) * 2);
}
public static int w(int i4) {
if (i4 >= 0) {
return z(i4);
}
return 10;
}
public static int x(String str) {
int length;
try {
length = v0.b(str);
} catch (u0 unused) {
length = str.getBytes(AbstractC0133y.f2975a).length;
}
return z(length) + length;
}
public static int y(int i4) {
return z(i4 << 3);
}
public static int z(int i4) {
if ((i4 & (-128)) == 0) {
return 1;
}
if ((i4 & (-16384)) == 0) {
return 2;
}
if (((-2097152) & i4) == 0) {
return 3;
}
return (i4 & (-268435456)) == 0 ? 4 : 5;
}
public final void B() {
this.f2934g.write(this.f2931d, 0, this.f2933f);
this.f2933f = 0;
}
public final void C(int i4) {
if (this.f2932e - this.f2933f < i4) {
B();
}
}
public final void D(byte b4) {
if (this.f2933f == this.f2932e) {
B();
}
int i4 = this.f2933f;
this.f2933f = i4 + 1;
this.f2931d[i4] = b4;
}
public final void E(byte[] bArr, int i4, int i5) {
int i6 = this.f2933f;
int i7 = this.f2932e;
int i8 = i7 - i6;
byte[] bArr2 = this.f2931d;
if (i8 >= i5) {
System.arraycopy(bArr, i4, bArr2, i6, i5);
this.f2933f += i5;
return;
}
System.arraycopy(bArr, i4, bArr2, i6, i8);
int i9 = i4 + i8;
int i10 = i5 - i8;
this.f2933f = i7;
B();
if (i10 > i7) {
this.f2934g.write(bArr, i9, i10);
} else {
System.arraycopy(bArr, i9, bArr2, 0, i10);
this.f2933f = i10;
}
}
public final void F(int i4, boolean z3) {
C(11);
o(i4, 0);
byte b4 = z3 ? (byte) 1 : (byte) 0;
int i5 = this.f2933f;
this.f2933f = i5 + 1;
this.f2931d[i5] = b4;
}
public final void G(int i4, C0116g c0116g) {
R(i4, 2);
H(c0116g);
}
public final void H(C0116g c0116g) {
T(c0116g.size());
l(c0116g.b(), c0116g.size(), c0116g.f2912b);
}
public final void I(int i4, int i5) {
C(14);
o(i4, 5);
m(i5);
}
public final void J(int i4) {
C(4);
m(i4);
}
public final void K(int i4, long j4) {
C(18);
o(i4, 1);
n(j4);
}
public final void L(long j4) {
C(8);
n(j4);
}
public final void M(int i4, int i5) {
C(20);
o(i4, 0);
if (i5 >= 0) {
p(i5);
} else {
q(i5);
}
}
public final void N(int i4) {
if (i4 >= 0) {
T(i4);
} else {
V(i4);
}
}
public final void O(int i4, AbstractC0108a abstractC0108a, InterfaceC0111b0 interfaceC0111b0) {
R(i4, 2);
T(abstractC0108a.b(interfaceC0111b0));
interfaceC0111b0.a(abstractC0108a, this.f2930c);
}
public final void P(int i4, String str) {
R(i4, 2);
Q(str);
}
public final void Q(String str) {
try {
int length = str.length() * 3;
int z3 = z(length);
int i4 = z3 + length;
int i5 = this.f2932e;
if (i4 > i5) {
byte[] bArr = new byte[length];
int f2 = v0.f2974a.f(str, bArr, 0, length);
T(f2);
E(bArr, 0, f2);
return;
}
if (i4 > i5 - this.f2933f) {
B();
}
int z4 = z(str.length());
int i6 = this.f2933f;
byte[] bArr2 = this.f2931d;
try {
if (z4 == z3) {
int i7 = i6 + z4;
this.f2933f = i7;
int f4 = v0.f2974a.f(str, bArr2, i7, i5 - i7);
this.f2933f = i6;
p((f4 - i6) - z4);
this.f2933f = f4;
} else {
int b4 = v0.b(str);
p(b4);
this.f2933f = v0.f2974a.f(str, bArr2, this.f2933f, b4);
}
} catch (u0 e4) {
this.f2933f = i6;
throw e4;
} catch (ArrayIndexOutOfBoundsException e5) {
throw new C0118i(e5);
}
} catch (u0 e6) {
h.log(Level.WARNING, "Converting ill-formed UTF-16. Your Protocol Buffer will not round trip correctly!", (Throwable) e6);
byte[] bytes = str.getBytes(AbstractC0133y.f2975a);
try {
T(bytes.length);
l(0, bytes.length, bytes);
} catch (C0118i e7) {
throw e7;
} catch (IndexOutOfBoundsException e8) {
throw new C0118i(e8);
}
}
}
public final void R(int i4, int i5) {
T((i4 << 3) | i5);
}
public final void S(int i4, int i5) {
C(20);
o(i4, 0);
p(i5);
}
public final void T(int i4) {
C(5);
p(i4);
}
public final void U(int i4, long j4) {
C(20);
o(i4, 0);
q(j4);
}
public final void V(long j4) {
C(10);
q(j4);
}
@Override // androidx.datastore.preferences.protobuf.Q
public final void l(int i4, int i5, byte[] bArr) {
E(bArr, i4, i5);
}
public final void m(int i4) {
int i5 = this.f2933f;
int i6 = i5 + 1;
this.f2933f = i6;
byte b4 = (byte) (i4 & KotlinVersion.MAX_COMPONENT_VALUE);
byte[] bArr = this.f2931d;
bArr[i5] = b4;
int i7 = i5 + 2;
this.f2933f = i7;
bArr[i6] = (byte) ((i4 >> 8) & KotlinVersion.MAX_COMPONENT_VALUE);
int i8 = i5 + 3;
this.f2933f = i8;
bArr[i7] = (byte) ((i4 >> 16) & KotlinVersion.MAX_COMPONENT_VALUE);
this.f2933f = i5 + 4;
bArr[i8] = (byte) ((i4 >> 24) & KotlinVersion.MAX_COMPONENT_VALUE);
}
public final void n(long j4) {
int i4 = this.f2933f;
int i5 = i4 + 1;
this.f2933f = i5;
byte[] bArr = this.f2931d;
bArr[i4] = (byte) (j4 & 255);
int i6 = i4 + 2;
this.f2933f = i6;
bArr[i5] = (byte) ((j4 >> 8) & 255);
int i7 = i4 + 3;
this.f2933f = i7;
bArr[i6] = (byte) ((j4 >> 16) & 255);
int i8 = i4 + 4;
this.f2933f = i8;
bArr[i7] = (byte) (255 & (j4 >> 24));
int i9 = i4 + 5;
this.f2933f = i9;
bArr[i8] = (byte) (((int) (j4 >> 32)) & KotlinVersion.MAX_COMPONENT_VALUE);
int i10 = i4 + 6;
this.f2933f = i10;
bArr[i9] = (byte) (((int) (j4 >> 40)) & KotlinVersion.MAX_COMPONENT_VALUE);
int i11 = i4 + 7;
this.f2933f = i11;
bArr[i10] = (byte) (((int) (j4 >> 48)) & KotlinVersion.MAX_COMPONENT_VALUE);
this.f2933f = i4 + 8;
bArr[i11] = (byte) (((int) (j4 >> 56)) & KotlinVersion.MAX_COMPONENT_VALUE);
}
public final void o(int i4, int i5) {
p((i4 << 3) | i5);
}
public final void p(int i4) {
boolean z3 = i;
byte[] bArr = this.f2931d;
if (z3) {
while ((i4 & (-128)) != 0) {
int i5 = this.f2933f;
this.f2933f = i5 + 1;
s0.j(bArr, i5, (byte) ((i4 & WorkQueueKt.MASK) | 128));
i4 >>>= 7;
}
int i6 = this.f2933f;
this.f2933f = i6 + 1;
s0.j(bArr, i6, (byte) i4);
return;
}
while ((i4 & (-128)) != 0) {
int i7 = this.f2933f;
this.f2933f = i7 + 1;
bArr[i7] = (byte) ((i4 & WorkQueueKt.MASK) | 128);
i4 >>>= 7;
}
int i8 = this.f2933f;
this.f2933f = i8 + 1;
bArr[i8] = (byte) i4;
}
public final void q(long j4) {
boolean z3 = i;
byte[] bArr = this.f2931d;
if (z3) {
while ((j4 & (-128)) != 0) {
int i4 = this.f2933f;
this.f2933f = i4 + 1;
s0.j(bArr, i4, (byte) ((((int) j4) & WorkQueueKt.MASK) | 128));
j4 >>>= 7;
}
int i5 = this.f2933f;
this.f2933f = i5 + 1;
s0.j(bArr, i5, (byte) j4);
return;
}
while ((j4 & (-128)) != 0) {
int i6 = this.f2933f;
this.f2933f = i6 + 1;
bArr[i6] = (byte) ((((int) j4) & WorkQueueKt.MASK) | 128);
j4 >>>= 7;
}
int i7 = this.f2933f;
this.f2933f = i7 + 1;
bArr[i7] = (byte) j4;
}
}

View File

@@ -0,0 +1,54 @@
package androidx.datastore.preferences.protobuf;
import java.util.Collections;
import java.util.Map;
/* renamed from: androidx.datastore.preferences.protobuf.m, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0122m {
/* renamed from: b, reason: collision with root package name */
public static volatile C0122m f2943b;
/* renamed from: c, reason: collision with root package name */
public static final C0122m f2944c;
/* renamed from: a, reason: collision with root package name */
public final Map f2945a = Collections.EMPTY_MAP;
static {
try {
Class.forName("androidx.datastore.preferences.protobuf.Extension");
} catch (ClassNotFoundException unused) {
}
f2944c = new C0122m();
}
public static C0122m a() {
C0122m c0122m;
C0122m c0122m2 = f2943b;
if (c0122m2 != null) {
return c0122m2;
}
synchronized (C0122m.class) {
try {
c0122m = f2943b;
if (c0122m == null) {
Class cls = AbstractC0121l.f2941a;
if (cls != null) {
try {
c0122m = (C0122m) cls.getDeclaredMethod("getEmptyRegistry", new Class[0]).invoke(null, new Object[0]);
} catch (Exception unused) {
}
f2943b = c0122m;
}
c0122m = f2944c;
f2943b = c0122m;
}
} catch (Throwable th) {
throw th;
}
}
return c0122m;
}
}

View File

@@ -0,0 +1,6 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.n, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0123n {
}

View File

@@ -0,0 +1,177 @@
package androidx.datastore.preferences.protobuf;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
/* renamed from: androidx.datastore.preferences.protobuf.p, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0125p {
/* renamed from: c, reason: collision with root package name */
public static final /* synthetic */ int f2950c = 0;
/* renamed from: a, reason: collision with root package name */
public final d0 f2951a = new d0(16);
/* renamed from: b, reason: collision with root package name */
public boolean f2952b;
static {
new C0125p(0);
}
public C0125p() {
}
public static void b(C0119j c0119j, A0 a02, int i, Object obj) {
if (a02 == A0.f2822d) {
c0119j.R(i, 3);
((AbstractC0108a) obj).c(c0119j);
c0119j.R(i, 4);
return;
}
c0119j.R(i, a02.f2826b);
switch (a02.ordinal()) {
case 0:
c0119j.L(Double.doubleToRawLongBits(((Double) obj).doubleValue()));
return;
case 1:
c0119j.J(Float.floatToRawIntBits(((Float) obj).floatValue()));
return;
case 2:
c0119j.V(((Long) obj).longValue());
return;
case 3:
c0119j.V(((Long) obj).longValue());
return;
case 4:
c0119j.N(((Integer) obj).intValue());
return;
case 5:
c0119j.L(((Long) obj).longValue());
return;
case 6:
c0119j.J(((Integer) obj).intValue());
return;
case 7:
c0119j.D(((Boolean) obj).booleanValue() ? (byte) 1 : (byte) 0);
return;
case 8:
if (obj instanceof C0116g) {
c0119j.H((C0116g) obj);
return;
} else {
c0119j.Q((String) obj);
return;
}
case 9:
((AbstractC0108a) obj).c(c0119j);
return;
case 10:
AbstractC0108a abstractC0108a = (AbstractC0108a) obj;
c0119j.getClass();
c0119j.T(abstractC0108a.a());
abstractC0108a.c(c0119j);
return;
case 11:
if (obj instanceof C0116g) {
c0119j.H((C0116g) obj);
return;
}
byte[] bArr = (byte[]) obj;
int length = bArr.length;
c0119j.T(length);
c0119j.E(bArr, 0, length);
return;
case 12:
c0119j.T(((Integer) obj).intValue());
return;
case 13:
c0119j.N(((Integer) obj).intValue());
return;
case 14:
c0119j.J(((Integer) obj).intValue());
return;
case 15:
c0119j.L(((Long) obj).longValue());
return;
case 16:
int intValue = ((Integer) obj).intValue();
c0119j.T((intValue >> 31) ^ (intValue << 1));
return;
case 17:
long longValue = ((Long) obj).longValue();
c0119j.V((longValue >> 63) ^ (longValue << 1));
return;
default:
return;
}
}
public final void a() {
if (this.f2952b) {
return;
}
d0 d0Var = this.f2951a;
if (!d0Var.f2902d) {
if (d0Var.f2900b.size() > 0) {
d0Var.c(0).getKey().getClass();
throw new ClassCastException();
}
Iterator it = d0Var.d().iterator();
if (it.hasNext()) {
((Map.Entry) it.next()).getKey().getClass();
throw new ClassCastException();
}
}
if (!d0Var.f2902d) {
d0Var.f2901c = d0Var.f2901c.isEmpty() ? Collections.EMPTY_MAP : Collections.unmodifiableMap(d0Var.f2901c);
d0Var.f2904f = d0Var.f2904f.isEmpty() ? Collections.EMPTY_MAP : Collections.unmodifiableMap(d0Var.f2904f);
d0Var.f2902d = true;
}
this.f2952b = true;
}
public final Object clone() {
C0125p c0125p = new C0125p();
d0 d0Var = this.f2951a;
if (d0Var.f2900b.size() > 0) {
Map.Entry c4 = d0Var.c(0);
if (c4.getKey() != null) {
throw new ClassCastException();
}
c4.getValue();
throw null;
}
Iterator it = d0Var.d().iterator();
if (!it.hasNext()) {
return c0125p;
}
Map.Entry entry = (Map.Entry) it.next();
if (entry.getKey() != null) {
throw new ClassCastException();
}
entry.getValue();
throw null;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof C0125p) {
return this.f2951a.equals(((C0125p) obj).f2951a);
}
return false;
}
public final int hashCode() {
return this.f2951a.hashCode();
}
public C0125p(int i) {
a();
a();
}
}

View File

@@ -0,0 +1,43 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.s, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0127s implements P {
/* renamed from: b, reason: collision with root package name */
public static final C0127s f2961b = new C0127s(0);
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f2962a;
public /* synthetic */ C0127s(int i) {
this.f2962a = i;
}
@Override // androidx.datastore.preferences.protobuf.P
public final C0109a0 a(Class cls) {
switch (this.f2962a) {
case 0:
if (!AbstractC0130v.class.isAssignableFrom(cls)) {
throw new IllegalArgumentException("Unsupported message type: ".concat(cls.getName()));
}
try {
return (C0109a0) AbstractC0130v.e(cls.asSubclass(AbstractC0130v.class)).d(3);
} catch (Exception e4) {
throw new RuntimeException("Unable to get message info for ".concat(cls.getName()), e4);
}
default:
throw new IllegalStateException("This should never be called.");
}
}
@Override // androidx.datastore.preferences.protobuf.P
public final boolean b(Class cls) {
switch (this.f2962a) {
case 0:
return AbstractC0130v.class.isAssignableFrom(cls);
default:
return false;
}
}
}

View File

@@ -0,0 +1,9 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.u, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0129u implements W {
static {
C0122m.a();
}
}

View File

@@ -0,0 +1,6 @@
package androidx.datastore.preferences.protobuf;
/* renamed from: androidx.datastore.preferences.protobuf.z, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0134z extends A {
}

View File

@@ -0,0 +1,14 @@
package androidx.datastore.preferences.protobuf;
import java.util.List;
/* loaded from: classes.dex */
public interface D extends List {
void e(C0116g c0116g);
List getUnderlyingElements();
D getUnmodifiableView();
Object s(int i);
}

View File

@@ -0,0 +1,85 @@
package androidx.datastore.preferences.protobuf;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes.dex */
public final class E extends G {
/* renamed from: c, reason: collision with root package name */
public static final Class f2847c = Collections.unmodifiableList(Collections.EMPTY_LIST).getClass();
public static List d(Object obj, long j4, int i) {
List list = (List) s0.f2966d.i(j4, obj);
if (list.isEmpty()) {
List c4 = list instanceof D ? new C(i) : ((list instanceof X) && (list instanceof InterfaceC0132x)) ? ((InterfaceC0132x) list).d(i) : new ArrayList(i);
s0.o(obj, j4, c4);
return c4;
}
if (f2847c.isAssignableFrom(list.getClass())) {
ArrayList arrayList = new ArrayList(list.size() + i);
arrayList.addAll(list);
s0.o(obj, j4, arrayList);
return arrayList;
}
if (list instanceof n0) {
C c5 = new C(list.size() + i);
c5.addAll((n0) list);
s0.o(obj, j4, c5);
return c5;
}
if ((list instanceof X) && (list instanceof InterfaceC0132x)) {
InterfaceC0132x interfaceC0132x = (InterfaceC0132x) list;
if (!((AbstractC0110b) interfaceC0132x).f2891a) {
InterfaceC0132x d4 = interfaceC0132x.d(list.size() + i);
s0.o(obj, j4, d4);
return d4;
}
}
return list;
}
@Override // androidx.datastore.preferences.protobuf.G
public final void a(long j4, Object obj) {
Object unmodifiableList;
List list = (List) s0.f2966d.i(j4, obj);
if (list instanceof D) {
unmodifiableList = ((D) list).getUnmodifiableView();
} else {
if (f2847c.isAssignableFrom(list.getClass())) {
return;
}
if ((list instanceof X) && (list instanceof InterfaceC0132x)) {
AbstractC0110b abstractC0110b = (AbstractC0110b) ((InterfaceC0132x) list);
if (abstractC0110b.f2891a) {
abstractC0110b.f2891a = false;
return;
}
return;
}
unmodifiableList = Collections.unmodifiableList(list);
}
s0.o(obj, j4, unmodifiableList);
}
@Override // androidx.datastore.preferences.protobuf.G
public final void b(AbstractC0130v abstractC0130v, AbstractC0130v abstractC0130v2, long j4) {
List list = (List) s0.f2966d.i(j4, abstractC0130v2);
List d4 = d(abstractC0130v, j4, list.size());
int size = d4.size();
int size2 = list.size();
if (size > 0 && size2 > 0) {
d4.addAll(list);
}
if (size > 0) {
list = d4;
}
s0.o(abstractC0130v, j4, list);
}
@Override // androidx.datastore.preferences.protobuf.G
public final List c(long j4, Object obj) {
return d(obj, j4, 10);
}
}

Some files were not shown because too many files have changed in this diff Show More