FontsContractCompat$2.smali
.class final Landroid/support/v4/provider/FontsContractCompat$2;
.super Ljava/lang/Object;
.source "FontsContractCompat.java"
# interfaces
.implements Landroid/support/v4/provider/SelfDestructiveThread$ReplyCallback;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/support/v4/provider/SelfDestructiveThread$ReplyCallback",
"<",
"Landroid/graphics/Typeface;",
">;"
}
.end annotation
# instance fields
.field final synthetic val$style:I
.field final synthetic val$targetView:Landroid/widget/TextView;
.field final synthetic val$textViewWeak:Ljava/lang/ref/WeakReference;
# direct methods
.method constructor <init>(Ljava/lang/ref/WeakReference;Landroid/widget/TextView;I)V
.registers 4
.prologue
.line 240
iput-object p1, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$textViewWeak:Ljava/lang/ref/WeakReference;
iput-object p2, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$targetView:Landroid/widget/TextView;
iput p3, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$style:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onReply(Landroid/graphics/Typeface;)V
.registers 4
.prologue
.line 243
iget-object v0, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$textViewWeak:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
.line 244
if-eqz v0, :cond_11
.line 245
iget-object v0, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$targetView:Landroid/widget/TextView;
iget v1, p0, Landroid/support/v4/provider/FontsContractCompat$2;->val$style:I
invoke-virtual {v0, p1, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;I)V
.line 247
:cond_11
return-void
.end method
.method public bridge synthetic onReply(Ljava/lang/Object;)V
.registers 2
.prologue
.line 240
check-cast p1, Landroid/graphics/Typeface;
invoke-virtual {p0, p1}, Landroid/support/v4/provider/FontsContractCompat$2;->onReply(Landroid/graphics/Typeface;)V
return-void
.end method