.class Landroidx/transition/ViewUtilsApi22; .super Landroidx/transition/ViewUtilsApi21; .source "ViewUtilsApi22.java" # static fields .field private static final TAG:Ljava/lang/String; = "ViewUtilsApi22" .field private static sSetLeftTopRightBottomMethod:Ljava/lang/reflect/Method; .field private static sSetLeftTopRightBottomMethodFetched:Z # direct methods .method constructor ()V .registers 1 .line 29 invoke-direct {p0}, Landroidx/transition/ViewUtilsApi21;->()V return-void .end method .method private fetchSetLeftTopRightBottomMethod()V .registers 7 .line 52 sget-boolean v0, Landroidx/transition/ViewUtilsApi22;->sSetLeftTopRightBottomMethodFetched:Z if-nez v0, :cond_33 const/4 v0, 0x1 .line 54 :try_start_5 const-class v1, Landroid/view/View; const-string v2, "setLeftTopRightBottom" const/4 v3, 0x4 new-array v3, v3, [Ljava/lang/Class; sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; const/4 v5, 0x0 aput-object v4, v3, v5 sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; aput-object v4, v3, v0 sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; const/4 v5, 0x2 aput-object v4, v3, v5 sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; const/4 v5, 0x3 aput-object v4, v3, v5 invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; move-result-object v1 sput-object v1, Landroidx/transition/ViewUtilsApi22;->sSetLeftTopRightBottomMethod:Ljava/lang/reflect/Method; .line 56 invoke-virtual {v1, v0}, Ljava/lang/reflect/Method;->setAccessible(Z)V :try_end_28 .catch Ljava/lang/NoSuchMethodException; {:try_start_5 .. :try_end_28} :catch_29 goto :goto_31 :catch_29 move-exception v1 .line 58 const-string v2, "ViewUtilsApi22" const-string v3, "Failed to retrieve setLeftTopRightBottom method" invoke-static {v2, v3, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I .line 60 :goto_31 sput-boolean v0, Landroidx/transition/ViewUtilsApi22;->sSetLeftTopRightBottomMethodFetched:Z :cond_33 return-void .end method # virtual methods .method public setLeftTopRightBottom(Landroid/view/View;IIII)V .registers 7 .line 38 invoke-direct {p0}, Landroidx/transition/ViewUtilsApi22;->fetchSetLeftTopRightBottomMethod()V .line 39 sget-object v0, Landroidx/transition/ViewUtilsApi22;->sSetLeftTopRightBottomMethod:Ljava/lang/reflect/Method; if-eqz v0, :cond_2a .line 41 :try_start_7 invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p2 invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p3 invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p4 invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p5 filled-new-array {p2, p3, p4, p5}, [Ljava/lang/Object; move-result-object p2 invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; :try_end_1e .catch Ljava/lang/IllegalAccessException; {:try_start_7 .. :try_end_1e} :catch_2a .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_7 .. :try_end_1e} :catch_1f goto :goto_2a :catch_1f move-exception p1 .line 45 new-instance p2, Ljava/lang/RuntimeException; invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable; move-result-object p1 invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V throw p2 :catch_2a :cond_2a :goto_2a return-void .end method