2020-05-17 12:40:10 +00:00
|
|
|
.class public final Landroidx/core/graphics/ColorKt;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Color.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static final component1(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->red(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component1(Landroid/graphics/Color;)F
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$component1"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Color;->getComponent(I)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component1(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x18
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component2(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->green(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component2(Landroid/graphics/Color;)F
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$component2"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Color;->getComponent(I)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component2(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x10
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component3(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->blue(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component3(Landroid/graphics/Color;)F
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$component3"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Color;->getComponent(I)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component3(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x8
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component4(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->alpha(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component4(Landroid/graphics/Color;)F
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$component4"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x3
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Landroid/graphics/Color;->getComponent(I)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final component4(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(ILandroid/graphics/ColorSpace$Named;)J
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->convert(ILandroid/graphics/ColorSpace;)J
|
|
|
|
|
|
|
|
move-result-wide p0
|
|
|
|
|
|
|
|
return-wide p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(ILandroid/graphics/ColorSpace;)J
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->convert(ILandroid/graphics/ColorSpace;)J
|
|
|
|
|
|
|
|
move-result-wide p0
|
|
|
|
|
|
|
|
return-wide p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(JLandroid/graphics/ColorSpace$Named;)J
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-static {p0, p1, p2}, Landroid/graphics/Color;->convert(JLandroid/graphics/ColorSpace;)J
|
|
|
|
|
|
|
|
move-result-wide p0
|
|
|
|
|
|
|
|
return-wide p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(JLandroid/graphics/ColorSpace;)J
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p2, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p1, p2}, Landroid/graphics/Color;->convert(JLandroid/graphics/ColorSpace;)J
|
|
|
|
|
|
|
|
move-result-wide p0
|
|
|
|
|
|
|
|
return-wide p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(Landroid/graphics/Color;Landroid/graphics/ColorSpace$Named;)Landroid/graphics/Color;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$convertTo"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Landroid/graphics/ColorSpace;->get(Landroid/graphics/ColorSpace$Named;)Landroid/graphics/ColorSpace;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/graphics/Color;->convert(Landroid/graphics/ColorSpace;)Landroid/graphics/Color;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "convert(ColorSpace.get(colorSpace))"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, p1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final convertTo(Landroid/graphics/Color;Landroid/graphics/ColorSpace;)Landroid/graphics/Color;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$convertTo"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "colorSpace"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Landroid/graphics/Color;->convert(Landroid/graphics/ColorSpace;)Landroid/graphics/Color;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "convert(colorSpace)"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, p1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getAlpha(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->alpha(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getAlpha(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x18
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getBlue(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->blue(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getBlue(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getColorSpace(J)Landroid/graphics/ColorSpace;
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->colorSpace(J)Landroid/graphics/ColorSpace;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "Color.colorSpace(this)"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, p1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getGreen(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->green(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getGreen(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x8
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getLuminance(I)F
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0}, Landroid/graphics/Color;->luminance(I)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getLuminance(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->luminance(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getRed(J)F
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->red(J)F
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final getRed(I)I
|
|
|
|
.locals 0
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
shr-int/lit8 p0, p0, 0x10
|
|
|
|
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final isSrgb(J)Z
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->isSrgb(J)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final isWideGamut(J)Z
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->isWideGamut(J)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final plus(Landroid/graphics/Color;Landroid/graphics/Color;)Landroid/graphics/Color;
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$plus"
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "c"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p0}, Landroidx/core/graphics/ColorUtils;->compositeColors(Landroid/graphics/Color;Landroid/graphics/Color;)Landroid/graphics/Color;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "ColorUtils.compositeColors(c, this)"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, p1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toColor(I)Landroid/graphics/Color;
|
|
|
|
.locals 1
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0}, Landroid/graphics/Color;->valueOf(I)Landroid/graphics/Color;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string v0, "Color.valueOf(this)"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toColor(J)Landroid/graphics/Color;
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->valueOf(J)Landroid/graphics/Color;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "Color.valueOf(this)"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, p1}, Ly/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toColorInt(J)I
|
|
|
|
.locals 0
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Landroid/graphics/Color;->toArgb(J)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toColorInt(Ljava/lang/String;)I
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$toColorInt"
|
|
|
|
|
2020-11-09 19:03:49 +00:00
|
|
|
invoke-static {p0, v0}, Ly/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final toColorLong(I)J
|
|
|
|
.locals 2
|
|
|
|
.param p0 # I
|
|
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
|
|
value = 0x1a
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-static {p0}, Landroid/graphics/Color;->pack(I)J
|
|
|
|
|
|
|
|
move-result-wide v0
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|