Changes of com.discord v1345
This commit is contained in:
parent
ed7cf41cb9
commit
eaf76e1284
1833 changed files with 69240 additions and 59382 deletions
|
@ -73,7 +73,7 @@
|
|||
|
||||
move-result-object v7
|
||||
|
||||
invoke-virtual {v7, v2, v3}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable;
|
||||
invoke-virtual {v7, v2, v3}, Lcom/discord/stores/StorePermissions;->observePermissionsForChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
|
||||
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
const v1, 0x7f120465
|
||||
const v1, 0x7f120478
|
||||
|
||||
const v2, 0x7f121845
|
||||
const v2, 0x7f12189d
|
||||
|
||||
invoke-static {v0, v1, v2}, Lcom/miguelgaeta/media_picker/MediaPicker;->openMediaChooser(Lcom/miguelgaeta/media_picker/MediaPicker$Provider;II)V
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v4, v0, v1}, Lcom/discord/stores/StorePermissions;->getForChannel(J)Lrx/Observable;
|
||||
invoke-virtual {v4, v0, v1}, Lcom/discord/stores/StorePermissions;->observePermissionsForChannel(J)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
move-result p1
|
||||
|
||||
const p2, 0x7f0a0678
|
||||
const p2, 0x7f0a0683
|
||||
|
||||
if-eq p1, p2, :cond_0
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {}, Lf/a/b/s;->e()Lrx/Observable$c;
|
||||
invoke-static {}, Lf/a/b/r;->e()Lrx/Observable$c;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
|||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {v0}, Lf/a/b/s;->q(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
|
||||
invoke-static {v0}, Lf/a/b/r;->q(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
invoke-direct {p2, v0}, Lf/a/o/a/b0;-><init>(Lcom/discord/widgets/channels/WidgetChannelSettingsEditPermissions;)V
|
||||
|
||||
invoke-static {p2, v0}, Lf/a/b/s;->n(Lrx/functions/Action1;Lcom/discord/app/AppFragment;)Lrx/Observable$c;
|
||||
invoke-static {p2, v0}, Lf/a/b/r;->n(Lrx/functions/Action1;Lcom/discord/app/AppFragment;)Lrx/Observable$c;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const v0, 0x7f1211f7
|
||||
const v0, 0x7f121229
|
||||
|
||||
invoke-static {p1, v0}, Lf/a/b/p;->g(Landroidx/fragment/app/Fragment;I)V
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
check-cast p2, Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->f(Landroid/content/Context;Ljava/util/Map;Ljava/util/Map;)Ljava/util/List;
|
||||
invoke-static {v0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->g(Landroid/content/Context;Ljava/util/Map;Ljava/util/Map;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,56 +3,40 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func6;
|
||||
.implements Lrx/functions/Func4;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/discord/models/domain/ModelChannel;
|
||||
.field public final synthetic a:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.method public synthetic constructor <init>(Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/g;->a:Lcom/discord/models/domain/ModelChannel;
|
||||
iput-boolean p1, p0, Lf/a/o/b/a/g;->a:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 7
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/g;->a:Lcom/discord/models/domain/ModelChannel;
|
||||
iget-boolean v0, p0, Lf/a/o/b/a/g;->a:Z
|
||||
|
||||
move-object v1, p1
|
||||
check-cast p1, Ljava/util/Collection;
|
||||
|
||||
check-cast v1, Ljava/lang/Long;
|
||||
check-cast p2, Ljava/util/List;
|
||||
|
||||
move-object v2, p2
|
||||
check-cast p3, Ljava/util/Collection;
|
||||
|
||||
check-cast v2, Ljava/lang/Long;
|
||||
check-cast p4, Ljava/util/Collection;
|
||||
|
||||
move-object v3, p3
|
||||
|
||||
check-cast v3, Ljava/util/Map;
|
||||
|
||||
move-object v4, p4
|
||||
|
||||
check-cast v4, Ljava/util/Map;
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
check-cast v5, Ljava/util/Map;
|
||||
|
||||
move-object v6, p6
|
||||
|
||||
check-cast v6, Ljava/util/Map;
|
||||
|
||||
invoke-static/range {v0 .. v6}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->h(Lcom/discord/models/domain/ModelChannel;Ljava/lang/Long;Ljava/lang/Long;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Collection;
|
||||
invoke-static {v0, p1, p2, p3, p4}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->k(ZLjava/util/Collection;Ljava/util/List;Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func2;
|
||||
.implements Lrx/functions/Func6;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
|
||||
.field public final synthetic a:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -16,23 +16,43 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/h;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
iput-object p1, p0, Lf/a/o/b/a/h;->a:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 7
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/h;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
iget-object v0, p0, Lf/a/o/b/a/h;->a:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
check-cast p1, Ljava/util/Map;
|
||||
move-object v1, p1
|
||||
|
||||
check-cast p2, Ljava/util/Map;
|
||||
check-cast v1, Ljava/lang/Long;
|
||||
|
||||
invoke-static {v0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->j(Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Collection;
|
||||
move-object v2, p2
|
||||
|
||||
check-cast v2, Ljava/lang/Long;
|
||||
|
||||
move-object v3, p3
|
||||
|
||||
check-cast v3, Ljava/util/Map;
|
||||
|
||||
move-object v4, p4
|
||||
|
||||
check-cast v4, Ljava/util/Map;
|
||||
|
||||
move-object v5, p5
|
||||
|
||||
check-cast v5, Ljava/util/Map;
|
||||
|
||||
move-object v6, p6
|
||||
|
||||
check-cast v6, Ljava/util/Map;
|
||||
|
||||
invoke-static/range {v0 .. v6}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->h(Lcom/discord/models/domain/ModelChannel;Ljava/lang/Long;Ljava/lang/Long;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,34 +3,36 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/k/b;
|
||||
.implements Lrx/functions/Func2;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Landroid/content/Context;
|
||||
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Landroid/content/Context;)V
|
||||
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/i;->d:Landroid/content/Context;
|
||||
iput-object p1, p0, Lf/a/o/b/a/i;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/i;->d:Landroid/content/Context;
|
||||
iget-object v0, p0, Lf/a/o/b/a/i;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
check-cast p1, Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->i(Landroid/content/Context;Lcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
check-cast p2, Ljava/util/Map;
|
||||
|
||||
invoke-static {v0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->l(Lcom/discord/models/domain/ModelChannel;Ljava/util/Map;Ljava/util/Map;)Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/util/Comparator;
|
||||
.implements Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic d:Lf/a/o/b/a/j;
|
||||
.field public static final synthetic a:Lf/a/o/b/a/j;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/j;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/j;->d:Lf/a/o/b/a/j;
|
||||
sput-object v0, Lf/a/o/b/a/j;->a:Lf/a/o/b/a/j;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -33,16 +33,12 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||||
.method public final call(Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)Ljava/lang/String;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
invoke-static {p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->f(Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)Ljava/lang/String;
|
||||
|
||||
check-cast p2, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->k(Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/k/b;
|
||||
.implements Ljava/util/Comparator;
|
||||
|
||||
|
||||
# static fields
|
||||
|
@ -33,26 +33,16 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
|
||||
sget v0, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
check-cast p2, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
invoke-static {p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->m(Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)I
|
||||
|
||||
const/4 p1, 0x1
|
||||
move-result p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
return p1
|
||||
.end method
|
||||
|
|
|
@ -3,56 +3,72 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/k/b;
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic d:Lf/a/o/b/a/l;
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/l;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/l;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/l;->d:Lf/a/o/b/a/l;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.method public synthetic constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput p1, p0, Lf/a/o/b/a/l;->d:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 5
|
||||
|
||||
check-cast p1, Lcom/discord/models/domain/ModelGuild;
|
||||
iget v0, p0, Lf/a/o/b/a/l;->d:I
|
||||
|
||||
sget v0, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
sget v1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
|
||||
const/4 p1, 0x1
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->getType()I
|
||||
|
||||
move-result p1
|
||||
|
||||
rem-int/2addr p1, v0
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
move-result-wide v1
|
||||
|
||||
const/16 p1, 0x16
|
||||
|
||||
shr-long/2addr v1, p1
|
||||
|
||||
int-to-long v3, v0
|
||||
|
||||
rem-long/2addr v1, v3
|
||||
|
||||
long-to-int p1, v1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/widgets/chat/input/WidgetChatInputSlashAction;
|
||||
.implements Lh0/k/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:Lf/a/o/b/a/m;
|
||||
.field public static final synthetic d:Lf/a/o/b/a/m;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/m;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/m;->a:Lf/a/o/b/a/m;
|
||||
sput-object v0, Lf/a/o/b/a/m;->d:Lf/a/o/b/a/m;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -33,10 +33,24 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)Ljava/lang/String;
|
||||
.locals 0
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-static {p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->g(Ljava/lang/String;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)Ljava/lang/String;
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
sget v0, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,72 +3,56 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.implements Lh0/k/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:I
|
||||
# static fields
|
||||
.field public static final synthetic d:Lf/a/o/b/a/n;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(I)V
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/n;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/n;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/n;->d:Lf/a/o/b/a/n;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput p1, p0, Lf/a/o/b/a/n;->d:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 5
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Lf/a/o/b/a/n;->d:I
|
||||
check-cast p1, Lcom/discord/models/domain/ModelGuild;
|
||||
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
sget v0, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
|
||||
sget v1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->getUser()Lcom/discord/models/domain/ModelUser;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->getType()I
|
||||
|
||||
move-result p1
|
||||
|
||||
rem-int/2addr p1, v0
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
move-result-object p1
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getId()J
|
||||
const/4 p1, 0x0
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
const/16 p1, 0x16
|
||||
|
||||
shr-long/2addr v1, p1
|
||||
|
||||
int-to-long v3, v0
|
||||
|
||||
rem-long/2addr v1, v3
|
||||
|
||||
long-to-int p1, v1
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,60 +3,42 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func4;
|
||||
.implements Lh0/k/b;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:Lf/a/o/b/a/o;
|
||||
# instance fields
|
||||
.field public final synthetic d:Landroid/content/Context;
|
||||
|
||||
.field public final synthetic e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/o;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/o;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/o;->a:Lf/a/o/b/a/o;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.method public synthetic constructor <init>(Landroid/content/Context;Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/o;->d:Landroid/content/Context;
|
||||
|
||||
iput-boolean p2, p0, Lf/a/o/b/a/o;->e:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Ljava/util/Collection;
|
||||
iget-object v0, p0, Lf/a/o/b/a/o;->d:Landroid/content/Context;
|
||||
|
||||
check-cast p2, Ljava/util/List;
|
||||
iget-boolean v1, p0, Lf/a/o/b/a/o;->e:Z
|
||||
|
||||
check-cast p3, Ljava/util/Collection;
|
||||
check-cast p1, Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
check-cast p4, Ljava/util/Collection;
|
||||
invoke-static {v0, v1, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->j(Landroid/content/Context;ZLcom/discord/models/domain/ModelChannel;)Lrx/Observable;
|
||||
|
||||
sget v0, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
move-result-object p1
|
||||
|
||||
new-instance v0, Ljava/util/TreeSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/TreeSet;-><init>()V
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/TreeSet;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/util/TreeSet;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-virtual {v0, p3}, Ljava/util/TreeSet;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-virtual {v0, p4}, Ljava/util/TreeSet;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
return-object v0
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,56 +3,46 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/k/b;
|
||||
.implements Lrx/functions/Func3;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
|
||||
# static fields
|
||||
.field public static final synthetic a:Lf/a/o/b/a/p;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/p;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/p;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/p;->a:Lf/a/o/b/a/p;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/p;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/p;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
sget v1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
check-cast p2, Ljava/util/List;
|
||||
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsers()Lcom/discord/stores/StoreUser;
|
||||
check-cast p3, Ljava/util/List;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v1, p1}, Lcom/discord/stores/StoreUser;->observeUsers(Ljava/util/Collection;)Lrx/Observable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getPresences()Lcom/discord/stores/StoreUserPresence;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2, p1}, Lcom/discord/stores/StoreUserPresence;->observePresencesForUsers(Ljava/util/Collection;)Lrx/Observable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance v2, Lf/a/o/b/a/h;
|
||||
|
||||
invoke-direct {v2, v0}, Lf/a/o/b/a/h;-><init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
invoke-static {v1, p1, v2}, Lrx/Observable;->j(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
||||
invoke-static {p1, p2, p3}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->i(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/Collection;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -3,110 +3,58 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnKeyListener;
|
||||
.implements Lh0/k/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
.field public final synthetic d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
||||
.method public synthetic constructor <init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/q;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iput-object p1, p0, Lf/a/o/b/a/q;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
|
||||
.locals 4
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
|
||||
iget-object p1, p0, Lf/a/o/b/a/q;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iget-object v0, p0, Lf/a/o/b/a/q;->d:Lcom/discord/models/domain/ModelChannel;
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
invoke-virtual {p3}, Landroid/view/KeyEvent;->getFlags()I
|
||||
sget v1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;->TYPE_USER:I
|
||||
|
||||
move-result v0
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsers()Lcom/discord/stores/StoreUser;
|
||||
|
||||
const/4 v1, 0x2
|
||||
move-result-object v1
|
||||
|
||||
and-int/2addr v0, v1
|
||||
invoke-virtual {v1, p1}, Lcom/discord/stores/StoreUser;->observeUsers(Ljava/util/Collection;)Lrx/Observable;
|
||||
|
||||
const/4 v2, 0x0
|
||||
move-result-object v1
|
||||
|
||||
const/4 v3, 0x1
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getPresences()Lcom/discord/stores/StoreUserPresence;
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
move-result-object v2
|
||||
|
||||
const/4 v0, 0x1
|
||||
invoke-virtual {v2, p1}, Lcom/discord/stores/StoreUserPresence;->observePresencesForUsers(Ljava/util/Collection;)Lrx/Observable;
|
||||
|
||||
goto :goto_0
|
||||
move-result-object p1
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
new-instance v2, Lf/a/o/b/a/i;
|
||||
|
||||
:goto_0
|
||||
const/16 v1, 0x42
|
||||
invoke-direct {v2, v0}, Lf/a/o/b/a/i;-><init>(Lcom/discord/models/domain/ModelChannel;)V
|
||||
|
||||
if-ne p2, v1, :cond_1
|
||||
invoke-static {v1, p1, v2}, Lrx/Observable;->j(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
|
||||
|
||||
const/4 p2, 0x1
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 p2, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
invoke-virtual {p3, v3}, Landroid/view/KeyEvent;->hasModifiers(I)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getShiftEnterToSend()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
if-nez p2, :cond_3
|
||||
|
||||
:cond_2
|
||||
if-nez v0, :cond_5
|
||||
|
||||
if-nez p2, :cond_5
|
||||
|
||||
:cond_3
|
||||
iget-object p2, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
|
||||
if-eqz p2, :cond_4
|
||||
|
||||
invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I
|
||||
|
||||
move-result p2
|
||||
|
||||
if-ne p2, v3, :cond_4
|
||||
|
||||
iget-object p1, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
|
||||
invoke-interface {p1}, Lrx/functions/Action0;->call()V
|
||||
|
||||
:cond_4
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_5
|
||||
return v2
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,66 +3,110 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Func2;
|
||||
.implements Landroid/view/View$OnKeyListener;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic d:Lf/a/o/b/a/r;
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/r;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/r;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/r;->d:Lf/a/o/b/a/r;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/r;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
.method public final onKey(Landroid/view/View;ILandroid/view/KeyEvent;)Z
|
||||
.locals 4
|
||||
|
||||
check-cast p1, Ljava/lang/Boolean;
|
||||
iget-object p1, p0, Lf/a/o/b/a/r;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
check-cast p2, Ljava/lang/Boolean;
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
invoke-virtual {p3}, Landroid/view/KeyEvent;->getFlags()I
|
||||
|
||||
move-result p1
|
||||
move-result v0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
const/4 v1, 0x2
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
and-int/2addr v0, v1
|
||||
|
||||
move-result p1
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
const/4 v3, 0x1
|
||||
|
||||
const/4 p1, 0x1
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
const/16 v1, 0x42
|
||||
|
||||
move-result-object p1
|
||||
if-ne p2, v1, :cond_1
|
||||
|
||||
return-object p1
|
||||
const/4 p2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 p2, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz p2, :cond_5
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
invoke-virtual {p3, v3}, Landroid/view/KeyEvent;->hasModifiers(I)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getShiftEnterToSend()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
if-nez p2, :cond_3
|
||||
|
||||
:cond_2
|
||||
if-nez v0, :cond_5
|
||||
|
||||
if-nez p2, :cond_5
|
||||
|
||||
:cond_3
|
||||
iget-object p2, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
|
||||
if-eqz p2, :cond_4
|
||||
|
||||
invoke-virtual {p3}, Landroid/view/KeyEvent;->getAction()I
|
||||
|
||||
move-result p2
|
||||
|
||||
if-ne p2, v3, :cond_4
|
||||
|
||||
iget-object p1, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
|
||||
invoke-interface {p1}, Lrx/functions/Action0;->call()V
|
||||
|
||||
:cond_4
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_5
|
||||
return v2
|
||||
.end method
|
||||
|
|
|
@ -3,34 +3,66 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
.implements Lrx/functions/Func2;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
# static fields
|
||||
.field public static final synthetic d:Lf/a/o/b/a/s;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
||||
.method public static synthetic constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lf/a/o/b/a/s;
|
||||
|
||||
invoke-direct {v0}, Lf/a/o/b/a/s;-><init>()V
|
||||
|
||||
sput-object v0, Lf/a/o/b/a/s;->d:Lf/a/o/b/a/s;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/s;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.method public final call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/s;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
check-cast p1, Ljava/lang/Boolean;
|
||||
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
check-cast p2, Ljava/lang/Boolean;
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->a(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)V
|
||||
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
return-void
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lcom/discord/widgets/chat/input/WidgetChatInputMentions$OnTagsMatched;
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
|
||||
# direct methods
|
||||
|
@ -16,21 +16,21 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/t;->a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iput-object p1, p0, Lf/a/o/b/a/t;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onTagsMatched(Ljava/util/List;)V
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/t;->a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iget-object v0, p0, Lf/a/o/b/a/t;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->mentionsAdapter:Lcom/discord/widgets/chat/input/WidgetChatInputCommandsAdapter;
|
||||
check-cast p1, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsAdapter;->setData(Ljava/util/List;)V
|
||||
invoke-static {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->a(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/discord/widgets/chat/input/WidgetChatInputCommandsModel;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,49 +3,38 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
.implements Lcom/discord/widgets/chat/input/WidgetChatInputMentions$OnTagsMatched;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
.field public final synthetic e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
.field public final synthetic a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/lytefast/flexinput/widget/FlexEditText;)V
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/u;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
iput-object p2, p0, Lf/a/o/b/a/u;->e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
iput-object p1, p0, Lf/a/o/b/a/u;->a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.method public final onTagsMatched(Ljava/util/List;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/u;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iget-object v0, p0, Lf/a/o/b/a/u;->a:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
iget-object v1, p0, Lf/a/o/b/a/u;->e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
iget-object v1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->mentionsAdapter:Lcom/discord/widgets/chat/input/WidgetChatInputCommandsAdapter;
|
||||
|
||||
check-cast p1, Ljava/lang/Integer;
|
||||
invoke-virtual {v1, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputCommandsAdapter;->setData(Ljava/util/List;)V
|
||||
|
||||
check-cast p2, Ljava/lang/Integer;
|
||||
iget-object v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->applicationCommands:Lcom/discord/widgets/chat/input/applicationcommands/WidgetChatInputApplicationCommands;
|
||||
|
||||
iget-object p1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->mentions:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/applicationcommands/WidgetChatInputApplicationCommands;->processMatchedTagsForCommands(Ljava/util/List;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->processMentions(Landroid/widget/EditText;)V
|
||||
|
||||
:cond_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/widget/TextView$OnEditorActionListener;
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# instance fields
|
||||
|
@ -23,30 +23,14 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final onEditorAction(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
|
||||
.locals 0
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object p1, p0, Lf/a/o/b/a/v;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
iget-object v0, p0, Lf/a/o/b/a/v;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
and-int/lit16 p2, p2, 0xff
|
||||
check-cast p1, Ljava/util/Collection;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->b(Ljava/util/Collection;)V
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 p3, 0x6
|
||||
|
||||
if-ne p2, p3, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lrx/functions/Action0;->call()V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,42 +3,56 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function1;
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
.field public final synthetic e:Landroid/widget/EditText;
|
||||
.field public final synthetic e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputMentions;Landroid/widget/EditText;)V
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Lcom/lytefast/flexinput/widget/FlexEditText;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/w;->d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
iput-object p1, p0, Lf/a/o/b/a/w;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
iput-object p2, p0, Lf/a/o/b/a/w;->e:Landroid/widget/EditText;
|
||||
iput-object p2, p0, Lf/a/o/b/a/w;->e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/w;->d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
iget-object v0, p0, Lf/a/o/b/a/w;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
iget-object v1, p0, Lf/a/o/b/a/w;->e:Landroid/widget/EditText;
|
||||
iget-object v1, p0, Lf/a/o/b/a/w;->e:Lcom/lytefast/flexinput/widget/FlexEditText;
|
||||
|
||||
check-cast p1, Landroid/text/Editable;
|
||||
check-cast p1, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->a(Landroid/widget/EditText;Landroid/text/Editable;)Lkotlin/Unit;
|
||||
check-cast p2, Ljava/lang/Integer;
|
||||
|
||||
const/4 p1, 0x0
|
||||
iget-object p1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->mentions:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->processMentions(Landroid/widget/EditText;)V
|
||||
|
||||
:cond_0
|
||||
iget-object p1, v0, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->applicationCommands:Lcom/discord/widgets/chat/input/applicationcommands/WidgetChatInputApplicationCommands;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Lcom/discord/widgets/chat/input/applicationcommands/WidgetChatInputApplicationCommands;->processApplicationCommands()V
|
||||
|
||||
:cond_1
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -3,36 +3,50 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lh0/k/b;
|
||||
.implements Landroid/widget/TextView$OnEditorActionListener;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
.field public final synthetic d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputMentions;)V
|
||||
.method public synthetic constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf/a/o/b/a/x;->d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
iput-object p1, p0, Lf/a/o/b/a/x;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.method public final onEditorAction(Landroid/widget/TextView;ILandroid/view/KeyEvent;)Z
|
||||
.locals 0
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/x;->d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
iget-object p1, p0, Lf/a/o/b/a/x;->d:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||||
|
||||
check-cast p1, Ljava/lang/String;
|
||||
and-int/lit16 p2, p2, 0xff
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->b(Ljava/lang/String;)Ljava/util/List;
|
||||
iget-object p1, p1, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->onSendListener:Lrx/functions/Action0;
|
||||
|
||||
move-result-object p1
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-object p1
|
||||
const/4 p3, 0x6
|
||||
|
||||
if-ne p2, p3, :cond_0
|
||||
|
||||
invoke-interface {p1}, Lrx/functions/Action0;->call()V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
check-cast p1, Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->c(Ljava/util/List;)V
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->b(Ljava/util/List;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.source "lambda"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
.implements Lh0/k/b;
|
||||
|
||||
|
||||
# instance fields
|
||||
|
@ -23,14 +23,16 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final call(Ljava/lang/Object;)V
|
||||
.method public final call(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf/a/o/b/a/z;->d:Lcom/discord/widgets/chat/input/WidgetChatInputMentions;
|
||||
|
||||
check-cast p1, Ljava/util/Collection;
|
||||
check-cast p1, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->setMentionsData(Ljava/util/Collection;)V
|
||||
invoke-virtual {v0, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputMentions;->a(Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
return-void
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const v1, 0x7f12062b
|
||||
const v1, 0x7f12063f
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
check-cast v0, Landroid/content/Context;
|
||||
|
||||
const v1, 0x7f12062a
|
||||
const v1, 0x7f12063e
|
||||
|
||||
invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue