2020-05-17 12:40:10 +00:00
|
|
|
.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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$toColorFilter"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p0, v0}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$toXfermode"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p0, v0}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance v0, Landroid/graphics/PorterDuffXfermode;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|