342 lines
		
	
	
		
			7.9 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			342 lines
		
	
	
		
			7.9 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/transition/e;
 | |
| .super Ljava/lang/Object;
 | |
| .source "Scene.java"
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:Landroid/content/Context;
 | |
| 
 | |
| .field public b:I
 | |
| 
 | |
| .field public c:Landroid/view/ViewGroup;
 | |
| 
 | |
| .field public d:Landroid/view/View;
 | |
| 
 | |
| .field public e:Ljava/lang/Runnable;
 | |
| 
 | |
| .field public f:Ljava/lang/Runnable;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/view/ViewGroup;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p1, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/view/ViewGroup;ILandroid/content/Context;)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 4
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     .line 5
 | |
|     iput v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     .line 6
 | |
|     iput-object p3, p0, Landroidx/transition/e;->a:Landroid/content/Context;
 | |
| 
 | |
|     .line 7
 | |
|     iput-object p1, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     .line 8
 | |
|     iput p2, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/view/ViewGroup;Landroid/view/View;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/view/View;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 9
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     const/4 v0, -0x1
 | |
| 
 | |
|     .line 10
 | |
|     iput v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     .line 11
 | |
|     iput-object p1, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     .line 12
 | |
|     iput-object p2, p0, Landroidx/transition/e;->d:Landroid/view/View;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static c(Landroid/view/ViewGroup;)Landroidx/transition/e;
 | |
|     .locals 1
 | |
|     .param p0    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     sget v0, Landroidx/transition/R$id;->transition_current_scene:I
 | |
| 
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getTag(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     check-cast p0, Landroidx/transition/e;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public static d(Landroid/view/ViewGroup;ILandroid/content/Context;)Landroidx/transition/e;
 | |
|     .locals 2
 | |
|     .param p0    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # I
 | |
|         .annotation build Landroidx/annotation/LayoutRes;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Landroid/content/Context;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     sget v0, Landroidx/transition/R$id;->transition_scene_layoutid_cache:I
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->getTag(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Landroid/util/SparseArray;
 | |
| 
 | |
|     if-nez v1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v1, Landroid/util/SparseArray;
 | |
| 
 | |
|     invoke-direct {v1}, Landroid/util/SparseArray;-><init>()V
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p0, v0, v1}, Landroid/view/ViewGroup;->setTag(ILjava/lang/Object;)V
 | |
| 
 | |
|     .line 5
 | |
|     :cond_0
 | |
|     invoke-virtual {v1, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroidx/transition/e;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_1
 | |
|     new-instance v0, Landroidx/transition/e;
 | |
| 
 | |
|     invoke-direct {v0, p0, p1, p2}, Landroidx/transition/e;-><init>(Landroid/view/ViewGroup;ILandroid/content/Context;)V
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v1, p1, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public static g(Landroid/view/ViewGroup;Landroidx/transition/e;)V
 | |
|     .locals 1
 | |
|     .param p0    # Landroid/view/ViewGroup;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p1    # Landroidx/transition/e;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     sget v0, Landroidx/transition/R$id;->transition_current_scene:I
 | |
| 
 | |
|     invoke-virtual {p0, v0, p1}, Landroid/view/ViewGroup;->setTag(ILjava/lang/Object;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     if-gtz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Landroidx/transition/e;->d:Landroid/view/View;
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Landroidx/transition/e;->e()Landroid/view/ViewGroup;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Landroid/view/ViewGroup;->removeAllViews()V
 | |
| 
 | |
|     .line 3
 | |
|     iget v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     if-lez v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v0, p0, Landroidx/transition/e;->a:Landroid/content/Context;
 | |
| 
 | |
|     invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iget v1, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     iget-object v0, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/transition/e;->d:Landroid/view/View;
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     iget-object v0, p0, Landroidx/transition/e;->e:Ljava/lang/Runnable;
 | |
| 
 | |
|     if-eqz v0, :cond_3
 | |
| 
 | |
|     .line 7
 | |
|     invoke-interface {v0}, Ljava/lang/Runnable;->run()V
 | |
| 
 | |
|     .line 8
 | |
|     :cond_3
 | |
|     iget-object v0, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     invoke-static {v0, p0}, Landroidx/transition/e;->g(Landroid/view/ViewGroup;Landroidx/transition/e;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public b()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/transition/e;->c(Landroid/view/ViewGroup;)Landroidx/transition/e;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     if-ne v0, p0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/transition/e;->f:Ljava/lang/Runnable;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-interface {v0}, Ljava/lang/Runnable;->run()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public e()Landroid/view/ViewGroup;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/transition/e;->c:Landroid/view/ViewGroup;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public f()Z
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/transition/e;->b:I
 | |
| 
 | |
|     if-lez v0, :cond_0
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     :goto_0
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public h(Ljava/lang/Runnable;)V
 | |
|     .locals 0
 | |
|     .param p1    # Ljava/lang/Runnable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/transition/e;->e:Ljava/lang/Runnable;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public i(Ljava/lang/Runnable;)V
 | |
|     .locals 0
 | |
|     .param p1    # Ljava/lang/Runnable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/transition/e;->f:Ljava/lang/Runnable;
 | |
| 
 | |
|     return-void
 | |
| .end method
 |