VideoPlayerView$4.smali
.class final Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;
.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:Z
.field final synthetic b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
# direct methods
.method constructor <init>(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;Z)V
.registers 3
.line 339
iput-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
iput-boolean p2, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->a:Z
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 367
invoke-interface {p1}, Lcom/facebook/datasource/DataSource;->getFailureCause()Ljava/lang/Throwable;
move-result-object p1
const-string v0, "VideoPlayerView"
const-string v1, "dataSource onFailureImpl!"
invoke-static {v0, v1, p1}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
.line 368
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
iget-boolean v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->a:Z
invoke-static {p1, v0}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->a(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;Z)V
return-void
.end method
.method public final a(Lcom/masala/share/g/a/b;)V
.registers 5
.line 343
iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {v0, p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->b(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;Lcom/masala/share/g/a/b;)Lcom/masala/share/g/a/b;
.line 344
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->g(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_20
const-string p1, "VideoPlayerView"
const-string v0, "bitmap == null"
.line 346
invoke-static {p1, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 347
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
iget-boolean v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->a:Z
invoke-static {p1, v0}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->a(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;Z)V
return-void
.line 350
:cond_20
iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
.line 1127
iget-object v1, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->b:Landroid/view/View;
invoke-virtual {v1}, Landroid/view/View;->getVisibility()I
move-result v1
const/16 v2, 0x8
if-eq v1, v2, :cond_31
.line 1128
iget-object v1, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->b:Landroid/view/View;
invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V
.line 1130
:cond_31
iget-object v1, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->c:Landroid/widget/ImageView;
invoke-virtual {v1}, Landroid/widget/ImageView;->getVisibility()I
move-result v1
if-eq v1, v2, :cond_3e
.line 1131
iget-object v0, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->c:Landroid/widget/ImageView;
invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V
.line 351
:cond_3e
iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
move-result v1
iput v1, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->e:I
.line 352
iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
move-result v1
iput v1, v0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->f:I
.line 353
iget-object v0, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b: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
.line 354
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->f(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/imo/android/imoim/feeds/ui/widget/photoview/PhotoView;
move-result-object p1
const/high16 v0, 0x7e050000
invoke-static {v0}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I
move-result v0
invoke-virtual {p1, v0}, Lcom/imo/android/imoim/feeds/ui/widget/photoview/PhotoView;->setBackgroundColor(I)V
.line 355
iget-boolean p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->a:Z
if-eqz p1, :cond_8a
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->h(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/imo/android/imoim/feeds/ui/detail/f/c$a;
move-result-object p1
if-eqz p1, :cond_8a
.line 356
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->h(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/imo/android/imoim/feeds/ui/detail/f/c$a;
move-result-object p1
invoke-interface {p1}, Lcom/imo/android/imoim/feeds/ui/detail/f/c$a;->a()V
.line 357
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
iget-boolean p1, p1, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->h:Z
if-nez p1, :cond_8a
.line 358
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->h(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Lcom/imo/android/imoim/feeds/ui/detail/f/c$a;
move-result-object p1
invoke-interface {p1}, Lcom/imo/android/imoim/feeds/ui/detail/f/c$a;->b()V
.line 361
:cond_8a
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
const/4 v0, 0x1
iput-boolean v0, p1, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->h:Z
.line 362
iget-object p1, p0, Lcom/masala/share/sdkvideoplayer/VideoPlayerView$4;->b:Lcom/masala/share/sdkvideoplayer/VideoPlayerView;
invoke-static {p1}, Lcom/masala/share/sdkvideoplayer/VideoPlayerView;->i(Lcom/masala/share/sdkvideoplayer/VideoPlayerView;)Z
return-void
.end method