71 lines
2.8 KiB
Smali
71 lines
2.8 KiB
Smali
|
|
.class Lcom/google/android/material/resources/TextAppearance$2;
|
||
|
|
.super Lcom/google/android/material/resources/TextAppearanceFontCallback;
|
||
|
|
.source "TextAppearance.java"
|
||
|
|
|
||
|
|
|
||
|
|
# annotations
|
||
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
|
value = Lcom/google/android/material/resources/TextAppearance;->getFontAsync(Landroid/content/Context;Landroid/text/TextPaint;Lcom/google/android/material/resources/TextAppearanceFontCallback;)V
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
|
accessFlags = 0x0
|
||
|
|
name = null
|
||
|
|
.end annotation
|
||
|
|
|
||
|
|
|
||
|
|
# instance fields
|
||
|
|
.field final synthetic this$0:Lcom/google/android/material/resources/TextAppearance;
|
||
|
|
|
||
|
|
.field final synthetic val$callback:Lcom/google/android/material/resources/TextAppearanceFontCallback;
|
||
|
|
|
||
|
|
.field final synthetic val$textPaint:Landroid/text/TextPaint;
|
||
|
|
|
||
|
|
|
||
|
|
# direct methods
|
||
|
|
.method constructor <init>(Lcom/google/android/material/resources/TextAppearance;Landroid/text/TextPaint;Lcom/google/android/material/resources/TextAppearanceFontCallback;)V
|
||
|
|
.locals 0
|
||
|
|
|
||
|
|
.line 238
|
||
|
|
iput-object p1, p0, Lcom/google/android/material/resources/TextAppearance$2;->this$0:Lcom/google/android/material/resources/TextAppearance;
|
||
|
|
|
||
|
|
iput-object p2, p0, Lcom/google/android/material/resources/TextAppearance$2;->val$textPaint:Landroid/text/TextPaint;
|
||
|
|
|
||
|
|
iput-object p3, p0, Lcom/google/android/material/resources/TextAppearance$2;->val$callback:Lcom/google/android/material/resources/TextAppearanceFontCallback;
|
||
|
|
|
||
|
|
invoke-direct {p0}, Lcom/google/android/material/resources/TextAppearanceFontCallback;-><init>()V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
|
||
|
|
# virtual methods
|
||
|
|
.method public onFontRetrievalFailed(I)V
|
||
|
|
.locals 1
|
||
|
|
|
||
|
|
.line 248
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/resources/TextAppearance$2;->val$callback:Lcom/google/android/material/resources/TextAppearanceFontCallback;
|
||
|
|
|
||
|
|
invoke-virtual {v0, p1}, Lcom/google/android/material/resources/TextAppearanceFontCallback;->onFontRetrievalFailed(I)V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|
||
|
|
|
||
|
|
.method public onFontRetrieved(Landroid/graphics/Typeface;Z)V
|
||
|
|
.locals 2
|
||
|
|
|
||
|
|
.line 242
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/resources/TextAppearance$2;->this$0:Lcom/google/android/material/resources/TextAppearance;
|
||
|
|
|
||
|
|
iget-object v1, p0, Lcom/google/android/material/resources/TextAppearance$2;->val$textPaint:Landroid/text/TextPaint;
|
||
|
|
|
||
|
|
invoke-virtual {v0, v1, p1}, Lcom/google/android/material/resources/TextAppearance;->updateTextPaintMeasureState(Landroid/text/TextPaint;Landroid/graphics/Typeface;)V
|
||
|
|
|
||
|
|
.line 243
|
||
|
|
iget-object v0, p0, Lcom/google/android/material/resources/TextAppearance$2;->val$callback:Lcom/google/android/material/resources/TextAppearanceFontCallback;
|
||
|
|
|
||
|
|
invoke-virtual {v0, p1, p2}, Lcom/google/android/material/resources/TextAppearanceFontCallback;->onFontRetrieved(Landroid/graphics/Typeface;Z)V
|
||
|
|
|
||
|
|
return-void
|
||
|
|
.end method
|