Changes of com.discord v1127
This commit is contained in:
parent
1ee8238ad4
commit
dd34a72e66
34 changed files with 1116 additions and 782 deletions
|
@ -55,6 +55,16 @@
|
|||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h$a;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->b(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
@ -95,5 +105,6 @@
|
|||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -41,6 +41,17 @@
|
|||
.method public final run()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->A:Ljava/lang/String;
|
||||
|
||||
const-string v1, "Replacing EditText component"
|
||||
|
@ -53,7 +64,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
||||
|
||||
|
@ -61,17 +72,17 @@
|
|||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-nez v0, :cond_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ne v0, v1, :cond_1
|
||||
if-ne v0, v1, :cond_2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
|
@ -93,7 +104,7 @@
|
|||
|
||||
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_1
|
||||
:cond_2
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->c(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/ViewGroup;
|
||||
|
@ -146,18 +157,18 @@
|
|||
|
||||
instance-of v1, v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
if-nez v1, :cond_2
|
||||
if-nez v1, :cond_3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
:cond_2
|
||||
:cond_3
|
||||
check-cast v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
:cond_4
|
||||
new-instance v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
@ -173,7 +184,7 @@
|
|||
|
||||
const/16 v2, 0x15
|
||||
|
||||
if-gt v1, v2, :cond_4
|
||||
if-gt v1, v2, :cond_5
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
|
@ -201,7 +212,7 @@
|
|||
|
||||
invoke-virtual {v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V
|
||||
|
||||
:cond_4
|
||||
:cond_5
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->e:Landroidx/appcompat/widget/AppCompatEditText;
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
|
|
@ -288,6 +288,16 @@
|
|||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()Z
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroidx/fragment/app/Fragment;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
@ -627,7 +637,7 @@
|
|||
|
||||
invoke-direct {v3, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
|
@ -1467,7 +1477,39 @@
|
|||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final d()V
|
||||
.method public final d()Z
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isRemoving()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isDetached()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final e()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue