740 lines
18 KiB
Smali
740 lines
18 KiB
Smali
.class public final Landroidx/core/view/ViewParentCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "ViewParentCompat.java"
|
|
|
|
|
|
# static fields
|
|
.field private static final TAG:Ljava/lang/String; = "ViewParentCompat"
|
|
|
|
.field private static sTempNestedScrollConsumed:[I
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static getTempNestedScrollConsumed()[I
|
|
.locals 3
|
|
|
|
sget-object v0, Landroidx/core/view/ViewParentCompat;->sTempNestedScrollConsumed:[I
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [I
|
|
|
|
sput-object v0, Landroidx/core/view/ViewParentCompat;->sTempNestedScrollConsumed:[I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
aput v1, v0, v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput v1, v0, v2
|
|
|
|
:goto_0
|
|
sget-object v0, Landroidx/core/view/ViewParentCompat;->sTempNestedScrollConsumed:[I
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static notifySubtreeAccessibilityStateChanged(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;I)V
|
|
.locals 2
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x13
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
invoke-interface {p0, p1, p2, p3}, Landroid/view/ViewParent;->notifySubtreeAccessibilityStateChanged(Landroid/view/View;Landroid/view/View;I)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedFling(Landroid/view/ViewParent;Landroid/view/View;FFZ)Z
|
|
.locals 2
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x15
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroid/view/ViewParent;->onNestedFling(Landroid/view/View;FFZ)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "ViewParent "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onNestedFling"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/view/NestedScrollingParent;->onNestedFling(Landroid/view/View;FFZ)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static onNestedPreFling(Landroid/view/ViewParent;Landroid/view/View;FF)Z
|
|
.locals 2
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x15
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2, p3}, Landroid/view/ViewParent;->onNestedPreFling(Landroid/view/View;FF)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "ViewParent "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onNestedPreFling"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1, p2, p3}, Landroidx/core/view/NestedScrollingParent;->onNestedPreFling(Landroid/view/View;FF)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static onNestedPreScroll(Landroid/view/ViewParent;Landroid/view/View;II[I)V
|
|
.locals 6
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
invoke-static/range {v0 .. v5}, Landroidx/core/view/ViewParentCompat;->onNestedPreScroll(Landroid/view/ViewParent;Landroid/view/View;II[II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedPreScroll(Landroid/view/ViewParent;Landroid/view/View;II[II)V
|
|
.locals 7
|
|
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object v1, p0
|
|
|
|
check-cast v1, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
move-object v2, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move-object v5, p4
|
|
|
|
move v6, p5
|
|
|
|
invoke-interface/range {v1 .. v6}, Landroidx/core/view/NestedScrollingParent2;->onNestedPreScroll(Landroid/view/View;II[II)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-nez p5, :cond_2
|
|
|
|
sget p5, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v0, 0x15
|
|
|
|
if-lt p5, v0, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroid/view/ViewParent;->onNestedPreScroll(Landroid/view/View;II[I)V
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "ViewParent "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onNestedPreScroll"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
instance-of p5, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/view/NestedScrollingParent;->onNestedPreScroll(Landroid/view/View;II[I)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedScroll(Landroid/view/ViewParent;Landroid/view/View;IIII)V
|
|
.locals 8
|
|
|
|
invoke-static {}, Landroidx/core/view/ViewParentCompat;->getTempNestedScrollConsumed()[I
|
|
|
|
move-result-object v7
|
|
|
|
const/4 v6, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move v5, p5
|
|
|
|
invoke-static/range {v0 .. v7}, Landroidx/core/view/ViewParentCompat;->onNestedScroll(Landroid/view/ViewParent;Landroid/view/View;IIIII[I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedScroll(Landroid/view/ViewParent;Landroid/view/View;IIIII)V
|
|
.locals 8
|
|
|
|
invoke-static {}, Landroidx/core/view/ViewParentCompat;->getTempNestedScrollConsumed()[I
|
|
|
|
move-result-object v7
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move v5, p5
|
|
|
|
move v6, p6
|
|
|
|
invoke-static/range {v0 .. v7}, Landroidx/core/view/ViewParentCompat;->onNestedScroll(Landroid/view/ViewParent;Landroid/view/View;IIIII[I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedScroll(Landroid/view/ViewParent;Landroid/view/View;IIIII[I)V
|
|
.locals 10
|
|
.param p7 # [I
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
move-object v1, p0
|
|
|
|
instance-of v0, v1, Landroidx/core/view/NestedScrollingParent3;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast v1, Landroidx/core/view/NestedScrollingParent3;
|
|
|
|
move-object v2, p1
|
|
|
|
move v3, p2
|
|
|
|
move v4, p3
|
|
|
|
move v5, p4
|
|
|
|
move v6, p5
|
|
|
|
move/from16 v7, p6
|
|
|
|
move-object/from16 v8, p7
|
|
|
|
invoke-interface/range {v1 .. v8}, Landroidx/core/view/NestedScrollingParent3;->onNestedScroll(Landroid/view/View;IIIII[I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
aget v2, p7, v0
|
|
|
|
add-int/2addr v2, p4
|
|
|
|
aput v2, p7, v0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
aget v2, p7, v0
|
|
|
|
add-int/2addr v2, p5
|
|
|
|
aput v2, p7, v0
|
|
|
|
instance-of v0, v1, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
move-object v4, p1
|
|
|
|
move v5, p2
|
|
|
|
move v6, p3
|
|
|
|
move v7, p4
|
|
|
|
move v8, p5
|
|
|
|
move/from16 v9, p6
|
|
|
|
invoke-interface/range {v3 .. v9}, Landroidx/core/view/NestedScrollingParent2;->onNestedScroll(Landroid/view/View;IIIII)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
if-nez p6, :cond_3
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v2, 0x15
|
|
|
|
if-lt v0, v2, :cond_2
|
|
|
|
:try_start_0
|
|
invoke-interface/range {p0 .. p5}, Landroid/view/ViewParent;->onNestedScroll(Landroid/view/View;IIII)V
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
move-object v2, v0
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "ViewParent "
|
|
|
|
invoke-direct {v0, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " does not implement interface method onNestedScroll"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "ViewParentCompat"
|
|
|
|
invoke-static {v1, v0, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
instance-of v0, v1, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
move-object v4, p1
|
|
|
|
move v5, p2
|
|
|
|
move v6, p3
|
|
|
|
move v7, p4
|
|
|
|
move v8, p5
|
|
|
|
invoke-interface/range {v3 .. v8}, Landroidx/core/view/NestedScrollingParent;->onNestedScroll(Landroid/view/View;IIII)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedScrollAccepted(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p0, p1, p2, p3, v0}, Landroidx/core/view/ViewParentCompat;->onNestedScrollAccepted(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onNestedScrollAccepted(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;II)V
|
|
.locals 1
|
|
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/view/NestedScrollingParent2;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;II)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-nez p4, :cond_2
|
|
|
|
sget p4, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v0, 0x15
|
|
|
|
if-lt p4, v0, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2, p3}, Landroid/view/ViewParent;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "ViewParent "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onNestedScrollAccepted"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
instance-of p4, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1, p2, p3}, Landroidx/core/view/NestedScrollingParent;->onNestedScrollAccepted(Landroid/view/View;Landroid/view/View;I)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onStartNestedScroll(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;I)Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p0, p1, p2, p3, v0}, Landroidx/core/view/ViewParentCompat;->onStartNestedScroll(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static onStartNestedScroll(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;II)Z
|
|
.locals 1
|
|
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
invoke-interface {p0, p1, p2, p3, p4}, Landroidx/core/view/NestedScrollingParent2;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
if-nez p4, :cond_2
|
|
|
|
sget p4, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v0, 0x15
|
|
|
|
if-lt p4, v0, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1, p2, p3}, Landroid/view/ViewParent;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, "ViewParent "
|
|
|
|
invoke-direct {p2, p3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onStartNestedScroll"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
instance-of p4, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1, p2, p3}, Landroidx/core/view/NestedScrollingParent;->onStartNestedScroll(Landroid/view/View;Landroid/view/View;I)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static onStopNestedScroll(Landroid/view/ViewParent;Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-static {p0, p1, v0}, Landroidx/core/view/ViewParentCompat;->onStopNestedScroll(Landroid/view/ViewParent;Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static onStopNestedScroll(Landroid/view/ViewParent;Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
instance-of v0, p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent2;
|
|
|
|
invoke-interface {p0, p1, p2}, Landroidx/core/view/NestedScrollingParent2;->onStopNestedScroll(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
if-nez p2, :cond_2
|
|
|
|
sget p2, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v0, 0x15
|
|
|
|
if-lt p2, v0, :cond_1
|
|
|
|
:try_start_0
|
|
invoke-interface {p0, p1}, Landroid/view/ViewParent;->onStopNestedScroll(Landroid/view/View;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "ViewParent "
|
|
|
|
invoke-direct {p2, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, " does not implement interface method onStopNestedScroll"
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "ViewParentCompat"
|
|
|
|
invoke-static {p2, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
instance-of p2, p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
check-cast p0, Landroidx/core/view/NestedScrollingParent;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/core/view/NestedScrollingParent;->onStopNestedScroll(Landroid/view/View;)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public static requestSendAccessibilityEvent(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
invoke-interface {p0, p1, p2}, Landroid/view/ViewParent;->requestSendAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|