34 lines
1 KiB
Smali
34 lines
1 KiB
Smali
.class public final Landroidx/core/graphics/PorterDuffKt;
|
|
.super Ljava/lang/Object;
|
|
.source "PorterDuff.kt"
|
|
|
|
|
|
# direct methods
|
|
.method public static final toColorFilter(Landroid/graphics/PorterDuff$Mode;I)Landroid/graphics/PorterDuffColorFilter;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/PorterDuffColorFilter;
|
|
|
|
invoke-direct {v0, p1, p0}, Landroid/graphics/PorterDuffColorFilter;-><init>(ILandroid/graphics/PorterDuff$Mode;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final toXfermode(Landroid/graphics/PorterDuff$Mode;)Landroid/graphics/PorterDuffXfermode;
|
|
.locals 1
|
|
|
|
const-string v0, "$receiver"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Landroid/graphics/PorterDuffXfermode;
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
return-object v0
|
|
.end method
|