2020-05-17 12:40:10 +00:00
.class public L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
.super L androidx/appcompat/graphics/drawable/StateListDrawable ;
.source "AnimatedStateListDrawableCompat.java"
# interfaces
.implements L androidx/core/graphics/drawable/TintAwareDrawable ;
# annotations
.annotation build L android/annotation/SuppressLint ;
value = {
"RestrictedAPI"
}
.end annotation
.annotation system L dalvik/annotation/MemberClasses ;
value = {
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$FrameInterpolator ;,
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;,
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedVectorDrawableTransition ;,
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimationDrawableTransition ;,
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatableTransition ;,
L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
}
.end annotation
# static fields
.field public static final ELEMENT_ITEM : L java/lang/String ; = "item"
.field public static final ELEMENT_TRANSITION : L java/lang/String ; = "transition"
.field public static final ITEM_MISSING_DRAWABLE_ERROR : L java/lang/String ; = ": <item> tag requires a \'drawable\' attribute or child tag defining a drawable"
.field public static final LOGTAG : L java/lang/String ;
.field public static final TRANSITION_MISSING_DRAWABLE_ERROR : L java/lang/String ; = ": <transition> tag requires a \'drawable\' attribute or child tag defining a drawable"
.field public static final TRANSITION_MISSING_FROM_TO_ID : L java/lang/String ; = ": <transition> tag requires \'fromId\' & \'toId\' attributes"
# instance fields
.field public mMutated : Z
.field public mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
.field public mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
.field public mTransitionFromIndex : I
.field public mTransitionToIndex : I
# direct methods
.method public static constructor <clinit> ( ) V
.locals 1
const-class v0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
invoke-virtual { v0 } , L java/lang/Class ;-> getSimpleName ( ) L java/lang/String ;
move-result-object v0
sput-object v0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> LOGTAG : L java/lang/String ;
return-void
.end method
.method public constructor <init> ( ) V
.locals 1
const/4 v0 , 0x0
invoke-direct { p0 , v0 , v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> <init> ( L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;L android/content/res/Resources ;) V
return-void
.end method
.method public constructor <init> ( L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;L android/content/res/Resources ;) V
.locals 1
. param p1 # Landroidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
const/4 v0 , 0x0
invoke-direct { p0 , v0 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> <init> ( L androidx/appcompat/graphics/drawable/StateListDrawable$StateListState ;) V
const/4 v0 , - 0x1
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
new-instance v0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-direct { v0 , p1 , p0 , p2 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> <init> ( L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;L android/content/res/Resources ;) V
invoke-virtual { p0 , v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> setConstantState ( L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;) V
invoke-virtual { p0 } , L android/graphics/drawable/Drawable ;-> getState ( ) [I
move-result-object p1
invoke-virtual { p0 , p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> onStateChange ( [I ) Z
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> jumpToCurrentState ( ) V
return-void
.end method
.method public static create ( L android/content/Context ;I L android/content/res/Resources$Theme ;) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
.locals 6
. param p0 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p1 # I
.annotation build L androidx/annotation/DrawableRes ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation build L androidx/annotation/Nullable ;
.end annotation
const-string v0 , "parser error"
:try_start_0
invoke-virtual { p0 } , L android/content/Context ;-> getResources ( ) L android/content/res/Resources ;
move-result-object v1
invoke-virtual { v1 , p1 } , L android/content/res/Resources ;-> getXml ( I ) L android/content/res/XmlResourceParser ;
move-result-object p1
invoke-static { p1 } , L android/util/Xml ;-> asAttributeSet ( L org/xmlpull/v1/XmlPullParser ;) L android/util/AttributeSet ;
move-result-object v2
:goto_0
invoke-interface { p1 } , L org/xmlpull/v1/XmlPullParser ;-> next ( ) I
move-result v3
const/4 v4 , 0x2
if-eq v3 , v4 , :cond_0
const/4 v5 , 0x1
if-eq v3 , v5 , :cond_0
goto :goto_0
:cond_0
if-ne v3 , v4 , :cond_1
invoke-static { p0 , v1 , p1 , v2 , p2 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> createFromXmlInner ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
move-result-object p0
return-object p0
:cond_1
new-instance p0 , L org/xmlpull/v1/XmlPullParserException ;
const-string p1 , "No start tag found"
invoke-direct { p0 , p1 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p0
:try_end_0
.catch L org/xmlpull/v1/XmlPullParserException ; { :try_start_0 . . :try_end_0 } :catch_1
.catch L java/io/IOException ; { :try_start_0 . . :try_end_0 } :catch_0
:catch_0
move-exception p0
sget-object p1 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> LOGTAG : L java/lang/String ;
invoke-static { p1 , v0 , p0 } , L android/util/Log ;-> e ( L java/lang/String ;L java/lang/String ;L java/lang/Throwable ;) I
goto :goto_1
:catch_1
move-exception p0
sget-object p1 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> LOGTAG : L java/lang/String ;
invoke-static { p1 , v0 , p0 } , L android/util/Log ;-> e ( L java/lang/String ;L java/lang/String ;L java/lang/Throwable ;) I
:goto_1
const/4 p0 , 0x0
return-object p0
.end method
.method public static createFromXmlInner ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
.locals 8
. param p0 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p1 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Landroid/util/AttributeSet;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p4 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation system L dalvik/annotation/Throws ;
value = {
L java/io/IOException ;,
L org/xmlpull/v1/XmlPullParserException ;
}
.end annotation
invoke-interface { p2 } , L org/xmlpull/v1/XmlPullParser ;-> getName ( ) L java/lang/String ;
move-result-object v0
const-string v1 , "animated-selector"
invoke-virtual { v0 , v1 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v1
if-eqz v1 , :cond_0
new-instance v0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;
invoke-direct { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> <init> ( ) V
move-object v2 , v0
move-object v3 , p0
move-object v4 , p1
move-object v5 , p2
move-object v6 , p3
move-object v7 , p4
invoke-virtual/range { v2 . . v7 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> inflate ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) V
return-object v0
:cond_0
new-instance p0 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p1 , L java/lang/StringBuilder ;
invoke-direct { p1 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p2 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p2
invoke-virtual { p1 , p2 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
const-string p2 , ": invalid animated-selector tag "
invoke-virtual { p1 , p2 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p1 , v0 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p1 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p1
invoke-direct { p0 , p1 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p0
.end method
.method private inflateChildElements ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) V
.locals 5
. param p1 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p4 # Landroid/util/AttributeSet;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p5 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation system L dalvik/annotation/Throws ;
value = {
L org/xmlpull/v1/XmlPullParserException ;,
L java/io/IOException ;
}
.end annotation
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getDepth ( ) I
move-result v0
const/4 v1 , 0x1
add-int/2addr v0 , v1
:cond_0
:goto_0
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> next ( ) I
move-result v2
if-eq v2 , v1 , :cond_5
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getDepth ( ) I
move-result v3
if-ge v3 , v0 , :cond_1
const/4 v4 , 0x3
if-eq v2 , v4 , :cond_5
:cond_1
const/4 v4 , 0x2
if-eq v2 , v4 , :cond_2
goto :goto_0
:cond_2
if-le v3 , v0 , :cond_3
goto :goto_0
:cond_3
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getName ( ) L java/lang/String ;
move-result-object v2
const-string v3 , "item"
invoke-virtual { v2 , v3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v2
if-eqz v2 , :cond_4
invoke-direct/range { p0 . . p5 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> parseItem ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) I
goto :goto_0
:cond_4
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getName ( ) L java/lang/String ;
move-result-object v2
const-string v3 , "transition"
invoke-virtual { v2 , v3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v2
if-eqz v2 , :cond_0
invoke-direct/range { p0 . . p5 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> parseTransition ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) I
goto :goto_0
:cond_5
return-void
.end method
.method private init ( ) V
.locals 1
invoke-virtual { p0 } , L android/graphics/drawable/Drawable ;-> getState ( ) [I
move-result-object v0
invoke-virtual { p0 , v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> onStateChange ( [I ) Z
return-void
.end method
.method private parseItem ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) I
.locals 4
. param p1 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p4 # Landroid/util/AttributeSet;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p5 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation system L dalvik/annotation/Throws ;
value = {
L org/xmlpull/v1/XmlPullParserException ;,
L java/io/IOException ;
}
.end annotation
sget-object v0 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableItem : [I
invoke-static { p2 , p5 , p4 , v0 } , L androidx/core/content/res/TypedArrayUtils ;-> obtainAttributes ( L android/content/res/Resources ;L android/content/res/Resources$Theme ;L android/util/AttributeSet ;[I ) L android/content/res/TypedArray ;
move-result-object v0
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableItem_android_id : I
const/4 v2 , 0x0
invoke-virtual { v0 , v1 , v2 } , L android/content/res/TypedArray ;-> getResourceId ( II ) I
move-result v1
sget v2 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableItem_android_drawable : I
const/4 v3 , - 0x1
invoke-virtual { v0 , v2 , v3 } , L android/content/res/TypedArray ;-> getResourceId ( II ) I
move-result v2
if-lez v2 , :cond_0
invoke-static { } , L androidx/appcompat/widget/ResourceManagerInternal ;-> get ( ) L androidx/appcompat/widget/ResourceManagerInternal ;
move-result-object v3
invoke-virtual { v3 , p1 , v2 } , L androidx/appcompat/widget/ResourceManagerInternal ;-> getDrawable ( L android/content/Context ;I ) L android/graphics/drawable/Drawable ;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1 , 0x0
:goto_0
invoke-virtual { v0 } , L android/content/res/TypedArray ;-> recycle ( ) V
invoke-virtual { p0 , p4 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> extractStateSet ( L android/util/AttributeSet ;) [I
move-result-object v0
const-string v2 , ": <item> tag requires a \'drawable\' attribute or child tag defining a drawable"
if-nez p1 , :cond_4
:goto_1
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> next ( ) I
move-result p1
const/4 v3 , 0x4
if-ne p1 , v3 , :cond_1
goto :goto_1
:cond_1
const/4 v3 , 0x2
if-ne p1 , v3 , :cond_3
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getName ( ) L java/lang/String ;
move-result-object p1
2020-07-20 19:00:44 +00:00
const-string/jumbo v3 , "vector"
2020-05-17 12:40:10 +00:00
invoke-virtual { p1 , v3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result p1
if-eqz p1 , :cond_2
invoke-static { p2 , p3 , p4 , p5 } , L androidx/vectordrawable/graphics/drawable/VectorDrawableCompat ;-> createFromXmlInner ( L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L androidx/vectordrawable/graphics/drawable/VectorDrawableCompat ;
move-result-object p1
goto :goto_2
:cond_2
invoke-static { p2 , p3 , p4 , p5 } , L android/graphics/drawable/Drawable ;-> createFromXmlInner ( L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L android/graphics/drawable/Drawable ;
move-result-object p1
goto :goto_2
:cond_3
new-instance p1 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p2 , L java/lang/StringBuilder ;
invoke-direct { p2 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p3
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 , v2 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p2
invoke-direct { p1 , p2 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p1
:cond_4
:goto_2
if-eqz p1 , :cond_5
iget-object p2 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { p2 , v0 , p1 , v1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> addStateSet ( [I L android/graphics/drawable/Drawable ;I ) I
move-result p1
return p1
:cond_5
new-instance p1 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p2 , L java/lang/StringBuilder ;
invoke-direct { p2 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p3
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 , v2 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p2
invoke-direct { p1 , p2 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p1
.end method
.method private parseTransition ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) I
.locals 7
. param p1 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p4 # Landroid/util/AttributeSet;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p5 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation system L dalvik/annotation/Throws ;
value = {
L org/xmlpull/v1/XmlPullParserException ;,
L java/io/IOException ;
}
.end annotation
sget-object v0 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableTransition : [I
invoke-static { p2 , p5 , p4 , v0 } , L androidx/core/content/res/TypedArrayUtils ;-> obtainAttributes ( L android/content/res/Resources ;L android/content/res/Resources$Theme ;L android/util/AttributeSet ;[I ) L android/content/res/TypedArray ;
move-result-object v0
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableTransition_android_fromId : I
const/4 v2 , - 0x1
invoke-virtual { v0 , v1 , v2 } , L android/content/res/TypedArray ;-> getResourceId ( II ) I
move-result v1
sget v3 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableTransition_android_toId : I
invoke-virtual { v0 , v3 , v2 } , L android/content/res/TypedArray ;-> getResourceId ( II ) I
move-result v3
sget v4 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableTransition_android_drawable : I
invoke-virtual { v0 , v4 , v2 } , L android/content/res/TypedArray ;-> getResourceId ( II ) I
move-result v4
if-lez v4 , :cond_0
invoke-static { } , L androidx/appcompat/widget/ResourceManagerInternal ;-> get ( ) L androidx/appcompat/widget/ResourceManagerInternal ;
move-result-object v5
invoke-virtual { v5 , p1 , v4 } , L androidx/appcompat/widget/ResourceManagerInternal ;-> getDrawable ( L android/content/Context ;I ) L android/graphics/drawable/Drawable ;
move-result-object v4
goto :goto_0
:cond_0
const/4 v4 , 0x0
:goto_0
sget v5 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableTransition_android_reversible : I
const/4 v6 , 0x0
invoke-virtual { v0 , v5 , v6 } , L android/content/res/TypedArray ;-> getBoolean ( IZ ) Z
move-result v5
invoke-virtual { v0 } , L android/content/res/TypedArray ;-> recycle ( ) V
const-string v0 , ": <transition> tag requires a \'drawable\' attribute or child tag defining a drawable"
if-nez v4 , :cond_4
:goto_1
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> next ( ) I
move-result v4
const/4 v6 , 0x4
if-ne v4 , v6 , :cond_1
goto :goto_1
:cond_1
const/4 v6 , 0x2
if-ne v4 , v6 , :cond_3
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getName ( ) L java/lang/String ;
move-result-object v4
const-string v6 , "animated-vector"
invoke-virtual { v4 , v6 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v4
if-eqz v4 , :cond_2
invoke-static { p1 , p2 , p3 , p4 , p5 } , L androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat ;-> createFromXmlInner ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat ;
move-result-object v4
goto :goto_2
:cond_2
invoke-static { p2 , p3 , p4 , p5 } , L android/graphics/drawable/Drawable ;-> createFromXmlInner ( L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) L android/graphics/drawable/Drawable ;
move-result-object v4
goto :goto_2
:cond_3
new-instance p1 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p2 , L java/lang/StringBuilder ;
invoke-direct { p2 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p3
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 , v0 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p2
invoke-direct { p1 , p2 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p1
:cond_4
:goto_2
if-eqz v4 , :cond_6
if-eq v1 , v2 , :cond_5
if-eq v3 , v2 , :cond_5
iget-object p1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { p1 , v1 , v3 , v4 , v5 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> addTransition ( II L android/graphics/drawable/Drawable ;Z ) I
move-result p1
return p1
:cond_5
new-instance p1 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p2 , L java/lang/StringBuilder ;
invoke-direct { p2 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p3
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
const-string p3 , ": <transition> tag requires \'fromId\' & \'toId\' attributes"
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p2
invoke-direct { p1 , p2 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p1
:cond_6
new-instance p1 , L org/xmlpull/v1/XmlPullParserException ;
new-instance p2 , L java/lang/StringBuilder ;
invoke-direct { p2 } , L java/lang/StringBuilder ;-> <init> ( ) V
invoke-interface { p3 } , L org/xmlpull/v1/XmlPullParser ;-> getPositionDescription ( ) L java/lang/String ;
move-result-object p3
invoke-virtual { p2 , p3 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 , v0 } , L java/lang/StringBuilder ;-> append ( L java/lang/String ;) L java/lang/StringBuilder ;
invoke-virtual { p2 } , L java/lang/StringBuilder ;-> toString ( ) L java/lang/String ;
move-result-object p2
invoke-direct { p1 , p2 } , L org/xmlpull/v1/XmlPullParserException ;-> <init> ( L java/lang/String ;) V
throw p1
.end method
.method private selectTransition ( I ) Z
.locals 9
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
const/4 v1 , 0x1
if-eqz v0 , :cond_2
iget v2 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
if-ne p1 , v2 , :cond_0
return v1
:cond_0
iget v2 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
if-ne p1 , v2 , :cond_1
invoke-virtual { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> canReverse ( ) Z
move-result v2
if-eqz v2 , :cond_1
invoke-virtual { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> reverse ( ) V
iget v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
iput p1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
return v1
:cond_1
iget v2 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
invoke-virtual { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> stop ( ) V
goto :goto_0
:cond_2
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getCurrentIndex ( ) I
move-result v2
:goto_0
const/4 v0 , 0x0
iput-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
const/4 v0 , - 0x1
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { v0 , v2 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> getKeyframeIdAt ( I ) I
move-result v3
invoke-virtual { v0 , p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> getKeyframeIdAt ( I ) I
move-result v4
const/4 v5 , 0x0
if-eqz v4 , :cond_7
if-nez v3 , :cond_3
goto :goto_2
:cond_3
invoke-virtual { v0 , v3 , v4 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> indexOfTransition ( II ) I
move-result v6
if-gez v6 , :cond_4
return v5
:cond_4
invoke-virtual { v0 , v3 , v4 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> transitionHasReversibleFlag ( II ) Z
move-result v7
invoke-virtual { p0 , v6 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> selectDrawable ( I ) Z
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> getCurrent ( ) L android/graphics/drawable/Drawable ;
move-result-object v6
instance-of v8 , v6 , L android/graphics/drawable/AnimationDrawable ;
if-eqz v8 , :cond_5
invoke-virtual { v0 , v3 , v4 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> isTransitionReversed ( II ) Z
move-result v0
new-instance v3 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimationDrawableTransition ;
check-cast v6 , L android/graphics/drawable/AnimationDrawable ;
invoke-direct { v3 , v6 , v0 , v7 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimationDrawableTransition ;-> <init> ( L android/graphics/drawable/AnimationDrawable ;ZZ ) V
goto :goto_1
:cond_5
instance-of v0 , v6 , L androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat ;
if-eqz v0 , :cond_6
new-instance v3 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedVectorDrawableTransition ;
check-cast v6 , L androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat ;
invoke-direct { v3 , v6 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedVectorDrawableTransition ;-> <init> ( L androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat ;) V
goto :goto_1
:cond_6
instance-of v0 , v6 , L android/graphics/drawable/Animatable ;
if-eqz v0 , :cond_7
new-instance v3 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatableTransition ;
check-cast v6 , L android/graphics/drawable/Animatable ;
invoke-direct { v3 , v6 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatableTransition ;-> <init> ( L android/graphics/drawable/Animatable ;) V
:goto_1
invoke-virtual { v3 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> start ( ) V
iput-object v3 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
iput v2 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
iput p1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
return v1
:cond_7
:goto_2
return v5
.end method
.method private updateStateFromTypedArray ( L android/content/res/TypedArray ;) V
.locals 3
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
iget v1 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mChangingConfigurations : I
invoke-virtual { p1 } , L android/content/res/TypedArray ;-> getChangingConfigurations ( ) I
move-result v2
or-int/2addr v1 , v2
iput v1 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mChangingConfigurations : I
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_variablePadding : I
iget-boolean v2 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mVariablePadding : Z
invoke-virtual { p1 , v1 , v2 } , L android/content/res/TypedArray ;-> getBoolean ( IZ ) Z
move-result v1
invoke-virtual { v0 , v1 } , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> setVariablePadding ( Z ) V
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_constantSize : I
iget-boolean v2 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mConstantSize : Z
invoke-virtual { p1 , v1 , v2 } , L android/content/res/TypedArray ;-> getBoolean ( IZ ) Z
move-result v1
invoke-virtual { v0 , v1 } , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> setConstantSize ( Z ) V
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_enterFadeDuration : I
iget v2 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mEnterFadeDuration : I
invoke-virtual { p1 , v1 , v2 } , L android/content/res/TypedArray ;-> getInt ( II ) I
move-result v1
invoke-virtual { v0 , v1 } , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> setEnterFadeDuration ( I ) V
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_exitFadeDuration : I
iget v2 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mExitFadeDuration : I
invoke-virtual { p1 , v1 , v2 } , L android/content/res/TypedArray ;-> getInt ( II ) I
move-result v1
invoke-virtual { v0 , v1 } , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> setExitFadeDuration ( I ) V
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_dither : I
iget-boolean v0 , v0 , L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;-> mDither : Z
invoke-virtual { p1 , v1 , v0 } , L android/content/res/TypedArray ;-> getBoolean ( IZ ) Z
move-result p1
invoke-virtual { p0 , p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> setDither ( Z ) V
return-void
.end method
# virtual methods
.method public bridge synthetic addState ( [I L android/graphics/drawable/Drawable ;) V
.locals 0
invoke-super { p0 , p1 , p2 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> addState ( [I L android/graphics/drawable/Drawable ;) V
return-void
.end method
.method public addState ( [I L android/graphics/drawable/Drawable ;I ) V
.locals 1
. param p1 # [I
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroid/graphics/drawable/Drawable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
if-eqz p2 , :cond_0
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { v0 , p1 , p2 , p3 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> addStateSet ( [I L android/graphics/drawable/Drawable ;I ) I
invoke-virtual { p0 } , L android/graphics/drawable/Drawable ;-> getState ( ) [I
move-result-object p1
invoke-virtual { p0 , p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> onStateChange ( [I ) Z
return-void
:cond_0
new-instance p1 , L java/lang/IllegalArgumentException ;
const-string p2 , "Drawable must not be null"
invoke-direct { p1 , p2 } , L java/lang/IllegalArgumentException ;-> <init> ( L java/lang/String ;) V
throw p1
.end method
.method public addTransition ( II L android/graphics/drawable/Drawable ;Z ) V
.locals 1
. param p3 # Landroid/graphics/drawable/Drawable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation system L dalvik/annotation/Signature ;
value = {
"<T:" ,
"Landroid/graphics/drawable/Drawable;" ,
":" ,
"Landroid/graphics/drawable/Animatable;" ,
">(IITT;Z)V"
}
.end annotation
if-eqz p3 , :cond_0
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { v0 , p1 , p2 , p3 , p4 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> addTransition ( II L android/graphics/drawable/Drawable ;Z ) I
return-void
:cond_0
new-instance p1 , L java/lang/IllegalArgumentException ;
const-string p2 , "Transition drawable must not be null"
invoke-direct { p1 , p2 } , L java/lang/IllegalArgumentException ;-> <init> ( L java/lang/String ;) V
throw p1
.end method
.method public bridge synthetic applyTheme ( L android/content/res/Resources$Theme ;) V
.locals 0
. param p1 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/RequiresApi ;
value = 0x15
.end annotation
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> applyTheme ( L android/content/res/Resources$Theme ;) V
return-void
.end method
.method public bridge synthetic canApplyTheme ( ) Z
.locals 1
.annotation build L androidx/annotation/RequiresApi ;
value = 0x15
.end annotation
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> canApplyTheme ( ) Z
move-result v0
return v0
.end method
.method public clearMutated ( ) V
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> clearMutated ( ) V
const/4 v0 , 0x0
iput-boolean v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mMutated : Z
return-void
.end method
.method public cloneConstantState ( ) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
.locals 3
new-instance v0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
iget-object v1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
const/4 v2 , 0x0
invoke-direct { v0 , v1 , p0 , v2 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> <init> ( L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;L android/content/res/Resources ;) V
return-object v0
.end method
.method public bridge synthetic cloneConstantState ( ) L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;
.locals 1
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> cloneConstantState ( ) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic cloneConstantState ( ) L androidx/appcompat/graphics/drawable/StateListDrawable$StateListState ;
.locals 1
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> cloneConstantState ( ) L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic draw ( L android/graphics/Canvas ;) V
.locals 0
. param p1 # Landroid/graphics/Canvas;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> draw ( L android/graphics/Canvas ;) V
return-void
.end method
.method public bridge synthetic getAlpha ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getAlpha ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getChangingConfigurations ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getChangingConfigurations ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getCurrent ( ) L android/graphics/drawable/Drawable ;
.locals 1
.annotation build L androidx/annotation/NonNull ;
.end annotation
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getCurrent ( ) L android/graphics/drawable/Drawable ;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic getHotspotBounds ( L android/graphics/Rect ;) V
.locals 0
. param p1 # Landroid/graphics/Rect;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getHotspotBounds ( L android/graphics/Rect ;) V
return-void
.end method
.method public bridge synthetic getIntrinsicHeight ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getIntrinsicHeight ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getIntrinsicWidth ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getIntrinsicWidth ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getMinimumHeight ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getMinimumHeight ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getMinimumWidth ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getMinimumWidth ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getOpacity ( ) I
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getOpacity ( ) I
move-result v0
return v0
.end method
.method public bridge synthetic getOutline ( L android/graphics/Outline ;) V
.locals 0
. param p1 # Landroid/graphics/Outline;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
.annotation build L androidx/annotation/RequiresApi ;
value = 0x15
.end annotation
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getOutline ( L android/graphics/Outline ;) V
return-void
.end method
.method public bridge synthetic getPadding ( L android/graphics/Rect ;) Z
.locals 0
. param p1 # Landroid/graphics/Rect;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getPadding ( L android/graphics/Rect ;) Z
move-result p1
return p1
.end method
.method public inflate ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) V
.locals 3
. param p1 # Landroid/content/Context;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Landroid/content/res/Resources;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p3 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p4 # Landroid/util/AttributeSet;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p5 # Landroid/content/res/Resources$Theme;
.annotation build L androidx/annotation/Nullable ;
.end annotation
. end param
.annotation system L dalvik/annotation/Throws ;
value = {
L org/xmlpull/v1/XmlPullParserException ;,
L java/io/IOException ;
}
.end annotation
sget-object v0 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat : [I
invoke-static { p2 , p5 , p4 , v0 } , L androidx/core/content/res/TypedArrayUtils ;-> obtainAttributes ( L android/content/res/Resources ;L android/content/res/Resources$Theme ;L android/util/AttributeSet ;[I ) L android/content/res/TypedArray ;
move-result-object v0
sget v1 , L androidx/appcompat/resources/R$styleable ;-> AnimatedStateListDrawableCompat_android_visible : I
const/4 v2 , 0x1
invoke-virtual { v0 , v1 , v2 } , L android/content/res/TypedArray ;-> getBoolean ( IZ ) Z
move-result v1
invoke-virtual { p0 , v1 , v2 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> setVisible ( ZZ ) Z
invoke-direct { p0 , v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> updateStateFromTypedArray ( L android/content/res/TypedArray ;) V
invoke-virtual { p0 , p2 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> updateDensity ( L android/content/res/Resources ;) V
invoke-virtual { v0 } , L android/content/res/TypedArray ;-> recycle ( ) V
invoke-direct/range { p0 . . p5 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> inflateChildElements ( L android/content/Context ;L android/content/res/Resources ;L org/xmlpull/v1/XmlPullParser ;L android/util/AttributeSet ;L android/content/res/Resources$Theme ;) V
invoke-direct { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> init ( ) V
return-void
.end method
.method public bridge synthetic invalidateDrawable ( L android/graphics/drawable/Drawable ;) V
.locals 0
. param p1 # Landroid/graphics/drawable/Drawable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> invalidateDrawable ( L android/graphics/drawable/Drawable ;) V
return-void
.end method
.method public bridge synthetic isAutoMirrored ( ) Z
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> isAutoMirrored ( ) Z
move-result v0
return v0
.end method
.method public isStateful ( ) Z
.locals 1
const/4 v0 , 0x1
return v0
.end method
.method public jumpToCurrentState ( ) V
.locals 1
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> jumpToCurrentState ( ) V
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
if-eqz v0 , :cond_0
invoke-virtual { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> stop ( ) V
const/4 v0 , 0x0
iput-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
iget v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
invoke-virtual { p0 , v0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> selectDrawable ( I ) Z
const/4 v0 , - 0x1
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionToIndex : I
iput v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransitionFromIndex : I
:cond_0
return-void
.end method
.method public mutate ( ) L android/graphics/drawable/Drawable ;
.locals 1
iget-boolean v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mMutated : Z
if-nez v0 , :cond_0
invoke-super { p0 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> mutate ( ) L android/graphics/drawable/Drawable ;
move-result-object v0
if-ne v0 , p0 , :cond_0
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> mutate ( ) V
const/4 v0 , 0x1
iput-boolean v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mMutated : Z
:cond_0
return-object p0
.end method
.method public bridge synthetic onLayoutDirectionChanged ( I ) Z
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> onLayoutDirectionChanged ( I ) Z
move-result p1
return p1
.end method
.method public onStateChange ( [I ) Z
.locals 2
iget-object v0 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
invoke-virtual { v0 , p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;-> indexOfKeyframe ( [I ) I
move-result v0
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> getCurrentIndex ( ) I
move-result v1
if-eq v0 , v1 , :cond_1
invoke-direct { p0 , v0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> selectTransition ( I ) Z
move-result v1
if-nez v1 , :cond_0
invoke-virtual { p0 , v0 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> selectDrawable ( I ) Z
move-result v0
if-eqz v0 , :cond_1
:cond_0
const/4 v0 , 0x1
goto :goto_0
:cond_1
const/4 v0 , 0x0
:goto_0
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> getCurrent ( ) L android/graphics/drawable/Drawable ;
move-result-object v1
if-eqz v1 , :cond_2
invoke-virtual { v1 , p1 } , L android/graphics/drawable/Drawable ;-> setState ( [I ) Z
move-result p1
or-int/2addr v0 , p1
:cond_2
return v0
.end method
.method public bridge synthetic scheduleDrawable ( L android/graphics/drawable/Drawable ;L java/lang/Runnable ;J ) V
.locals 0
. param p1 # Landroid/graphics/drawable/Drawable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Ljava/lang/Runnable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 , p2 , p3 , p4 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> scheduleDrawable ( L android/graphics/drawable/Drawable ;L java/lang/Runnable ;J ) V
return-void
.end method
.method public bridge synthetic setAlpha ( I ) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setAlpha ( I ) V
return-void
.end method
.method public bridge synthetic setAutoMirrored ( Z ) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setAutoMirrored ( Z ) V
return-void
.end method
.method public bridge synthetic setColorFilter ( L android/graphics/ColorFilter ;) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setColorFilter ( L android/graphics/ColorFilter ;) V
return-void
.end method
.method public setConstantState ( L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;) V
.locals 1
. param p1 # Landroidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/StateListDrawable ;-> setConstantState ( L androidx/appcompat/graphics/drawable/DrawableContainer$DrawableContainerState ;) V
instance-of v0 , p1 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
if-eqz v0 , :cond_0
check-cast p1 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
iput-object p1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mState : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$AnimatedStateListState ;
:cond_0
return-void
.end method
.method public bridge synthetic setDither ( Z ) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setDither ( Z ) V
return-void
.end method
.method public bridge synthetic setEnterFadeDuration ( I ) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setEnterFadeDuration ( I ) V
return-void
.end method
.method public bridge synthetic setExitFadeDuration ( I ) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setExitFadeDuration ( I ) V
return-void
.end method
.method public bridge synthetic setHotspot ( FF ) V
.locals 0
invoke-super { p0 , p1 , p2 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setHotspot ( FF ) V
return-void
.end method
.method public bridge synthetic setHotspotBounds ( IIII ) V
.locals 0
invoke-super { p0 , p1 , p2 , p3 , p4 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setHotspotBounds ( IIII ) V
return-void
.end method
.method public bridge synthetic setTintList ( L android/content/res/ColorStateList ;) V
.locals 0
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setTintList ( L android/content/res/ColorStateList ;) V
return-void
.end method
.method public bridge synthetic setTintMode ( L android/graphics/PorterDuff$Mode ;) V
.locals 0
. param p1 # Landroid/graphics/PorterDuff$Mode;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setTintMode ( L android/graphics/PorterDuff$Mode ;) V
return-void
.end method
.method public setVisible ( ZZ ) Z
.locals 2
invoke-super { p0 , p1 , p2 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> setVisible ( ZZ ) Z
move-result v0
iget-object v1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
if-eqz v1 , :cond_2
if-nez v0 , :cond_0
if-eqz p2 , :cond_2
:cond_0
if-eqz p1 , :cond_1
iget-object p1 , p0 , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> mTransition : L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;
invoke-virtual { p1 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat$Transition ;-> start ( ) V
goto :goto_0
:cond_1
invoke-virtual { p0 } , L androidx/appcompat/graphics/drawable/AnimatedStateListDrawableCompat ;-> jumpToCurrentState ( ) V
:cond_2
:goto_0
return v0
.end method
.method public bridge synthetic unscheduleDrawable ( L android/graphics/drawable/Drawable ;L java/lang/Runnable ;) V
.locals 0
. param p1 # Landroid/graphics/drawable/Drawable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
. param p2 # Ljava/lang/Runnable;
.annotation build L androidx/annotation/NonNull ;
.end annotation
. end param
invoke-super { p0 , p1 , p2 } , L androidx/appcompat/graphics/drawable/DrawableContainer ;-> unscheduleDrawable ( L android/graphics/drawable/Drawable ;L java/lang/Runnable ;) V
return-void
.end method