RoomsVideoComponent$1.smali
.class final Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/lifecycle/Observer;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroidx/lifecycle/Observer<",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;)V
.registers 2
.line 107
iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
.registers 4
.line 107
check-cast p1, Ljava/lang/Boolean;
if-nez p1, :cond_6
const/4 p1, 0x0
goto :goto_a
.line 1110
:cond_6
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
.line 1111
:goto_a
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;)Landroid/widget/ImageView;
move-result-object v0
xor-int/lit8 v1, p1, 0x1
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V
.line 1112
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;)Landroid/widget/ImageView;
move-result-object v0
if-eqz p1, :cond_20
const/16 v1, 0x4c
goto :goto_22
:cond_20
const/16 v1, 0xff
:goto_22
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageAlpha(I)V
.line 1113
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;->b(Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;)Landroid/widget/ImageView;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setSelected(Z)V
.line 1114
iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent$1;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;
invoke-static {v0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsVideoComponent;Z)V
return-void
.end method