apkfuckery/com.discord/smali/androidx/transition/ViewOverlayApi18.smali
2020-11-21 22:11:07 +00:00

66 lines
1.8 KiB
Smali

.class public Landroidx/transition/ViewOverlayApi18;
.super Ljava/lang/Object;
.source "ViewOverlayApi18.java"
# interfaces
.implements Landroidx/transition/ViewOverlayImpl;
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x12
.end annotation
# instance fields
.field private final mViewOverlay:Landroid/view/ViewOverlay;
# direct methods
.method public constructor <init>(Landroid/view/View;)V
.locals 0
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-virtual {p1}, Landroid/view/View;->getOverlay()Landroid/view/ViewOverlay;
move-result-object p1
iput-object p1, p0, Landroidx/transition/ViewOverlayApi18;->mViewOverlay:Landroid/view/ViewOverlay;
return-void
.end method
# virtual methods
.method public add(Landroid/graphics/drawable/Drawable;)V
.locals 1
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Landroidx/transition/ViewOverlayApi18;->mViewOverlay:Landroid/view/ViewOverlay;
invoke-virtual {v0, p1}, Landroid/view/ViewOverlay;->add(Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public remove(Landroid/graphics/drawable/Drawable;)V
.locals 1
.param p1 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget-object v0, p0, Landroidx/transition/ViewOverlayApi18;->mViewOverlay:Landroid/view/ViewOverlay;
invoke-virtual {v0, p1}, Landroid/view/ViewOverlay;->remove(Landroid/graphics/drawable/Drawable;)V
return-void
.end method