apkfuckery/com.discord/smali/com/facebook/datasource/e$a$a.smali

150 lines
3.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lcom/facebook/datasource/e$a$a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "FirstAvailableDataSourceSupplier.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Lcom/facebook/datasource/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/datasource/e$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
2019-02-04 20:42:43 +00:00
.field final synthetic DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
# direct methods
.method private constructor <init>(Lcom/facebook/datasource/e$a;)V
.locals 0
2019-02-04 20:42:43 +00:00
iput-object p1, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lcom/facebook/datasource/e$a;B)V
.locals 0
invoke-direct {p0, p1}, Lcom/facebook/datasource/e$a$a;-><init>(Lcom/facebook/datasource/e$a;)V
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 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-static {v0, p1}, Lcom/facebook/datasource/e$a;->a(Lcom/facebook/datasource/e$a;Lcom/facebook/datasource/DataSource;)V
return-void
.end method
.method public final onNewResult(Lcom/facebook/datasource/DataSource;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
2019-02-04 20:32:01 +00:00
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->fx()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-static {v0, p1}, Lcom/facebook/datasource/e$a;->b(Lcom/facebook/datasource/e$a;Lcom/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
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-static {v0, p1}, Lcom/facebook/datasource/e$a;->a(Lcom/facebook/datasource/e$a;Lcom/facebook/datasource/DataSource;)V
:cond_1
return-void
.end method
.method public final onProgressUpdate(Lcom/facebook/datasource/DataSource;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/datasource/DataSource<",
"TT;>;)V"
}
.end annotation
2019-02-04 20:42:43 +00:00
iget-object v0, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lcom/facebook/datasource/e$a;->getProgress()F
move-result v0
2019-02-04 20:42:43 +00:00
iget-object v1, p0, Lcom/facebook/datasource/e$a$a;->DU:Lcom/facebook/datasource/e$a;
2019-02-04 20:08:30 +00:00
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getProgress()F
move-result p1
invoke-static {v0, p1}, Ljava/lang/Math;->max(FF)F
move-result p1
invoke-virtual {v1, p1}, Lcom/facebook/datasource/e$a;->g(F)Z
return-void
.end method