e$1.smali
.class final Lcom/masala/share/proto/puller/e$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/masala/share/proto/a/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/masala/share/proto/puller/e;->a(ZLjava/lang/Object;Lcom/imo/android/imoim/feeds/c/a;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/c/a;
.field final synthetic b:Z
.field final synthetic c:Lcom/masala/share/proto/puller/e;
# direct methods
.method constructor <init>(Lcom/masala/share/proto/puller/e;Lcom/imo/android/imoim/feeds/c/a;Z)V
.registers 4
.line 165
iput-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iput-object p2, p0, Lcom/masala/share/proto/puller/e$1;->a:Lcom/imo/android/imoim/feeds/c/a;
iput-boolean p3, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(BLjava/util/List;)V
.registers 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(B",
"Ljava/util/List<",
"Lcom/masala/share/proto/model/VideoSimpleItem;",
">;)V"
}
.end annotation
.line 168
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "onGetVideoPostRecomSucceed size:"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "HotPuller"
invoke-static {v1, v0}, Lsg/bigo/log/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 170
iget-object v0, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
const/4 v2, 0x0
if-nez p1, :cond_1e
const/4 p1, 0x1
goto :goto_1f
:cond_1e
const/4 p1, 0x0
:goto_1f
invoke-static {v0, p1}, Lcom/masala/share/proto/puller/e;->a(Lcom/masala/share/proto/puller/e;Z)Z
.line 172
invoke-static {p2}, Lsg/bigo/common/o;->a(Ljava/util/Collection;)Z
move-result p1
if-eqz p1, :cond_3b
.line 173
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iget-object p2, p0, Lcom/masala/share/proto/puller/e$1;->a:Lcom/imo/android/imoim/feeds/c/a;
iget-boolean v0, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-virtual {p1, p2, v0, v2}, Lcom/masala/share/proto/puller/e;->a(Lcom/imo/android/imoim/feeds/c/a;ZI)V
.line 174
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
invoke-static {p1}, Lcom/masala/share/proto/puller/e;->a(Lcom/masala/share/proto/puller/e;)Lcom/masala/share/proto/puller/n;
move-result-object p1
invoke-virtual {p1, v2}, Lcom/masala/share/proto/puller/n;->a(I)V
return-void
.line 178
:cond_3b
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iget-boolean v0, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-virtual {p1, v0, p2}, Lcom/masala/share/proto/puller/e;->a(ZLjava/util/List;)V
.line 180
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
invoke-static {p1}, Lcom/masala/share/proto/puller/e;->a(Lcom/masala/share/proto/puller/e;)Lcom/masala/share/proto/puller/n;
move-result-object p1
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v0
invoke-virtual {p1, v0}, Lcom/masala/share/proto/puller/n;->a(I)V
.line 181
new-instance p1, Ljava/lang/StringBuilder;
const-string v0, "size from server: "
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v0
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {v1, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 182
iget-boolean p1, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
if-eqz p1, :cond_a6
.line 184
invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;
move-result-object p1
const/4 v0, 0x4
.line 187
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v3
invoke-static {v0, v3}, Ljava/lang/Math;->min(II)I
move-result v0
.line 1068
sget-object v3, Lcom/masala/share/stat/i$c;->a:Lcom/masala/share/stat/i;
const/4 v4, 0x0
:goto_78
if-ge v4, v0, :cond_a6
.line 191
invoke-interface {p2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Lcom/masala/share/proto/model/VideoSimpleItem;
iget-object v5, v5, Lcom/masala/share/proto/model/VideoSimpleItem;->cover_url:Ljava/lang/String;
const/4 v6, 0x2
.line 190
invoke-static {v5, v6}, Lcom/masala/share/utils/c;->a(Ljava/lang/String;I)[Ljava/lang/String;
move-result-object v5
aget-object v5, v5, v2
.line 193
invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v6
const-string v7, "onGetVideoPostRecomSucceed: resizeUrl = "
invoke-virtual {v7, v6}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
invoke-static {v1, v6}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 194
new-instance v6, Lcom/masala/share/utils/n;
invoke-direct {v6, v5}, Lcom/masala/share/utils/n;-><init>(Ljava/lang/String;)V
.line 195
invoke-virtual {v3, v6}, Lcom/masala/share/stat/i;->a(Lcom/masala/share/utils/n;)V
.line 196
sget-object v7, Lcom/facebook/imagepipeline/common/Priority;->HIGH:Lcom/facebook/imagepipeline/common/Priority;
invoke-static {p1, v7, v5, v6}, Lcom/masala/share/utils/g;->a(Landroid/content/Context;Lcom/facebook/imagepipeline/common/Priority;Ljava/lang/String;Lcom/facebook/imagepipeline/listener/RequestListener;)V
add-int/lit8 v4, v4, 0x1
goto :goto_78
.line 199
:cond_a6
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iget-boolean v0, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-virtual {p1, p2, v0}, Lcom/masala/share/proto/puller/e;->c(Ljava/util/List;Z)V
.line 200
iget-object p1, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iget-object v0, p0, Lcom/masala/share/proto/puller/e$1;->a:Lcom/imo/android/imoim/feeds/c/a;
iget-boolean v1, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-interface {p2}, Ljava/util/List;->size()I
move-result p2
invoke-virtual {p1, v0, v1, p2}, Lcom/masala/share/proto/puller/e;->a(Lcom/imo/android/imoim/feeds/c/a;ZI)V
return-void
.end method
.method public final a(I)V
.registers 5
.line 206
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
const-string v1, "onGetVideoPostRecomFailed error:"
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const-string v1, "HotPuller"
invoke-static {v1, v0}, Lsg/bigo/log/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
.line 207
iget-object v0, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
invoke-static {v0}, Lcom/masala/share/proto/puller/e;->a(Lcom/masala/share/proto/puller/e;)Lcom/masala/share/proto/puller/n;
move-result-object v0
invoke-virtual {v0}, Lcom/masala/share/proto/puller/n;->b()V
.line 208
iget-object v0, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/masala/share/proto/puller/e;->a(Lcom/masala/share/proto/puller/e;Z)Z
.line 209
iget-object v0, p0, Lcom/masala/share/proto/puller/e$1;->c:Lcom/masala/share/proto/puller/e;
iget-object v1, p0, Lcom/masala/share/proto/puller/e$1;->a:Lcom/imo/android/imoim/feeds/c/a;
iget-boolean v2, p0, Lcom/masala/share/proto/puller/e$1;->b:Z
invoke-virtual {v0, v1, p1, v2}, Lcom/masala/share/proto/puller/e;->a(Lcom/imo/android/imoim/feeds/c/a;IZ)V
return-void
.end method