a.smali

.class public final Lcom/opensource/svgaplayer/entities/a;
.super Ljava/lang/Object;
.source "SVGAAudioEntity.kt"


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:I

.field private final c:I

.field private final d:I

.field private final e:I

.field private f:Ljava/lang/Integer;

.field private g:Ljava/lang/Integer;


# direct methods
.method public constructor <init>(Lcom/opensource/svgaplayer/proto/AudioEntity;)V
    .registers 4

    const-string v0, "audioItem"

    invoke-static {p1, v0}, Lkotlin/jvm/internal/i;->d(Ljava/lang/Object;Ljava/lang/String;)V

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iget-object v0, p1, Lcom/opensource/svgaplayer/proto/AudioEntity;->audioKey:Ljava/lang/String;

    iput-object v0, p0, Lcom/opensource/svgaplayer/entities/a;->a:Ljava/lang/String;

    .line 2
    iget-object v0, p1, Lcom/opensource/svgaplayer/proto/AudioEntity;->startFrame:Ljava/lang/Integer;

    const/4 v1, 0x0

    if-eqz v0, :cond_16

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    goto :goto_17

    :cond_16
    const/4 v0, 0x0

    :goto_17
    iput v0, p0, Lcom/opensource/svgaplayer/entities/a;->b:I

    .line 3
    iget-object v0, p1, Lcom/opensource/svgaplayer/proto/AudioEntity;->endFrame:Ljava/lang/Integer;

    if-eqz v0, :cond_22

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    goto :goto_23

    :cond_22
    const/4 v0, 0x0

    :goto_23
    iput v0, p0, Lcom/opensource/svgaplayer/entities/a;->c:I

    .line 4
    iget-object v0, p1, Lcom/opensource/svgaplayer/proto/AudioEntity;->startTime:Ljava/lang/Integer;

    if-eqz v0, :cond_2e

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    goto :goto_2f

    :cond_2e
    const/4 v0, 0x0

    :goto_2f
    iput v0, p0, Lcom/opensource/svgaplayer/entities/a;->d:I

    .line 5
    iget-object p1, p1, Lcom/opensource/svgaplayer/proto/AudioEntity;->totalTime:Ljava/lang/Integer;

    if-eqz p1, :cond_39

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    :cond_39
    iput v1, p0, Lcom/opensource/svgaplayer/entities/a;->e:I

    return-void
.end method


# virtual methods
.method public final a()I
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/entities/a;->c:I

    return v0
.end method

.method public final a(Ljava/lang/Integer;)V
    .registers 2

    .line 2
    iput-object p1, p0, Lcom/opensource/svgaplayer/entities/a;->g:Ljava/lang/Integer;

    return-void
.end method

.method public final b()Ljava/lang/Integer;
    .registers 2

    .line 2
    iget-object v0, p0, Lcom/opensource/svgaplayer/entities/a;->g:Ljava/lang/Integer;

    return-object v0
.end method

.method public final b(Ljava/lang/Integer;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/opensource/svgaplayer/entities/a;->f:Ljava/lang/Integer;

    return-void
.end method

.method public final c()Ljava/lang/Integer;
    .registers 2

    .line 1
    iget-object v0, p0, Lcom/opensource/svgaplayer/entities/a;->f:Ljava/lang/Integer;

    return-object v0
.end method

.method public final d()I
    .registers 2

    .line 1
    iget v0, p0, Lcom/opensource/svgaplayer/entities/a;->b:I

    return v0
.end method