what-the-bank/sources/androidx/appcompat/widget/ContentFrameLayout.java

136 lines
3.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package androidx.appcompat.widget;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.widget.FrameLayout;
import androidx.core.view.ViewCompat;
/* loaded from: classes.dex */
public class ContentFrameLayout extends FrameLayout {
private Sts a;
private TypedValue b;
private TypedValue c;
private final Rect d;
private TypedValue e;
private TypedValue f;
private TypedValue h;
private TypedValue j;
/* loaded from: classes.dex */
public interface Sts {
void a();
void c();
}
public ContentFrameLayout(Context context) {
this(context, null);
}
public ContentFrameLayout(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
public ContentFrameLayout(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
this.d = new Rect();
}
public void setDecorPadding(int i, int i2, int i3, int i4) {
this.d.set(i, i2, i3, i4);
if (ViewCompat.G(this)) {
requestLayout();
}
}
/* JADX WARN: Removed duplicated region for block: B:16:0x0050 */
/* JADX WARN: Removed duplicated region for block: B:18:0x006b */
/* JADX WARN: Removed duplicated region for block: B:28:0x0094 */
/* JADX WARN: Removed duplicated region for block: B:38:0x00bb */
/* JADX WARN: Removed duplicated region for block: B:44:0x00ca */
/* JADX WARN: Removed duplicated region for block: B:47:0x00e2 */
/* JADX WARN: Removed duplicated region for block: B:49:0x00ee */
/* JADX WARN: Removed duplicated region for block: B:51:0x00f6 */
/* JADX WARN: Removed duplicated region for block: B:54:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:55:0x00cf */
/* JADX WARN: Removed duplicated region for block: B:59:0x00be */
@Override // android.widget.FrameLayout, android.view.View
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
protected void onMeasure(int r14, int r15) {
/*
Method dump skipped, instructions count: 250
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.ContentFrameLayout.onMeasure(int, int):void");
}
public TypedValue hP_() {
if (this.h == null) {
this.h = new TypedValue();
}
return this.h;
}
public TypedValue hQ_() {
if (this.f == null) {
this.f = new TypedValue();
}
return this.f;
}
public TypedValue hN_() {
if (this.b == null) {
this.b = new TypedValue();
}
return this.b;
}
public TypedValue hO_() {
if (this.j == null) {
this.j = new TypedValue();
}
return this.j;
}
public TypedValue hL_() {
if (this.e == null) {
this.e = new TypedValue();
}
return this.e;
}
public TypedValue hM_() {
if (this.c == null) {
this.c = new TypedValue();
}
return this.c;
}
@Override // android.view.ViewGroup, android.view.View
protected void onAttachedToWindow() {
super.onAttachedToWindow();
Sts sts = this.a;
if (sts != null) {
sts.c();
}
}
@Override // android.view.ViewGroup, android.view.View
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
Sts sts = this.a;
if (sts != null) {
sts.a();
}
}
public void setAttachListener(Sts sts) {
this.a = sts;
}
}