q$a.smali
.class public Li/q$a;
.super Lcom/facebook/drawee/controller/BaseControllerListener;
.source "ImageReader.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Li/q;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/drawee/controller/BaseControllerListener<",
"Lcom/facebook/imagepipeline/image/ImageInfo;",
">;"
}
.end annotation
# instance fields
.field public final synthetic a:Li/q;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Li/q;)V
.registers 2
iput-object p1, p0, Li/q$a;->a:Li/q;
invoke-direct {p0}, Lcom/facebook/drawee/controller/BaseControllerListener;-><init>()V
return-void
.end method
# virtual methods
.method public onFinalImageSet(Ljava/lang/String;Lcom/facebook/imagepipeline/image/ImageInfo;Landroid/graphics/drawable/Animatable;)V
.registers 6
.param p1 # Ljava/lang/String;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p2 # Lcom/facebook/imagepipeline/image/ImageInfo;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
const/4 p1, 0x0
:try_start_1
iget-object p2, p0, Li/q$a;->a:Li/q;
invoke-static {p2}, Li/q;->a(Li/q;)Lcom/facebook/datasource/DataSource;
move-result-object p2
invoke-interface {p2}, Lcom/facebook/datasource/DataSource;->getResult()Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/facebook/common/references/CloseableReference;
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_5b
if-eqz p2, :cond_43
:try_start_f
invoke-virtual {p2}, Lcom/facebook/common/references/CloseableReference;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/facebook/imagepipeline/image/CloseableImage;
if-eqz p1, :cond_43
instance-of p3, p1, Lcom/facebook/imagepipeline/image/CloseableStaticBitmap;
if-eqz p3, :cond_43
check-cast p1, Lcom/facebook/imagepipeline/image/CloseableStaticBitmap;
invoke-virtual {p1}, Lcom/facebook/imagepipeline/image/CloseableStaticBitmap;->getUnderlyingBitmap()Landroid/graphics/Bitmap;
move-result-object p1
if-eqz p1, :cond_43
sget-object p3, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
const/4 v0, 0x1
invoke-virtual {p1, p3, v0}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;
move-result-object p1
iget-object p3, p0, Li/q$a;->a:Li/q;
invoke-static {p3}, Li/q;->b(Li/q;)Li/p;
move-result-object p3
invoke-interface {p3, p1}, Li/p;->setIconBitmap(Landroid/graphics/Bitmap;)V
iget-object p3, p0, Li/q$a;->a:Li/q;
invoke-static {p3}, Li/q;->b(Li/q;)Li/p;
move-result-object p3
invoke-static {p1}, Lcom/google/android/gms/maps/model/BitmapDescriptorFactory;->fromBitmap(Landroid/graphics/Bitmap;)Lcom/google/android/gms/maps/model/BitmapDescriptor;
move-result-object p1
invoke-interface {p3, p1}, Li/p;->setIconBitmapDescriptor(Lcom/google/android/gms/maps/model/BitmapDescriptor;)V
:try_end_40
.catchall {:try_start_f .. :try_end_40} :catchall_41
goto :goto_43
:catchall_41
move-exception p1
goto :goto_5f
:cond_43
:goto_43
iget-object p1, p0, Li/q$a;->a:Li/q;
invoke-static {p1}, Li/q;->a(Li/q;)Lcom/facebook/datasource/DataSource;
move-result-object p1
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->close()Z
if-eqz p2, :cond_51
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->closeSafely(Lcom/facebook/common/references/CloseableReference;)V
:cond_51
iget-object p1, p0, Li/q$a;->a:Li/q;
invoke-static {p1}, Li/q;->b(Li/q;)Li/p;
move-result-object p1
invoke-interface {p1}, Li/p;->update()V
return-void
:catchall_5b
move-exception p2
move-object v1, p2
move-object p2, p1
move-object p1, v1
:goto_5f
iget-object p3, p0, Li/q$a;->a:Li/q;
invoke-static {p3}, Li/q;->a(Li/q;)Lcom/facebook/datasource/DataSource;
move-result-object p3
invoke-interface {p3}, Lcom/facebook/datasource/DataSource;->close()Z
if-eqz p2, :cond_6d
invoke-static {p2}, Lcom/facebook/common/references/CloseableReference;->closeSafely(Lcom/facebook/common/references/CloseableReference;)V
:cond_6d
throw p1
.end method
.method public bridge synthetic onFinalImageSet(Ljava/lang/String;Ljava/lang/Object;Landroid/graphics/drawable/Animatable;)V
.registers 4
.param p1 # Ljava/lang/String;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
check-cast p2, Lcom/facebook/imagepipeline/image/ImageInfo;
invoke-virtual {p0, p1, p2, p3}, Li/q$a;->onFinalImageSet(Ljava/lang/String;Lcom/facebook/imagepipeline/image/ImageInfo;Landroid/graphics/drawable/Animatable;)V
return-void
.end method