Files
rr3-apk/smali/androidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl.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

96 lines
2.4 KiB
Smali

.class Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/view/DifferentialMotionFlingTarget;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/widget/NestedScrollView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "DifferentialMotionFlingTargetImpl"
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/core/widget/NestedScrollView;
# direct methods
.method public constructor <init>(Landroidx/core/widget/NestedScrollView;)V
.locals 0
iput-object p1, p0, Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;->this$0:Landroidx/core/widget/NestedScrollView;
.line 2584
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public getScaledScrollFactor()F
.locals 1
iget-object v0, p0, Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;->this$0:Landroidx/core/widget/NestedScrollView;
.line 2602
invoke-virtual {v0}, Landroidx/core/widget/NestedScrollView;->getVerticalScrollFactorCompat()F
move-result v0
neg-float v0, v0
return v0
.end method
.method public startDifferentialMotionFling(F)Z
.locals 1
const/4 v0, 0x0
cmpl-float v0, p1, v0
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
.line 2590
:cond_0
invoke-virtual {p0}, Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;->stopDifferentialMotionFling()V
iget-object v0, p0, Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;->this$0:Landroidx/core/widget/NestedScrollView;
float-to-int p1, p1
.line 2591
invoke-virtual {v0, p1}, Landroidx/core/widget/NestedScrollView;->fling(I)V
const/4 p1, 0x1
return p1
.end method
.method public stopDifferentialMotionFling()V
.locals 1
iget-object v0, p0, Landroidx/core/widget/NestedScrollView$DifferentialMotionFlingTargetImpl;->this$0:Landroidx/core/widget/NestedScrollView;
.line 2597
invoke-static {v0}, Landroidx/core/widget/NestedScrollView;->access$000(Landroidx/core/widget/NestedScrollView;)Landroid/widget/OverScroller;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/OverScroller;->abortAnimation()V
return-void
.end method