FontsContractCompat$FontInfo.smali
.class public Landroid/support/v4/provider/FontsContractCompat$FontInfo;
.super Ljava/lang/Object;
.source "FontsContractCompat.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/provider/FontsContractCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "FontInfo"
.end annotation
# instance fields
.field private final mItalic:Z
.field private final mResultCode:I
.field private final mTtcIndex:I
.field private final mUri:Landroid/net/Uri;
.field private final mWeight:I
# direct methods
.method public constructor <init>(Landroid/net/Uri;IIZI)V
.registers 7
.param p1 # Landroid/net/Uri;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.param p2 # I
.annotation build Landroid/support/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.param p3 # I
.annotation build Landroid/support/annotation/IntRange;
from = 0x1L
to = 0x3e8L
.end annotation
.end param
.annotation build Landroid/support/annotation/RestrictTo;
value = {
.enum Landroid/support/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroid/support/annotation/RestrictTo$Scope;
}
.end annotation
.prologue
.line 300
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 301
invoke-static {p1}, Landroid/support/v4/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/net/Uri;
iput-object v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mUri:Landroid/net/Uri;
.line 302
iput p2, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mTtcIndex:I
.line 303
iput p3, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mWeight:I
.line 304
iput-boolean p4, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mItalic:Z
.line 305
iput p5, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mResultCode:I
.line 306
return-void
.end method
# virtual methods
.method public getResultCode()I
.registers 2
.prologue
.line 342
iget v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mResultCode:I
return v0
.end method
.method public getTtcIndex()I
.registers 2
.annotation build Landroid/support/annotation/IntRange;
from = 0x0L
.end annotation
.prologue
.line 319
iget v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mTtcIndex:I
return v0
.end method
.method public getUri()Landroid/net/Uri;
.registers 2
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.prologue
.line 312
iget-object v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mUri:Landroid/net/Uri;
return-object v0
.end method
.method public getWeight()I
.registers 2
.annotation build Landroid/support/annotation/IntRange;
from = 0x1L
to = 0x3e8L
.end annotation
.prologue
.line 326
iget v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mWeight:I
return v0
.end method
.method public isItalic()Z
.registers 2
.prologue
.line 333
iget-boolean v0, p0, Landroid/support/v4/provider/FontsContractCompat$FontInfo;->mItalic:Z
return v0
.end method