You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
191 lines
5.0 KiB
191 lines
5.0 KiB
2 years ago
|
.class Lcom/viatech/gallery/SendVideoActivity$6;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "SendVideoActivity.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/text/TextWatcher;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/viatech/gallery/SendVideoActivity;->onCreate(Landroid/os/Bundle;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/viatech/gallery/SendVideoActivity;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 386
|
||
|
iput-object p1, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public afterTextChanged(Landroid/text/Editable;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 391
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 396
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onTextChanged(Ljava/lang/CharSequence;III)V
|
||
|
.locals 4
|
||
|
|
||
|
.prologue
|
||
|
.line 400
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 401
|
||
|
iget-object v1, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-static {v1}, Lcom/viatech/gallery/SendVideoActivity;->access$800(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/EditText;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/widget/EditText;->getSelectionStart()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
add-int/lit8 v1, v1, -0x1
|
||
|
|
||
|
.line 402
|
||
|
if-lez v1, :cond_0
|
||
|
|
||
|
.line 403
|
||
|
invoke-interface {p1, v1}, Ljava/lang/CharSequence;->charAt(I)C
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/util/isEmojiUtil;->isEmojiCharacter(C)Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 404
|
||
|
iget-object v2, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/gallery/SendVideoActivity;->access$800(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/EditText;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 405
|
||
|
add-int/lit8 v3, v1, 0x1
|
||
|
|
||
|
invoke-interface {v2, v1, v3}, Landroid/text/Editable;->delete(II)Landroid/text/Editable;
|
||
|
|
||
|
.line 408
|
||
|
:cond_0
|
||
|
const-string v1, ""
|
||
|
|
||
|
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
.line 409
|
||
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$800(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/EditText;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const v1, 0x7f0700bc
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(I)V
|
||
|
|
||
|
.line 413
|
||
|
:goto_0
|
||
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$900(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/TextView;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, ""
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
rsub-int/lit8 v2, v2, 0x78
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget-object v2, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
const v3, 0x7f070112
|
||
|
|
||
|
invoke-virtual {v2, v3}, Lcom/viatech/gallery/SendVideoActivity;->getString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
.line 414
|
||
|
return-void
|
||
|
|
||
|
.line 411
|
||
|
:cond_1
|
||
|
iget-object v0, p0, Lcom/viatech/gallery/SendVideoActivity$6;->this$0:Lcom/viatech/gallery/SendVideoActivity;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/gallery/SendVideoActivity;->access$800(Lcom/viatech/gallery/SendVideoActivity;)Landroid/widget/EditText;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, ""
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|