146 lines
3.7 KiB
Smali
146 lines
3.7 KiB
Smali
.class final Lcom/facebook/datasource/f$a$a;
|
|
.super Ljava/lang/Object;
|
|
.source "IncreasingQualityDataSourceSupplier.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/facebook/datasource/d;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/facebook/datasource/f$a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/facebook/datasource/d<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
.field private mIndex:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/facebook/datasource/f$a;I)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/facebook/datasource/f$a$a;->Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p2, p0, Lcom/facebook/datasource/f$a$a;->mIndex:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onCancellation(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onFailure(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/datasource/f$a$a;->Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
iget v1, p0, Lcom/facebook/datasource/f$a$a;->mIndex:I
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/facebook/datasource/f$a;->b(Lcom/facebook/datasource/f$a;ILcom/facebook/datasource/DataSource;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onNewResult(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fx()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/facebook/datasource/f$a$a;->Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
iget v1, p0, Lcom/facebook/datasource/f$a$a;->mIndex:I
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/facebook/datasource/f$a;->a(Lcom/facebook/datasource/f$a;ILcom/facebook/datasource/DataSource;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->isFinished()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/facebook/datasource/f$a$a;->Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
iget v1, p0, Lcom/facebook/datasource/f$a$a;->mIndex:I
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/facebook/datasource/f$a;->b(Lcom/facebook/datasource/f$a;ILcom/facebook/datasource/DataSource;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onProgressUpdate(Lcom/facebook/datasource/DataSource;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/datasource/DataSource<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Lcom/facebook/datasource/f$a$a;->mIndex:I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/facebook/datasource/f$a$a;->Ec:Lcom/facebook/datasource/f$a;
|
|
|
|
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getProgress()F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {v0, p1}, Lcom/facebook/datasource/f$a;->g(F)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|