Changes of com.discord v968
This commit is contained in:
parent
2be3c10320
commit
8dbf9fb1c2
8046 changed files with 353591 additions and 366898 deletions
|
@ -0,0 +1,73 @@
|
|||
.class final Landroidx/appcompat/widget/AppCompatTextClassifierHelper;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AppCompatTextClassifierHelper.java"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private mTextClassifier:Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
.field private mTextView:Landroid/widget/TextView;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroid/widget/TextView;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
invoke-static {p1}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroid/widget/TextView;
|
||||
|
||||
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->mTextView:Landroid/widget/TextView;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->mTextClassifier:Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->mTextView:Landroid/widget/TextView;
|
||||
|
||||
invoke-virtual {v0}, Landroid/widget/TextView;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-class v1, Landroid/view/textclassifier/TextClassificationManager;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/view/textclassifier/TextClassificationManager;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0}, Landroid/view/textclassifier/TextClassificationManager;->getTextClassifier()Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroid/view/textclassifier/TextClassifier;->NO_OP:Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
:cond_1
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public final setTextClassifier(Landroid/view/textclassifier/TextClassifier;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/appcompat/widget/AppCompatTextClassifierHelper;->mTextClassifier:Landroid/view/textclassifier/TextClassifier;
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue