252 lines
7.1 KiB
Smali
252 lines
7.1 KiB
Smali
.class public abstract Lcom/facebook/imagepipeline/c/a;
|
|
.super Lcom/facebook/datasource/a;
|
|
.source "AbstractProducerToDataSourceAdapter.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Lcom/facebook/datasource/a<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Ljavax/annotation/concurrent/ThreadSafe;
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
.field private final PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
|
|
# direct methods
|
|
.method protected constructor <init>(Lcom/facebook/imagepipeline/i/ak;Lcom/facebook/imagepipeline/i/aq;Lcom/facebook/imagepipeline/g/c;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/imagepipeline/i/ak<",
|
|
"TT;>;",
|
|
"Lcom/facebook/imagepipeline/i/aq;",
|
|
"Lcom/facebook/imagepipeline/g/c;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Lcom/facebook/datasource/a;-><init>()V
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
iput-object p2, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iput-object p3, p0, Lcom/facebook/imagepipeline/c/a;->Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
iget-object p3, p0, Lcom/facebook/imagepipeline/c/a;->Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
iget-object v0, p2, Lcom/facebook/imagepipeline/i/d;->Fa:Lcom/facebook/imagepipeline/request/b;
|
|
|
|
iget-object v1, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v1, v1, Lcom/facebook/imagepipeline/i/d;->EZ:Ljava/lang/Object;
|
|
|
|
iget-object v2, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v2, v2, Lcom/facebook/imagepipeline/i/d;->mId:Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
invoke-virtual {v3}, Lcom/facebook/imagepipeline/i/aq;->isPrefetch()Z
|
|
|
|
move-result v3
|
|
|
|
invoke-interface {p3, v0, v1, v2, v3}, Lcom/facebook/imagepipeline/g/c;->a(Lcom/facebook/imagepipeline/request/b;Ljava/lang/Object;Ljava/lang/String;Z)V
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
new-instance p3, Lcom/facebook/imagepipeline/c/a$1;
|
|
|
|
invoke-direct {p3, p0}, Lcom/facebook/imagepipeline/c/a$1;-><init>(Lcom/facebook/imagepipeline/c/a;)V
|
|
|
|
invoke-interface {p1, p3, p2}, Lcom/facebook/imagepipeline/i/ak;->a(Lcom/facebook/imagepipeline/i/k;Lcom/facebook/imagepipeline/i/al;)V
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
invoke-static {}, Lcom/facebook/imagepipeline/j/b;->isTracing()Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/facebook/imagepipeline/c/a;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/facebook/imagepipeline/c/a;->ib()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/facebook/imagepipeline/c/a;Ljava/lang/Throwable;)V
|
|
.locals 3
|
|
|
|
invoke-super {p0, p1}, Lcom/facebook/datasource/a;->d(Ljava/lang/Throwable;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/facebook/imagepipeline/c/a;->Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
iget-object v1, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v1, v1, Lcom/facebook/imagepipeline/i/d;->Fa:Lcom/facebook/imagepipeline/request/b;
|
|
|
|
iget-object v2, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v2, v2, Lcom/facebook/imagepipeline/i/d;->mId:Ljava/lang/String;
|
|
|
|
iget-object p0, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
invoke-virtual {p0}, Lcom/facebook/imagepipeline/i/aq;->isPrefetch()Z
|
|
|
|
move-result p0
|
|
|
|
invoke-interface {v0, v1, v2, p1, p0}, Lcom/facebook/imagepipeline/g/c;->a(Lcom/facebook/imagepipeline/request/b;Ljava/lang/String;Ljava/lang/Throwable;Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/facebook/imagepipeline/c/a;F)Z
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1}, Lcom/facebook/imagepipeline/c/a;->g(F)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private declared-synchronized ib()V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lcom/facebook/imagepipeline/c/a;->isClosed()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Lcom/facebook/common/d/i;->checkState(Z)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a(Ljava/lang/Object;I)V
|
|
.locals 2
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(TT;I)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {p2}, Lcom/facebook/imagepipeline/i/b;->av(I)Z
|
|
|
|
move-result p2
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/facebook/datasource/a;->a(Ljava/lang/Object;Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/facebook/imagepipeline/c/a;->Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
iget-object p2, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object p2, p2, Lcom/facebook/imagepipeline/i/d;->Fa:Lcom/facebook/imagepipeline/request/b;
|
|
|
|
iget-object v0, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v0, v0, Lcom/facebook/imagepipeline/i/d;->mId:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
invoke-virtual {v1}, Lcom/facebook/imagepipeline/i/aq;->isPrefetch()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Lcom/facebook/imagepipeline/g/c;->a(Lcom/facebook/imagepipeline/request/b;Ljava/lang/String;Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final fD()Z
|
|
.locals 2
|
|
|
|
invoke-super {p0}, Lcom/facebook/datasource/a;->fD()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
invoke-super {p0}, Lcom/facebook/datasource/a;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/facebook/imagepipeline/c/a;->Oq:Lcom/facebook/imagepipeline/g/c;
|
|
|
|
iget-object v1, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
iget-object v1, v1, Lcom/facebook/imagepipeline/i/d;->mId:Ljava/lang/String;
|
|
|
|
invoke-interface {v0, v1}, Lcom/facebook/imagepipeline/g/c;->as(Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/facebook/imagepipeline/c/a;->PU:Lcom/facebook/imagepipeline/i/aq;
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/imagepipeline/i/d;->iW()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/facebook/imagepipeline/i/d;->j(Ljava/util/List;)V
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|