Files
rr3-apk/smali/androidx/core/view/HapticFeedbackConstantsCompat.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

191 lines
3.3 KiB
Smali

.class public final Landroidx/core/view/HapticFeedbackConstantsCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/view/HapticFeedbackConstantsCompat$HapticFeedbackFlags;,
Landroidx/core/view/HapticFeedbackConstantsCompat$HapticFeedbackType;
}
.end annotation
# static fields
.field public static final CLOCK_TICK:I = 0x4
.field public static final CONFIRM:I = 0x10
.field public static final CONTEXT_CLICK:I = 0x6
.field public static final DRAG_START:I = 0x19
.field static final FIRST_CONSTANT_INT:I = 0x0
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.end field
.field public static final FLAG_IGNORE_VIEW_SETTING:I = 0x1
.field public static final GESTURE_END:I = 0xd
.field public static final GESTURE_START:I = 0xc
.field public static final GESTURE_THRESHOLD_ACTIVATE:I = 0x17
.field public static final GESTURE_THRESHOLD_DEACTIVATE:I = 0x18
.field public static final KEYBOARD_PRESS:I = 0x3
.field public static final KEYBOARD_RELEASE:I = 0x7
.field public static final KEYBOARD_TAP:I = 0x3
.field static final LAST_CONSTANT_INT:I = 0x1b
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.end field
.field public static final LONG_PRESS:I = 0x0
.field public static final NO_HAPTICS:I = -0x1
.field public static final REJECT:I = 0x11
.field public static final SEGMENT_FREQUENT_TICK:I = 0x1b
.field public static final SEGMENT_TICK:I = 0x1a
.field public static final TEXT_HANDLE_MOVE:I = 0x9
.field public static final TOGGLE_OFF:I = 0x16
.field public static final TOGGLE_ON:I = 0x15
.field public static final VIRTUAL_KEY:I = 0x1
.field public static final VIRTUAL_KEY_RELEASE:I = 0x8
# direct methods
.method private constructor <init>()V
.locals 0
.line 383
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getFeedbackConstantOrFallback(I)I
.locals 5
const/4 v0, -0x1
if-ne p0, v0, :cond_0
return v0
:cond_0
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x22
const/4 v3, 0x6
const/4 v4, 0x0
if-ge v1, v2, :cond_1
packed-switch p0, :pswitch_data_0
goto :goto_0
:pswitch_0
move p0, v4
goto :goto_0
:pswitch_1
const/4 p0, 0x4
goto :goto_0
:pswitch_2
move p0, v3
:cond_1
:goto_0
const/16 v2, 0x1e
if-ge v1, v2, :cond_4
const/16 v2, 0xc
if-eq p0, v2, :cond_3
const/16 v2, 0xd
if-eq p0, v2, :cond_5
const/16 v2, 0x10
if-eq p0, v2, :cond_3
const/16 v2, 0x11
if-eq p0, v2, :cond_2
goto :goto_1
:cond_2
move v3, v4
goto :goto_2
:cond_3
const/4 v3, 0x1
goto :goto_2
:cond_4
:goto_1
move v3, p0
:cond_5
:goto_2
const/16 p0, 0x1b
if-ge v1, p0, :cond_6
const/4 p0, 0x7
if-eq v3, p0, :cond_7
const/16 p0, 0x8
if-eq v3, p0, :cond_7
const/16 p0, 0x9
if-eq v3, p0, :cond_7
:cond_6
move v0, v3
:cond_7
return v0
:pswitch_data_0
.packed-switch 0x15
:pswitch_2
:pswitch_1
:pswitch_2
:pswitch_1
:pswitch_0
:pswitch_2
:pswitch_1
.end packed-switch
.end method