96 lines
2.4 KiB
Smali
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
|