Changes of com.discord v998

This commit is contained in:
root 2019-12-06 04:29:40 +01:00
parent dc3b174a87
commit a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions

View file

@ -1,33 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/a/a;
.super Ljava/lang/Object;
.source "AnimationBackend.java"
# interfaces
.implements Lcom/facebook/fresco/animation/a/d;
# virtual methods
.method public abstract a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.end method
.method public abstract b(Landroid/graphics/Rect;)V
.end method
.method public abstract clear()V
.end method
.method public abstract getIntrinsicHeight()I
.end method
.method public abstract getIntrinsicWidth()I
.end method
.method public abstract setAlpha(I)V
.end method
.method public abstract setColorFilter(Landroid/graphics/ColorFilter;)V
.param p1 # Landroid/graphics/ColorFilter;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.end method

View file

@ -1,250 +0,0 @@
.class public Lcom/facebook/fresco/animation/a/b;
.super Ljava/lang/Object;
.source "AnimationBackendDelegate.java"
# interfaces
.implements Lcom/facebook/fresco/animation/a/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/facebook/fresco/animation/a/a;",
">",
"Ljava/lang/Object;",
"Lcom/facebook/fresco/animation/a/a;"
}
.end annotation
# instance fields
.field private PM:Lcom/facebook/fresco/animation/a/a;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private mAlpha:I
.field private mBounds:Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private mColorFilter:Landroid/graphics/ColorFilter;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/a/a;)V
.locals 1
.param p1 # Lcom/facebook/fresco/animation/a/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
iput v0, p0, Lcom/facebook/fresco/animation/a/b;->mAlpha:I
iput-object p1, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
return-void
.end method
# virtual methods
.method public final U(I)I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->U(I)I
move-result p1
return p1
.end method
.method public a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/fresco/animation/a/a;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final b(Landroid/graphics/Rect;)V
.locals 1
.param p1 # Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->b(Landroid/graphics/Rect;)V
:cond_0
iput-object p1, p0, Lcom/facebook/fresco/animation/a/b;->mBounds:Landroid/graphics/Rect;
return-void
.end method
.method public final clear()V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->clear()V
:cond_0
return-void
.end method
.method public final fH()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->fH()I
move-result v0
return v0
.end method
.method public final fJ()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez v0, :cond_0
const/4 v0, 0x0
return v0
:cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->fJ()I
move-result v0
return v0
.end method
.method public final getIntrinsicHeight()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez v0, :cond_0
const/4 v0, -0x1
return v0
:cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicHeight()I
move-result v0
return v0
.end method
.method public final getIntrinsicWidth()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez v0, :cond_0
const/4 v0, -0x1
return v0
:cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicWidth()I
move-result v0
return v0
.end method
.method public final setAlpha(I)V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->setAlpha(I)V
:cond_0
iput p1, p0, Lcom/facebook/fresco/animation/a/b;->mAlpha:I
return-void
.end method
.method public final setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/a/b;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->setColorFilter(Landroid/graphics/ColorFilter;)V
:cond_0
iput-object p1, p0, Lcom/facebook/fresco/animation/a/b;->mColorFilter:Landroid/graphics/ColorFilter;
return-void
.end method

View file

@ -1,107 +0,0 @@
.class final Lcom/facebook/fresco/animation/a/c$1;
.super Ljava/lang/Object;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic PU:Lcom/facebook/fresco/animation/a/c;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/a/c;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 7
iget-object v0, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
const/4 v2, 0x0
iput-boolean v2, v1, Lcom/facebook/fresco/animation/a/c;->PO:Z
iget-object v1, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
iget-object v3, v1, Lcom/facebook/fresco/animation/a/c;->KZ:Lcom/facebook/common/time/b;
invoke-interface {v3}, Lcom/facebook/common/time/b;->now()J
move-result-wide v3
iget-wide v5, v1, Lcom/facebook/fresco/animation/a/c;->PP:J
sub-long/2addr v3, v5
iget-wide v5, v1, Lcom/facebook/fresco/animation/a/c;->PQ: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, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
iget-object v1, v1, Lcom/facebook/fresco/animation/a/c;->PS:Lcom/facebook/fresco/animation/a/c$a;
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
iget-object v1, v1, Lcom/facebook/fresco/animation/a/c;->PS:Lcom/facebook/fresco/animation/a/c$a;
invoke-interface {v1}, Lcom/facebook/fresco/animation/a/c$a;->onInactive()V
goto :goto_0
:cond_1
iget-object v1, p0, Lcom/facebook/fresco/animation/a/c$1;->PU:Lcom/facebook/fresco/animation/a/c;
invoke-virtual {v1}, Lcom/facebook/fresco/animation/a/c;->hZ()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 Lcom/facebook/fresco/animation/a/c$a;
.super Ljava/lang/Object;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/a/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "a"
.end annotation
# virtual methods
.method public abstract onInactive()V
.end method

View file

@ -1,154 +0,0 @@
.class public final Lcom/facebook/fresco/animation/a/c;
.super Lcom/facebook/fresco/animation/a/b;
.source "AnimationBackendDelegateWithInactivityCheck.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/fresco/animation/a/c$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/facebook/fresco/animation/a/a;",
">",
"Lcom/facebook/fresco/animation/a/b<",
"TT;>;"
}
.end annotation
# instance fields
.field final KZ:Lcom/facebook/common/time/b;
.field private final PN:Ljava/util/concurrent/ScheduledExecutorService;
.field PO:Z
.field PP:J
.field PQ:J
.field private PR:J
.field PS:Lcom/facebook/fresco/animation/a/c$a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final PT:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/a/a;Lcom/facebook/fresco/animation/a/c$a;Lcom/facebook/common/time/b;Ljava/util/concurrent/ScheduledExecutorService;)V
.locals 2
.param p1 # Lcom/facebook/fresco/animation/a/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p2 # Lcom/facebook/fresco/animation/a/c$a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;",
"Lcom/facebook/fresco/animation/a/c$a;",
"Lcom/facebook/common/time/b;",
"Ljava/util/concurrent/ScheduledExecutorService;",
")V"
}
.end annotation
invoke-direct {p0, p1}, Lcom/facebook/fresco/animation/a/b;-><init>(Lcom/facebook/fresco/animation/a/a;)V
const/4 p1, 0x0
iput-boolean p1, p0, Lcom/facebook/fresco/animation/a/c;->PO:Z
const-wide/16 v0, 0x7d0
iput-wide v0, p0, Lcom/facebook/fresco/animation/a/c;->PQ:J
const-wide/16 v0, 0x3e8
iput-wide v0, p0, Lcom/facebook/fresco/animation/a/c;->PR:J
new-instance p1, Lcom/facebook/fresco/animation/a/c$1;
invoke-direct {p1, p0}, Lcom/facebook/fresco/animation/a/c$1;-><init>(Lcom/facebook/fresco/animation/a/c;)V
iput-object p1, p0, Lcom/facebook/fresco/animation/a/c;->PT:Ljava/lang/Runnable;
iput-object p2, p0, Lcom/facebook/fresco/animation/a/c;->PS:Lcom/facebook/fresco/animation/a/c$a;
iput-object p3, p0, Lcom/facebook/fresco/animation/a/c;->KZ:Lcom/facebook/common/time/b;
iput-object p4, p0, Lcom/facebook/fresco/animation/a/c;->PN:Ljava/util/concurrent/ScheduledExecutorService;
return-void
.end method
# virtual methods
.method public final a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 2
iget-object v0, p0, Lcom/facebook/fresco/animation/a/c;->KZ:Lcom/facebook/common/time/b;
invoke-interface {v0}, Lcom/facebook/common/time/b;->now()J
move-result-wide v0
iput-wide v0, p0, Lcom/facebook/fresco/animation/a/c;->PP:J
invoke-super {p0, p1, p2, p3}, Lcom/facebook/fresco/animation/a/b;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result p1
invoke-virtual {p0}, Lcom/facebook/fresco/animation/a/c;->hZ()V
return p1
.end method
.method final declared-synchronized hZ()V
.locals 5
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/fresco/animation/a/c;->PO:Z
if-nez v0, :cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/facebook/fresco/animation/a/c;->PO:Z
iget-object v0, p0, Lcom/facebook/fresco/animation/a/c;->PN:Ljava/util/concurrent/ScheduledExecutorService;
iget-object v1, p0, Lcom/facebook/fresco/animation/a/c;->PT:Ljava/lang/Runnable;
iget-wide v2, p0, Lcom/facebook/fresco/animation/a/c;->PR: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

View file

@ -1,14 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/a/d;
.super Ljava/lang/Object;
.source "AnimationInformation.java"
# virtual methods
.method public abstract U(I)I
.end method
.method public abstract fH()I
.end method
.method public abstract fJ()I
.end method

View file

