Changes of com.discord v823
This commit is contained in:
parent
50139b7f2b
commit
204ebe7067
28411 changed files with 2982405 additions and 1720152 deletions
|
@ -0,0 +1,318 @@
|
|||
.class public final Landroidx/core/accessibilityservice/AccessibilityServiceInfoCompat;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final CAPABILITY_CAN_FILTER_KEY_EVENTS:I = 0x8
|
||||
|
||||
.field public static final CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY:I = 0x4
|
||||
|
||||
.field public static final CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION:I = 0x2
|
||||
|
||||
.field public static final CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT:I = 0x1
|
||||
|
||||
.field public static final FEEDBACK_ALL_MASK:I = -0x1
|
||||
|
||||
.field public static final FEEDBACK_BRAILLE:I = 0x20
|
||||
|
||||
.field public static final FLAG_INCLUDE_NOT_IMPORTANT_VIEWS:I = 0x2
|
||||
|
||||
.field public static final FLAG_REPORT_VIEW_IDS:I = 0x10
|
||||
|
||||
.field public static final FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY:I = 0x8
|
||||
|
||||
.field public static final FLAG_REQUEST_FILTER_KEY_EVENTS:I = 0x20
|
||||
|
||||
.field public static final FLAG_REQUEST_TOUCH_EXPLORATION_MODE:I = 0x4
|
||||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static capabilityToString(I)Ljava/lang/String;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
if-eq p0, v0, :cond_1
|
||||
|
||||
const/16 v0, 0x8
|
||||
|
||||
if-eq p0, v0, :cond_0
|
||||
|
||||
packed-switch p0, :pswitch_data_0
|
||||
|
||||
const-string p0, "UNKNOWN"
|
||||
|
||||
return-object p0
|
||||
|
||||
:pswitch_0
|
||||
const-string p0, "CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION"
|
||||
|
||||
return-object p0
|
||||
|
||||
:pswitch_1
|
||||
const-string p0, "CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string p0, "CAPABILITY_CAN_FILTER_KEY_EVENTS"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
const-string p0, "CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY"
|
||||
|
||||
return-object p0
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public static feedbackTypeToString(I)Ljava/lang/String;
|
||||
.locals 4
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v1, "["
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
:goto_1
|
||||
if-lez p0, :cond_4
|
||||
|
||||
invoke-static {p0}, Ljava/lang/Integer;->numberOfTrailingZeros(I)I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
shl-int v1, v2, v1
|
||||
|
||||
xor-int/lit8 v3, v1, -0x1
|
||||
|
||||
and-int/2addr p0, v3
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-le v3, v2, :cond_0
|
||||
|
||||
const-string v2, ", "
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
:cond_0
|
||||
const/4 v2, 0x4
|
||||
|
||||
if-eq v1, v2, :cond_3
|
||||
|
||||
const/16 v2, 0x8
|
||||
|
||||
if-eq v1, v2, :cond_2
|
||||
|
||||
const/16 v2, 0x10
|
||||
|
||||
if-eq v1, v2, :cond_1
|
||||
|
||||
packed-switch v1, :pswitch_data_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:pswitch_0
|
||||
const-string v1, "FEEDBACK_HAPTIC"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:pswitch_1
|
||||
const-string v1, "FEEDBACK_SPOKEN"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const-string v1, "FEEDBACK_GENERIC"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
const-string v1, "FEEDBACK_VISUAL"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
const-string v1, "FEEDBACK_AUDIBLE"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
const-string p0, "]"
|
||||
|
||||
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
nop
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public static flagToString(I)Ljava/lang/String;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x4
|
||||
|
||||
if-eq p0, v0, :cond_3
|
||||
|
||||
const/16 v0, 0x8
|
||||
|
||||
if-eq p0, v0, :cond_2
|
||||
|
||||
const/16 v0, 0x10
|
||||
|
||||
if-eq p0, v0, :cond_1
|
||||
|
||||
const/16 v0, 0x20
|
||||
|
||||
if-eq p0, v0, :cond_0
|
||||
|
||||
packed-switch p0, :pswitch_data_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
|
||||
:pswitch_0
|
||||
const-string p0, "FLAG_INCLUDE_NOT_IMPORTANT_VIEWS"
|
||||
|
||||
return-object p0
|
||||
|
||||
:pswitch_1
|
||||
const-string p0, "DEFAULT"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string p0, "FLAG_REQUEST_FILTER_KEY_EVENTS"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
const-string p0, "FLAG_REPORT_VIEW_IDS"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_2
|
||||
const-string p0, "FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY"
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_3
|
||||
const-string p0, "FLAG_REQUEST_TOUCH_EXPLORATION_MODE"
|
||||
|
||||
return-object p0
|
||||
|
||||
:pswitch_data_0
|
||||
.packed-switch 0x1
|
||||
:pswitch_1
|
||||
:pswitch_0
|
||||
.end packed-switch
|
||||
.end method
|
||||
|
||||
.method public static getCapabilities(Landroid/accessibilityservice/AccessibilityServiceInfo;)I
|
||||
.locals 2
|
||||
.param p0 # Landroid/accessibilityservice/AccessibilityServiceInfo;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x12
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/accessibilityservice/AccessibilityServiceInfo;->getCapabilities()I
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroid/accessibilityservice/AccessibilityServiceInfo;->getCanRetrieveWindowContent()Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
|
||||
:cond_1
|
||||
const/4 p0, 0x0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
.method public static loadDescription(Landroid/accessibilityservice/AccessibilityServiceInfo;Landroid/content/pm/PackageManager;)Ljava/lang/String;
|
||||
.locals 2
|
||||
.param p0 # Landroid/accessibilityservice/AccessibilityServiceInfo;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroid/content/pm/PackageManager;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/accessibilityservice/AccessibilityServiceInfo;->loadDescription(Landroid/content/pm/PackageManager;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroid/accessibilityservice/AccessibilityServiceInfo;->getDescription()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue