95 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			95 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class Lcom/google/android/material/chip/Chip$1;
 | 
						|
.super Lcom/google/android/material/resources/TextAppearanceFontCallback;
 | 
						|
.source "Chip.java"
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/EnclosingClass;
 | 
						|
    value = Lcom/google/android/material/chip/Chip;
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation system Ldalvik/annotation/InnerClass;
 | 
						|
    accessFlags = 0x1
 | 
						|
    name = null
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field public final synthetic this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>(Lcom/google/android/material/chip/Chip;)V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iput-object p1, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-direct {p0}, Lcom/google/android/material/resources/TextAppearanceFontCallback;-><init>()V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public onFontRetrievalFailed(I)V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
.method public onFontRetrieved(Landroid/graphics/Typeface;Z)V
 | 
						|
    .locals 0
 | 
						|
    .param p1    # Landroid/graphics/Typeface;
 | 
						|
        .annotation build Landroidx/annotation/NonNull;
 | 
						|
        .end annotation
 | 
						|
    .end param
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iget-object p1, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-static {p1}, Lcom/google/android/material/chip/Chip;->access$000(Lcom/google/android/material/chip/Chip;)Lcom/google/android/material/chip/ChipDrawable;
 | 
						|
 | 
						|
    move-result-object p2
 | 
						|
 | 
						|
    invoke-virtual {p2}, Lcom/google/android/material/chip/ChipDrawable;->shouldDrawText()Z
 | 
						|
 | 
						|
    move-result p2
 | 
						|
 | 
						|
    if-eqz p2, :cond_0
 | 
						|
 | 
						|
    iget-object p2, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-static {p2}, Lcom/google/android/material/chip/Chip;->access$000(Lcom/google/android/material/chip/Chip;)Lcom/google/android/material/chip/ChipDrawable;
 | 
						|
 | 
						|
    move-result-object p2
 | 
						|
 | 
						|
    invoke-virtual {p2}, Lcom/google/android/material/chip/ChipDrawable;->getText()Ljava/lang/CharSequence;
 | 
						|
 | 
						|
    move-result-object p2
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    iget-object p2, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-virtual {p2}, Landroid/widget/CheckBox;->getText()Ljava/lang/CharSequence;
 | 
						|
 | 
						|
    move-result-object p2
 | 
						|
 | 
						|
    :goto_0
 | 
						|
    invoke-virtual {p1, p2}, Landroid/widget/CheckBox;->setText(Ljava/lang/CharSequence;)V
 | 
						|
 | 
						|
    .line 2
 | 
						|
    iget-object p1, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-virtual {p1}, Landroid/widget/CheckBox;->requestLayout()V
 | 
						|
 | 
						|
    .line 3
 | 
						|
    iget-object p1, p0, Lcom/google/android/material/chip/Chip$1;->this$0:Lcom/google/android/material/chip/Chip;
 | 
						|
 | 
						|
    invoke-virtual {p1}, Landroid/widget/CheckBox;->invalidate()V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 |