@ -1,603 +0,0 @@
.class public Lcom/facebook/fresco/animation/b/a;
.super Ljava/lang/Object;
.source "BitmapAnimationBackend.java"
# interfaces
.implements Lcom/facebook/fresco/animation/a/a;
.implements Lcom/facebook/fresco/animation/a/c$a;
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field private final PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field private final PW:Lcom/facebook/fresco/animation/b/b;
.field private final PY:Lcom/facebook/fresco/animation/a/d;
.field private final PZ:Lcom/facebook/fresco/animation/b/c;
.field private final Qa:Lcom/facebook/fresco/animation/b/b/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final Qb:Lcom/facebook/fresco/animation/b/b/b;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private Qc:Landroid/graphics/Bitmap$Config;
.field private mBitmapHeight:I
.field private mBitmapWidth:I
.field private mBounds:Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final mPaint:Landroid/graphics/Paint;
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/b/a;
sput-object v0, Lcom/facebook/fresco/animation/b/a;->GS:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/d;Lcom/facebook/fresco/animation/b/c;Lcom/facebook/fresco/animation/b/b/a;Lcom/facebook/fresco/animation/b/b/b;)V
.locals 1
.param p5 # Lcom/facebook/fresco/animation/b/b/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p6 # Lcom/facebook/fresco/animation/b/b/b;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
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, Lcom/facebook/fresco/animation/b/a;->Qc:Landroid/graphics/Bitmap$Config;
iput-object p1, p0, Lcom/facebook/fresco/animation/b/a;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
iput-object p3, p0, Lcom/facebook/fresco/animation/b/a;->PY:Lcom/facebook/fresco/animation/a/d;
iput-object p4, p0, Lcom/facebook/fresco/animation/b/a;->PZ:Lcom/facebook/fresco/animation/b/c;
iput-object p5, p0, Lcom/facebook/fresco/animation/b/a;->Qa:Lcom/facebook/fresco/animation/b/b/a;
iput-object p6, p0, Lcom/facebook/fresco/animation/b/a;->Qb:Lcom/facebook/fresco/animation/b/b/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, Lcom/facebook/fresco/animation/b/a;->mPaint:Landroid/graphics/Paint;
invoke-direct {p0}, Lcom/facebook/fresco/animation/b/a;->ia()V
return-void
.end method
.method private a(ILcom/facebook/common/references/CloseableReference;)Z
.locals 2
.param p2 # Lcom/facebook/common/references/CloseableReference;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.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;->a(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, Lcom/facebook/fresco/animation/b/a;->PZ:Lcom/facebook/fresco/animation/b/c;
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/graphics/Bitmap;
invoke-interface {v0, p1, v1}, Lcom/facebook/fresco/animation/b/c;->a(ILandroid/graphics/Bitmap;)Z
move-result p1
if-nez p1, :cond_1
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:cond_1
return p1
.end method
.method private a(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
.locals 4
.param p2 # Lcom/facebook/common/references/CloseableReference;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.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;->a(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, Lcom/facebook/fresco/animation/b/a;->mBounds:Landroid/graphics/Rect;
if-nez v0, :cond_1
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/graphics/Bitmap;
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a;->mPaint: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;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/graphics/Bitmap;
const/4 v1, 0x0
iget-object v2, p0, Lcom/facebook/fresco/animation/b/a;->mBounds:Landroid/graphics/Rect;
iget-object v3, p0, Lcom/facebook/fresco/animation/b/a;->mPaint: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, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {p3, p1, p2}, Lcom/facebook/fresco/animation/b/b;->b(ILcom/facebook/common/references/CloseableReference;)V
:cond_2
const/4 p1, 0x1
return p1
.end method
.method private a(Landroid/graphics/Canvas;II)Z
.locals 9
:goto_0
const/4 v0, -0x1
const/4 v1, 0x3
const/4 v2, 0x2
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x1
if-eqz p3, :cond_5
if-eq p3, v5, :cond_3
if-eq p3, v2, :cond_1
if-eq p3, v1, :cond_0
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
return v4
:cond_0
:try_start_0
iget-object p3, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {p3}, Lcom/facebook/fresco/animation/b/b;->ib()Lcom/facebook/common/references/CloseableReference;
move-result-object v3
invoke-direct {p0, p2, v3, p1, v1}, Lcom/facebook/fresco/animation/b/a;->a(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 v1, -0x1
goto :goto_2
:cond_1
:try_start_1
iget-object p3, p0, Lcom/facebook/fresco/animation/b/a;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iget v6, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapWidth:I
iget v7, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapHeight:I
iget-object v8, p0, Lcom/facebook/fresco/animation/b/a;->Qc:Landroid/graphics/Bitmap$Config;
invoke-virtual {p3, v6, v7, v8}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->c(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object v3
: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-direct {p0, p2, v3}, Lcom/facebook/fresco/animation/b/a;->a(ILcom/facebook/common/references/CloseableReference;)Z
move-result p3
if-eqz p3, :cond_2
invoke-direct {p0, p2, v3, p1, v2}, Lcom/facebook/fresco/animation/b/a;->a(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
if-eqz p3, :cond_2
const/4 p3, 0x1
goto :goto_2
:cond_2
const/4 p3, 0x0
goto :goto_2
:catch_0
move-exception p1
sget-object p2, Lcom/facebook/fresco/animation/b/a;->GS:Ljava/lang/Class;
const-string p3, "Failed to create frame bitmap"
invoke-static {p2, p3, p1}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
return v4
:cond_3
:try_start_3
iget-object p3, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {p3}, Lcom/facebook/fresco/animation/b/b;->ic()Lcom/facebook/common/references/CloseableReference;
move-result-object v3
invoke-direct {p0, p2, v3}, Lcom/facebook/fresco/animation/b/a;->a(ILcom/facebook/common/references/CloseableReference;)Z
move-result p3
if-eqz p3, :cond_4
invoke-direct {p0, p2, v3, p1, v5}, Lcom/facebook/fresco/animation/b/a;->a(ILcom/facebook/common/references/CloseableReference;Landroid/graphics/Canvas;I)Z
move-result p3
if-eqz p3, :cond_4
const/4 p3, 0x1
goto :goto_1
:cond_4
const/4 p3, 0x0
:goto_1
const/4 v1, 0x2
goto :goto_2
:cond_5
iget-object p3, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {p3, p2}, Lcom/facebook/fresco/animation/b/b;->V(I)Lcom/facebook/common/references/CloseableReference;
move-result-object v3
invoke-direct {p0, p2, v3, p1, v4}, Lcom/facebook/fresco/animation/b/a;->a(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 v1, 0x1
:goto_2
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
if-nez p3, :cond_7
if-ne v1, v0, :cond_6
goto :goto_3
:cond_6
move p3, v1
goto :goto_0
:cond_7
:goto_3
return p3
:catchall_0
move-exception p1
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
.end method
.method private ia()V
.locals 2
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PZ:Lcom/facebook/fresco/animation/b/c;
invoke-interface {v0}, Lcom/facebook/fresco/animation/b/c;->getIntrinsicWidth()I
move-result v0
iput v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapWidth:I
iget v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapWidth:I
const/4 v1, -0x1
if-ne v0, v1, :cond_1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->mBounds: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, Lcom/facebook/fresco/animation/b/a;->mBitmapWidth:I
:cond_1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PZ:Lcom/facebook/fresco/animation/b/c;
invoke-interface {v0}, Lcom/facebook/fresco/animation/b/c;->getIntrinsicHeight()I
move-result v0
iput v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapHeight:I
iget v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapHeight:I
if-ne v0, v1, :cond_3
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->mBounds: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, Lcom/facebook/fresco/animation/b/a;->mBitmapHeight:I
:cond_3
return-void
.end method
# virtual methods
.method public final U(I)I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/d;->U(I)I
move-result p1
return p1
.end method
.method public final a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
.locals 2
const/4 p1, 0x0
invoke-direct {p0, p2, p3, p1}, Lcom/facebook/fresco/animation/b/a;->a(Landroid/graphics/Canvas;II)Z
move-result p1
iget-object p2, p0, Lcom/facebook/fresco/animation/b/a;->Qa:Lcom/facebook/fresco/animation/b/b/a;
if-eqz p2, :cond_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->Qb:Lcom/facebook/fresco/animation/b/b/b;
if-eqz v0, :cond_0
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {p2, v0, v1, p0, p3}, Lcom/facebook/fresco/animation/b/b/a;->a(Lcom/facebook/fresco/animation/b/b/b;Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)V
:cond_0
return p1
.end method
.method public final b(Landroid/graphics/Rect;)V
.locals 1
.param p1 # Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
iput-object p1, p0, Lcom/facebook/fresco/animation/b/a;->mBounds:Landroid/graphics/Rect;
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PZ:Lcom/facebook/fresco/animation/b/c;
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/b/c;->b(Landroid/graphics/Rect;)V
invoke-direct {p0}, Lcom/facebook/fresco/animation/b/a;->ia()V
return-void
.end method
.method public final clear()V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PW:Lcom/facebook/fresco/animation/b/b;
invoke-interface {v0}, Lcom/facebook/fresco/animation/b/b;->clear()V
return-void
.end method
.method public final fH()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/d;->fH()I
move-result v0
return v0
.end method
.method public final fJ()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/d;->fJ()I
move-result v0
return v0
.end method
.method public final getIntrinsicHeight()I
.locals 1
iget v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapHeight:I
return v0
.end method
.method public final getIntrinsicWidth()I
.locals 1
iget v0, p0, Lcom/facebook/fresco/animation/b/a;->mBitmapWidth:I
return v0
.end method
.method public final onInactive()V
.locals 0
invoke-virtual {p0}, Lcom/facebook/fresco/animation/b/a;->clear()V
return-void
.end method
.method public final setAlpha(I)V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->mPaint:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setAlpha(I)V
return-void
.end method
.method public final setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 1
.param p1 # Landroid/graphics/ColorFilter;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a;->mPaint:Landroid/graphics/Paint;
invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColorFilter(Landroid/graphics/ColorFilter;)Landroid/graphics/ColorFilter;
return-void
.end method

View file

@ -1,656 +0,0 @@
.class public Lcom/facebook/fresco/animation/b/a/a;
.super Ljava/lang/Object;
.source "FrescoFrameCache.java"
# interfaces
.implements Lcom/facebook/fresco/animation/b/b;
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field private final Qd:Lcom/facebook/imagepipeline/animated/c/c;
.field private final Qe:Z
.field private final Qf:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/g/c;",
">;>;"
}
.end annotation
.end field
.field private Qg:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/g/c;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/b/a/a;
sput-object v0, Lcom/facebook/fresco/animation/b/a/a;->GS:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/imagepipeline/animated/c/c;Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
iput-boolean p2, p0, Lcom/facebook/fresco/animation/b/a/a;->Qe:Z
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
return-void
.end method
.method private declared-synchronized W(I)V
.locals 3
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf: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, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-virtual {v1, p1}, Landroid/util/SparseArray;->delete(I)V
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
sget-object v0, Lcom/facebook/fresco/animation/b/a/a;->GS: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, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-static {v0, v1, p1, v2}, Lcom/facebook/common/e/a;->a(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
.method private static e(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
.locals 1
.param p0 # Lcom/facebook/common/references/CloseableReference;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/g/c;",
">;)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
:try_start_0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->a(Lcom/facebook/common/references/CloseableReference;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v0
instance-of v0, v0, Lcom/facebook/imagepipeline/g/d;
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/imagepipeline/g/d;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/facebook/imagepipeline/g/d;->js()Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
return-object v0
:cond_0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
const/4 p0, 0x0
return-object p0
:catchall_0
move-exception v0
invoke-static {p0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw v0
.end method
.method private static f(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)",
"Lcom/facebook/common/references/CloseableReference<",
"Lcom/facebook/imagepipeline/g/c;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
new-instance v0, Lcom/facebook/imagepipeline/g/d;
sget-object v1, Lcom/facebook/imagepipeline/g/g;->Wr:Lcom/facebook/imagepipeline/g/h;
invoke-direct {v0, p0, v1}, Lcom/facebook/imagepipeline/g/d;-><init>(Lcom/facebook/common/references/CloseableReference;Lcom/facebook/imagepipeline/g/h;)V
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->b(Ljava/io/Closeable;)Lcom/facebook/common/references/CloseableReference;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final declared-synchronized V(I)Lcom/facebook/common/references/CloseableReference;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
iget-object v1, v0, Lcom/facebook/imagepipeline/animated/c/c;->QH:Lcom/facebook/imagepipeline/cache/h;
invoke-virtual {v0, p1}, Lcom/facebook/imagepipeline/animated/c/c;->Z(I)Lcom/facebook/imagepipeline/animated/c/c$a;
move-result-object p1
invoke-virtual {v1, p1}, Lcom/facebook/imagepipeline/cache/h;->D(Ljava/lang/Object;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
invoke-static {p1}, Lcom/facebook/fresco/animation/b/a/a;->e(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 b(ILcom/facebook/common/references/CloseableReference;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-static {p2}, Lcom/facebook/common/d/i;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-direct {p0, p1}, Lcom/facebook/fresco/animation/b/a/a;->W(I)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
const/4 v0, 0x0
:try_start_1
invoke-static {p2}, Lcom/facebook/fresco/animation/b/a/a;->f(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
if-eqz v0, :cond_0
iget-object p2, p0, Lcom/facebook/fresco/animation/b/a/a;->Qg:Lcom/facebook/common/references/CloseableReference;
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
iget-object p2, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
invoke-virtual {p2, p1, v0}, Lcom/facebook/imagepipeline/animated/c/c;->e(ILcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
iput-object p1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qg:Lcom/facebook/common/references/CloseableReference;
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:cond_0
:try_start_2
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit p0
return-void
:catchall_0
move-exception p1
:try_start_3
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
: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 final declared-synchronized c(ILcom/facebook/common/references/CloseableReference;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-static {p2}, Lcom/facebook/common/d/i;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
const/4 v0, 0x0
:try_start_1
invoke-static {p2}, Lcom/facebook/fresco/animation/b/a/a;->f(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-nez v0, :cond_0
:try_start_2
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit p0
return-void
:cond_0
:try_start_3
iget-object p2, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
invoke-virtual {p2, p1, v0}, Lcom/facebook/imagepipeline/animated/c/c;->e(ILcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->a(Lcom/facebook/common/references/CloseableReference;)Z
move-result v1
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-virtual {v1, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/facebook/common/references/CloseableReference;
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-virtual {v1, p1, p2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
sget-object p2, Lcom/facebook/fresco/animation/b/a/a;->GS:Ljava/lang/Class;
const-string v1, "cachePreparedFrame(%d) cached. Pending frames: %s"
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iget-object v2, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-static {p2, v1, p1, v2}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:cond_1
:try_start_4
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
monitor-exit p0
return-void
:catchall_0
move-exception p1
:try_start_5
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_1
:catchall_1
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized clear()V
.locals 2
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qg:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
const/4 v0, 0x0
iput-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qg:Lcom/facebook/common/references/CloseableReference;
const/4 v0, 0x0
:goto_0
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf:Landroid/util/SparseArray;
invoke-virtual {v1}, Landroid/util/SparseArray;->size()I
move-result v1
if-ge v0, v1, :cond_0
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf: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;
invoke-static {v1}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qf: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 final declared-synchronized contains(I)Z
.locals 2
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
iget-object v1, v0, Lcom/facebook/imagepipeline/animated/c/c;->QH:Lcom/facebook/imagepipeline/cache/h;
invoke-virtual {v0, p1}, Lcom/facebook/imagepipeline/animated/c/c;->Z(I)Lcom/facebook/imagepipeline/animated/c/c$a;
move-result-object p1
invoke-virtual {v1, p1}, Lcom/facebook/imagepipeline/cache/h;->contains(Ljava/lang/Object;)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 final declared-synchronized ib()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qg:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
invoke-static {v0}, Lcom/facebook/fresco/animation/b/a/a;->e(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized ic()Lcom/facebook/common/references/CloseableReference;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget-boolean v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qe:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v1, 0x0
if-nez v0, :cond_0
monitor-exit p0
return-object v1
:cond_0
:try_start_1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/a;->Qd:Lcom/facebook/imagepipeline/animated/c/c;
:cond_1
invoke-virtual {v0}, Lcom/facebook/imagepipeline/animated/c/c;->ip()Lcom/facebook/cache/common/CacheKey;
move-result-object v2
if-nez v2, :cond_2
goto :goto_0
:cond_2
iget-object v3, v0, Lcom/facebook/imagepipeline/animated/c/c;->QH:Lcom/facebook/imagepipeline/cache/h;
invoke-virtual {v3, v2}, Lcom/facebook/imagepipeline/cache/h;->E(Ljava/lang/Object;)Lcom/facebook/common/references/CloseableReference;
move-result-object v2
if-eqz v2, :cond_1
move-object v1, v2
:goto_0
invoke-static {v1}, Lcom/facebook/fresco/animation/b/a/a;->e(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method

View file

@ -1,353 +0,0 @@
.class public final Lcom/facebook/fresco/animation/b/a/b;
.super Ljava/lang/Object;
.source "KeepLastFrameCache.java"
# interfaces
.implements Lcom/facebook/fresco/animation/b/b;
# instance fields
.field private Qh:I
.field private Qi:Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.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, Lcom/facebook/fresco/animation/b/a/b;->Qh:I
return-void
.end method
.method private declared-synchronized ie()V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
const/4 v0, 0x0
iput-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
const/4 v0, -0x1
iput v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qh: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
# virtual methods
.method public final declared-synchronized V(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
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qh:I
if-ne v0, p1, :cond_0
iget-object p1, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->b(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 final declared-synchronized b(ILcom/facebook/common/references/CloseableReference;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
monitor-enter p0
if-eqz p2, :cond_0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
if-eqz v0, :cond_0
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/graphics/Bitmap;
iget-object v1, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-virtual {v1}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz v0, :cond_0
monitor-exit p0
return-void
:cond_0
:try_start_1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
iput-object p2, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
iput p1, p0, Lcom/facebook/fresco/animation/b/a/b;->Qh: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 final c(ILcom/facebook/common/references/CloseableReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
return-void
.end method
.method public final declared-synchronized clear()V
.locals 1
monitor-enter p0
:try_start_0
invoke-direct {p0}, Lcom/facebook/fresco/animation/b/a/b;->ie()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 final declared-synchronized contains(I)Z
.locals 1
monitor-enter p0
:try_start_0
iget v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qh:I
if-ne p1, v0, :cond_0
iget-object p1, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {p1}, Lcom/facebook/common/references/CloseableReference;->a(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_0
monitor-exit p0
return p1
:cond_0
const/4 p1, 0x0
goto :goto_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized ib()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized ic()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/a/b;->Qi:Lcom/facebook/common/references/CloseableReference;
invoke-static {v0}, Lcom/facebook/common/references/CloseableReference;->b(Lcom/facebook/common/references/CloseableReference;)Lcom/facebook/common/references/CloseableReference;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
invoke-direct {p0}, Lcom/facebook/fresco/animation/b/a/b;->ie()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
:try_start_2
invoke-direct {p0}, Lcom/facebook/fresco/animation/b/a/b;->ie()V
throw v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:catchall_1
move-exception v0
monitor-exit p0
throw v0
.end method

View file

@ -1,117 +0,0 @@
.class public final Lcom/facebook/fresco/animation/b/a/c;
.super Ljava/lang/Object;
.source "NoOpCache.java"
# interfaces
.implements Lcom/facebook/fresco/animation/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 final V(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
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method public final b(ILcom/facebook/common/references/CloseableReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
return-void
.end method
.method public final c(ILcom/facebook/common/references/CloseableReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
return-void
.end method
.method public final clear()V
.locals 0
return-void
.end method
.method public final contains(I)Z
.locals 0
const/4 p1, 0x0
return p1
.end method
.method public final ib()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public final ic()Lcom/facebook/common/references/CloseableReference;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
const/4 v0, 0x0
return-object v0
.end method

View file

@ -1,75 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/b/b;
.super Ljava/lang/Object;
.source "BitmapFrameCache.java"
# virtual methods
.method public abstract V(I)Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract b(ILcom/facebook/common/references/CloseableReference;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
.end method
.method public abstract c(ILcom/facebook/common/references/CloseableReference;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;)V"
}
.end annotation
.end method
.method public abstract clear()V
.end method
.method public abstract contains(I)Z
.end method
.method public abstract ib()Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract ic()Lcom/facebook/common/references/CloseableReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/facebook/common/references/CloseableReference<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method

View file

@ -1,8 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/b/b/a;
.super Ljava/lang/Object;
.source "BitmapFramePreparationStrategy.java"
# virtual methods
.method public abstract a(Lcom/facebook/fresco/animation/b/b/b;Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)V
.end method

View file

@ -1,8 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/b/b/b;
.super Ljava/lang/Object;
.source "BitmapFramePreparer.java"
# virtual methods
.method public abstract a(Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)Z
.end method

View file

@ -1,451 +0,0 @@
.class final Lcom/facebook/fresco/animation/b/b/c$a;
.super Ljava/lang/Object;
.source "DefaultBitmapFramePreparer.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/b/b/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "a"
.end annotation
# instance fields
.field private final PM:Lcom/facebook/fresco/animation/a/a;
.field private final PW:Lcom/facebook/fresco/animation/b/b;
.field private final Ql:I
.field private final Qm:I
.field final synthetic Qn:Lcom/facebook/fresco/animation/b/b/c;
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/b/b/c;Lcom/facebook/fresco/animation/a/a;Lcom/facebook/fresco/animation/b/b;II)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PM:Lcom/facebook/fresco/animation/a/a;
iput-object p3, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PW:Lcom/facebook/fresco/animation/b/b;
iput p4, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
iput p5, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qm:I
return-void
.end method
.method private d(ILcom/facebook/common/references/CloseableReference;)Z
.locals 3
.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;->a(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, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v0}, Lcom/facebook/fresco/animation/b/b/c;->d(Lcom/facebook/fresco/animation/b/b/c;)Lcom/facebook/fresco/animation/b/c;
move-result-object v0
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/graphics/Bitmap;
invoke-interface {v0, p1, v2}, Lcom/facebook/fresco/animation/b/c;->a(ILandroid/graphics/Bitmap;)Z
move-result p1
if-nez p1, :cond_1
return v1
:cond_1
invoke-static {}, Lcom/facebook/fresco/animation/b/b/c;->gw()Ljava/lang/Class;
move-result-object p1
iget v0, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const-string v1, "Frame %d ready."
invoke-static {p1, v1, v0}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
iget-object p1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {p1}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object p1
monitor-enter p1
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PW:Lcom/facebook/fresco/animation/b/b;
iget v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
invoke-interface {v0, v1, p2}, Lcom/facebook/fresco/animation/b/b;->c(ILcom/facebook/common/references/CloseableReference;)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 private l(II)Z
.locals 6
const/4 v0, 0x2
:goto_0
const/4 v1, 0x1
const/4 v2, -0x1
const/4 v3, 0x0
if-eq p2, v1, :cond_0
:try_start_0
iget-object p2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {p2}, Lcom/facebook/fresco/animation/b/b/c;->c(Lcom/facebook/fresco/animation/b/b/c;)Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
move-result-object p2
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v1}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicWidth()I
move-result v1
iget-object v4, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v4}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicHeight()I
move-result v4
iget-object v5, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v5}, Lcom/facebook/fresco/animation/b/b/c;->b(Lcom/facebook/fresco/animation/b/b/c;)Landroid/graphics/Bitmap$Config;
move-result-object v5
invoke-virtual {p2, v1, v4, v5}, Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;->c(IILandroid/graphics/Bitmap$Config;)Lcom/facebook/common/references/CloseableReference;
move-result-object p2
: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, p2
const/4 p2, -0x1
goto :goto_1
:catchall_0
move-exception p1
goto :goto_3
:catch_0
move-exception p1
:try_start_1
invoke-static {}, Lcom/facebook/fresco/animation/b/b/c;->gw()Ljava/lang/Class;
move-result-object p2
const-string v0, "Failed to create frame bitmap"
invoke-static {p2, v0, p1}, Lcom/facebook/common/e/a;->a(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;->c(Lcom/facebook/common/references/CloseableReference;)V
const/4 p1, 0x0
return p1
:cond_0
:try_start_2
iget-object p2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PW:Lcom/facebook/fresco/animation/b/b;
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v1}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicWidth()I
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v1}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicHeight()I
invoke-interface {p2}, Lcom/facebook/fresco/animation/b/b;->ic()Lcom/facebook/common/references/CloseableReference;
move-result-object p2
move-object v3, p2
const/4 p2, 0x2
:goto_1
invoke-direct {p0, p1, v3}, Lcom/facebook/fresco/animation/b/b/c$a;->d(ILcom/facebook/common/references/CloseableReference;)Z
move-result v1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
if-nez v1, :cond_2
if-ne p2, v2, :cond_1
goto :goto_2
:cond_1
const/4 p2, 0x2
goto :goto_0
:cond_2
:goto_2
return v1
:goto_3
invoke-static {v3}, Lcom/facebook/common/references/CloseableReference;->c(Lcom/facebook/common/references/CloseableReference;)V
throw p1
.end method
# virtual methods
.method public final run()V
.locals 5
:try_start_0
iget-object v0, p0, Lcom/facebook/fresco/animation/b/b/c$a;->PW:Lcom/facebook/fresco/animation/b/b;
iget v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
invoke-interface {v0, v1}, Lcom/facebook/fresco/animation/b/b;->contains(I)Z
move-result v0
if-eqz v0, :cond_0
invoke-static {}, Lcom/facebook/fresco/animation/b/b/c;->gw()Ljava/lang/Class;
move-result-object v0
const-string v1, "Frame %d is cached already."
iget v2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v0, v1, v2}, Lcom/facebook/common/e/a;->a(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, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v0}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v0
monitor-enter v0
:try_start_1
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v1}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v1
iget v2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qm: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, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
const/4 v1, 0x1
invoke-direct {p0, v0, v1}, Lcom/facebook/fresco/animation/b/b/c$a;->l(II)Z
move-result v0
if-eqz v0, :cond_1
invoke-static {}, Lcom/facebook/fresco/animation/b/b/c;->gw()Ljava/lang/Class;
move-result-object v0
const-string v1, "Prepared frame frame %d."
iget v2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-static {v0, v1, v2}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
goto :goto_0
:cond_1
invoke-static {}, Lcom/facebook/fresco/animation/b/b/c;->gw()Ljava/lang/Class;
move-result-object v0
const-string v2, "Could not prepare frame %d."
new-array v1, v1, [Ljava/lang/Object;
const/4 v3, 0x0
iget v4, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Ql: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}, Lcom/facebook/common/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, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v0}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v0
monitor-enter v0
:try_start_3
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v1}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v1
iget v2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qm: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, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v1}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v1
monitor-enter v1
:try_start_4
iget-object v2, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qn:Lcom/facebook/fresco/animation/b/b/c;
invoke-static {v2}, Lcom/facebook/fresco/animation/b/b/c;->a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
move-result-object v2
iget v3, p0, Lcom/facebook/fresco/animation/b/b/c$a;->Qm: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,221 +0,0 @@
.class public Lcom/facebook/fresco/animation/b/b/c;
.super Ljava/lang/Object;
.source "DefaultBitmapFramePreparer.java"
# interfaces
.implements Lcom/facebook/fresco/animation/b/b/b;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/fresco/animation/b/b/c$a;
}
.end annotation
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field private final PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field private final PZ:Lcom/facebook/fresco/animation/b/c;
.field private final Qc:Landroid/graphics/Bitmap$Config;
.field private final Qj:Ljava/util/concurrent/ExecutorService;
.field private final Qk:Landroid/util/SparseArray;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/util/SparseArray<",
"Ljava/lang/Runnable;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/b/b/c;
sput-object v0, Lcom/facebook/fresco/animation/b/b/c;->GS:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/fresco/animation/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, Lcom/facebook/fresco/animation/b/b/c;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lcom/facebook/fresco/animation/b/b/c;->PZ:Lcom/facebook/fresco/animation/b/c;
iput-object p3, p0, Lcom/facebook/fresco/animation/b/b/c;->Qc:Landroid/graphics/Bitmap$Config;
iput-object p4, p0, Lcom/facebook/fresco/animation/b/b/c;->Qj:Ljava/util/concurrent/ExecutorService;
new-instance p1, Landroid/util/SparseArray;
invoke-direct {p1}, Landroid/util/SparseArray;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/b/c;->Qk:Landroid/util/SparseArray;
return-void
.end method
.method static synthetic a(Lcom/facebook/fresco/animation/b/b/c;)Landroid/util/SparseArray;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/b/b/c;->Qk:Landroid/util/SparseArray;
return-object p0
.end method
.method static synthetic b(Lcom/facebook/fresco/animation/b/b/c;)Landroid/graphics/Bitmap$Config;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/b/b/c;->Qc:Landroid/graphics/Bitmap$Config;
return-object p0
.end method
.method static synthetic c(Lcom/facebook/fresco/animation/b/b/c;)Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/b/b/c;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
return-object p0
.end method
.method static synthetic d(Lcom/facebook/fresco/animation/b/b/c;)Lcom/facebook/fresco/animation/b/c;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/b/b/c;->PZ:Lcom/facebook/fresco/animation/b/c;
return-object p0
.end method
.method static synthetic gw()Ljava/lang/Class;
.locals 1
sget-object v0, Lcom/facebook/fresco/animation/b/b/c;->GS:Ljava/lang/Class;
return-object v0
.end method
# virtual methods
.method public final a(Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)Z
.locals 10
invoke-virtual {p2}, Ljava/lang/Object;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
add-int/2addr v0, p3
iget-object v7, p0, Lcom/facebook/fresco/animation/b/b/c;->Qk:Landroid/util/SparseArray;
monitor-enter v7
:try_start_0
iget-object v1, p0, Lcom/facebook/fresco/animation/b/b/c;->Qk:Landroid/util/SparseArray;
invoke-virtual {v1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v1
const/4 v8, 0x1
if-eqz v1, :cond_0
sget-object p1, Lcom/facebook/fresco/animation/b/b/c;->GS:Ljava/lang/Class;
const-string p2, "Already scheduled decode job for frame %d"
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
invoke-static {p1, p2, p3}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
monitor-exit v7
return v8
:cond_0
invoke-interface {p1, p3}, Lcom/facebook/fresco/animation/b/b;->contains(I)Z
move-result v1
if-eqz v1, :cond_1
sget-object p1, Lcom/facebook/fresco/animation/b/b/c;->GS:Ljava/lang/Class;
const-string p2, "Frame %d is cached already."
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
invoke-static {p1, p2, p3}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
monitor-exit v7
return v8
:cond_1
new-instance v9, Lcom/facebook/fresco/animation/b/b/c$a;
move-object v1, v9
move-object v2, p0
move-object v3, p2
move-object v4, p1
move v5, p3
move v6, v0
invoke-direct/range {v1 .. v6}, Lcom/facebook/fresco/animation/b/b/c$a;-><init>(Lcom/facebook/fresco/animation/b/b/c;Lcom/facebook/fresco/animation/a/a;Lcom/facebook/fresco/animation/b/b;II)V
iget-object p1, p0, Lcom/facebook/fresco/animation/b/b/c;->Qk:Landroid/util/SparseArray;
invoke-virtual {p1, v0, v9}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
iget-object p1, p0, Lcom/facebook/fresco/animation/b/b/c;->Qj:Ljava/util/concurrent/ExecutorService;
invoke-interface {p1, v9}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
monitor-exit v7
return v8
:catchall_0
move-exception p1
monitor-exit v7
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method

View file

@ -1,106 +0,0 @@
.class public Lcom/facebook/fresco/animation/b/b/d;
.super Ljava/lang/Object;
.source "FixedNumberBitmapFramePreparationStrategy.java"
# interfaces
.implements Lcom/facebook/fresco/animation/b/b/a;
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field private final Qo:I
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/b/b/d;
sput-object v0, Lcom/facebook/fresco/animation/b/b/d;->GS:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x3
invoke-direct {p0, v0}, Lcom/facebook/fresco/animation/b/b/d;-><init>(I)V
return-void
.end method
.method public constructor <init>(I)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/facebook/fresco/animation/b/b/d;->Qo:I
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/fresco/animation/b/b/b;Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)V
.locals 6
const/4 v0, 0x1
:goto_0
iget v1, p0, Lcom/facebook/fresco/animation/b/b/d;->Qo:I
if-gt v0, v1, :cond_1
add-int v1, p4, v0
invoke-interface {p3}, Lcom/facebook/fresco/animation/a/a;->fH()I
move-result v2
rem-int/2addr v1, v2
const/4 v2, 0x2
invoke-static {v2}, Lcom/facebook/common/e/a;->D(I)Z
move-result v2
if-eqz v2, :cond_0
sget-object v2, Lcom/facebook/fresco/animation/b/b/d;->GS:Ljava/lang/Class;
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
const-string v5, "Preparing frame %d, last drawn: %d"
invoke-static {v2, v5, v3, v4}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
:cond_0
invoke-interface {p1, p2, p3, v1}, Lcom/facebook/fresco/animation/b/b/b;->a(Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/a;I)Z
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-void
.end method

View file

@ -1,21 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/b/c;
.super Ljava/lang/Object;
.source "BitmapFrameRenderer.java"
# virtual methods
.method public abstract a(ILandroid/graphics/Bitmap;)Z
.end method
.method public abstract b(Landroid/graphics/Rect;)V
.param p1 # Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.end method
.method public abstract getIntrinsicHeight()I
.end method
.method public abstract getIntrinsicWidth()I
.end method

View file

@ -1,60 +0,0 @@
.class public final Lcom/facebook/fresco/animation/b/c/a;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendAnimationInformation.java"
# interfaces
.implements Lcom/facebook/fresco/animation/a/d;
# instance fields
.field private final Qp:Lcom/facebook/imagepipeline/animated/a/a;
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/animated/a/a;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/a;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
return-void
.end method
# virtual methods
.method public final U(I)I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/a;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0, p1}, Lcom/facebook/imagepipeline/animated/a/a;->Y(I)I
move-result p1
return p1
.end method
.method public final fH()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/a;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0}, Lcom/facebook/imagepipeline/animated/a/a;->fH()I
move-result v0
return v0
.end method
.method public final fJ()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/a;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0}, Lcom/facebook/imagepipeline/animated/a/a;->fJ()I
move-result v0
return v0
.end method

View file

@ -1,62 +0,0 @@
.class final Lcom/facebook/fresco/animation/b/c/b$1;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendFrameRenderer.java"
# interfaces
.implements Lcom/facebook/imagepipeline/animated/c/d$a;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/b/c/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic Qs:Lcom/facebook/fresco/animation/b/c/b;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/b/c/b;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/b$1;->Qs:Lcom/facebook/fresco/animation/b/c/b;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final X(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
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b$1;->Qs:Lcom/facebook/fresco/animation/b/c/b;
invoke-static {v0}, Lcom/facebook/fresco/animation/b/c/b;->a(Lcom/facebook/fresco/animation/b/c/b;)Lcom/facebook/fresco/animation/b/b;
move-result-object v0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/b/b;->V(I)Lcom/facebook/common/references/CloseableReference;
move-result-object p1
return-object p1
.end method

View file

@ -1,170 +0,0 @@
.class public Lcom/facebook/fresco/animation/b/c/b;
.super Ljava/lang/Object;
.source "AnimatedDrawableBackendFrameRenderer.java"
# interfaces
.implements Lcom/facebook/fresco/animation/b/c;
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
# instance fields
.field private final PW:Lcom/facebook/fresco/animation/b/b;
.field private Qp:Lcom/facebook/imagepipeline/animated/a/a;
.field private Qq:Lcom/facebook/imagepipeline/animated/c/d;
.field private final Qr:Lcom/facebook/imagepipeline/animated/c/d$a;
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/b/c/b;
sput-object v0, Lcom/facebook/fresco/animation/b/c/b;->GS:Ljava/lang/Class;
return-void
.end method
.method public constructor <init>(Lcom/facebook/fresco/animation/b/b;Lcom/facebook/imagepipeline/animated/a/a;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/facebook/fresco/animation/b/c/b$1;
invoke-direct {v0, p0}, Lcom/facebook/fresco/animation/b/c/b$1;-><init>(Lcom/facebook/fresco/animation/b/c/b;)V
iput-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qr:Lcom/facebook/imagepipeline/animated/c/d$a;
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/b;->PW:Lcom/facebook/fresco/animation/b/b;
iput-object p2, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
new-instance p1, Lcom/facebook/imagepipeline/animated/c/d;
iget-object p2, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qr:Lcom/facebook/imagepipeline/animated/c/d$a;
invoke-direct {p1, p2, v0}, Lcom/facebook/imagepipeline/animated/c/d;-><init>(Lcom/facebook/imagepipeline/animated/a/a;Lcom/facebook/imagepipeline/animated/c/d$a;)V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/b;->Qq:Lcom/facebook/imagepipeline/animated/c/d;
return-void
.end method
.method static synthetic a(Lcom/facebook/fresco/animation/b/c/b;)Lcom/facebook/fresco/animation/b/b;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/b/c/b;->PW:Lcom/facebook/fresco/animation/b/b;
return-object p0
.end method
# virtual methods
.method public final a(ILandroid/graphics/Bitmap;)Z
.locals 3
const/4 v0, 0x1
:try_start_0
iget-object v1, p0, Lcom/facebook/fresco/animation/b/c/b;->Qq:Lcom/facebook/imagepipeline/animated/c/d;
invoke-virtual {v1, p1, p2}, Lcom/facebook/imagepipeline/animated/c/d;->b(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, Lcom/facebook/fresco/animation/b/c/b;->GS: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}, Lcom/facebook/common/e/a;->b(Ljava/lang/Class;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
return v2
.end method
.method public final b(Landroid/graphics/Rect;)V
.locals 2
.param p1 # Landroid/graphics/Rect;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0, p1}, Lcom/facebook/imagepipeline/animated/a/a;->c(Landroid/graphics/Rect;)Lcom/facebook/imagepipeline/animated/a/a;
move-result-object p1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
if-eq p1, v0, :cond_0
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
new-instance p1, Lcom/facebook/imagepipeline/animated/c/d;
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
iget-object v1, p0, Lcom/facebook/fresco/animation/b/c/b;->Qr:Lcom/facebook/imagepipeline/animated/c/d$a;
invoke-direct {p1, v0, v1}, Lcom/facebook/imagepipeline/animated/c/d;-><init>(Lcom/facebook/imagepipeline/animated/a/a;Lcom/facebook/imagepipeline/animated/c/d$a;)V
iput-object p1, p0, Lcom/facebook/fresco/animation/b/c/b;->Qq:Lcom/facebook/imagepipeline/animated/c/d;
:cond_0
return-void
.end method
.method public final getIntrinsicHeight()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0}, Lcom/facebook/imagepipeline/animated/a/a;->getHeight()I
move-result v0
return v0
.end method
.method public final getIntrinsicWidth()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/b/c/b;->Qp:Lcom/facebook/imagepipeline/animated/a/a;
invoke-interface {v0}, Lcom/facebook/imagepipeline/animated/a/a;->getWidth()I
move-result v0
return v0
.end method

View file

@ -1,53 +0,0 @@
.class final Lcom/facebook/fresco/animation/c/a$1;
.super Ljava/lang/Object;
.source "AnimatedDrawable2.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/c/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic QF:Lcom/facebook/fresco/animation/c/a;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/c/a;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/c/a$1;->QF:Lcom/facebook/fresco/animation/c/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 2
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a$1;->QF:Lcom/facebook/fresco/animation/c/a;
invoke-static {v0}, Lcom/facebook/fresco/animation/c/a;->a(Lcom/facebook/fresco/animation/c/a;)Ljava/lang/Runnable;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/facebook/fresco/animation/c/a;->unscheduleSelf(Ljava/lang/Runnable;)V
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a$1;->QF:Lcom/facebook/fresco/animation/c/a;
invoke-virtual {v0}, Lcom/facebook/fresco/animation/c/a;->invalidateSelf()V
return-void
.end method

View file

@ -1,14 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/c/a$a;
.super Ljava/lang/Object;
.source "AnimatedDrawable2.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/c/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "a"
.end annotation

View file

@ -1,604 +0,0 @@
.class public Lcom/facebook/fresco/animation/c/a;
.super Landroid/graphics/drawable/Drawable;
.source "AnimatedDrawable2.java"
# interfaces
.implements Landroid/graphics/drawable/Animatable;
.implements Lcom/facebook/c/a/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/fresco/animation/c/a$a;
}
.end annotation
# static fields
.field private static final GS:Ljava/lang/Class;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.end field
.field private static final Qt:Lcom/facebook/fresco/animation/c/b;
# instance fields
.field private Na:Lcom/facebook/drawee/drawable/d;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private Ns:J
.field private PM:Lcom/facebook/fresco/animation/a/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private QA:J
.field private QB:I
.field private volatile QC:Lcom/facebook/fresco/animation/c/b;
.field private volatile QD:Lcom/facebook/fresco/animation/c/a$a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final QE:Ljava/lang/Runnable;
.field private Qu:Lcom/facebook/fresco/animation/d/b;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private volatile Qv:Z
.field private Qw:J
.field private Qx:J
.field private Qy:I
.field private Qz:J
# direct methods
.method static constructor <clinit>()V
.locals 1
const-class v0, Lcom/facebook/fresco/animation/c/a;
sput-object v0, Lcom/facebook/fresco/animation/c/a;->GS:Ljava/lang/Class;
new-instance v0, Lcom/facebook/fresco/animation/c/c;
invoke-direct {v0}, Lcom/facebook/fresco/animation/c/c;-><init>()V
sput-object v0, Lcom/facebook/fresco/animation/c/a;->Qt:Lcom/facebook/fresco/animation/c/b;
return-void
.end method
.method public constructor <init>()V
.locals 1
const/4 v0, 0x0
invoke-direct {p0, v0}, Lcom/facebook/fresco/animation/c/a;-><init>(Lcom/facebook/fresco/animation/a/a;)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/fresco/animation/a/a;)V
.locals 2
.param p1 # Lcom/facebook/fresco/animation/a/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V
const-wide/16 v0, 0x8
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qz:J
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->QA:J
sget-object v0, Lcom/facebook/fresco/animation/c/a;->Qt:Lcom/facebook/fresco/animation/c/b;
iput-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
const/4 v0, 0x0
iput-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QD:Lcom/facebook/fresco/animation/c/a$a;
new-instance v1, Lcom/facebook/fresco/animation/c/a$1;
invoke-direct {v1, p0}, Lcom/facebook/fresco/animation/c/a$1;-><init>(Lcom/facebook/fresco/animation/c/a;)V
iput-object v1, p0, Lcom/facebook/fresco/animation/c/a;->QE:Ljava/lang/Runnable;
iput-object p1, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
iget-object p1, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-nez p1, :cond_0
goto :goto_0
:cond_0
new-instance v0, Lcom/facebook/fresco/animation/d/a;
invoke-direct {v0, p1}, Lcom/facebook/fresco/animation/d/a;-><init>(Lcom/facebook/fresco/animation/a/d;)V
:goto_0
iput-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Qu:Lcom/facebook/fresco/animation/d/b;
return-void
.end method
.method static synthetic a(Lcom/facebook/fresco/animation/c/a;)Ljava/lang/Runnable;
.locals 0
iget-object p0, p0, Lcom/facebook/fresco/animation/c/a;->QE:Ljava/lang/Runnable;
return-object p0
.end method
# virtual methods
.method public draw(Landroid/graphics/Canvas;)V
.locals 8
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_8
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Qu:Lcom/facebook/fresco/animation/d/b;
if-nez v0, :cond_0
goto/16 :goto_2
:cond_0
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iget-boolean v2, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
if-eqz v2, :cond_1
iget-wide v2, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
sub-long v2, v0, v2
iget-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->QA:J
add-long/2addr v2, v4
goto :goto_0
:cond_1
iget-wide v2, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
const-wide/16 v4, 0x0
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->max(JJ)J
move-result-wide v2
:goto_0
iget-object v4, p0, Lcom/facebook/fresco/animation/c/a;->Qu:Lcom/facebook/fresco/animation/d/b;
invoke-interface {v4, v2, v3}, Lcom/facebook/fresco/animation/d/b;->n(J)I
move-result v4
const/4 v5, -0x1
if-ne v4, v5, :cond_2
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->fH()I
move-result v0
add-int/lit8 v4, v0, -0x1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
goto :goto_1
:cond_2
if-nez v4, :cond_3
iget v6, p0, Lcom/facebook/fresco/animation/c/a;->Qy:I
if-eq v6, v5, :cond_3
iget-wide v5, p0, Lcom/facebook/fresco/animation/c/a;->Qx:J
cmp-long v7, v0, v5
if-ltz v7, :cond_3
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
:cond_3
:goto_1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
invoke-interface {v0, p0, p1, v4}, Lcom/facebook/fresco/animation/a/a;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/Canvas;I)Z
move-result p1
if-eqz p1, :cond_4
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
iput v4, p0, Lcom/facebook/fresco/animation/c/a;->Qy:I
:cond_4
if-nez p1, :cond_5
iget p1, p0, Lcom/facebook/fresco/animation/c/a;->QB:I
add-int/lit8 p1, p1, 0x1
iput p1, p0, Lcom/facebook/fresco/animation/c/a;->QB:I
const/4 p1, 0x2
invoke-static {p1}, Lcom/facebook/common/e/a;->D(I)Z
move-result p1
if-eqz p1, :cond_5
sget-object p1, Lcom/facebook/fresco/animation/c/a;->GS:Ljava/lang/Class;
iget v0, p0, Lcom/facebook/fresco/animation/c/a;->QB:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
const-string v1, "Dropped a frame. Count: %s"
invoke-static {p1, v1, v0}, Lcom/facebook/common/e/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
:cond_5
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iget-boolean p1, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
if-eqz p1, :cond_6
iget-object p1, p0, Lcom/facebook/fresco/animation/c/a;->Qu:Lcom/facebook/fresco/animation/d/b;
iget-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
sub-long/2addr v0, v4
invoke-interface {p1, v0, v1}, Lcom/facebook/fresco/animation/d/b;->o(J)J
move-result-wide v0
const-wide/16 v4, -0x1
cmp-long p1, v0, v4
if-eqz p1, :cond_6
iget-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->Qz:J
add-long/2addr v0, v4
iget-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
add-long/2addr v4, v0
iput-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->Qx:J
iget-object p1, p0, Lcom/facebook/fresco/animation/c/a;->QE:Ljava/lang/Runnable;
iget-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qx:J
invoke-virtual {p0, p1, v0, v1}, Lcom/facebook/fresco/animation/c/a;->scheduleSelf(Ljava/lang/Runnable;J)V
:cond_6
iget-object p1, p0, Lcom/facebook/fresco/animation/c/a;->QD:Lcom/facebook/fresco/animation/c/a$a;
if-eqz p1, :cond_7
iget-boolean p1, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
:cond_7
iput-wide v2, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
:cond_8
:goto_2
return-void
.end method
.method public final gS()V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->clear()V
:cond_0
return-void
.end method
.method public getIntrinsicHeight()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/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}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicHeight()I
move-result v0
return v0
.end method
.method public getIntrinsicWidth()I
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/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}, Lcom/facebook/fresco/animation/a/a;->getIntrinsicWidth()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, Lcom/facebook/fresco/animation/c/a;->Qv:Z
return v0
.end method
.method protected onBoundsChange(Landroid/graphics/Rect;)V
.locals 1
invoke-super {p0, p1}, Landroid/graphics/drawable/Drawable;->onBoundsChange(Landroid/graphics/Rect;)V
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_0
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->b(Landroid/graphics/Rect;)V
:cond_0
return-void
.end method
.method protected onLevelChange(I)Z
.locals 6
iget-boolean v0, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
:cond_0
iget-wide v2, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
int-to-long v4, p1
cmp-long p1, v2, v4
if-eqz p1, :cond_1
iput-wide v4, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
invoke-virtual {p0}, Lcom/facebook/fresco/animation/c/a;->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, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
if-nez v0, :cond_0
new-instance v0, Lcom/facebook/drawee/drawable/d;
invoke-direct {v0}, Lcom/facebook/drawee/drawable/d;-><init>()V
iput-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
:cond_0
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
iput p1, v0, Lcom/facebook/drawee/drawable/d;->mAlpha:I
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_1
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->setAlpha(I)V
:cond_1
return-void
.end method
.method public setColorFilter(Landroid/graphics/ColorFilter;)V
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
if-nez v0, :cond_0
new-instance v0, Lcom/facebook/drawee/drawable/d;
invoke-direct {v0}, Lcom/facebook/drawee/drawable/d;-><init>()V
iput-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
:cond_0
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->Na:Lcom/facebook/drawee/drawable/d;
invoke-virtual {v0, p1}, Lcom/facebook/drawee/drawable/d;->setColorFilter(Landroid/graphics/ColorFilter;)V
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_1
invoke-interface {v0, p1}, Lcom/facebook/fresco/animation/a/a;->setColorFilter(Landroid/graphics/ColorFilter;)V
:cond_1
return-void
.end method
.method public start()V
.locals 2
iget-boolean v0, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
if-nez v0, :cond_1
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->PM:Lcom/facebook/fresco/animation/a/a;
if-eqz v0, :cond_1
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/a;->fH()I
move-result v0
const/4 v1, 0x1
if-gt v0, v1, :cond_0
goto :goto_0
:cond_0
iput-boolean v1, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
iget-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qx:J
const-wide/16 v0, -0x1
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
const/4 v0, -0x1
iput v0, p0, Lcom/facebook/fresco/animation/c/a;->Qy:I
invoke-virtual {p0}, Lcom/facebook/fresco/animation/c/a;->invalidateSelf()V
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
:cond_1
:goto_0
return-void
.end method
.method public stop()V
.locals 2
iget-boolean v0, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
if-nez v0, :cond_0
return-void
:cond_0
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/facebook/fresco/animation/c/a;->Qv:Z
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
iget-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Ns:J
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qx:J
const-wide/16 v0, -0x1
iput-wide v0, p0, Lcom/facebook/fresco/animation/c/a;->Qw:J
const/4 v0, -0x1
iput v0, p0, Lcom/facebook/fresco/animation/c/a;->Qy:I
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QE:Ljava/lang/Runnable;
invoke-virtual {p0, v0}, Lcom/facebook/fresco/animation/c/a;->unscheduleSelf(Ljava/lang/Runnable;)V
iget-object v0, p0, Lcom/facebook/fresco/animation/c/a;->QC:Lcom/facebook/fresco/animation/c/b;
return-void
.end method

View file

@ -1,3 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/c/b;
.super Ljava/lang/Object;
.source "AnimationListener.java"

View file

@ -1,16 +0,0 @@
.class public final Lcom/facebook/fresco/animation/c/c;
.super Ljava/lang/Object;
.source "BaseAnimationListener.java"
# interfaces
.implements Lcom/facebook/fresco/animation/c/b;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -1,252 +0,0 @@
.class public final Lcom/facebook/fresco/animation/d/a;
.super Ljava/lang/Object;
.source "DropFramesFrameScheduler.java"
# interfaces
.implements Lcom/facebook/fresco/animation/d/b;
# instance fields
.field private final PY:Lcom/facebook/fresco/animation/a/d;
.field private QS:J
# direct methods
.method public constructor <init>(Lcom/facebook/fresco/animation/a/d;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-wide/16 v0, -0x1
iput-wide v0, p0, Lcom/facebook/fresco/animation/d/a;->QS:J
iput-object p1, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
return-void
.end method
.method private ig()J
.locals 6
iget-wide v0, p0, Lcom/facebook/fresco/animation/d/a;->QS: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, Lcom/facebook/fresco/animation/d/a;->QS:J
iget-object v0, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/d;->fH()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
iget-wide v2, p0, Lcom/facebook/fresco/animation/d/a;->QS:J
iget-object v4, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v4, v1}, Lcom/facebook/fresco/animation/a/d;->U(I)I
move-result v4
int-to-long v4, v4
add-long/2addr v2, v4
iput-wide v2, p0, Lcom/facebook/fresco/animation/d/a;->QS:J
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
iget-wide v0, p0, Lcom/facebook/fresco/animation/d/a;->QS:J
return-wide v0
.end method
.method private ih()Z
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v0}, Lcom/facebook/fresco/animation/a/d;->fJ()I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
# virtual methods
.method public final n(J)I
.locals 5
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ih()Z
move-result v0
if-nez v0, :cond_0
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ig()J
move-result-wide v0
div-long v0, p1, v0
iget-object v2, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v2}, Lcom/facebook/fresco/animation/a/d;->fJ()I
move-result v2
int-to-long v2, v2
cmp-long v4, v0, v2
if-ltz v4, :cond_0
const/4 p1, -0x1
return p1
:cond_0
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ig()J
move-result-wide v0
rem-long/2addr p1, v0
const/4 v0, 0x0
const-wide/16 v1, 0x0
:cond_1
iget-object v3, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v3, v0}, Lcom/facebook/fresco/animation/a/d;->U(I)I
move-result v3
int-to-long v3, v3
add-long/2addr v1, v3
add-int/lit8 v0, v0, 0x1
cmp-long v3, p1, v1
if-gez v3, :cond_1
add-int/lit8 v0, v0, -0x1
return v0
.end method
.method public final o(J)J
.locals 11
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ig()J
move-result-wide v0
const-wide/16 v2, -0x1
const-wide/16 v4, 0x0
cmp-long v6, v0, v4
if-nez v6, :cond_0
return-wide v2
:cond_0
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ih()Z
move-result v6
if-nez v6, :cond_1
invoke-direct {p0}, Lcom/facebook/fresco/animation/d/a;->ig()J
move-result-wide v6
div-long v6, p1, v6
iget-object v8, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v8}, Lcom/facebook/fresco/animation/a/d;->fJ()I
move-result v8
int-to-long v8, v8
cmp-long v10, v6, v8
if-ltz v10, :cond_1
return-wide v2
:cond_1
rem-long v0, p1, v0
iget-object v2, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v2}, Lcom/facebook/fresco/animation/a/d;->fH()I
move-result v2
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_2
cmp-long v6, v4, v0
if-gtz v6, :cond_2
iget-object v6, p0, Lcom/facebook/fresco/animation/d/a;->PY:Lcom/facebook/fresco/animation/a/d;
invoke-interface {v6, v3}, Lcom/facebook/fresco/animation/a/d;->U(I)I
move-result v6
int-to-long v6, v6
add-long/2addr v4, v6
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
sub-long/2addr v4, v0
add-long/2addr p1, v4
return-wide p1
.end method

View file

@ -1,11 +0,0 @@
.class public interface abstract Lcom/facebook/fresco/animation/d/b;
.super Ljava/lang/Object;
.source "FrameScheduler.java"
# virtual methods
.method public abstract n(J)I
.end method
.method public abstract o(J)J
.end method

View file

@ -1,57 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/imagepipeline/e/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a(Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/e/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic QM:Landroid/graphics/Bitmap$Config;
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;->QM:Landroid/graphics/Bitmap$Config;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/imagepipeline/g/e;ILcom/facebook/imagepipeline/g/h;Lcom/facebook/imagepipeline/a/b;)Lcom/facebook/imagepipeline/g/c;
.locals 0
iget-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {p2}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/b/d;
move-result-object p2
iget-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;->QM:Landroid/graphics/Bitmap$Config;
invoke-interface {p2, p1, p4, p3}, Lcom/facebook/imagepipeline/animated/b/d;->a(Lcom/facebook/imagepipeline/g/e;Lcom/facebook/imagepipeline/a/b;Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/g/c;
move-result-object p1
return-object p1
.end method

View file

@ -1,57 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/imagepipeline/e/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b(Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/e/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic QM:Landroid/graphics/Bitmap$Config;
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;->QM:Landroid/graphics/Bitmap$Config;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/imagepipeline/g/e;ILcom/facebook/imagepipeline/g/h;Lcom/facebook/imagepipeline/a/b;)Lcom/facebook/imagepipeline/g/c;
.locals 0
iget-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {p2}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->a(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/b/d;
move-result-object p2
iget-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;->QM:Landroid/graphics/Bitmap$Config;
invoke-interface {p2, p1, p4, p3}, Lcom/facebook/imagepipeline/animated/b/d;->b(Lcom/facebook/imagepipeline/g/e;Lcom/facebook/imagepipeline/a/b;Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/g/c;
move-result-object p1
return-object p1
.end method

View file

@ -1,56 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$3;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/common/d/l;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$3;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic 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,56 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$4;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/common/d/l;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
# instance fields
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$4;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic 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,57 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/imagepipeline/animated/c/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/imagepipeline/animated/a/e;Landroid/graphics/Rect;)Lcom/facebook/imagepipeline/animated/a/a;
.locals 3
new-instance v0, Lcom/facebook/imagepipeline/animated/c/a;
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {v1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/d/a;
move-result-object v1
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {v2}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->c(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Z
move-result v2
invoke-direct {v0, v1, p1, p2, v2}, Lcom/facebook/imagepipeline/animated/c/a;-><init>(Lcom/facebook/imagepipeline/animated/d/a;Lcom/facebook/imagepipeline/animated/a/e;Landroid/graphics/Rect;Z)V
return-object v0
.end method

View file

@ -1,57 +0,0 @@
.class final Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/imagepipeline/animated/c/b;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
# direct methods
.method constructor <init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
.locals 0
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/facebook/imagepipeline/animated/a/e;Landroid/graphics/Rect;)Lcom/facebook/imagepipeline/animated/a/a;
.locals 3
new-instance v0, Lcom/facebook/imagepipeline/animated/c/a;
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {v1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->b(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/d/a;
move-result-object v1
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;->QN:Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
invoke-static {v2}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->c(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Z
move-result v2
invoke-direct {v0, v1, p1, p2, v2}, Lcom/facebook/imagepipeline/animated/c/a;-><init>(Lcom/facebook/imagepipeline/animated/d/a;Lcom/facebook/imagepipeline/animated/a/e;Landroid/graphics/Rect;Z)V
return-object v0
.end method

View file

@ -1,214 +0,0 @@
.class public Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;
.super Ljava/lang/Object;
.source "AnimatedFactoryV2Impl.java"
# interfaces
.implements Lcom/facebook/imagepipeline/animated/b/a;
# instance fields
.field private Ke:Lcom/facebook/imagepipeline/f/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private final PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field private final QG:Lcom/facebook/imagepipeline/b/f;
.field private final QH:Lcom/facebook/imagepipeline/cache/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/imagepipeline/cache/h<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/g/c;",
">;"
}
.end annotation
.end field
.field private final QI:Z
.field private QJ:Lcom/facebook/imagepipeline/animated/b/d;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private QK:Lcom/facebook/imagepipeline/animated/c/b;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
.field private QL:Lcom/facebook/imagepipeline/animated/d/a;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/imagepipeline/b/f;Lcom/facebook/imagepipeline/cache/h;Z)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;",
"Lcom/facebook/imagepipeline/b/f;",
"Lcom/facebook/imagepipeline/cache/h<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/g/c;",
">;Z)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QG:Lcom/facebook/imagepipeline/b/f;
iput-object p3, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QH:Lcom/facebook/imagepipeline/cache/h;
iput-boolean p4, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QI:Z
return-void
.end method
.method static synthetic a(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/b/d;
.locals 3
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QJ:Lcom/facebook/imagepipeline/animated/b/d;
if-nez v0, :cond_0
new-instance v0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;
invoke-direct {v0, p0}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$6;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v1, Lcom/facebook/imagepipeline/animated/b/e;
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
invoke-direct {v1, v0, v2}, Lcom/facebook/imagepipeline/animated/b/e;-><init>(Lcom/facebook/imagepipeline/animated/c/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;)V
iput-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QJ:Lcom/facebook/imagepipeline/animated/b/d;
:cond_0
iget-object p0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QJ:Lcom/facebook/imagepipeline/animated/b/d;
return-object p0
.end method
.method static synthetic b(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Lcom/facebook/imagepipeline/animated/d/a;
.locals 1
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QL:Lcom/facebook/imagepipeline/animated/d/a;
if-nez v0, :cond_0
new-instance v0, Lcom/facebook/imagepipeline/animated/d/a;
invoke-direct {v0}, Lcom/facebook/imagepipeline/animated/d/a;-><init>()V
iput-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QL:Lcom/facebook/imagepipeline/animated/d/a;
:cond_0
iget-object p0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QL:Lcom/facebook/imagepipeline/animated/d/a;
return-object p0
.end method
.method static synthetic c(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)Z
.locals 0
iget-boolean p0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QI:Z
return p0
.end method
# virtual methods
.method public final a(Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/e/c;
.locals 1
new-instance v0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;
invoke-direct {v0, p0, p1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$1;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
return-object v0
.end method
.method public final b(Landroid/graphics/Bitmap$Config;)Lcom/facebook/imagepipeline/e/c;
.locals 1
new-instance v0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;
invoke-direct {v0, p0, p1}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$2;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;Landroid/graphics/Bitmap$Config;)V
return-object v0
.end method
.method public final if()Lcom/facebook/imagepipeline/f/a;
.locals 10
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->Ke:Lcom/facebook/imagepipeline/f/a;
if-nez v0, :cond_1
new-instance v8, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$3;
invoke-direct {v8, p0}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$3;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v4, Lcom/facebook/common/b/c;
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QG:Lcom/facebook/imagepipeline/b/f;
invoke-interface {v0}, Lcom/facebook/imagepipeline/b/f;->iK()Ljava/util/concurrent/Executor;
move-result-object v0
invoke-direct {v4, v0}, Lcom/facebook/common/b/c;-><init>(Ljava/util/concurrent/Executor;)V
new-instance v9, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$4;
invoke-direct {v9, p0}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$4;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
new-instance v0, Lcom/facebook/fresco/animation/factory/a;
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QK:Lcom/facebook/imagepipeline/animated/c/b;
if-nez v1, :cond_0
new-instance v1, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;
invoke-direct {v1, p0}, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl$5;-><init>(Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;)V
iput-object v1, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QK:Lcom/facebook/imagepipeline/animated/c/b;
:cond_0
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QK:Lcom/facebook/imagepipeline/animated/c/b;
invoke-static {}, Lcom/facebook/common/b/i;->gk()Lcom/facebook/common/b/i;
move-result-object v3
invoke-static {}, Lcom/facebook/common/time/RealtimeSinceBootClock;->get()Lcom/facebook/common/time/RealtimeSinceBootClock;
move-result-object v5
iget-object v6, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iget-object v7, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->QH:Lcom/facebook/imagepipeline/cache/h;
move-object v1, v0
invoke-direct/range {v1 .. v9}, Lcom/facebook/fresco/animation/factory/a;-><init>(Lcom/facebook/imagepipeline/animated/c/b;Ljava/util/concurrent/ScheduledExecutorService;Ljava/util/concurrent/ExecutorService;Lcom/facebook/common/time/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/imagepipeline/cache/h;Lcom/facebook/common/d/l;Lcom/facebook/common/d/l;)V
iput-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->Ke:Lcom/facebook/imagepipeline/f/a;
:cond_1
iget-object v0, p0, Lcom/facebook/fresco/animation/factory/AnimatedFactoryV2Impl;->Ke:Lcom/facebook/imagepipeline/f/a;
return-object v0
.end method

View file

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

View file

@ -1,305 +0,0 @@
.class public final Lcom/facebook/fresco/animation/factory/a;
.super Ljava/lang/Object;
.source "ExperimentalBitmapAnimationDrawableFactory.java"
# interfaces
.implements Lcom/facebook/imagepipeline/f/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/fresco/animation/factory/a$a;
}
.end annotation
# instance fields
.field private final KZ:Lcom/facebook/common/time/b;
.field private final PN:Ljava/util/concurrent/ScheduledExecutorService;
.field private final PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
.field private final QH:Lcom/facebook/imagepipeline/cache/h;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/imagepipeline/cache/h<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/g/c;",
">;"
}
.end annotation
.end field
.field private final QK:Lcom/facebook/imagepipeline/animated/c/b;
.field private final QO:Ljava/util/concurrent/ExecutorService;
.field private final QP:Lcom/facebook/common/d/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field private final QQ:Lcom/facebook/common/d/l;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/facebook/imagepipeline/animated/c/b;Ljava/util/concurrent/ScheduledExecutorService;Ljava/util/concurrent/ExecutorService;Lcom/facebook/common/time/b;Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/imagepipeline/cache/h;Lcom/facebook/common/d/l;Lcom/facebook/common/d/l;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/imagepipeline/animated/c/b;",
"Ljava/util/concurrent/ScheduledExecutorService;",
"Ljava/util/concurrent/ExecutorService;",
"Lcom/facebook/common/time/b;",
"Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;",
"Lcom/facebook/imagepipeline/cache/h<",
"Lcom/facebook/cache/common/CacheKey;",
"Lcom/facebook/imagepipeline/g/c;",
">;",
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;",
"Lcom/facebook/common/d/l<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/fresco/animation/factory/a;->QK:Lcom/facebook/imagepipeline/animated/c/b;
iput-object p2, p0, Lcom/facebook/fresco/animation/factory/a;->PN:Ljava/util/concurrent/ScheduledExecutorService;
iput-object p3, p0, Lcom/facebook/fresco/animation/factory/a;->QO:Ljava/util/concurrent/ExecutorService;
iput-object p4, p0, Lcom/facebook/fresco/animation/factory/a;->KZ:Lcom/facebook/common/time/b;
iput-object p5, p0, Lcom/facebook/fresco/animation/factory/a;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
iput-object p6, p0, Lcom/facebook/fresco/animation/factory/a;->QH:Lcom/facebook/imagepipeline/cache/h;
iput-object p7, p0, Lcom/facebook/fresco/animation/factory/a;->QP:Lcom/facebook/common/d/l;
iput-object p8, p0, Lcom/facebook/fresco/animation/factory/a;->QQ:Lcom/facebook/common/d/l;
return-void
.end method
.method private a(Lcom/facebook/imagepipeline/animated/a/e;)Lcom/facebook/imagepipeline/animated/c/c;
.locals 2
new-instance v0, Lcom/facebook/imagepipeline/animated/c/c;
new-instance v1, Lcom/facebook/fresco/animation/factory/a$a;
invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I
move-result p1
invoke-direct {v1, p1}, Lcom/facebook/fresco/animation/factory/a$a;-><init>(I)V
iget-object p1, p0, Lcom/facebook/fresco/animation/factory/a;->QH:Lcom/facebook/imagepipeline/cache/h;
invoke-direct {v0, v1, p1}, Lcom/facebook/imagepipeline/animated/c/c;-><init>(Lcom/facebook/cache/common/CacheKey;Lcom/facebook/imagepipeline/cache/h;)V
return-object v0
.end method
# virtual methods
.method public final a(Lcom/facebook/imagepipeline/g/c;)Z
.locals 0
instance-of p1, p1, Lcom/facebook/imagepipeline/g/a;
return p1
.end method
.method public final synthetic b(Lcom/facebook/imagepipeline/g/c;)Landroid/graphics/drawable/Drawable;
.locals 11
new-instance v0, Lcom/facebook/fresco/animation/c/a;
check-cast p1, Lcom/facebook/imagepipeline/g/a;
invoke-virtual {p1}, Lcom/facebook/imagepipeline/g/a;->jo()Lcom/facebook/imagepipeline/animated/a/e;
move-result-object p1
iget-object v1, p1, Lcom/facebook/imagepipeline/animated/a/e;->RJ:Lcom/facebook/imagepipeline/animated/a/c;
new-instance v2, Landroid/graphics/Rect;
invoke-interface {v1}, Lcom/facebook/imagepipeline/animated/a/c;->getWidth()I
move-result v3
invoke-interface {v1}, Lcom/facebook/imagepipeline/animated/a/c;->getHeight()I
move-result v1
const/4 v4, 0x0
invoke-direct {v2, v4, v4, v3, v1}, Landroid/graphics/Rect;-><init>(IIII)V
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/a;->QK:Lcom/facebook/imagepipeline/animated/c/b;
invoke-interface {v1, p1, v2}, Lcom/facebook/imagepipeline/animated/c/b;->a(Lcom/facebook/imagepipeline/animated/a/e;Landroid/graphics/Rect;)Lcom/facebook/imagepipeline/animated/a/a;
move-result-object v1
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/a;->QP:Lcom/facebook/common/d/l;
invoke-interface {v2}, Lcom/facebook/common/d/l;->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 p1, 0x3
if-eq v2, p1, :cond_0
new-instance p1, Lcom/facebook/fresco/animation/b/a/c;
invoke-direct {p1}, Lcom/facebook/fresco/animation/b/a/c;-><init>()V
:goto_0
move-object v6, p1
goto :goto_2
:cond_0
new-instance p1, Lcom/facebook/fresco/animation/b/a/b;
invoke-direct {p1}, Lcom/facebook/fresco/animation/b/a/b;-><init>()V
goto :goto_0
:cond_1
new-instance v2, Lcom/facebook/fresco/animation/b/a/a;
invoke-direct {p0, p1}, Lcom/facebook/fresco/animation/factory/a;->a(Lcom/facebook/imagepipeline/animated/a/e;)Lcom/facebook/imagepipeline/animated/c/c;
move-result-object p1
invoke-direct {v2, p1, v4}, Lcom/facebook/fresco/animation/b/a/a;-><init>(Lcom/facebook/imagepipeline/animated/c/c;Z)V
goto :goto_1
:cond_2
new-instance v2, Lcom/facebook/fresco/animation/b/a/a;
invoke-direct {p0, p1}, Lcom/facebook/fresco/animation/factory/a;->a(Lcom/facebook/imagepipeline/animated/a/e;)Lcom/facebook/imagepipeline/animated/c/c;
move-result-object p1
invoke-direct {v2, p1, v3}, Lcom/facebook/fresco/animation/b/a/a;-><init>(Lcom/facebook/imagepipeline/animated/c/c;Z)V
:goto_1
move-object v6, v2
:goto_2
new-instance v8, Lcom/facebook/fresco/animation/b/c/b;
invoke-direct {v8, v6, v1}, Lcom/facebook/fresco/animation/b/c/b;-><init>(Lcom/facebook/fresco/animation/b/b;Lcom/facebook/imagepipeline/animated/a/a;)V
iget-object p1, p0, Lcom/facebook/fresco/animation/factory/a;->QQ:Lcom/facebook/common/d/l;
invoke-interface {p1}, Lcom/facebook/common/d/l;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
const/4 v2, 0x0
if-lez p1, :cond_3
new-instance v2, Lcom/facebook/fresco/animation/b/b/d;
invoke-direct {v2, p1}, Lcom/facebook/fresco/animation/b/b/d;-><init>(I)V
new-instance p1, Lcom/facebook/fresco/animation/b/b/c;
iget-object v3, p0, Lcom/facebook/fresco/animation/factory/a;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
sget-object v4, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
iget-object v5, p0, Lcom/facebook/fresco/animation/factory/a;->QO:Ljava/util/concurrent/ExecutorService;
invoke-direct {p1, v3, v8, v4, v5}, Lcom/facebook/fresco/animation/b/b/c;-><init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/fresco/animation/b/c;Landroid/graphics/Bitmap$Config;Ljava/util/concurrent/ExecutorService;)V
move-object v10, p1
move-object v9, v2
goto :goto_3
:cond_3
move-object v9, v2
move-object v10, v9
:goto_3
new-instance p1, Lcom/facebook/fresco/animation/b/a;
iget-object v5, p0, Lcom/facebook/fresco/animation/factory/a;->PV:Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;
new-instance v7, Lcom/facebook/fresco/animation/b/c/a;
invoke-direct {v7, v1}, Lcom/facebook/fresco/animation/b/c/a;-><init>(Lcom/facebook/imagepipeline/animated/a/a;)V
move-object v4, p1
invoke-direct/range {v4 .. v10}, Lcom/facebook/fresco/animation/b/a;-><init>(Lcom/facebook/imagepipeline/bitmaps/PlatformBitmapFactory;Lcom/facebook/fresco/animation/b/b;Lcom/facebook/fresco/animation/a/d;Lcom/facebook/fresco/animation/b/c;Lcom/facebook/fresco/animation/b/b/a;Lcom/facebook/fresco/animation/b/b/b;)V
iget-object v1, p0, Lcom/facebook/fresco/animation/factory/a;->KZ:Lcom/facebook/common/time/b;
iget-object v2, p0, Lcom/facebook/fresco/animation/factory/a;->PN:Ljava/util/concurrent/ScheduledExecutorService;
move-object v3, p1
check-cast v3, Lcom/facebook/fresco/animation/a/c$a;
new-instance v4, Lcom/facebook/fresco/animation/a/c;
invoke-direct {v4, p1, v3, v1, v2}, Lcom/facebook/fresco/animation/a/c;-><init>(Lcom/facebook/fresco/animation/a/a;Lcom/facebook/fresco/animation/a/c$a;Lcom/facebook/common/time/b;Ljava/util/concurrent/ScheduledExecutorService;)V
invoke-direct {v0, v4}, Lcom/facebook/fresco/animation/c/a;-><init>(Lcom/facebook/fresco/animation/a/a;)V
return-object v0
.end method