427 lines
8.7 KiB
Smali
427 lines
8.7 KiB
Smali
.class public abstract Lpb/o;
|
|
.super Lpb/a;
|
|
.source "BaseDynamicGridAdapter.java"
|
|
|
|
|
|
# instance fields
|
|
.field public d:Landroid/content/Context;
|
|
|
|
.field public e:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public f:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"columnCount"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lpb/a;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
.line 3
|
|
iput-object p1, p0, Lpb/o;->d:Landroid/content/Context;
|
|
|
|
.line 4
|
|
iput p2, p0, Lpb/o;->f:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"context",
|
|
"items",
|
|
"columnCount"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"Ljava/util/List<",
|
|
"*>;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 5
|
|
invoke-direct {p0}, Lpb/a;-><init>()V
|
|
|
|
.line 6
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
.line 7
|
|
iput-object p1, p0, Lpb/o;->d:Landroid/content/Context;
|
|
|
|
.line 8
|
|
iput p3, p0, Lpb/o;->f:I
|
|
|
|
.line 9
|
|
invoke-virtual {p0, p2}, Lpb/o;->m(Ljava/util/List;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"originalPosition",
|
|
"newPosition"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lpb/o;->getCount()I
|
|
|
|
move-result v0
|
|
|
|
if-ge p2, v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-static {v0, p1, p2}, Lcom/skt/tmap/util/s;->d(Ljava/util/List;II)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(I)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"position"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public g(ILjava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"position",
|
|
"item"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p2}, Lpb/a;->d(Ljava/lang/Object;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1, p2}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getColumnCount()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lpb/o;->f:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getCount()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getItem(I)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"position"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public h(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"item"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lpb/a;->d(Ljava/lang/Object;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i(Ljava/util/List;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"items"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lpb/a;->c(Ljava/util/List;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public j()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lpb/a;->e()V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public k()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lpb/o;->d:Landroid/content/Context;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public l()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Object;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final m(Ljava/util/List;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"items"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lpb/a;->c(Ljava/util/List;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public n(Ljava/lang/Object;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"item"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lpb/o;->e:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Lpb/a;->f(Ljava/lang/Object;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public o(Ljava/util/List;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"items"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lpb/o;->j()V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Lpb/o;->m(Ljava/util/List;)V
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public p(I)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0
|
|
}
|
|
names = {
|
|
"columnCount"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput p1, p0, Lpb/o;->f:I
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
|
|
|
|
return-void
|
|
.end method
|