VideoPlayerView$3.smali

.class final Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;
.super Lcom/masala/share/g/a/c;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->a(Ljava/lang/String;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;


# direct methods
.method constructor <init>(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)V
    .registers 2

    .line 318
    iput-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;->a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;

    invoke-direct {p0}, Lcom/masala/share/g/a/c;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(Lcom/facebook/datasource/DataSource;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/facebook/datasource/DataSource<",
            "Lcom/facebook/common/references/CloseableReference<",
            "Lcom/facebook/imagepipeline/image/CloseableImage;",
            ">;>;)V"
        }
    .end annotation

    .line 335
    invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getFailureCause()Ljava/lang/Throwable;

    move-result-object p1

    const-string v0, "VideoPlayerView"

    const-string v1, "low bitmap dataSource onFailureImpl!"

    invoke-static {v0, v1, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    return-void
.end method

.method public final a(Lcom/masala/share/g/a/b;)V
    .registers 3

    .line 322
    iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;->a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;

    invoke-static {v0, p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->a(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;Lcom/masala/share/g/a/b;)Lcom/masala/share/g/a/b;

    .line 323
    iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;->a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;

    invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->d(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/masala/share/g/a/b;

    move-result-object p1

    invoke-virtual {p1}, Lcom/masala/share/g/a/b;->b()Landroid/graphics/Bitmap;

    move-result-object p1

    if-nez p1, :cond_19

    const-string p1, "VideoPlayerView"

    const-string v0, "low bitmap == null"

    .line 325
    invoke-static {p1, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 328
    :cond_19
    iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;->a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;

    invoke-static {v0}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->e(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Z

    move-result v0

    if-nez v0, :cond_2a

    .line 329
    iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$3;->a:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;

    invoke-static {v0}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->f(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/imo/android/imoim/feeds/ui/widget/photoview/PhotoView;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/PhotoView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_2a
    return-void
.end method