626 lines
19 KiB
Smali
626 lines
19 KiB
Smali
.class public final Lz0/h;
|
|
.super Ljava/lang/Object;
|
|
.source "TypedArray.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nTypedArray.kt\nKotlin\n*S Kotlin\n*F\n+ 1 TypedArray.kt\nandroidx/core/content/res/TypedArrayKt\n*L\n1#1,236:1\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000R\n\u0002\u0018\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\r\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0004\u001a\u0016\u0010\u0004\u001a\u00020\u0003*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0002\u001a\u0014\u0010\u0006\u001a\u00020\u0005*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0016\u0010\u0007\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0007\u001a\u0014\u0010\t\u001a\u00020\u0008*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0014\u0010\u000b\u001a\u00020\n*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0016\u0010\u000c\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0007\u001a\u0016\u0010\r\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0007\u001a\u0014\u0010\u000f\u001a\u00020\u000e*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0014\u0010\u0010\u001a\u00020\n*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0016\u0010\u0012\u001a\u00020\u0011*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0007\u001a\u0014\u0010\u0013\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0014\u0010\u0014\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0016\u0010\u0015\u001a\u00020\u0001*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001H\u0007\u001a\u0014\u0010\u0017\u001a\u00020\u0016*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a\u0014\u0010\u0019\u001a\u00020\u0018*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u001a!\u0010\u001b\u001a\u0008\u0012\u0004\u0012\u00020\u00180\u001a*\u00020\u00002\u0008\u0008\u0001\u0010\u0002\u001a\u00020\u0001\u00a2\u0006\u0004\u0008\u001b\u0010\u001c\u001a.\u0010 \u001a\u00028\u0000\"\u0004\u0008\u0000\u0010\u001d*\u00020\u00002\u0012\u0010\u001f\u001a\u000e\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00028\u00000\u001eH\u0086\u0008\u00a2\u0006\u0004\u0008 \u0010!\u00a8\u0006\""
|
|
}
|
|
d2 = {
|
|
"Landroid/content/res/TypedArray;",
|
|
"",
|
|
"index",
|
|
"Lkotlin/d1;",
|
|
"a",
|
|
"",
|
|
"b",
|
|
"c",
|
|
"Landroid/content/res/ColorStateList;",
|
|
"d",
|
|
"",
|
|
"e",
|
|
"f",
|
|
"g",
|
|
"Landroid/graphics/drawable/Drawable;",
|
|
"h",
|
|
"i",
|
|
"Landroid/graphics/Typeface;",
|
|
"j",
|
|
"k",
|
|
"l",
|
|
"m",
|
|
"",
|
|
"n",
|
|
"",
|
|
"p",
|
|
"",
|
|
"o",
|
|
"(Landroid/content/res/TypedArray;I)[Ljava/lang/CharSequence;",
|
|
"R",
|
|
"Lkotlin/Function1;",
|
|
"block",
|
|
"q",
|
|
"(Landroid/content/res/TypedArray;Lej/l;)Ljava/lang/Object;",
|
|
"core-ktx_release"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final a(Landroid/content/res/TypedArray;I)V
|
|
.locals 0
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->hasValue(I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Attribute not defined in set."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final b(Landroid/content/res/TypedArray;I)Z
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$getBooleanOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final c(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getColorOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final d(Landroid/content/res/TypedArray;I)Landroid/content/res/ColorStateList;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getColorStateListOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getColorStateList(I)Landroid/content/res/ColorStateList;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Attribute value was not a color or color state list."
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final e(Landroid/content/res/TypedArray;I)F
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$getDimensionOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getDimension(IF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final f(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getDimensionPixelOffsetOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getDimensionPixelOffset(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final g(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Dimension;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getDimensionPixelSizeOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getDimensionPixelSize(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final h(Landroid/content/res/TypedArray;I)Landroid/graphics/drawable/Drawable;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getDrawableOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
invoke-static {}, Lkotlin/jvm/internal/f0;->L()V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final i(Landroid/content/res/TypedArray;I)F
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$getFloatOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getFloat(IF)F
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final j(Landroid/content/res/TypedArray;I)Landroid/graphics/Typeface;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1a
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getFontOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getFont(I)Landroid/graphics/Typeface;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
invoke-static {}, Lkotlin/jvm/internal/f0;->L()V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final k(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$getIntOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getInt(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final l(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$getIntegerOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getInteger(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final m(Landroid/content/res/TypedArray;I)I
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/AnyRes;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getResourceIdOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1, v0}, Landroid/content/res/TypedArray;->getResourceId(II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final n(Landroid/content/res/TypedArray;I)Ljava/lang/String;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getStringOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Attribute value could not be coerced to String."
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final o(Landroid/content/res/TypedArray;I)[Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getTextArrayOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getTextArray(I)[Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "getTextArray(index)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/f0;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final p(Landroid/content/res/TypedArray;I)Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/StyleableRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$getTextOrThrow"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lz0/h;->a(Landroid/content/res/TypedArray;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Attribute value could not be coerced to CharSequence."
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final q(Landroid/content/res/TypedArray;Lej/l;)Ljava/lang/Object;
|
|
.locals 1
|
|
.param p0 # Landroid/content/res/TypedArray;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lej/l;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<R:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/content/res/TypedArray;",
|
|
"Lej/l<",
|
|
"-",
|
|
"Landroid/content/res/TypedArray;",
|
|
"+TR;>;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$use"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "block"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-interface {p1, p0}, Lej/l;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return-object p1
|
|
.end method
|