64 lines
2 KiB
Smali
64 lines
2 KiB
Smali
|
.class public Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider$2;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "ViewPager2.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroidx/core/view/accessibility/AccessibilityViewCommand;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x1
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final synthetic this$1:Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider$2;->this$1:Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public perform(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityViewCommand$CommandArguments;)Z
|
||
|
.locals 1
|
||
|
.param p1 # Landroid/view/View;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p2 # Landroidx/core/view/accessibility/AccessibilityViewCommand$CommandArguments;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
check-cast p1, Landroidx/viewpager2/widget/ViewPager2;
|
||
|
|
||
|
iget-object p2, p0, Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider$2;->this$1:Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;
|
||
|
|
||
|
invoke-virtual {p1}, Landroidx/viewpager2/widget/ViewPager2;->getCurrentItem()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
sub-int/2addr p1, v0
|
||
|
|
||
|
invoke-virtual {p2, p1}, Landroidx/viewpager2/widget/ViewPager2$PageAwareAccessibilityProvider;->setCurrentItemFromAccessibilityCommand(I)V
|
||
|
|
||
|
return v0
|
||
|
.end method
|