FontTableBox.smali
.class public Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;
.super Lcom/googlecode/mp4parser/AbstractBox;
.source "FontTableBox.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
}
.end annotation
# static fields
.field public static final TYPE:Ljava/lang/String; = "ftab"
.field private static final synthetic ajc$tjp_0:Lorg/aspectj/lang/JoinPoint$StaticPart;
.field private static final synthetic ajc$tjp_1:Lorg/aspectj/lang/JoinPoint$StaticPart;
# instance fields
.field entries:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 0
.line 1
invoke-static {}, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->ajc$preClinit()V
return-void
.end method
.method public constructor <init>()V
.registers 2
.line 21
const-string v0, "ftab"
invoke-direct {p0, v0}, Lcom/googlecode/mp4parser/AbstractBox;-><init>(Ljava/lang/String;)V
.line 18
new-instance v0, Ljava/util/LinkedList;
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
iput-object v0, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
.line 22
return-void
.end method
.method private static synthetic ajc$preClinit()V
.registers 10
.line 1
new-instance v8, Lorg/aspectj/runtime/reflect/Factory;
const-class v0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;
const-string v1, "FontTableBox.java"
invoke-direct {v8, v1, v0}, Lorg/aspectj/runtime/reflect/Factory;-><init>(Ljava/lang/String;Ljava/lang/Class;)V
const-string v1, "1"
const-string v2, "getEntries"
const-string v3, "com.googlecode.mp4parser.boxes.threegpp26245.FontTableBox"
const-string v4, ""
const-string v5, ""
const-string v6, ""
const-string v7, "java.util.List"
move-object v0, v8
invoke-virtual/range {v0 .. v7}, Lorg/aspectj/runtime/reflect/Factory;->makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;
move-result-object v0
const-string v9, "method-execution"
const/16 v1, 0x34
invoke-virtual {v8, v9, v0, v1}, Lorg/aspectj/runtime/reflect/Factory;->makeSJP(Ljava/lang/String;Lorg/aspectj/lang/Signature;I)Lorg/aspectj/lang/JoinPoint$StaticPart;
move-result-object v0
sput-object v0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->ajc$tjp_0:Lorg/aspectj/lang/JoinPoint$StaticPart;
const-string v1, "1"
const-string/jumbo v2, "setEntries"
const-string v3, "com.googlecode.mp4parser.boxes.threegpp26245.FontTableBox"
const-string v4, "java.util.List"
const-string v5, "entries"
const-string v6, ""
const-string/jumbo v7, "void"
move-object v0, v8
invoke-virtual/range {v0 .. v7}, Lorg/aspectj/runtime/reflect/Factory;->makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;
move-result-object v0
const/16 v1, 0x38
invoke-virtual {v8, v9, v0, v1}, Lorg/aspectj/runtime/reflect/Factory;->makeSJP(Ljava/lang/String;Lorg/aspectj/lang/Signature;I)Lorg/aspectj/lang/JoinPoint$StaticPart;
move-result-object v0
sput-object v0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->ajc$tjp_1:Lorg/aspectj/lang/JoinPoint$StaticPart;
return-void
.end method
# virtual methods
.method public _parseDetails(Ljava/nio/ByteBuffer;)V
.registers 6
.param p1, "content" # Ljava/nio/ByteBuffer;
.line 36
invoke-static {p1}, Lcom/coremedia/iso/IsoTypeReader;->readUInt16(Ljava/nio/ByteBuffer;)I
move-result v0
.line 37
.local v0, "numberOfRecords":I
const/4 v1, 0x0
.local v1, "i":I
:goto_5
if-lt v1, v0, :cond_8
.line 42
.end local v1 # "i":I
return-void
.line 38
.restart local v1 # "i":I
:cond_8
new-instance v2, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
invoke-direct {v2}, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;-><init>()V
.line 39
.local v2, "fr":Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
invoke-virtual {v2, p1}, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;->parse(Ljava/nio/ByteBuffer;)V
.line 40
iget-object v3, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 37
.end local v2 # "fr":Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
add-int/lit8 v1, v1, 0x1
goto :goto_5
.end method
.method protected getContent(Ljava/nio/ByteBuffer;)V
.registers 4
.param p1, "byteBuffer" # Ljava/nio/ByteBuffer;
.line 46
iget-object v0, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
invoke-static {p1, v0}, Lcom/coremedia/iso/IsoTypeWriter;->writeUInt16(Ljava/nio/ByteBuffer;I)V
.line 47
iget-object v0, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_f
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_16
.line 50
return-void
.line 47
:cond_16
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
.line 48
.local v1, "record":Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
invoke-virtual {v1, p1}, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;->getContent(Ljava/nio/ByteBuffer;)V
goto :goto_f
.end method
.method protected getContentSize()J
.registers 5
.line 26
const/4 v0, 0x2
.line 27
.local v0, "size":I
iget-object v1, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_7
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_f
.line 30
int-to-long v1, v0
return-wide v1
.line 27
:cond_f
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
.line 28
.local v2, "fontRecord":Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;
invoke-virtual {v2}, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;->getSize()I
move-result v3
add-int/2addr v0, v3
goto :goto_7
.end method
.method public getEntries()Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;",
">;"
}
.end annotation
sget-object v0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->ajc$tjp_0:Lorg/aspectj/lang/JoinPoint$StaticPart;
invoke-static {v0, p0, p0}, Lorg/aspectj/runtime/reflect/Factory;->makeJP(Lorg/aspectj/lang/JoinPoint$StaticPart;Ljava/lang/Object;Ljava/lang/Object;)Lorg/aspectj/lang/JoinPoint;
move-result-object v0
.line 53
invoke-static {}, Lcom/googlecode/mp4parser/RequiresParseDetailAspect;->aspectOf()Lcom/googlecode/mp4parser/RequiresParseDetailAspect;
move-result-object v1
invoke-virtual {v1, v0}, Lcom/googlecode/mp4parser/RequiresParseDetailAspect;->before(Lorg/aspectj/lang/JoinPoint;)V
iget-object v0, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
return-object v0
.end method
.method public setEntries(Ljava/util/List;)V
.registers 4
.param p1, "entries" # Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox$FontRecord;",
">;)V"
}
.end annotation
sget-object v0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->ajc$tjp_1:Lorg/aspectj/lang/JoinPoint$StaticPart;
invoke-static {v0, p0, p0, p1}, Lorg/aspectj/runtime/reflect/Factory;->makeJP(Lorg/aspectj/lang/JoinPoint$StaticPart;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/aspectj/lang/JoinPoint;
move-result-object v0
.line 57
invoke-static {}, Lcom/googlecode/mp4parser/RequiresParseDetailAspect;->aspectOf()Lcom/googlecode/mp4parser/RequiresParseDetailAspect;
move-result-object v1
invoke-virtual {v1, v0}, Lcom/googlecode/mp4parser/RequiresParseDetailAspect;->before(Lorg/aspectj/lang/JoinPoint;)V
iput-object p1, p0, Lcom/googlecode/mp4parser/boxes/threegpp26245/FontTableBox;->entries:Ljava/util/List;
.line 58
return-void
.end method