Rabbit-R1/original r1/smali/smali_classes2/androidx/transition/ViewGroupUtils.smali
2024-05-21 17:08:36 -04:00

84 lines
1.9 KiB
Smali

.class Landroidx/transition/ViewGroupUtils;
.super Ljava/lang/Object;
.source "ViewGroupUtils.java"
# static fields
.field private static sGetChildDrawingOrderMethod:Ljava/lang/reflect/Method; = null
.field private static sGetChildDrawingOrderMethodFetched:Z = false
.field private static sTryHiddenSuppressLayout:Z = true
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 110
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static getChildDrawingOrder(Landroid/view/ViewGroup;I)I
.locals 0
.line 84
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->getChildDrawingOrder(I)I
move-result p0
return p0
.end method
.method static getOverlay(Landroid/view/ViewGroup;)Landroidx/transition/ViewGroupOverlayImpl;
.locals 1
.line 47
new-instance v0, Landroidx/transition/ViewGroupOverlayApi18;
invoke-direct {v0, p0}, Landroidx/transition/ViewGroupOverlayApi18;-><init>(Landroid/view/ViewGroup;)V
return-object v0
.end method
.method private static hiddenSuppressLayout(Landroid/view/ViewGroup;Z)V
.locals 1
sget-boolean v0, Landroidx/transition/ViewGroupUtils;->sTryHiddenSuppressLayout:Z
if-eqz v0, :cond_0
.line 72
:try_start_0
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->suppressLayout(Z)V
:try_end_0
.catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p0, 0x0
sput-boolean p0, Landroidx/transition/ViewGroupUtils;->sTryHiddenSuppressLayout:Z
:cond_0
:goto_0
return-void
.end method
.method static suppressLayout(Landroid/view/ViewGroup;Z)V
.locals 0
.line 57
invoke-virtual {p0, p1}, Landroid/view/ViewGroup;->suppressLayout(Z)V
return-void
.end method