Rabbit-R1/original r1/smali/smali_classes2/androidx/transition/ViewUtils.smali

211 lines
5.7 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class Landroidx/transition/ViewUtils;
.super Ljava/lang/Object;
.source "ViewUtils.java"
# static fields
.field static final CLIP_BOUNDS:Landroid/util/Property;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/Property<",
"Landroid/view/View;",
"Landroid/graphics/Rect;",
">;"
}
.end annotation
.end field
.field private static final IMPL:Landroidx/transition/ViewUtilsBase;
.field private static final TAG:Ljava/lang/String; = "ViewUtils"
.field static final TRANSITION_ALPHA:Landroid/util/Property;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/Property<",
"Landroid/view/View;",
"Ljava/lang/Float;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 39
new-instance v0, Landroidx/transition/ViewUtilsApi29;
invoke-direct {v0}, Landroidx/transition/ViewUtilsApi29;-><init>()V
sput-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 56
new-instance v0, Landroidx/transition/ViewUtils$1;
const-class v1, Ljava/lang/Float;
const-string v2, "translationAlpha"
invoke-direct {v0, v1, v2}, Landroidx/transition/ViewUtils$1;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
sput-object v0, Landroidx/transition/ViewUtils;->TRANSITION_ALPHA:Landroid/util/Property;
.line 71
new-instance v0, Landroidx/transition/ViewUtils$2;
const-class v1, Landroid/graphics/Rect;
const-string v2, "clipBounds"
invoke-direct {v0, v1, v2}, Landroidx/transition/ViewUtils$2;-><init>(Ljava/lang/Class;Ljava/lang/String;)V
sput-object v0, Landroidx/transition/ViewUtils;->CLIP_BOUNDS:Landroid/util/Property;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 202
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static clearNonTransitionAlpha(Landroid/view/View;)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 128
invoke-virtual {v0, p0}, Landroidx/transition/ViewUtilsBase;->clearNonTransitionAlpha(Landroid/view/View;)V
return-void
.end method
.method static getOverlay(Landroid/view/View;)Landroidx/transition/ViewOverlayImpl;
.locals 1
.line 91
new-instance v0, Landroidx/transition/ViewOverlayApi18;
invoke-direct {v0, p0}, Landroidx/transition/ViewOverlayApi18;-><init>(Landroid/view/View;)V
return-object v0
.end method
.method static getTransitionAlpha(Landroid/view/View;)F
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 111
invoke-virtual {v0, p0}, Landroidx/transition/ViewUtilsBase;->getTransitionAlpha(Landroid/view/View;)F
move-result p0
return p0
.end method
.method static getWindowId(Landroid/view/View;)Landroidx/transition/WindowIdImpl;
.locals 1
.line 101
new-instance v0, Landroidx/transition/WindowIdApi18;
invoke-direct {v0, p0}, Landroidx/transition/WindowIdApi18;-><init>(Landroid/view/View;)V
return-object v0
.end method
.method static saveNonTransitionAlpha(Landroid/view/View;)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 119
invoke-virtual {v0, p0}, Landroidx/transition/ViewUtilsBase;->saveNonTransitionAlpha(Landroid/view/View;)V
return-void
.end method
.method static setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 187
invoke-virtual {v0, p0, p1}, Landroidx/transition/ViewUtilsBase;->setAnimationMatrix(Landroid/view/View;Landroid/graphics/Matrix;)V
return-void
.end method
.method static setLeftTopRightBottom(Landroid/view/View;IIII)V
.locals 6
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
move-object v1, p0
move v2, p1
move v3, p2
move v4, p3
move v5, p4
.line 199
invoke-virtual/range {v0 .. v5}, Landroidx/transition/ViewUtilsBase;->setLeftTopRightBottom(Landroid/view/View;IIII)V
return-void
.end method
.method static setTransitionAlpha(Landroid/view/View;F)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 107
invoke-virtual {v0, p0, p1}, Landroidx/transition/ViewUtilsBase;->setTransitionAlpha(Landroid/view/View;F)V
return-void
.end method
.method static setTransitionVisibility(Landroid/view/View;I)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 145
invoke-virtual {v0, p0, p1}, Landroidx/transition/ViewUtilsBase;->setTransitionVisibility(Landroid/view/View;I)V
return-void
.end method
.method static transformMatrixToGlobal(Landroid/view/View;Landroid/graphics/Matrix;)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 161
invoke-virtual {v0, p0, p1}, Landroidx/transition/ViewUtilsBase;->transformMatrixToGlobal(Landroid/view/View;Landroid/graphics/Matrix;)V
return-void
.end method
.method static transformMatrixToLocal(Landroid/view/View;Landroid/graphics/Matrix;)V
.locals 1
sget-object v0, Landroidx/transition/ViewUtils;->IMPL:Landroidx/transition/ViewUtilsBase;
.line 177
invoke-virtual {v0, p0, p1}, Landroidx/transition/ViewUtilsBase;->transformMatrixToLocal(Landroid/view/View;Landroid/graphics/Matrix;)V
return-void
.end method