Changes of com.discord v1203

This commit is contained in:
root 2020-07-22 00:04:40 +00:00
parent f5b3431acc
commit 3a1c655a31
17605 changed files with 1308150 additions and 1361472 deletions

View file

@ -1,35 +0,0 @@
.class public interface abstract Lf/g/h/a/a/a;
.super Ljava/lang/Object;
.source "AnimationBackend.java"
# interfaces
.implements Lf/g/h/a/a/d;
# virtual methods
.method public abstract clear()V
.end method
.method public abstract d(Landroid/graphics/ColorFilter;)V
.end method
.method public abstract f(I)V
.param p1 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
to = 0xffL
.end annotation
.end param
.end method
.method public abstract g()I
.end method
.method public abstract h(Landroid/graphics/Rect;)V
.end method
.method public abstract i()I
.end method
.method public abstract j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.end method

View file

@ -1,233 +0,0 @@
.class public Lf/g/h/a/a/b;
.super Ljava/lang/Object;
.source "AnimationBackendDelegate.java"
# interfaces
.implements Lf/g/h/a/a/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lf/g/h/a/a/a;",
">",
"Ljava/lang/Object;",
"Lf/g/h/a/a/a;"
}
.end annotation
# instance fields
.field public a:Lf/g/h/a/a/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public b:Landroid/graphics/Rect;
# direct methods
.method public constructor <init>(Lf/g/h/a/a/a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
return-void
.end method
# virtual methods
.method public a()I
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/d;->a()I
move-result v0
:goto_0
return v0
.end method
.method public b()I
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/d;->b()I
move-result v0
:goto_0
return v0
.end method
.method public clear()V
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->clear()V
:cond_0
return-void
.end method
.method public d(Landroid/graphics/ColorFilter;)V
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->d(Landroid/graphics/ColorFilter;)V
:cond_0
return-void
.end method
.method public e(I)I
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-nez v0, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
invoke-interface {v0, p1}, Lf/g/h/a/a/d;->e(I)I
move-result p1
:goto_0
return p1
.end method
.method public f(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
to = 0xffL
.end annotation
.end param
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->f(I)V
:cond_0
return-void
.end method
.method public g()I
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->g()I
move-result v0
:goto_0
return v0
.end method
.method public h(Landroid/graphics/Rect;)V
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->h(Landroid/graphics/Rect;)V
:cond_0
iput-object p1, p0, Lf/g/h/a/a/b;->b:Landroid/graphics/Rect;
return-void
.end method
.method public i()I
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->i()I
move-result v0
:goto_0
return v0
.end method
.method public j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 1
iget-object v0, p0, Lf/g/h/a/a/b;->a:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1, p2, p3}, Lf/g/h/a/a/a;->j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method

View file

@ -1,107 +0,0 @@
.class public Lf/g/h/a/a/c$a;
.super Ljava/lang/Object;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lf/g/h/a/a/c;
# direct methods
.method public constructor <init>(Lf/g/h/a/a/c;)V
.locals 0
iput-object p1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 7
iget-object v0, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
const/4 v2, 0x0
iput-boolean v2, v1, Lf/g/h/a/a/c;->e:Z
iget-object v1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
iget-object v3, v1, Lf/g/h/a/a/c;->c:Lf/g/d/k/b;
invoke-interface {v3}, Lf/g/d/k/b;->now()J
move-result-wide v3
iget-wide v5, v1, Lf/g/h/a/a/c;->f:J
sub-long/2addr v3, v5
iget-wide v5, v1, Lf/g/h/a/a/c;->g:J
cmp-long v1, v3, v5
if-lez v1, :cond_0
const/4 v2, 0x1
:cond_0
if-eqz v2, :cond_1
iget-object v1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
iget-object v1, v1, Lf/g/h/a/a/c;->i:Lf/g/h/a/a/c$b;
if-eqz v1, :cond_2
iget-object v1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
iget-object v1, v1, Lf/g/h/a/a/c;->i:Lf/g/h/a/a/c$b;
invoke-interface {v1}, Lf/g/h/a/a/c$b;->c()V
goto :goto_0
:cond_1
iget-object v1, p0, Lf/g/h/a/a/c$a;->d:Lf/g/h/a/a/c;
invoke-virtual {v1}, Lf/g/h/a/a/c;->c()V
:cond_2
:goto_0
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method

View file

@ -1,19 +0,0 @@
.class public interface abstract Lf/g/h/a/a/c$b;
.super Ljava/lang/Object;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "b"
.end annotation
# virtual methods
.method public abstract c()V
.end method

View file

@ -1,143 +0,0 @@
.class public Lf/g/h/a/a/c;
.super Lf/g/h/a/a/b;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/g/h/a/a/c$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lf/g/h/a/a/a;",
">",
"Lf/g/h/a/a/b<",
"TT;>;"
}
.end annotation
# instance fields
.field public final c:Lf/g/d/k/b;
.field public final d:Ljava/util/concurrent/ScheduledExecutorService;
.field public e:Z
.field public f:J
.field public g:J
.field public h:J
.field public i:Lf/g/h/a/a/c$b;
.field public final j:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>(Lf/g/h/a/a/a;Lf/g/h/a/a/c$b;Lf/g/d/k/b;Ljava/util/concurrent/ScheduledExecutorService;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lf/g/h/a/a/c$b;",
"Lf/g/d/k/b;",
"Ljava/util/concurrent/ScheduledExecutorService;",
")V"
}
.end annotation
invoke-direct {p0, p1}, Lf/g/h/a/a/b;-><init>(Lf/g/h/a/a/a;)V
const/4 p1, 0x0
iput-boolean p1, p0, Lf/g/h/a/a/c;->e:Z
const-wide/16 v0, 0x7d0
iput-wide v0, p0, Lf/g/h/a/a/c;->g:J
const-wide/16 v0, 0x3e8
iput-wide v0, p0, Lf/g/h/a/a/c;->h:J
new-instance p1, Lf/g/h/a/a/c$a;
invoke-direct {p1, p0}, Lf/g/h/a/a/c$a;-><init>(Lf/g/h/a/a/c;)V
iput-object p1, p0, Lf/g/h/a/a/c;->j:Ljava/lang/Runnable;
iput-object p2, p0, Lf/g/h/a/a/c;->i:Lf/g/h/a/a/c$b;
iput-object p3, p0, Lf/g/h/a/a/c;->c:Lf/g/d/k/b;
iput-object p4, p0, Lf/g/h/a/a/c;->d:Ljava/util/concurrent/ScheduledExecutorService;
return-void
.end method
# virtual methods
.method public final declared-synchronized c()V
.locals 5
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lf/g/h/a/a/c;->e:Z
if-nez v0, :cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lf/g/h/a/a/c;->e:Z
iget-object v0, p0, Lf/g/h/a/a/c;->d:Ljava/util/concurrent/ScheduledExecutorService;
iget-object v1, p0, Lf/g/h/a/a/c;->j:Ljava/lang/Runnable;
iget-wide v2, p0, Lf/g/h/a/a/c;->h:J
sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-interface {v0, v1, v2, v3, v4}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 2
iget-object v0, p0, Lf/g/h/a/a/c;->c:Lf/g/d/k/b;
invoke-interface {v0}, Lf/g/d/k/b;->now()J
move-result-wide v0
iput-wide v0, p0, Lf/g/h/a/a/c;->f:J
invoke-super {p0, p1, p2, p3}, Lf/g/h/a/a/b;->j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result p1
invoke-virtual {p0}, Lf/g/h/a/a/c;->c()V
return p1
.end method

View file

@ -1,14 +0,0 @@
.class public interface abstract Lf/g/h/a/a/d;
.super Ljava/lang/Object;
.source "AnimationInformation.java"
# virtual methods
.method public abstract a()I
.end method
.method public abstract b()I
.end method
.method public abstract e(I)I
.end method

View file

