changed repo structure
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/core/view/accessibility/AccessibilityViewCommand;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;)V
|
||||
.locals 0
|
||||
|
||||
.line 259
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$1;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
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
|
||||
|
||||
.line 262
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$1;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerOpen(Landroid/view/View;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$1;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerLockMode(Landroid/view/View;)I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
if-eq p2, v0, :cond_0
|
||||
|
||||
.line 263
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$1;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(Landroid/view/View;)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,67 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/View$OnApplyWindowInsetsListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;)V
|
||||
.locals 0
|
||||
|
||||
.line 365
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$2;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onApplyWindowInsets(Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets;
|
||||
.locals 1
|
||||
|
||||
.line 368
|
||||
check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
.line 369
|
||||
invoke-virtual {p2}, Landroid/view/WindowInsets;->getSystemWindowInsetTop()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-lez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {p1, p2, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->setChildInsets(Ljava/lang/Object;Z)V
|
||||
|
||||
.line 370
|
||||
invoke-virtual {p2}, Landroid/view/WindowInsets;->consumeSystemWindowInsets()Landroid/view/WindowInsets;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,340 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;
|
||||
.super Landroidx/core/view/AccessibilityDelegateCompat;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = "AccessibilityDelegate"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final mTmpRect:Landroid/graphics/Rect;
|
||||
|
||||
.field final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;)V
|
||||
.locals 0
|
||||
|
||||
.line 2425
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-direct {p0}, Landroidx/core/view/AccessibilityDelegateCompat;-><init>()V
|
||||
|
||||
.line 2426
|
||||
new-instance p1, Landroid/graphics/Rect;
|
||||
|
||||
invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->mTmpRect:Landroid/graphics/Rect;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private addChildrenForAccessibility(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroid/view/ViewGroup;)V
|
||||
.locals 4
|
||||
|
||||
.line 2502
|
||||
invoke-virtual {p2}, Landroid/view/ViewGroup;->getChildCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_1
|
||||
|
||||
.line 2504
|
||||
invoke-virtual {p2, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
.line 2505
|
||||
invoke-static {v2}, Landroidx/drawerlayout/widget/DrawerLayout;->includeChildForAccessibility(Landroid/view/View;)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
.line 2506
|
||||
invoke-virtual {p1, v2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->addChild(Landroid/view/View;)V
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private copyNodeInfoNoChildren(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.locals 1
|
||||
|
||||
.line 2518
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->mTmpRect:Landroid/graphics/Rect;
|
||||
|
||||
.line 2520
|
||||
invoke-virtual {p2, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getBoundsInScreen(Landroid/graphics/Rect;)V
|
||||
|
||||
.line 2521
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setBoundsInScreen(Landroid/graphics/Rect;)V
|
||||
|
||||
.line 2523
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->isVisibleToUser()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setVisibleToUser(Z)V
|
||||
|
||||
.line 2524
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getPackageName()Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setPackageName(Ljava/lang/CharSequence;)V
|
||||
|
||||
.line 2525
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getClassName()Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setClassName(Ljava/lang/CharSequence;)V
|
||||
|
||||
.line 2526
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getContentDescription()Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setContentDescription(Ljava/lang/CharSequence;)V
|
||||
|
||||
.line 2528
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->isEnabled()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setEnabled(Z)V
|
||||
|
||||
.line 2529
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->isFocused()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setFocused(Z)V
|
||||
|
||||
.line 2530
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->isAccessibilityFocused()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setAccessibilityFocused(Z)V
|
||||
|
||||
.line 2531
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->isSelected()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setSelected(Z)V
|
||||
|
||||
.line 2533
|
||||
invoke-virtual {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getActions()I
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->addAction(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public dispatchPopulateAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
||||
.locals 2
|
||||
|
||||
.line 2475
|
||||
invoke-virtual {p2}, Landroid/view/accessibility/AccessibilityEvent;->getEventType()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/16 v1, 0x20
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
.line 2476
|
||||
invoke-virtual {p2}, Landroid/view/accessibility/AccessibilityEvent;->getText()Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 2477
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p2}, Landroidx/drawerlayout/widget/DrawerLayout;->findVisibleDrawer()Landroid/view/View;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
.line 2479
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerViewAbsoluteGravity(Landroid/view/View;)I
|
||||
|
||||
move-result p2
|
||||
|
||||
.line 2480
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerTitle(I)Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
.line 2482
|
||||
invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
.line 2489
|
||||
:cond_1
|
||||
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->dispatchPopulateAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public onInitializeAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V
|
||||
.locals 0
|
||||
|
||||
.line 2463
|
||||
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V
|
||||
|
||||
.line 2465
|
||||
const-string p1, "androidx.drawerlayout.widget.DrawerLayout"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroid/view/accessibility/AccessibilityEvent;->setClassName(Ljava/lang/CharSequence;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.locals 3
|
||||
|
||||
.line 2430
|
||||
sget-boolean v0, Landroidx/drawerlayout/widget/DrawerLayout;->CAN_HIDE_DESCENDANTS:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
.line 2431
|
||||
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 2436
|
||||
:cond_0
|
||||
invoke-static {p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->obtain(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
.line 2437
|
||||
invoke-super {p0, p1, v0}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
|
||||
.line 2439
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setSource(Landroid/view/View;)V
|
||||
|
||||
.line 2440
|
||||
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getParentForAccessibility(Landroid/view/View;)Landroid/view/ViewParent;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
.line 2441
|
||||
instance-of v2, v1, Landroid/view/View;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
.line 2442
|
||||
check-cast v1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p2, v1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setParent(Landroid/view/View;)V
|
||||
|
||||
.line 2444
|
||||
:cond_1
|
||||
invoke-direct {p0, p2, v0}, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->copyNodeInfoNoChildren(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
|
||||
.line 2445
|
||||
invoke-virtual {v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->recycle()V
|
||||
|
||||
.line 2447
|
||||
check-cast p1, Landroid/view/ViewGroup;
|
||||
|
||||
invoke-direct {p0, p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout$AccessibilityDelegate;->addChildrenForAccessibility(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroid/view/ViewGroup;)V
|
||||
|
||||
.line 2450
|
||||
:goto_0
|
||||
const-string p1, "androidx.drawerlayout.widget.DrawerLayout"
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setClassName(Ljava/lang/CharSequence;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2455
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setFocusable(Z)V
|
||||
|
||||
.line 2456
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setFocused(Z)V
|
||||
|
||||
.line 2457
|
||||
sget-object p1, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;->ACTION_FOCUS:Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->removeAction(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;)Z
|
||||
|
||||
.line 2458
|
||||
sget-object p1, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;->ACTION_CLEAR_FOCUS:Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->removeAction(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat$AccessibilityActionCompat;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onRequestSendAccessibilityEvent(Landroid/view/ViewGroup;Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
||||
.locals 1
|
||||
|
||||
.line 2495
|
||||
sget-boolean v0, Landroidx/drawerlayout/widget/DrawerLayout;->CAN_HIDE_DESCENDANTS:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {p2}, Landroidx/drawerlayout/widget/DrawerLayout;->includeChildForAccessibility(Landroid/view/View;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
|
||||
.line 2496
|
||||
:cond_1
|
||||
:goto_0
|
||||
invoke-super {p0, p1, p2, p3}, Landroidx/core/view/AccessibilityDelegateCompat;->onRequestSendAccessibilityEvent(Landroid/view/ViewGroup;Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
@@ -0,0 +1,49 @@
|
||||
.class final Landroidx/drawerlayout/widget/DrawerLayout$ChildAccessibilityDelegate;
|
||||
.super Landroidx/core/view/AccessibilityDelegateCompat;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x18
|
||||
name = "ChildAccessibilityDelegate"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 2537
|
||||
invoke-direct {p0}, Landroidx/core/view/AccessibilityDelegateCompat;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.locals 0
|
||||
|
||||
.line 2541
|
||||
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
|
||||
.line 2543
|
||||
invoke-static {p1}, Landroidx/drawerlayout/widget/DrawerLayout;->includeChildForAccessibility(Landroid/view/View;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2547
|
||||
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setParent(Landroid/view/View;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,28 @@
|
||||
.class public interface abstract Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "DrawerListener"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onDrawerClosed(Landroid/view/View;)V
|
||||
.end method
|
||||
|
||||
.method public abstract onDrawerOpened(Landroid/view/View;)V
|
||||
.end method
|
||||
|
||||
.method public abstract onDrawerSlide(Landroid/view/View;F)V
|
||||
.end method
|
||||
|
||||
.method public abstract onDrawerStateChanged(I)V
|
||||
.end method
|
||||
@@ -0,0 +1,138 @@
|
||||
.class public Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;
|
||||
.super Landroid/view/ViewGroup$MarginLayoutParams;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "LayoutParams"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final FLAG_IS_CLOSING:I = 0x4
|
||||
|
||||
.field private static final FLAG_IS_OPENED:I = 0x1
|
||||
|
||||
.field private static final FLAG_IS_OPENING:I = 0x2
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public gravity:I
|
||||
|
||||
.field isPeeking:Z
|
||||
|
||||
.field onScreen:F
|
||||
|
||||
.field openState:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(II)V
|
||||
.locals 0
|
||||
|
||||
.line 2403
|
||||
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(II)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2388
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(III)V
|
||||
.locals 0
|
||||
|
||||
.line 2407
|
||||
invoke-direct {p0, p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;-><init>(II)V
|
||||
|
||||
.line 2408
|
||||
iput p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||||
.locals 2
|
||||
|
||||
.line 2395
|
||||
invoke-direct {p0, p1, p2}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 2388
|
||||
iput v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
.line 2397
|
||||
sget-object v1, Landroidx/drawerlayout/widget/DrawerLayout;->LAYOUT_ATTRS:[I
|
||||
|
||||
invoke-virtual {p1, p2, v1}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
.line 2398
|
||||
invoke-virtual {p1, v0, v0}, Landroid/content/res/TypedArray;->getInt(II)I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
.line 2399
|
||||
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
.locals 0
|
||||
|
||||
.line 2417
|
||||
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2388
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
||||
.locals 0
|
||||
|
||||
.line 2421
|
||||
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2388
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;)V
|
||||
.locals 1
|
||||
|
||||
.line 2412
|
||||
invoke-direct {p0, p1}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(Landroid/view/ViewGroup$MarginLayoutParams;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 2388
|
||||
iput v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
.line 2413
|
||||
iget p1, p1, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->gravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,105 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/os/Parcelable$ClassLoaderCreator;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/Object;",
|
||||
"Landroid/os/Parcelable$ClassLoaderCreator<",
|
||||
"Landroidx/drawerlayout/widget/DrawerLayout$SavedState;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 2199
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public createFromParcel(Landroid/os/Parcel;)Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
.locals 2
|
||||
|
||||
.line 2207
|
||||
new-instance v0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, p1, v1}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;-><init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public createFromParcel(Landroid/os/Parcel;Ljava/lang/ClassLoader;)Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
.locals 1
|
||||
|
||||
.line 2202
|
||||
new-instance v0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
invoke-direct {v0, p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;-><init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 2199
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;->createFromParcel(Landroid/os/Parcel;)Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;Ljava/lang/ClassLoader;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 2199
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;->createFromParcel(Landroid/os/Parcel;Ljava/lang/ClassLoader;)Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public newArray(I)[Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
.locals 0
|
||||
|
||||
.line 2212
|
||||
new-array p1, p1, [Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
.line 2199
|
||||
invoke-virtual {p0, p1}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;->newArray(I)[Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
@@ -0,0 +1,152 @@
|
||||
.class public Landroidx/drawerlayout/widget/DrawerLayout$SavedState;
|
||||
.super Landroidx/customview/view/AbsSavedState;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0xc
|
||||
name = "SavedState"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroid/os/Parcelable$Creator<",
|
||||
"Landroidx/drawerlayout/widget/DrawerLayout$SavedState;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field lockModeEnd:I
|
||||
|
||||
.field lockModeLeft:I
|
||||
|
||||
.field lockModeRight:I
|
||||
|
||||
.field lockModeStart:I
|
||||
|
||||
.field openDrawerGravity:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
.line 2199
|
||||
new-instance v0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;
|
||||
|
||||
invoke-direct {v0}, Landroidx/drawerlayout/widget/DrawerLayout$SavedState$1;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->CREATOR:Landroid/os/Parcelable$Creator;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
||||
.locals 0
|
||||
|
||||
.line 2177
|
||||
invoke-direct {p0, p1, p2}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcel;Ljava/lang/ClassLoader;)V
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
.line 2170
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->openDrawerGravity:I
|
||||
|
||||
.line 2178
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->openDrawerGravity:I
|
||||
|
||||
.line 2179
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeLeft:I
|
||||
|
||||
.line 2180
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeRight:I
|
||||
|
||||
.line 2181
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p2
|
||||
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeStart:I
|
||||
|
||||
.line 2182
|
||||
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
||||
|
||||
move-result p1
|
||||
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeEnd:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/os/Parcelable;)V
|
||||
.locals 0
|
||||
|
||||
.line 2186
|
||||
invoke-direct {p0, p1}, Landroidx/customview/view/AbsSavedState;-><init>(Landroid/os/Parcelable;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
.line 2170
|
||||
iput p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->openDrawerGravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public writeToParcel(Landroid/os/Parcel;I)V
|
||||
.locals 0
|
||||
|
||||
.line 2191
|
||||
invoke-super {p0, p1, p2}, Landroidx/customview/view/AbsSavedState;->writeToParcel(Landroid/os/Parcel;I)V
|
||||
|
||||
.line 2192
|
||||
iget p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->openDrawerGravity:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
.line 2193
|
||||
iget p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeLeft:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
.line 2194
|
||||
iget p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeRight:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
.line 2195
|
||||
iget p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeStart:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
.line 2196
|
||||
iget p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$SavedState;->lockModeEnd:I
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,54 @@
|
||||
.class public abstract Landroidx/drawerlayout/widget/DrawerLayout$SimpleDrawerListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "SimpleDrawerListener"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 309
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onDrawerClosed(Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onDrawerOpened(Landroid/view/View;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onDrawerSlide(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onDrawerStateChanged(I)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,47 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$1:Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;)V
|
||||
.locals 0
|
||||
|
||||
.line 2221
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback$1;->this$1:Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 1
|
||||
|
||||
.line 2223
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback$1;->this$1:Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->peekDrawer()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,659 @@
|
||||
.class Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;
|
||||
.super Landroidx/customview/widget/ViewDragHelper$Callback;
|
||||
.source "DrawerLayout.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x2
|
||||
name = "ViewDragCallback"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final mAbsGravity:I
|
||||
|
||||
.field private mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
.field private final mPeekRunnable:Ljava/lang/Runnable;
|
||||
|
||||
.field final synthetic this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/drawerlayout/widget/DrawerLayout;I)V
|
||||
.locals 0
|
||||
|
||||
.line 2227
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-direct {p0}, Landroidx/customview/widget/ViewDragHelper$Callback;-><init>()V
|
||||
|
||||
.line 2221
|
||||
new-instance p1, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback$1;
|
||||
|
||||
invoke-direct {p1, p0}, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback$1;-><init>(Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mPeekRunnable:Ljava/lang/Runnable;
|
||||
|
||||
.line 2228
|
||||
iput p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mAbsGravity:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private closeOtherDrawer()V
|
||||
.locals 2
|
||||
|
||||
.line 2278
|
||||
iget v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mAbsGravity:I
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
const/4 v1, 0x5
|
||||
|
||||
.line 2279
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
.line 2281
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v1, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(Landroid/view/View;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public clampViewPositionHorizontal(Landroid/view/View;II)I
|
||||
.locals 1
|
||||
|
||||
.line 2369
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
invoke-virtual {p3, p1, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->checkDrawerViewAbsoluteGravity(Landroid/view/View;I)Z
|
||||
|
||||
move-result p3
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
.line 2370
|
||||
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result p1
|
||||
|
||||
neg-int p1, p1
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
|
||||
.line 2372
|
||||
:cond_0
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p3}, Landroidx/drawerlayout/widget/DrawerLayout;->getWidth()I
|
||||
|
||||
move-result p3
|
||||
|
||||
.line 2373
|
||||
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result p1
|
||||
|
||||
sub-int p1, p3, p1
|
||||
|
||||
invoke-static {p2, p3}, Ljava/lang/Math;->min(II)I
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public clampViewPositionVertical(Landroid/view/View;II)I
|
||||
.locals 0
|
||||
|
||||
.line 2379
|
||||
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getViewHorizontalDragRange(Landroid/view/View;)I
|
||||
.locals 1
|
||||
|
||||
.line 2364
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerView(Landroid/view/View;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public onEdgeDragStarted(II)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
and-int/2addr p1, v0
|
||||
|
||||
if-ne p1, v0, :cond_0
|
||||
|
||||
.line 2352
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 2354
|
||||
:cond_0
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 v0, 0x5
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
.line 2357
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerLockMode(Landroid/view/View;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
.line 2358
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/customview/widget/ViewDragHelper;->captureChildView(Landroid/view/View;I)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onEdgeLock(I)Z
|
||||
.locals 0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public onEdgeTouched(II)V
|
||||
.locals 2
|
||||
|
||||
.line 2306
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mPeekRunnable:Ljava/lang/Runnable;
|
||||
|
||||
const-wide/16 v0, 0xa0
|
||||
|
||||
invoke-virtual {p1, p2, v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->postDelayed(Ljava/lang/Runnable;J)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewCaptured(Landroid/view/View;I)V
|
||||
.locals 0
|
||||
|
||||
.line 2271
|
||||
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
.line 2272
|
||||
iput-boolean p2, p1, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->isPeeking:Z
|
||||
|
||||
.line 2274
|
||||
invoke-direct {p0}, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->closeOtherDrawer()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewDragStateChanged(I)V
|
||||
.locals 2
|
||||
|
||||
.line 2249
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/customview/widget/ViewDragHelper;->getCapturedView()Landroid/view/View;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->updateDrawerState(ILandroid/view/View;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewPositionChanged(Landroid/view/View;IIII)V
|
||||
.locals 0
|
||||
|
||||
.line 2255
|
||||
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result p3
|
||||
|
||||
.line 2258
|
||||
iget-object p4, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 p5, 0x3
|
||||
|
||||
invoke-virtual {p4, p1, p5}, Landroidx/drawerlayout/widget/DrawerLayout;->checkDrawerViewAbsoluteGravity(Landroid/view/View;I)Z
|
||||
|
||||
move-result p4
|
||||
|
||||
if-eqz p4, :cond_0
|
||||
|
||||
add-int/2addr p2, p3
|
||||
|
||||
int-to-float p2, p2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 2261
|
||||
:cond_0
|
||||
iget-object p4, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p4}, Landroidx/drawerlayout/widget/DrawerLayout;->getWidth()I
|
||||
|
||||
move-result p4
|
||||
|
||||
sub-int/2addr p4, p2
|
||||
|
||||
int-to-float p2, p4
|
||||
|
||||
:goto_0
|
||||
int-to-float p3, p3
|
||||
|
||||
div-float/2addr p2, p3
|
||||
|
||||
.line 2264
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p3, p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerViewOffset(Landroid/view/View;F)V
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
cmpl-float p2, p2, p3
|
||||
|
||||
if-nez p2, :cond_1
|
||||
|
||||
const/4 p2, 0x4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 p2, 0x0
|
||||
|
||||
.line 2265
|
||||
:goto_1
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
|
||||
|
||||
.line 2266
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/drawerlayout/widget/DrawerLayout;->invalidate()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewReleased(Landroid/view/View;FF)V
|
||||
.locals 5
|
||||
|
||||
.line 2289
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p3, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerViewOffset(Landroid/view/View;)F
|
||||
|
||||
move-result p3
|
||||
|
||||
.line 2290
|
||||
invoke-virtual {p1}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result v0
|
||||
|
||||
.line 2293
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
invoke-virtual {v1, p1, v2}, Landroidx/drawerlayout/widget/DrawerLayout;->checkDrawerViewAbsoluteGravity(Landroid/view/View;I)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
const/high16 v2, 0x3f000000 # 0.5f
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
cmpl-float p2, p2, v3
|
||||
|
||||
if-gtz p2, :cond_1
|
||||
|
||||
if-nez p2, :cond_0
|
||||
|
||||
cmpl-float p2, p3, v2
|
||||
|
||||
if-lez p2, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
neg-int p2, v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p2, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 2296
|
||||
:cond_2
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/drawerlayout/widget/DrawerLayout;->getWidth()I
|
||||
|
||||
move-result v1
|
||||
|
||||
cmpg-float v4, p2, v3
|
||||
|
||||
if-ltz v4, :cond_3
|
||||
|
||||
cmpl-float p2, p2, v3
|
||||
|
||||
if-nez p2, :cond_4
|
||||
|
||||
cmpl-float p2, p3, v2
|
||||
|
||||
if-lez p2, :cond_4
|
||||
|
||||
:cond_3
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
:cond_4
|
||||
move p2, v1
|
||||
|
||||
.line 2300
|
||||
:goto_1
|
||||
iget-object p3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
||||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p3, p2, p1}, Landroidx/customview/widget/ViewDragHelper;->settleCapturedViewAt(II)Z
|
||||
|
||||
.line 2301
|
||||
iget-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/drawerlayout/widget/DrawerLayout;->invalidate()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method peekDrawer()V
|
||||
.locals 6
|
||||
|
||||
.line 2312
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/customview/widget/ViewDragHelper;->getEdgeSize()I
|
||||
|
||||
move-result v0
|
||||
|
||||
.line 2313
|
||||
iget v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mAbsGravity:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x3
|
||||
|
||||
if-ne v1, v4, :cond_0
|
||||
|
||||
move v1, v2
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move v1, v3
|
||||
|
||||
:goto_0
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
.line 2315
|
||||
iget-object v5, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v5, v4}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
.line 2316
|
||||
invoke-virtual {v4}, Landroid/view/View;->getWidth()I
|
||||
|
||||
move-result v3
|
||||
|
||||
neg-int v3, v3
|
||||
|
||||
:cond_1
|
||||
add-int/2addr v3, v0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 2318
|
||||
:cond_2
|
||||
iget-object v3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
const/4 v4, 0x5
|
||||
|
||||
invoke-virtual {v3, v4}, Landroidx/drawerlayout/widget/DrawerLayout;->findDrawerWithGravity(I)Landroid/view/View;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
.line 2319
|
||||
iget-object v3, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v3}, Landroidx/drawerlayout/widget/DrawerLayout;->getWidth()I
|
||||
|
||||
move-result v3
|
||||
|
||||
sub-int/2addr v3, v0
|
||||
|
||||
:goto_1
|
||||
if-eqz v4, :cond_5
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
.line 2322
|
||||
invoke-virtual {v4}, Landroid/view/View;->getLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-lt v0, v3, :cond_4
|
||||
|
||||
:cond_3
|
||||
if-nez v1, :cond_5
|
||||
|
||||
.line 2323
|
||||
invoke-virtual {v4}, Landroid/view/View;->getLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-le v0, v3, :cond_5
|
||||
|
||||
:cond_4
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
.line 2324
|
||||
invoke-virtual {v0, v4}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerLockMode(Landroid/view/View;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_5
|
||||
|
||||
.line 2325
|
||||
invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;
|
||||
|
||||
.line 2326
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
invoke-virtual {v4}, Landroid/view/View;->getTop()I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-virtual {v1, v4, v3, v5}, Landroidx/customview/widget/ViewDragHelper;->smoothSlideViewTo(Landroid/view/View;II)Z
|
||||
|
||||
.line 2327
|
||||
iput-boolean v2, v0, Landroidx/drawerlayout/widget/DrawerLayout$LayoutParams;->isPeeking:Z
|
||||
|
||||
.line 2328
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/drawerlayout/widget/DrawerLayout;->invalidate()V
|
||||
|
||||
.line 2330
|
||||
invoke-direct {p0}, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->closeOtherDrawer()V
|
||||
|
||||
.line 2332
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/drawerlayout/widget/DrawerLayout;->cancelChildViewTouch()V
|
||||
|
||||
:cond_5
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public removeCallbacks()V
|
||||
.locals 2
|
||||
|
||||
.line 2236
|
||||
iget-object v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
iget-object v1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mPeekRunnable:Ljava/lang/Runnable;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->removeCallbacks(Ljava/lang/Runnable;)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setDragger(Landroidx/customview/widget/ViewDragHelper;)V
|
||||
.locals 0
|
||||
|
||||
.line 2232
|
||||
iput-object p1, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mDragger:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public tryCaptureView(Landroid/view/View;I)Z
|
||||
.locals 1
|
||||
|
||||
.line 2243
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerView(Landroid/view/View;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
iget v0, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->mAbsGravity:I
|
||||
|
||||
invoke-virtual {p2, p1, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->checkDrawerViewAbsoluteGravity(Landroid/view/View;I)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p2, p0, Landroidx/drawerlayout/widget/DrawerLayout$ViewDragCallback;->this$0:Landroidx/drawerlayout/widget/DrawerLayout;
|
||||
|
||||
.line 2244
|
||||
invoke-virtual {p2, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->getDrawerLockMode(Landroid/view/View;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user