117 lines
2.9 KiB
Smali
117 lines
2.9 KiB
Smali
.class public Landroidx/core/view/NestedScrollingParentHelper;
|
|
.super Ljava/lang/Object;
|
|
.source "NestedScrollingParentHelper.java"
|
|
|
|
|
|
# instance fields
|
|
.field private mNestedScrollAxesNonTouch:I
|
|
|
|
.field private mNestedScrollAxesTouch:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/view/ViewGroup;)V
|
|
.locals 0
|
|
.param p1 # Landroid/view/ViewGroup;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getNestedScrollAxes()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesTouch:I
|
|
|
|
iget v1, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesNonTouch:I
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
|
|
.locals 1
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Landroidx/core/view/NestedScrollingParentHelper;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
|
|
.locals 0
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 p1, 0x1
|
|
|
|
if-ne p4, p1, :cond_0
|
|
|
|
iput p3, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesNonTouch:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iput p3, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesTouch:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStopNestedScroll(Landroid/view/View;)V
|
|
.locals 1
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/core/view/NestedScrollingParentHelper;->onStopNestedScroll(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onStopNestedScroll(Landroid/view/View;I)V
|
|
.locals 1
|
|
.param p1 # Landroid/view/View;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 p1, 0x0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
iput p1, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesNonTouch:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iput p1, p0, Landroidx/core/view/NestedScrollingParentHelper;->mNestedScrollAxesTouch:I
|
|
|
|
return-void
|
|
.end method
|