@ -1,805 +0,0 @@
.class public Lf/g/h/a/b/a;
.super Ljava/lang/Object;
.source "BitmapAnimationBackend.java"
# interfaces
.implements Lf/g/h/a/a/a;
.implements Lf/g/h/a/a/c$b;
# static fields
.field public static final l:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field public final a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field public final b:Lf/g/h/a/b/b;
.field public final c:Lf/g/h/a/a/d;
.field public final d:Lf/g/h/a/b/c;
.field public final e:Lf/g/h/a/b/e/a;
.field public final f:Lf/g/h/a/b/e/b;
.field public final g:Landroid/graphics/Paint;
.field public h:Landroid/graphics/Rect;
.field public i:I
.field public j:I
.field public k:Landroid/graphics/Bitmap$Config;
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/b/a;
sput-object v0, Lf/g/h/a/b/a;->l:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/h/a/b/b;Lf/g/h/a/a/d;Lf/g/h/a/b/c;Lf/g/h/a/b/e/a;Lf/g/h/a/b/e/b;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget-object v0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
iput-object v0, p0, Lf/g/h/a/b/a;->k:Landroid/graphics/Bitmap$Config;
iput-object p1, p0, Lf/g/h/a/b/a;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
iput-object p3, p0, Lf/g/h/a/b/a;->c:Lf/g/h/a/a/d;
iput-object p4, p0, Lf/g/h/a/b/a;->d:Lf/g/h/a/b/c;
iput-object p5, p0, Lf/g/h/a/b/a;->e:Lf/g/h/a/b/e/a;
iput-object p6, p0, Lf/g/h/a/b/a;->f:Lf/g/h/a/b/e/b;
new-instance p1, Landroid/graphics/Paint;
const/4 p2, 0x6
invoke-direct {p1, p2}, Landroid/graphics/Paint;-><init>(I)V
iput-object p1, p0, Lf/g/h/a/b/a;->g:Landroid/graphics/Paint;
invoke-virtual {p0}, Lf/g/h/a/b/a;->n()V
return-void
.end method
# virtual methods
.method public a()I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->c:Lf/g/h/a/a/d;
invoke-interface {v0}, Lf/g/h/a/a/d;->a()I
move-result v0
return v0
.end method
.method public b()I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->c:Lf/g/h/a/a/d;
invoke-interface {v0}, Lf/g/h/a/a/d;->b()I
move-result v0
return v0
.end method
.method public c()V
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
invoke-interface {v0}, Lf/g/h/a/b/b;->clear()V
return-void
.end method
.method public clear()V
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
invoke-interface {v0}, Lf/g/h/a/b/b;->clear()V
return-void
.end method
.method public d(Landroid/graphics/ColorFilter;)V
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->g:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColorFilter(Landroid/graphics/ColorFilter;)Landroid/graphics/ColorFilter;
return-void
.end method
.method public e(I)I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/a;->c:Lf/g/h/a/a/d;
invoke-interface {v0, p1}, Lf/g/h/a/a/d;->e(I)I
move-result p1
return p1
.end method
.method public f(I)V
.locals 1
.param p1 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
to = 0xffL
.end annotation
.end param
iget-object v0, p0, Lf/g/h/a/b/a;->g:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setAlpha(I)V
return-void
.end method
.method public g()I
.locals 1
iget v0, p0, Lf/g/h/a/b/a;->j:I
return v0
.end method
.method public h(Landroid/graphics/Rect;)V
.locals 5
iput-object p1, p0, Lf/g/h/a/b/a;->h:Landroid/graphics/Rect;
iget-object v0, p0, Lf/g/h/a/b/a;->d:Lf/g/h/a/b/c;
check-cast v0, Lf/g/h/a/b/f/b;
iget-object v1, v0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
check-cast v1, Lf/g/j/a/c/a;
iget-object v2, v1, Lf/g/j/a/c/a;->c:Lf/g/j/a/a/c;
invoke-static {v2, p1}, Lf/g/j/a/c/a;->a(Lf/g/j/a/a/c;Landroid/graphics/Rect;)Landroid/graphics/Rect;
move-result-object v2
iget-object v3, v1, Lf/g/j/a/c/a;->d:Landroid/graphics/Rect;
invoke-virtual {v2, v3}, Landroid/graphics/Rect;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
goto :goto_0
:cond_0
new-instance v2, Lf/g/j/a/c/a;
iget-object v3, v1, Lf/g/j/a/c/a;->a:Lf/g/j/a/d/a;
iget-object v4, v1, Lf/g/j/a/c/a;->b:Lf/g/j/a/a/e;
iget-boolean v1, v1, Lf/g/j/a/c/a;->i:Z
invoke-direct {v2, v3, v4, p1, v1}, Lf/g/j/a/c/a;-><init>(Lf/g/j/a/d/a;Lf/g/j/a/a/e;Landroid/graphics/Rect;Z)V
move-object v1, v2
:goto_0
iget-object p1, v0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
if-eq v1, p1, :cond_1
iput-object v1, v0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
new-instance p1, Lf/g/j/a/c/d;
iget-object v2, v0, Lf/g/h/a/b/f/b;->d:Lf/g/j/a/c/d$a;
invoke-direct {p1, v1, v2}, Lf/g/j/a/c/d;-><init>(Lf/g/j/a/a/a;Lf/g/j/a/c/d$a;)V
iput-object p1, v0, Lf/g/h/a/b/f/b;->c:Lf/g/j/a/c/d;
:cond_1
invoke-virtual {p0}, Lf/g/h/a/b/a;->n()V
return-void
.end method
.method public i()I
.locals 1
iget v0, p0, Lf/g/h/a/b/a;->i:I
return v0
.end method
.method public j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 16
move-object/from16 v7, p0
move/from16 v0, p3
const/4 v1, 0x0
move-object/from16 v2, p2
invoke-virtual {v7, v2, v0, v1}, Lf/g/h/a/b/a;->l(Landroid/graphics/Canvas;II)Z
move-result v8
iget-object v1, v7, Lf/g/h/a/b/a;->e:Lf/g/h/a/b/e/a;
if-eqz v1, :cond_4
iget-object v9, v7, Lf/g/h/a/b/a;->f:Lf/g/h/a/b/e/b;
if-eqz v9, :cond_4
iget-object v10, v7, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
move-object v11, v1
check-cast v11, Lf/g/h/a/b/e/d;
const/4 v1, 0x1
const/4 v12, 0x1
:goto_0
iget v1, v11, Lf/g/h/a/b/e/d;->a:I
if-gt v12, v1, :cond_4
add-int v1, v0, v12
invoke-virtual/range {p0 .. p0}, Lf/g/h/a/b/a;->a()I
move-result v2
rem-int v5, v1, v2
const/4 v1, 0x2
invoke-static {v1}, Lf/g/d/e/a;->g(I)Z
move-result v1
if-eqz v1, :cond_0
sget-object v1, Lf/g/h/a/b/e/d;->b:Ljava/lang/Class;
const-string v2, "Preparing frame %d, last drawn: %d"
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static/range {p3 .. p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-static {v1, v2, v3, v4}, Lf/g/d/e/a;->j(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
:cond_0
move-object v13, v9
check-cast v13, Lf/g/h/a/b/e/c;
if-eqz v13, :cond_3
invoke-virtual/range {p0 .. p0}, Ljava/lang/Object;->hashCode()I
move-result v1
mul-int/lit8 v1, v1, 0x1f
add-int v14, v1, v5
iget-object v15, v13, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
monitor-enter v15
:try_start_0
iget-object v1, v13, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
invoke-virtual {v1, v14}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v1
if-eqz v1, :cond_1
sget-object v1, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v2, "Already scheduled decode job for frame %d"
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static {v1, v2, v3}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
monitor-exit v15
goto :goto_1
:cond_1
invoke-interface {v10, v5}, Lf/g/h/a/b/b;->c(I)Z
move-result v1
if-eqz v1, :cond_2
sget-object v1, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v2, "Frame %d is cached already."
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static {v1, v2, v3}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
monitor-exit v15
goto :goto_1
:cond_2
new-instance v6, Lf/g/h/a/b/e/c$a;
move-object v1, v6
move-object v2, v13
move-object/from16 v3, p0
move-object v4, v10
move-object v0, v6
move v6, v14
invoke-direct/range {v1 .. v6}, Lf/g/h/a/b/e/c$a;-><init>(Lf/g/h/a/b/e/c;Lf/g/h/a/a/a;Lf/g/h/a/b/b;II)V
iget-object v1, v13, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
invoke-virtual {v1, v14, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
iget-object v1, v13, Lf/g/h/a/b/e/c;->d:Ljava/util/concurrent/ExecutorService;
invoke-interface {v1, v0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
monitor-exit v15
:goto_1
add-int/lit8 v12, v12, 0x1
move/from16 v0, p3
goto :goto_0
:catchall_0
move-exception v0
monitor-exit v15
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
:cond_3
const/4 v0, 0x0
throw v0
:cond_4
return v8
.end method
.method public final k(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;",
"Landroid/graphics/Canvas;",
"I)Z"
}
.end annotation
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iget-object v0, p0, Lf/g/h/a/b/a;->h:Landroid/graphics/Rect;
if-nez v0, :cond_1
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/graphics/Bitmap;
iget-object v1, p0, Lf/g/h/a/b/a;->g:Landroid/graphics/Paint;
const/4 v2, 0x0
invoke-virtual {p3, v0, v2, v2, v1}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
goto :goto_0
:cond_1
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/graphics/Bitmap;
const/4 v1, 0x0
iget-object v2, p0, Lf/g/h/a/b/a;->h:Landroid/graphics/Rect;
iget-object v3, p0, Lf/g/h/a/b/a;->g:Landroid/graphics/Paint;
invoke-virtual {p3, v0, v1, v2, v3}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V
:goto_0
const/4 p3, 0x3
if-eq p4, p3, :cond_2
iget-object p3, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
invoke-interface {p3, p1, p2, p4}, Lf/g/h/a/b/b;->e(ILcom/facebook/common/references/CloseableReference;I)V
:cond_2
const/4 p1, 0x1
return p1
.end method
.method public final l(Landroid/graphics/Canvas;II)Z
.locals 9
const/4 v0, 0x2
const/4 v1, -0x1
const/4 v2, 0x1
const/4 v3, 0x3
const/4 v4, 0x0
const/4 v5, 0x0
if-eqz p3, :cond_5
if-eq p3, v2, :cond_3
if-eq p3, v0, :cond_1
if-eq p3, v3, :cond_0
invoke-static {v5}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
return v4
:cond_0
:try_start_0
iget-object p3, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
invoke-interface {p3, p2}, Lf/g/h/a/b/b;->f(I)Lcom/facebook/common/references/CloseableReference;
move-result-object v5
invoke-virtual {p0, p2, v5, p1, v3}, Lf/g/h/a/b/a;->k(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, -0x1
goto :goto_2
:cond_1
:try_start_1
iget-object p3, p0, Lf/g/h/a/b/a;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iget v6, p0, Lf/g/h/a/b/a;->i:I
iget v7, p0, Lf/g/h/a/b/a;->j:I
iget-object v8, p0, Lf/g/h/a/b/a;->k:Landroid/graphics/Bitmap$Config;
invoke-virtual {p3, v6, v7, v8}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->a(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object v5
:try_end_1
.catch Ljava/lang/RuntimeException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
invoke-virtual {p0, p2, v5}, Lf/g/h/a/b/a;->m(ILcom/facebook/common/references/CloseableReference;)Z
move-result p3
if-eqz p3, :cond_2
invoke-virtual {p0, p2, v5, p1, v0}, Lf/g/h/a/b/a;->k(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
if-eqz p3, :cond_2
goto :goto_0
:cond_2
const/4 v2, 0x0
:goto_0
move p3, v2
const/4 v0, 0x3
goto :goto_2
:catch_0
move-exception p1
sget-object p2, Lf/g/h/a/b/a;->l:Ljava/lang/Class;
const-string p3, "Failed to create frame bitmap"
invoke-static {p2, p3, p1}, Lf/g/d/e/a;->n(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
invoke-static {v5}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
return v4
:cond_3
:try_start_3
iget-object p3, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
iget v3, p0, Lf/g/h/a/b/a;->i:I
iget v6, p0, Lf/g/h/a/b/a;->j:I
invoke-interface {p3, p2, v3, v6}, Lf/g/h/a/b/b;->a(III)Lcom/facebook/common/references/CloseableReference;
move-result-object v5
invoke-virtual {p0, p2, v5}, Lf/g/h/a/b/a;->m(ILcom/facebook/common/references/CloseableReference;)Z
move-result p3
if-eqz p3, :cond_4
invoke-virtual {p0, p2, v5, p1, v2}, Lf/g/h/a/b/a;->k(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
if-eqz p3, :cond_4
goto :goto_1
:cond_4
const/4 v2, 0x0
:goto_1
move p3, v2
goto :goto_2
:cond_5
iget-object p3, p0, Lf/g/h/a/b/a;->b:Lf/g/h/a/b/b;
invoke-interface {p3, p2}, Lf/g/h/a/b/b;->d(I)Lcom/facebook/common/references/CloseableReference;
move-result-object v5
invoke-virtual {p0, p2, v5, p1, v4}, Lf/g/h/a/b/a;->k(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
const/4 v0, 0x1
:goto_2
invoke-static {v5}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
if-nez p3, :cond_7
if-ne v0, v1, :cond_6
goto :goto_3
:cond_6
invoke-virtual {p0, p1, p2, v0}, Lf/g/h/a/b/a;->l(Landroid/graphics/Canvas;II)Z
move-result p1
return p1
:cond_7
:goto_3
return p3
:catchall_0
move-exception p1
invoke-static {v5}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
throw p1
.end method
.method public final m(ILcom/facebook/common/references/CloseableReference;)Z
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)Z"
}
.end annotation
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_0
iget-object v0, p0, Lf/g/h/a/b/a;->d:Lf/g/h/a/b/c;
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/graphics/Bitmap;
check-cast v0, Lf/g/h/a/b/f/b;
invoke-virtual {v0, p1, v1}, Lf/g/h/a/b/f/b;->a(ILandroid/graphics/Bitmap;)Z
move-result p1
if-nez p1, :cond_1
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_1
return p1
.end method
.method public final n()V
.locals 2
iget-object v0, p0, Lf/g/h/a/b/a;->d:Lf/g/h/a/b/c;
check-cast v0, Lf/g/h/a/b/f/b;
iget-object v0, v0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
check-cast v0, Lf/g/j/a/c/a;
iget-object v0, v0, Lf/g/j/a/c/a;->c:Lf/g/j/a/a/c;
invoke-interface {v0}, Lf/g/j/a/a/c;->getWidth()I
move-result v0
iput v0, p0, Lf/g/h/a/b/a;->i:I
const/4 v1, -0x1
if-ne v0, v1, :cond_1
iget-object v0, p0, Lf/g/h/a/b/a;->h:Landroid/graphics/Rect;
if-nez v0, :cond_0
const/4 v0, -0x1
goto :goto_0
:cond_0
invoke-virtual {v0}, Landroid/graphics/Rect;->width()I
move-result v0
:goto_0
iput v0, p0, Lf/g/h/a/b/a;->i:I
:cond_1
iget-object v0, p0, Lf/g/h/a/b/a;->d:Lf/g/h/a/b/c;
check-cast v0, Lf/g/h/a/b/f/b;
iget-object v0, v0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
check-cast v0, Lf/g/j/a/c/a;
iget-object v0, v0, Lf/g/j/a/c/a;->c:Lf/g/j/a/a/c;
invoke-interface {v0}, Lf/g/j/a/a/c;->getHeight()I
move-result v0
iput v0, p0, Lf/g/h/a/b/a;->j:I
if-ne v0, v1, :cond_3
iget-object v0, p0, Lf/g/h/a/b/a;->h:Landroid/graphics/Rect;
if-nez v0, :cond_2
goto :goto_1
:cond_2
invoke-virtual {v0}, Landroid/graphics/Rect;->height()I
move-result v1
:goto_1
iput v1, p0, Lf/g/h/a/b/a;->j:I
:cond_3
return-void
.end method

View file

@ -1,66 +0,0 @@
.class public interface abstract Lf/g/h/a/b/b;
.super Ljava/lang/Object;
.source "BitmapFrameCache.java"
# virtual methods
.method public abstract a(III)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(III)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end method
.method public abstract b(ILcom/facebook/common/references/CloseableReference;I)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
.end method
.method public abstract c(I)Z
.end method
.method public abstract clear()V
.end method
.method public abstract d(I)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end method
.method public abstract e(ILcom/facebook/common/references/CloseableReference;I)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
.end method
.method public abstract f(I)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end method

View file

@ -1,3 +0,0 @@
.class public interface abstract Lf/g/h/a/b/c;
.super Ljava/lang/Object;
.source "BitmapFrameRenderer.java"

View file

@ -1,657 +0,0 @@
.class public Lf/g/h/a/b/d/a;
.super Ljava/lang/Object;
.source "FrescoFrameCache.java"
# interfaces
.implements Lf/g/h/a/b/b;
# static fields
.field public static final e:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field public final a:Lf/g/j/a/c/c;
.field public final b:Z
.field public final c:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/image/CloseableImage;",
">;>;"
}
.end annotation
.end field
.field public d:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/image/CloseableImage;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/b/d/a;
sput-object v0, Lf/g/h/a/b/d/a;->e:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lf/g/j/a/c/c;Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
iput-boolean p2, p0, Lf/g/h/a/b/d/a;->b:Z
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
return-void
.end method
.method public static g(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/image/CloseableImage;",
">;)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
:try_start_0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v0
instance-of v0, v0, Lf/g/j/j/c;
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lf/g/j/j/c;
if-eqz v0, :cond_0
monitor-enter v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-object v1, v0, Lf/g/j/j/c;->d:Lcom/facebook/common/references/CloseableReference;
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->close()V
return-object v1
:catchall_0
move-exception v1
:try_start_3
monitor-exit v0
throw v1
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:cond_0
const/4 v0, 0x0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
return-object v0
:catchall_1
move-exception v0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
throw v0
.end method
# virtual methods
.method public declared-synchronized a(III)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(III)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-boolean p1, p0, Lf/g/h/a/b/d/a;->b:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez p1, :cond_0
const/4 p1, 0x0
monitor-exit p0
return-object p1
:cond_0
:try_start_1
iget-object p1, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
invoke-virtual {p1}, Lf/g/j/a/c/c;->b()Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Lf/g/h/a/b/d/a;->g(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized b(ILcom/facebook/common/references/CloseableReference;I)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
monitor-enter p0
const/4 p3, 0x0
:try_start_0
new-instance v0, Lf/g/j/j/c;
sget-object v1, Lf/g/j/j/d;->d:Lcom/facebook/imagepipeline/image/QualityInfo;
const/4 v2, 0x0
invoke-direct {v0, p2, v1, v2, v2}, Lf/g/j/j/c;-><init>(Lcom/facebook/common/references/CloseableReference;Lcom/facebook/imagepipeline/image/QualityInfo;II)V
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
move-result-object p3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-nez p3, :cond_1
if-eqz p3, :cond_0
:try_start_1
invoke-virtual {p3}, Lcom/facebook/common/references/CloseableReference;->close()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
:cond_0
monitor-exit p0
return-void
:cond_1
:try_start_2
iget-object p2, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
iget-object v0, p2, Lf/g/j/a/c/c;->b:Lf/g/j/c/l;
new-instance v1, Lf/g/j/a/c/c$b;
iget-object v2, p2, Lf/g/j/a/c/c;->a:Lcom/facebook/cache/common/CacheKey;
invoke-direct {v1, v2, p1}, Lf/g/j/a/c/c$b;-><init>(Lcom/facebook/cache/common/CacheKey;I)V
iget-object p2, p2, Lf/g/j/a/c/c;->c:Lf/g/j/c/l$d;
invoke-virtual {v0, v1, p3, p2}, Lf/g/j/c/l;->c(Ljava/lang/Object;Lcom/facebook/common/references/CloseableReference;Lf/g/j/c/l$d;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-eqz v0, :cond_3
iget-object v0, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/references/CloseableReference;
if-eqz v0, :cond_2
invoke-virtual {v0}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_2
iget-object v0, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v0, p1, p2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
sget-object p2, Lf/g/h/a/b/d/a;->e:Ljava/lang/Class;
const-string v0, "cachePreparedFrame(%d) cached. Pending frames: %s"
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iget-object v1, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-static {p2, v0, p1, v1}, Lf/g/d/e/a;->j(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:cond_3
:try_start_3
invoke-virtual {p3}, Lcom/facebook/common/references/CloseableReference;->close()V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
monitor-exit p0
return-void
:catchall_0
move-exception p1
:try_start_4
invoke-static {p3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
throw p1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
:catchall_1
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized c(I)Z
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
invoke-virtual {v0, p1}, Lf/g/j/a/c/c;->a(I)Z
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized clear()V
.locals 2
monitor-enter p0
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/d/a;->d:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
const/4 v0, 0x0
iput-object v0, p0, Lf/g/h/a/b/d/a;->d:Lcom/facebook/common/references/CloseableReference;
const/4 v0, 0x0
:goto_0
iget-object v1, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v1}, Landroid/util/SparseArray;->size()I
move-result v1
if-ge v0, v1, :cond_1
iget-object v1, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v1, v0}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/facebook/common/references/CloseableReference;
if-eqz v1, :cond_0
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
iget-object v0, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v0}, Landroid/util/SparseArray;->clear()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
.method public declared-synchronized d(I)Lcom/facebook/common/references/CloseableReference;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
iget-object v1, v0, Lf/g/j/a/c/c;->b:Lf/g/j/c/l;
new-instance v2, Lf/g/j/a/c/c$b;
iget-object v0, v0, Lf/g/j/a/c/c;->a:Lcom/facebook/cache/common/CacheKey;
invoke-direct {v2, v0, p1}, Lf/g/j/a/c/c$b;-><init>(Lcom/facebook/cache/common/CacheKey;I)V
invoke-virtual {v1, v2}, Lf/g/j/c/l;->get(Ljava/lang/Object;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Lf/g/h/a/b/d/a;->g(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized e(ILcom/facebook/common/references/CloseableReference;I)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
monitor-enter p0
const/4 p3, 0x0
if-eqz p2, :cond_3
:try_start_0
invoke-virtual {p0, p1}, Lf/g/h/a/b/d/a;->h(I)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
new-instance v0, Lf/g/j/j/c;
sget-object v1, Lf/g/j/j/d;->d:Lcom/facebook/imagepipeline/image/QualityInfo;
const/4 v2, 0x0
invoke-direct {v0, p2, v1, v2, v2}, Lf/g/j/j/c;-><init>(Lcom/facebook/common/references/CloseableReference;Lcom/facebook/imagepipeline/image/QualityInfo;II)V
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->q(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
move-result-object p3
if-eqz p3, :cond_1
iget-object p2, p0, Lf/g/h/a/b/d/a;->d:Lcom/facebook/common/references/CloseableReference;
if-eqz p2, :cond_0
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_0
iget-object p2, p0, Lf/g/h/a/b/d/a;->a:Lf/g/j/a/c/c;
iget-object v0, p2, Lf/g/j/a/c/c;->b:Lf/g/j/c/l;
new-instance v1, Lf/g/j/a/c/c$b;
iget-object v2, p2, Lf/g/j/a/c/c;->a:Lcom/facebook/cache/common/CacheKey;
invoke-direct {v1, v2, p1}, Lf/g/j/a/c/c$b;-><init>(Lcom/facebook/cache/common/CacheKey;I)V
iget-object p1, p2, Lf/g/j/a/c/c;->c:Lf/g/j/c/l$d;
invoke-virtual {v0, v1, p3, p1}, Lf/g/j/c/l;->c(Ljava/lang/Object;Lcom/facebook/common/references/CloseableReference;Lf/g/j/c/l$d;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
iput-object p1, p0, Lf/g/h/a/b/d/a;->d:Lcom/facebook/common/references/CloseableReference;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:cond_1
if-eqz p3, :cond_2
:try_start_2
invoke-virtual {p3}, Lcom/facebook/common/references/CloseableReference;->close()V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:cond_2
monitor-exit p0
return-void
:catchall_0
move-exception p1
:try_start_3
invoke-static {p3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
throw p1
:cond_3
throw p3
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:catchall_1
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized f(I)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object p1, p0, Lf/g/h/a/b/d/a;->d:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Lf/g/h/a/b/d/a;->g(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized h(I)V
.locals 3
monitor-enter p0
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/common/references/CloseableReference;
if-eqz v0, :cond_0
iget-object v1, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-virtual {v1, p1}, Landroid/util/SparseArray;->delete(I)V
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
sget-object v0, Lf/g/h/a/b/d/a;->e:Ljava/lang/Class;
const-string v1, "removePreparedReference(%d) removed. Pending frames: %s"
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iget-object v2, p0, Lf/g/h/a/b/d/a;->c:Landroid/util/SparseArray;
invoke-static {v0, v1, p1, v2}, Lf/g/d/e/a;->j(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_0
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method

View file

@ -1,344 +0,0 @@
.class public Lf/g/h/a/b/d/b;
.super Ljava/lang/Object;
.source "KeepLastFrameCache.java"
# interfaces
.implements Lf/g/h/a/b/b;
# instance fields
.field public a:I
.field public b:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lf/g/h/a/b/d/b;->a:I
return-void
.end method
# virtual methods
.method public declared-synchronized a(III)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(III)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object p1, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
invoke-virtual {p0}, Lf/g/h/a/b/d/b;->g()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
:try_start_2
invoke-virtual {p0}, Lf/g/h/a/b/d/b;->g()V
throw p1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:catchall_1
move-exception p1
monitor-exit p0
throw p1
.end method
.method public b(ILcom/facebook/common/references/CloseableReference;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
return-void
.end method
.method public declared-synchronized c(I)Z
.locals 1
monitor-enter p0
:try_start_0
iget v0, p0, Lf/g/h/a/b/d/b;->a:I
if-ne p1, v0, :cond_0
iget-object p1, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
monitor-exit p0
return p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized clear()V
.locals 1
monitor-enter p0
:try_start_0
invoke-virtual {p0}, Lf/g/h/a/b/d/b;->g()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
.method public declared-synchronized d(I)Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget v0, p0, Lf/g/h/a/b/d/b;->a:I
if-ne v0, p1, :cond_0
iget-object p1, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:cond_0
const/4 p1, 0x0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized e(ILcom/facebook/common/references/CloseableReference;I)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
monitor-enter p0
if-eqz p2, :cond_0
:try_start_0
iget-object p3, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
if-eqz p3, :cond_0
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object p3
check-cast p3, Landroid/graphics/Bitmap;
iget-object v0, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-virtual {v0}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p3, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz p3, :cond_0
monitor-exit p0
return-void
:cond_0
:try_start_1
iget-object p3, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {p3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
iput-object p2, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
iput p1, p0, Lf/g/h/a/b/d/b;->a:I
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized f(I)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object p1, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->d(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized g()V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
const/4 v0, 0x0
iput-object v0, p0, Lf/g/h/a/b/d/b;->b:Lcom/facebook/common/references/CloseableReference;
const/4 v0, -0x1
iput v0, p0, Lf/g/h/a/b/d/b;->a:I
: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

View file

@ -1,108 +0,0 @@
.class public Lf/g/h/a/b/d/c;
.super Ljava/lang/Object;
.source "NoOpCache.java"
# interfaces
.implements Lf/g/h/a/b/b;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(III)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(III)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method public b(ILcom/facebook/common/references/CloseableReference;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
return-void
.end method
.method public c(I)Z
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public clear()V
.locals 0
return-void
.end method
.method public d(I)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method public e(ILcom/facebook/common/references/CloseableReference;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)V"
}
.end annotation
return-void
.end method
.method public f(I)Lcom/facebook/common/references/CloseableReference;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method

View file

@ -1,3 +0,0 @@
.class public interface abstract Lf/g/h/a/b/e/a;
.super Ljava/lang/Object;
.source "BitmapFramePreparationStrategy.java"

View file

@ -1,3 +0,0 @@
.class public interface abstract Lf/g/h/a/b/e/b;
.super Ljava/lang/Object;
.source "BitmapFramePreparer.java"

View file

@ -1,433 +0,0 @@
.class public Lf/g/h/a/b/e/c$a;
.super Ljava/lang/Object;
.source "DefaultBitmapFramePreparer.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/b/e/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
# instance fields
.field public final d:Lf/g/h/a/b/b;
.field public final e:Lf/g/h/a/a/a;
.field public final f:I
.field public final g:I
.field public final synthetic h:Lf/g/h/a/b/e/c;
# direct methods
.method public constructor <init>(Lf/g/h/a/b/e/c;Lf/g/h/a/a/a;Lf/g/h/a/b/b;II)V
.locals 0
iput-object p1, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lf/g/h/a/b/e/c$a;->e:Lf/g/h/a/a/a;
iput-object p3, p0, Lf/g/h/a/b/e/c$a;->d:Lf/g/h/a/b/b;
iput p4, p0, Lf/g/h/a/b/e/c$a;->f:I
iput p5, p0, Lf/g/h/a/b/e/c$a;->g:I
return-void
.end method
# virtual methods
.method public final a(II)Z
.locals 7
const/4 v0, -0x1
const/4 v1, 0x1
const/4 v2, 0x2
const/4 v3, 0x0
if-eq p2, v1, :cond_1
const/4 v1, 0x0
if-eq p2, v2, :cond_0
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
return v1
:cond_0
:try_start_0
iget-object v2, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v2, v2, Lf/g/h/a/b/e/c;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iget-object v4, p0, Lf/g/h/a/b/e/c$a;->e:Lf/g/h/a/a/a;
invoke-interface {v4}, Lf/g/h/a/a/a;->i()I
move-result v4
iget-object v5, p0, Lf/g/h/a/b/e/c$a;->e:Lf/g/h/a/a/a;
invoke-interface {v5}, Lf/g/h/a/a/a;->g()I
move-result v5
iget-object v6, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v6, v6, Lf/g/h/a/b/e/c;->c:Landroid/graphics/Bitmap$Config;
invoke-virtual {v2, v4, v5, v6}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->a(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
:try_end_0
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
move-object v3, v1
const/4 v2, -0x1
goto :goto_0
:catch_0
move-exception p1
:try_start_1
sget-object p2, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v0, "Failed to create frame bitmap"
invoke-static {p2, v0, p1}, Lf/g/d/e/a;->n(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
return v1
:cond_1
:try_start_2
iget-object v1, p0, Lf/g/h/a/b/e/c$a;->d:Lf/g/h/a/b/b;
iget-object v4, p0, Lf/g/h/a/b/e/c$a;->e:Lf/g/h/a/a/a;
invoke-interface {v4}, Lf/g/h/a/a/a;->i()I
move-result v4
iget-object v5, p0, Lf/g/h/a/b/e/c$a;->e:Lf/g/h/a/a/a;
invoke-interface {v5}, Lf/g/h/a/a/a;->g()I
move-result v5
invoke-interface {v1, p1, v4, v5}, Lf/g/h/a/b/b;->a(III)Lcom/facebook/common/references/CloseableReference;
move-result-object v1
move-object v3, v1
:goto_0
invoke-virtual {p0, p1, v3, p2}, Lf/g/h/a/b/e/c$a;->b(ILcom/facebook/common/references/CloseableReference;I)Z
move-result p2
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
if-eqz v3, :cond_2
invoke-virtual {v3}, Lcom/facebook/common/references/CloseableReference;->close()V
:cond_2
if-nez p2, :cond_4
if-ne v2, v0, :cond_3
goto :goto_1
:cond_3
invoke-virtual {p0, p1, v2}, Lf/g/h/a/b/e/c$a;->a(II)Z
move-result p1
return p1
:cond_4
:goto_1
return p2
:catchall_0
move-exception p1
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->f(Lcom/facebook/common/references/CloseableReference;)V
throw p1
.end method
.method public final b(ILcom/facebook/common/references/CloseableReference;I)Z
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;I)Z"
}
.end annotation
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->o(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_0
return v1
:cond_0
iget-object v0, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v0, v0, Lf/g/h/a/b/e/c;->b:Lf/g/h/a/b/c;
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->h()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/graphics/Bitmap;
check-cast v0, Lf/g/h/a/b/f/b;
invoke-virtual {v0, p1, v2}, Lf/g/h/a/b/f/b;->a(ILandroid/graphics/Bitmap;)Z
move-result p1
if-nez p1, :cond_1
return v1
:cond_1
sget-object p1, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v0, "Frame %d ready."
iget v1, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {p1, v0, v1}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
iget-object p1, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object p1, p1, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
monitor-enter p1
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/e/c$a;->d:Lf/g/h/a/b/b;
iget v1, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-interface {v0, v1, p2, p3}, Lf/g/h/a/b/b;->b(ILcom/facebook/common/references/CloseableReference;I)V
monitor-exit p1
const/4 p1, 0x1
return p1
:catchall_0
move-exception p2
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p2
.end method
.method public run()V
.locals 5
:try_start_0
iget-object v0, p0, Lf/g/h/a/b/e/c$a;->d:Lf/g/h/a/b/b;
iget v1, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-interface {v0, v1}, Lf/g/h/a/b/b;->c(I)Z
move-result v0
if-eqz v0, :cond_0
sget-object v0, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v1, "Frame %d is cached already."
iget v2, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v0, v1, v2}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_2
iget-object v0, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v0, v0, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
monitor-enter v0
:try_start_1
iget-object v1, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v1, v1, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
iget v2, p0, Lf/g/h/a/b/e/c$a;->g:I
invoke-virtual {v1, v2}, Landroid/util/SparseArray;->remove(I)V
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v1
:cond_0
:try_start_2
iget v0, p0, Lf/g/h/a/b/e/c$a;->f:I
const/4 v1, 0x1
invoke-virtual {p0, v0, v1}, Lf/g/h/a/b/e/c$a;->a(II)Z
move-result v0
if-eqz v0, :cond_1
sget-object v0, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v1, "Prepared frame frame %d."
iget v2, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v0, v1, v2}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
goto :goto_0
:cond_1
sget-object v0, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
const-string v2, "Could not prepare frame %d."
new-array v1, v1, [Ljava/lang/Object;
const/4 v3, 0x0
iget v4, p0, Lf/g/h/a/b/e/c$a;->f:I
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v1, v3
invoke-static {v0, v2, v1}, Lf/g/d/e/a;->c(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_2
:goto_0
iget-object v0, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v0, v0, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
monitor-enter v0
:try_start_3
iget-object v1, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v1, v1, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
iget v2, p0, Lf/g/h/a/b/e/c$a;->g:I
invoke-virtual {v1, v2}, Landroid/util/SparseArray;->remove(I)V
monitor-exit v0
return-void
:catchall_1
move-exception v1
monitor-exit v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw v1
:catchall_2
move-exception v0
iget-object v1, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v1, v1, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
monitor-enter v1
:try_start_4
iget-object v2, p0, Lf/g/h/a/b/e/c$a;->h:Lf/g/h/a/b/e/c;
iget-object v2, v2, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
iget v3, p0, Lf/g/h/a/b/e/c$a;->g:I
invoke-virtual {v2, v3}, Landroid/util/SparseArray;->remove(I)V
monitor-exit v1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_3
throw v0
:catchall_3
move-exception v0
:try_start_5
monitor-exit v1
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
throw v0
.end method

View file

@ -1,79 +0,0 @@
.class public Lf/g/h/a/b/e/c;
.super Ljava/lang/Object;
.source "DefaultBitmapFramePreparer.java"
# interfaces
.implements Lf/g/h/a/b/e/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/g/h/a/b/e/c$a;
}
.end annotation
# static fields
.field public static final f:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field public final a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field public final b:Lf/g/h/a/b/c;
.field public final c:Landroid/graphics/Bitmap$Config;
.field public final d:Ljava/util/concurrent/ExecutorService;
.field public final e:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Ljava/lang/Runnable;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/b/e/c;
sput-object v0, Lf/g/h/a/b/e/c;->f:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/h/a/b/c;Landroid/graphics/Bitmap$Config;Ljava/util/concurrent/ExecutorService;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/g/h/a/b/e/c;->a:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lf/g/h/a/b/e/c;->b:Lf/g/h/a/b/c;
iput-object p3, p0, Lf/g/h/a/b/e/c;->c:Landroid/graphics/Bitmap$Config;
iput-object p4, p0, Lf/g/h/a/b/e/c;->d:Ljava/util/concurrent/ExecutorService;
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Lf/g/h/a/b/e/c;->e:Landroid/util/SparseArray;
return-void
.end method

View file

@ -1,55 +0,0 @@
.class public Lf/g/h/a/b/e/d;
.super Ljava/lang/Object;
.source "FixedNumberBitmapFramePreparationStrategy.java"
# interfaces
.implements Lf/g/h/a/b/e/a;
# static fields
.field public static final b:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field public final a:I
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/b/e/d;
sput-object v0, Lf/g/h/a/b/e/d;->b:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x3
iput v0, p0, Lf/g/h/a/b/e/d;->a:I
return-void
.end method
.method public constructor <init>(I)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lf/g/h/a/b/e/d;->a:I
return-void
.end method

View file

@ -1,68 +0,0 @@
.class public Lf/g/h/a/b/f/a;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendAnimationInformation.java"
# interfaces
.implements Lf/g/h/a/a/d;
# instance fields
.field public final a:Lf/g/j/a/a/a;
# direct methods
.method public constructor <init>(Lf/g/j/a/a/a;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/g/h/a/b/f/a;->a:Lf/g/j/a/a/a;
return-void
.end method
# virtual methods
.method public a()I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/f/a;->a:Lf/g/j/a/a/a;
check-cast v0, Lf/g/j/a/c/a;
invoke-virtual {v0}, Lf/g/j/a/c/a;->b()I
move-result v0
return v0
.end method
.method public b()I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/f/a;->a:Lf/g/j/a/a/a;
check-cast v0, Lf/g/j/a/c/a;
iget-object v0, v0, Lf/g/j/a/c/a;->c:Lf/g/j/a/a/c;
invoke-interface {v0}, Lf/g/j/a/a/c;->b()I
move-result v0
return v0
.end method
.method public e(I)I
.locals 1
iget-object v0, p0, Lf/g/h/a/b/f/a;->a:Lf/g/j/a/a/a;
check-cast v0, Lf/g/j/a/c/a;
iget-object v0, v0, Lf/g/j/a/c/a;->e:[I
aget p1, v0, p1
return p1
.end method

View file

@ -1,63 +0,0 @@
.class public Lf/g/h/a/b/f/b$a;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendFrameRenderer.java"
# interfaces
.implements Lf/g/j/a/c/d$a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/b/f/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic a:Lf/g/h/a/b/f/b;
# direct methods
.method public constructor <init>(Lf/g/h/a/b/f/b;)V
.locals 0
iput-object p1, p0, Lf/g/h/a/b/f/b$a;->a:Lf/g/h/a/b/f/b;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(ILandroid/graphics/Bitmap;)V
.locals 0
return-void
.end method
.method public b(I)Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
iget-object v0, p0, Lf/g/h/a/b/f/b$a;->a:Lf/g/h/a/b/f/b;
iget-object v0, v0, Lf/g/h/a/b/f/b;->a:Lf/g/h/a/b/b;
invoke-interface {v0, p1}, Lf/g/h/a/b/b;->d(I)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
.end method

View file

@ -1,101 +0,0 @@
.class public Lf/g/h/a/b/f/b;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendFrameRenderer.java"
# interfaces
.implements Lf/g/h/a/b/c;
# static fields
.field public static final e:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field public final a:Lf/g/h/a/b/b;
.field public b:Lf/g/j/a/a/a;
.field public c:Lf/g/j/a/c/d;
.field public final d:Lf/g/j/a/c/d$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/b/f/b;
sput-object v0, Lf/g/h/a/b/f/b;->e:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lf/g/h/a/b/b;Lf/g/j/a/a/a;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lf/g/h/a/b/f/b$a;
invoke-direct {v0, p0}, Lf/g/h/a/b/f/b$a;-><init>(Lf/g/h/a/b/f/b;)V
iput-object v0, p0, Lf/g/h/a/b/f/b;->d:Lf/g/j/a/c/d$a;
iput-object p1, p0, Lf/g/h/a/b/f/b;->a:Lf/g/h/a/b/b;
iput-object p2, p0, Lf/g/h/a/b/f/b;->b:Lf/g/j/a/a/a;
new-instance p1, Lf/g/j/a/c/d;
invoke-direct {p1, p2, v0}, Lf/g/j/a/c/d;-><init>(Lf/g/j/a/a/a;Lf/g/j/a/c/d$a;)V
iput-object p1, p0, Lf/g/h/a/b/f/b;->c:Lf/g/j/a/c/d;
return-void
.end method
# virtual methods
.method public a(ILandroid/graphics/Bitmap;)Z
.locals 3
const/4 v0, 0x1
:try_start_0
iget-object v1, p0, Lf/g/h/a/b/f/b;->c:Lf/g/j/a/c/d;
invoke-virtual {v1, p1, p2}, Lf/g/j/a/c/d;->d(ILandroid/graphics/Bitmap;)V
:try_end_0
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
return v0
:catch_0
move-exception p2
sget-object v1, Lf/g/h/a/b/f/b;->e:Ljava/lang/Class;
new-array v0, v0, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
const/4 v2, 0x0
aput-object p1, v0, v2
const-string p1, "Rendering of frame unsuccessful. Frame number: %d"
invoke-static {v1, p2, p1, v0}, Lf/g/d/e/a;->d(Ljava/lang/Class;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
return v2
.end method

View file

@ -1,51 +0,0 @@
.class public Lf/g/h/a/c/a$a;
.super Ljava/lang/Object;
.source "AnimatedDrawable2.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/c/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Lf/g/h/a/c/a;
# direct methods
.method public constructor <init>(Lf/g/h/a/c/a;)V
.locals 0
iput-object p1, p0, Lf/g/h/a/c/a$a;->d:Lf/g/h/a/c/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lf/g/h/a/c/a$a;->d:Lf/g/h/a/c/a;
iget-object v1, v0, Lf/g/h/a/c/a;->q:Ljava/lang/Runnable;
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->unscheduleSelf(Ljava/lang/Runnable;)V
iget-object v0, p0, Lf/g/h/a/c/a$a;->d:Lf/g/h/a/c/a;
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
return-void
.end method

View file

@ -1,19 +0,0 @@
.class public interface abstract Lf/g/h/a/c/a$b;
.super Ljava/lang/Object;
.source "AnimatedDrawable2.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/c/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "b"
.end annotation
# virtual methods
.method public abstract a(Lf/g/h/a/c/a;Lf/g/h/a/e/a;IZZJJJJJJJ)V
.end method

View file

@ -1,835 +0,0 @@
.class public Lf/g/h/a/c/a;
.super Landroid/graphics/drawable/Drawable;
.source "AnimatedDrawable2.java"
# interfaces
.implements Landroid/graphics/drawable/Animatable;
.implements Lf/g/f/a/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/g/h/a/c/a$b;
}
.end annotation
# static fields
.field public static final r:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
.field public static final s:Lf/g/h/a/c/b;
# instance fields
.field public d:Lf/g/h/a/a/a;
.field public e:Lf/g/h/a/e/a;
.field public volatile f:Z
.field public g:J
.field public h:J
.field public i:J
.field public j:I
.field public k:J
.field public l:J
.field public m:I
.field public volatile n:Lf/g/h/a/c/b;
.field public volatile o:Lf/g/h/a/c/a$b;
.field public p:Lf/g/g/e/e;
.field public final q:Ljava/lang/Runnable;
# direct methods
.method public static constructor <clinit>()V
.locals 1
const-class v0, Lf/g/h/a/c/a;
sput-object v0, Lf/g/h/a/c/a;->r:Ljava/lang/Class;
new-instance v0, Lf/g/h/a/c/b;
invoke-direct {v0}, Lf/g/h/a/c/b;-><init>()V
sput-object v0, Lf/g/h/a/c/a;->s:Lf/g/h/a/c/b;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lf/g/h/a/c/a;-><init>(Lf/g/h/a/a/a;)V
return-void
.end method
.method public constructor <init>(Lf/g/h/a/a/a;)V
.locals 2
invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V
const-wide/16 v0, 0x8
iput-wide v0, p0, Lf/g/h/a/c/a;->k:J
const-wide/16 v0, 0x0
iput-wide v0, p0, Lf/g/h/a/c/a;->l:J
sget-object v0, Lf/g/h/a/c/a;->s:Lf/g/h/a/c/b;
iput-object v0, p0, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
const/4 v0, 0x0
iput-object v0, p0, Lf/g/h/a/c/a;->o:Lf/g/h/a/c/a$b;
new-instance v1, Lf/g/h/a/c/a$a;
invoke-direct {v1, p0}, Lf/g/h/a/c/a$a;-><init>(Lf/g/h/a/c/a;)V
iput-object v1, p0, Lf/g/h/a/c/a;->q:Ljava/lang/Runnable;
iput-object p1, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-nez p1, :cond_0
goto :goto_0
:cond_0
new-instance v0, Lf/g/h/a/e/a;
invoke-direct {v0, p1}, Lf/g/h/a/e/a;-><init>(Lf/g/h/a/a/d;)V
:goto_0
iput-object v0, p0, Lf/g/h/a/c/a;->e:Lf/g/h/a/e/a;
return-void
.end method
# virtual methods
.method public a()V
.locals 1
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->clear()V
:cond_0
return-void
.end method
.method public draw(Landroid/graphics/Canvas;)V
.locals 26
move-object/from16 v14, p0
iget-object v0, v14, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_13
iget-object v0, v14, Lf/g/h/a/c/a;->e:Lf/g/h/a/e/a;
if-nez v0, :cond_0
goto/16 :goto_c
:cond_0
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v12
iget-boolean v0, v14, Lf/g/h/a/c/a;->f:Z
const-wide/16 v1, 0x0
if-eqz v0, :cond_1
iget-wide v3, v14, Lf/g/h/a/c/a;->g:J
sub-long v3, v12, v3
iget-wide v5, v14, Lf/g/h/a/c/a;->l:J
add-long/2addr v3, v5
goto :goto_0
:cond_1
iget-wide v3, v14, Lf/g/h/a/c/a;->h:J
invoke-static {v3, v4, v1, v2}, Ljava/lang/Math;->max(JJ)J
move-result-wide v3
:goto_0
move-wide v8, v3
iget-object v0, v14, Lf/g/h/a/c/a;->e:Lf/g/h/a/e/a;
iget-object v3, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v3}, Lf/g/h/a/a/d;->b()I
move-result v3
const/4 v4, 0x1
if-nez v3, :cond_2
const/4 v3, 0x1
goto :goto_1
:cond_2
const/4 v3, 0x0
:goto_1
if-nez v3, :cond_3
invoke-virtual {v0}, Lf/g/h/a/e/a;->a()J
move-result-wide v10
div-long v10, v8, v10
iget-object v3, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v3}, Lf/g/h/a/a/d;->b()I
move-result v3
int-to-long v1, v3
cmp-long v3, v10, v1
if-ltz v3, :cond_3
const/4 v3, -0x1
const/4 v5, -0x1
goto :goto_3
:cond_3
invoke-virtual {v0}, Lf/g/h/a/e/a;->a()J
move-result-wide v1
rem-long v1, v8, v1
const/4 v3, 0x0
const-wide/16 v10, 0x0
:goto_2
iget-object v7, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v7, v3}, Lf/g/h/a/a/d;->e(I)I
move-result v7
int-to-long v5, v7
add-long/2addr v10, v5
add-int/2addr v3, v4
cmp-long v5, v1, v10
if-gez v5, :cond_12
const/4 v5, -0x1
add-int/2addr v3, v5
:goto_3
const/4 v0, 0x0
if-ne v3, v5, :cond_5
iget-object v1, v14, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
invoke-interface {v1}, Lf/g/h/a/a/d;->a()I
move-result v1
sub-int/2addr v1, v4
iget-object v2, v14, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
if-eqz v2, :cond_4
const/4 v6, 0x0
iput-boolean v6, v14, Lf/g/h/a/c/a;->f:Z
move v3, v1
goto :goto_4
:cond_4
throw v0
:cond_5
const/4 v6, 0x0
if-nez v3, :cond_7
iget v1, v14, Lf/g/h/a/c/a;->j:I
if-eq v1, v5, :cond_7
iget-wide v1, v14, Lf/g/h/a/c/a;->i:J
cmp-long v5, v12, v1
if-ltz v5, :cond_7
iget-object v1, v14, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
if-eqz v1, :cond_6
goto :goto_4
:cond_6
throw v0
:cond_7
:goto_4
iget-object v1, v14, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
move-object/from16 v7, p1
invoke-interface {v1, v14, v7, v3}, Lf/g/h/a/a/a;->j(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result v17
if-eqz v17, :cond_9
iget-object v1, v14, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
if-eqz v1, :cond_8
iput v3, v14, Lf/g/h/a/c/a;->j:I
goto :goto_5
:cond_8
throw v0
:cond_9
:goto_5
if-nez v17, :cond_a
iget v0, v14, Lf/g/h/a/c/a;->m:I
add-int/2addr v0, v4
iput v0, v14, Lf/g/h/a/c/a;->m:I
const/4 v0, 0x2
invoke-static {v0}, Lf/g/d/e/a;->g(I)Z
move-result v0
if-eqz v0, :cond_a
sget-object v0, Lf/g/h/a/c/a;->r:Ljava/lang/Class;
iget v1, v14, Lf/g/h/a/c/a;->m:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "Dropped a frame. Count: %s"
invoke-static {v0, v2, v1}, Lf/g/d/e/a;->i(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
:cond_a
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v18
iget-boolean v0, v14, Lf/g/h/a/c/a;->f:Z
if-eqz v0, :cond_10
iget-object v0, v14, Lf/g/h/a/c/a;->e:Lf/g/h/a/e/a;
iget-wide v10, v14, Lf/g/h/a/c/a;->g:J
sub-long v10, v18, v10
invoke-virtual {v0}, Lf/g/h/a/e/a;->a()J
move-result-wide v20
const-wide/16 v15, 0x0
cmp-long v5, v20, v15
if-nez v5, :cond_b
goto :goto_7
:cond_b
iget-object v5, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v5}, Lf/g/h/a/a/d;->b()I
move-result v5
if-nez v5, :cond_c
goto :goto_6
:cond_c
const/4 v4, 0x0
:goto_6
if-nez v4, :cond_d
invoke-virtual {v0}, Lf/g/h/a/e/a;->a()J
move-result-wide v4
div-long v4, v10, v4
iget-object v7, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v7}, Lf/g/h/a/a/d;->b()I
move-result v7
int-to-long v6, v7
cmp-long v23, v4, v6
if-ltz v23, :cond_d
:goto_7
const-wide/16 v0, -0x1
const-wide/16 v15, -0x1
goto :goto_9
:cond_d
rem-long v4, v10, v20
iget-object v6, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v6}, Lf/g/h/a/a/d;->a()I
move-result v6
const/4 v7, 0x0
:goto_8
if-ge v7, v6, :cond_e
cmp-long v20, v15, v4
if-gtz v20, :cond_e
iget-object v1, v0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v1, v7}, Lf/g/h/a/a/d;->e(I)I
move-result v1
int-to-long v1, v1
add-long/2addr v15, v1
add-int/lit8 v7, v7, 0x1
goto :goto_8
:cond_e
sub-long/2addr v15, v4
add-long/2addr v15, v10
const-wide/16 v0, -0x1
:goto_9
cmp-long v2, v15, v0
if-eqz v2, :cond_f
iget-wide v0, v14, Lf/g/h/a/c/a;->k:J
add-long v1, v15, v0
iget-wide v4, v14, Lf/g/h/a/c/a;->g:J
add-long/2addr v4, v1
iput-wide v4, v14, Lf/g/h/a/c/a;->i:J
iget-object v0, v14, Lf/g/h/a/c/a;->q:Ljava/lang/Runnable;
invoke-virtual {v14, v0, v4, v5}, Landroid/graphics/drawable/Drawable;->scheduleSelf(Ljava/lang/Runnable;J)V
goto :goto_a
:cond_f
move-wide v1, v0
:goto_a
move-wide/from16 v22, v1
move-wide/from16 v20, v15
goto :goto_b
:cond_10
const-wide/16 v0, -0x1
move-wide/from16 v20, v0
move-wide/from16 v22, v20
:goto_b
iget-object v0, v14, Lf/g/h/a/c/a;->o:Lf/g/h/a/c/a$b;
if-eqz v0, :cond_11
iget-object v2, v14, Lf/g/h/a/c/a;->e:Lf/g/h/a/e/a;
iget-boolean v5, v14, Lf/g/h/a/c/a;->f:Z
iget-wide v6, v14, Lf/g/h/a/c/a;->g:J
iget-wide v10, v14, Lf/g/h/a/c/a;->h:J
move-object/from16 v1, p0
move/from16 v4, v17
move-wide/from16 v24, v8
move-wide/from16 v14, v18
move-wide/from16 v16, v20
move-wide/from16 v18, v22
invoke-interface/range {v0 .. v19}, Lf/g/h/a/c/a$b;->a(Lf/g/h/a/c/a;Lf/g/h/a/e/a;IZZJJJJJJJ)V
:cond_11
move-object/from16 v6, p0
iput-wide v8, v6, Lf/g/h/a/c/a;->h:J
return-void
:cond_12
move-object/from16 v7, p1
const-wide/16 v15, 0x0
goto/16 :goto_2
:cond_13
:goto_c
move-object v6, v14
return-void
.end method
.method public getIntrinsicHeight()I
.locals 1
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-nez v0, :cond_0
invoke-super {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I
move-result v0
return v0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->g()I
move-result v0
return v0
.end method
.method public getIntrinsicWidth()I
.locals 1
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-nez v0, :cond_0
invoke-super {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I
move-result v0
return v0
:cond_0
invoke-interface {v0}, Lf/g/h/a/a/a;->i()I
move-result v0
return v0
.end method
.method public getOpacity()I
.locals 1
const/4 v0, -0x3
return v0
.end method
.method public isRunning()Z
.locals 1
iget-boolean v0, p0, Lf/g/h/a/c/a;->f:Z
return v0
.end method
.method public onBoundsChange(Landroid/graphics/Rect;)V
.locals 1
invoke-super {p0, p1}, Landroid/graphics/drawable/Drawable;->onBoundsChange(Landroid/graphics/Rect;)V
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->h(Landroid/graphics/Rect;)V
:cond_0
return-void
.end method
.method public onLevelChange(I)Z
.locals 6
iget-boolean v0, p0, Lf/g/h/a/c/a;->f:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
:cond_0
iget-wide v2, p0, Lf/g/h/a/c/a;->h:J
int-to-long v4, p1
cmp-long p1, v2, v4
if-eqz p1, :cond_1
iput-wide v4, p0, Lf/g/h/a/c/a;->h:J
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
const/4 p1, 0x1
return p1
:cond_1
return v1
.end method
.method public setAlpha(I)V
.locals 1
iget-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
if-nez v0, :cond_0
new-instance v0, Lf/g/g/e/e;
invoke-direct {v0}, Lf/g/g/e/e;-><init>()V
iput-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
:cond_0
iget-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
iput p1, v0, Lf/g/g/e/e;->a:I
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_1
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->f(I)V
:cond_1
return-void
.end method
.method public setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 2
iget-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
if-nez v0, :cond_0
new-instance v0, Lf/g/g/e/e;
invoke-direct {v0}, Lf/g/g/e/e;-><init>()V
iput-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
:cond_0
iget-object v0, p0, Lf/g/h/a/c/a;->p:Lf/g/g/e/e;
iput-object p1, v0, Lf/g/g/e/e;->c:Landroid/graphics/ColorFilter;
const/4 v1, 0x1
iput-boolean v1, v0, Lf/g/g/e/e;->b:Z
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_1
invoke-interface {v0, p1}, Lf/g/h/a/a/a;->d(Landroid/graphics/ColorFilter;)V
:cond_1
return-void
.end method
.method public start()V
.locals 2
iget-boolean v0, p0, Lf/g/h/a/c/a;->f:Z
if-nez v0, :cond_2
iget-object v0, p0, Lf/g/h/a/c/a;->d:Lf/g/h/a/a/a;
if-eqz v0, :cond_2
invoke-interface {v0}, Lf/g/h/a/a/d;->a()I
move-result v0
const/4 v1, 0x1
if-gt v0, v1, :cond_0
goto :goto_0
:cond_0
iput-boolean v1, p0, Lf/g/h/a/c/a;->f:Z
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lf/g/h/a/c/a;->g:J
iput-wide v0, p0, Lf/g/h/a/c/a;->i:J
const-wide/16 v0, -0x1
iput-wide v0, p0, Lf/g/h/a/c/a;->h:J
const/4 v0, -0x1
iput v0, p0, Lf/g/h/a/c/a;->j:I
invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->invalidateSelf()V
iget-object v0, p0, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
if-eqz v0, :cond_1
return-void
:cond_1
const/4 v0, 0x0
throw v0
:cond_2
:goto_0
return-void
.end method
.method public stop()V
.locals 2
iget-boolean v0, p0, Lf/g/h/a/c/a;->f:Z
if-nez v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
iput-boolean v0, p0, Lf/g/h/a/c/a;->f:Z
const-wide/16 v0, 0x0
iput-wide v0, p0, Lf/g/h/a/c/a;->g:J
iput-wide v0, p0, Lf/g/h/a/c/a;->i:J
const-wide/16 v0, -0x1
iput-wide v0, p0, Lf/g/h/a/c/a;->h:J
const/4 v0, -0x1
iput v0, p0, Lf/g/h/a/c/a;->j:I
iget-object v0, p0, Lf/g/h/a/c/a;->q:Ljava/lang/Runnable;
invoke-virtual {p0, v0}, Landroid/graphics/drawable/Drawable;->unscheduleSelf(Ljava/lang/Runnable;)V
iget-object v0, p0, Lf/g/h/a/c/a;->n:Lf/g/h/a/c/b;
if-eqz v0, :cond_1
return-void
:cond_1
const/4 v0, 0x0
throw v0
.end method

View file

@ -1,13 +0,0 @@
.class public Lf/g/h/a/c/b;
.super Ljava/lang/Object;
.source "BaseAnimationListener.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,41 +0,0 @@
.class public Lf/g/h/a/d/a;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/common/internal/Supplier;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public get()Ljava/lang/Object;
.locals 1
const/4 v0, 0x2
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
return-object v0
.end method

View file

@ -1,41 +0,0 @@
.class public Lf/g/h/a/d/b;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/common/internal/Supplier;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public get()Ljava/lang/Object;
.locals 1
const/4 v0, 0x3
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
return-object v0
.end method

View file

@ -1,53 +0,0 @@
.class public Lf/g/h/a/d/c;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lf/g/j/a/c/b;
# instance fields
.field public final synthetic a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lf/g/h/a/d/c;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lf/g/j/a/a/e;Landroid/graphics/Rect;)Lf/g/j/a/a/a;
.locals 3
new-instance v0, Lf/g/j/a/c/a;
iget-object v1, p0, Lf/g/h/a/d/c;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-object v2, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
if-nez v2, :cond_0
new-instance v2, Lf/g/j/a/d/a;
invoke-direct {v2}, Lf/g/j/a/d/a;-><init>()V
iput-object v2, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
:cond_0
iget-object v1, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
iget-object v2, p0, Lf/g/h/a/d/c;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-boolean v2, v2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->d:Z
invoke-direct {v0, v1, p1, p2, v2}, Lf/g/j/a/c/a;-><init>(Lf/g/j/a/d/a;Lf/g/j/a/a/e;Landroid/graphics/Rect;Z)V
return-object v0
.end method

View file

@ -1,53 +0,0 @@
.class public Lf/g/h/a/d/d;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lf/g/j/a/c/b;
# instance fields
.field public final synthetic a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lf/g/h/a/d/d;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public a(Lf/g/j/a/a/e;Landroid/graphics/Rect;)Lf/g/j/a/a/a;
.locals 3
new-instance v0, Lf/g/j/a/c/a;
iget-object v1, p0, Lf/g/h/a/d/d;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-object v2, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
if-nez v2, :cond_0
new-instance v2, Lf/g/j/a/d/a;
invoke-direct {v2}, Lf/g/j/a/d/a;-><init>()V
iput-object v2, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
:cond_0
iget-object v1, v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->g:Lf/g/j/a/d/a;
iget-object v2, p0, Lf/g/h/a/d/d;->a:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iget-boolean v2, v2, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->d:Z
invoke-direct {v0, v1, p1, p2, v2}, Lf/g/j/a/c/a;-><init>(Lf/g/j/a/d/a;Lf/g/j/a/a/e;Landroid/graphics/Rect;Z)V
return-object v0
.end method

View file

@ -1,49 +0,0 @@
.class public Lf/g/h/a/d/e$a;
.super Ljava/lang/Object;
.source "ExperimentalBitmapAnimationDrawableFactory.java"
# interfaces
.implements Lcom/facebook/cache/common/CacheKey;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lf/g/h/a/d/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public final a:Ljava/lang/String;
# direct methods
.method public constructor <init>(I)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "anim://"
invoke-static {v0, p1}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lf/g/h/a/d/e$a;->a:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public a()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lf/g/h/a/d/e$a;->a:Ljava/lang/String;
return-object v0
.end method

View file

@ -1,312 +0,0 @@
.class public Lf/g/h/a/d/e;
.super Ljava/lang/Object;
.source "ExperimentalBitmapAnimationDrawableFactory.java"
# interfaces
.implements Lf/g/j/i/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/g/h/a/d/e$a;
}
.end annotation
# instance fields
.field public final a:Lf/g/j/a/c/b;
.field public final b:Ljava/util/concurrent/ScheduledExecutorService;
.field public final c:Ljava/util/concurrent/ExecutorService;
.field public final d:Lf/g/d/k/b;
.field public final e:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field public final f:Lf/g/j/c/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/g/j/c/l<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/image/CloseableImage;",
">;"
}
.end annotation
.end field
.field public final g:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field public final h:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lf/g/j/a/c/b;Ljava/util/concurrent/ScheduledExecutorService;Ljava/util/concurrent/ExecutorService;Lf/g/d/k/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/j/c/l;Lcom/facebook/common/internal/Supplier;Lcom/facebook/common/internal/Supplier;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lf/g/j/a/c/b;",
"Ljava/util/concurrent/ScheduledExecutorService;",
"Ljava/util/concurrent/ExecutorService;",
"Lf/g/d/k/b;",
"Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;",
"Lf/g/j/c/l<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/image/CloseableImage;",
">;",
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;",
"Lcom/facebook/common/internal/Supplier<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lf/g/h/a/d/e;->a:Lf/g/j/a/c/b;
iput-object p2, p0, Lf/g/h/a/d/e;->b:Ljava/util/concurrent/ScheduledExecutorService;
iput-object p3, p0, Lf/g/h/a/d/e;->c:Ljava/util/concurrent/ExecutorService;
iput-object p4, p0, Lf/g/h/a/d/e;->d:Lf/g/d/k/b;
iput-object p5, p0, Lf/g/h/a/d/e;->e:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p6, p0, Lf/g/h/a/d/e;->f:Lf/g/j/c/l;
iput-object p7, p0, Lf/g/h/a/d/e;->g:Lcom/facebook/common/internal/Supplier;
iput-object p8, p0, Lf/g/h/a/d/e;->h:Lcom/facebook/common/internal/Supplier;
return-void
.end method
# virtual methods
.method public createDrawable(Lcom/facebook/imagepipeline/image/CloseableImage;)Landroid/graphics/drawable/Drawable;
.locals 9
new-instance v0, Lf/g/h/a/c/a;
check-cast p1, Lf/g/j/j/a;
monitor-enter p1
:try_start_0
iget-object v1, p1, Lf/g/j/j/a;->d:Lf/g/j/a/a/e;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p1
iget-object p1, v1, Lf/g/j/a/a/e;->a:Lf/g/j/a/a/c;
new-instance v2, Landroid/graphics/Rect;
invoke-interface {p1}, Lf/g/j/a/a/c;->getWidth()I
move-result v3
invoke-interface {p1}, Lf/g/j/a/a/c;->getHeight()I
move-result p1
const/4 v4, 0x0
invoke-direct {v2, v4, v4, v3, p1}, Landroid/graphics/Rect;-><init>(IIII)V
iget-object p1, p0, Lf/g/h/a/d/e;->a:Lf/g/j/a/c/b;
invoke-interface {p1, v1, v2}, Lf/g/j/a/c/b;->a(Lf/g/j/a/a/e;Landroid/graphics/Rect;)Lf/g/j/a/a/a;
move-result-object p1
iget-object v2, p0, Lf/g/h/a/d/e;->g:Lcom/facebook/common/internal/Supplier;
invoke-interface {v2}, Lcom/facebook/common/internal/Supplier;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Integer;
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
const/4 v3, 0x1
if-eq v2, v3, :cond_2
const/4 v3, 0x2
if-eq v2, v3, :cond_1
const/4 v1, 0x3
if-eq v2, v1, :cond_0
new-instance v1, Lf/g/h/a/b/d/c;
invoke-direct {v1}, Lf/g/h/a/b/d/c;-><init>()V
goto :goto_1
:cond_0
new-instance v1, Lf/g/h/a/b/d/b;
invoke-direct {v1}, Lf/g/h/a/b/d/b;-><init>()V
goto :goto_1
:cond_1
new-instance v2, Lf/g/h/a/b/d/a;
new-instance v3, Lf/g/j/a/c/c;
new-instance v5, Lf/g/h/a/d/e$a;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
invoke-direct {v5, v1}, Lf/g/h/a/d/e$a;-><init>(I)V
iget-object v1, p0, Lf/g/h/a/d/e;->f:Lf/g/j/c/l;
invoke-direct {v3, v5, v1}, Lf/g/j/a/c/c;-><init>(Lcom/facebook/cache/common/CacheKey;Lf/g/j/c/l;)V
invoke-direct {v2, v3, v4}, Lf/g/h/a/b/d/a;-><init>(Lf/g/j/a/c/c;Z)V
goto :goto_0
:cond_2
new-instance v2, Lf/g/h/a/b/d/a;
new-instance v4, Lf/g/j/a/c/c;
new-instance v5, Lf/g/h/a/d/e$a;
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
invoke-direct {v5, v1}, Lf/g/h/a/d/e$a;-><init>(I)V
iget-object v1, p0, Lf/g/h/a/d/e;->f:Lf/g/j/c/l;
invoke-direct {v4, v5, v1}, Lf/g/j/a/c/c;-><init>(Lcom/facebook/cache/common/CacheKey;Lf/g/j/c/l;)V
invoke-direct {v2, v4, v3}, Lf/g/h/a/b/d/a;-><init>(Lf/g/j/a/c/c;Z)V
:goto_0
move-object v1, v2
:goto_1
move-object v4, v1
new-instance v6, Lf/g/h/a/b/f/b;
invoke-direct {v6, v4, p1}, Lf/g/h/a/b/f/b;-><init>(Lf/g/h/a/b/b;Lf/g/j/a/a/a;)V
iget-object v1, p0, Lf/g/h/a/d/e;->h:Lcom/facebook/common/internal/Supplier;
invoke-interface {v1}, Lcom/facebook/common/internal/Supplier;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
const/4 v2, 0x0
if-lez v1, :cond_3
new-instance v2, Lf/g/h/a/b/e/d;
invoke-direct {v2, v1}, Lf/g/h/a/b/e/d;-><init>(I)V
new-instance v1, Lf/g/h/a/b/e/c;
iget-object v3, p0, Lf/g/h/a/d/e;->e:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
sget-object v5, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
iget-object v7, p0, Lf/g/h/a/d/e;->c:Ljava/util/concurrent/ExecutorService;
invoke-direct {v1, v3, v6, v5, v7}, Lf/g/h/a/b/e/c;-><init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/h/a/b/c;Landroid/graphics/Bitmap$Config;Ljava/util/concurrent/ExecutorService;)V
move-object v8, v1
move-object v7, v2
goto :goto_2
:cond_3
move-object v7, v2
move-object v8, v7
:goto_2
new-instance v1, Lf/g/h/a/b/a;
iget-object v3, p0, Lf/g/h/a/d/e;->e:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
new-instance v5, Lf/g/h/a/b/f/a;
invoke-direct {v5, p1}, Lf/g/h/a/b/f/a;-><init>(Lf/g/j/a/a/a;)V
move-object v2, v1
invoke-direct/range {v2 .. v8}, Lf/g/h/a/b/a;-><init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lf/g/h/a/b/b;Lf/g/h/a/a/d;Lf/g/h/a/b/c;Lf/g/h/a/b/e/a;Lf/g/h/a/b/e/b;)V
iget-object p1, p0, Lf/g/h/a/d/e;->d:Lf/g/d/k/b;
iget-object v2, p0, Lf/g/h/a/d/e;->b:Ljava/util/concurrent/ScheduledExecutorService;
new-instance v3, Lf/g/h/a/a/c;
invoke-direct {v3, v1, v1, p1, v2}, Lf/g/h/a/a/c;-><init>(Lf/g/h/a/a/a;Lf/g/h/a/a/c$b;Lf/g/d/k/b;Ljava/util/concurrent/ScheduledExecutorService;)V
invoke-direct {v0, v3}, Lf/g/h/a/c/a;-><init>(Lf/g/h/a/a/a;)V
return-object v0
:catchall_0
move-exception v0
monitor-exit p1
throw v0
.end method
.method public supportsImageType(Lcom/facebook/imagepipeline/image/CloseableImage;)Z
.locals 0
instance-of p1, p1, Lf/g/j/j/a;
return p1
.end method

View file

@ -1,80 +0,0 @@
.class public Lf/g/h/a/e/a;
.super Ljava/lang/Object;
.source "DropFramesFrameScheduler.java"
# instance fields
.field public final a:Lf/g/h/a/a/d;
.field public b:J
# direct methods
.method public constructor <init>(Lf/g/h/a/a/d;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, -0x1
iput-wide v0, p0, Lf/g/h/a/e/a;->b:J
iput-object p1, p0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
return-void
.end method
# virtual methods
.method public a()J
.locals 6
iget-wide v0, p0, Lf/g/h/a/e/a;->b:J
const-wide/16 v2, -0x1
cmp-long v4, v0, v2
if-eqz v4, :cond_0
return-wide v0
:cond_0
const-wide/16 v0, 0x0
iput-wide v0, p0, Lf/g/h/a/e/a;->b:J
iget-object v0, p0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v0}, Lf/g/h/a/a/d;->a()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
iget-wide v2, p0, Lf/g/h/a/e/a;->b:J
iget-object v4, p0, Lf/g/h/a/e/a;->a:Lf/g/h/a/a/d;
invoke-interface {v4, v1}, Lf/g/h/a/a/d;->e(I)I
move-result v4
int-to-long v4, v4
add-long/2addr v2, v4
iput-wide v2, p0, Lf/g/h/a/e/a;->b:J
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
iget-wide v0, p0, Lf/g/h/a/e/a;->b:J
return-wide v0
.end method