Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -1,4 +1,4 @@
|
|||
.class final Landroidx/customview/widget/ExploreByTouchHelper$1;
|
||||
.class public final Landroidx/customview/widget/ExploreByTouchHelper$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ExploreByTouchHelper.java"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final obtainBounds(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroid/graphics/Rect;)V
|
||||
.method public obtainBounds(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;Landroid/graphics/Rect;)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->getBoundsInParent(Landroid/graphics/Rect;)V
|
||||
|
@ -45,7 +45,7 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic obtainBounds(Ljava/lang/Object;Landroid/graphics/Rect;)V
|
||||
.method public bridge synthetic obtainBounds(Ljava/lang/Object;Landroid/graphics/Rect;)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class final Landroidx/customview/widget/ExploreByTouchHelper$2;
|
||||
.class public final Landroidx/customview/widget/ExploreByTouchHelper$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ExploreByTouchHelper.java"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -40,7 +40,7 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final get(Landroidx/collection/SparseArrayCompat;I)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.method public get(Landroidx/collection/SparseArrayCompat;I)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -61,7 +61,7 @@
|
|||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic get(Ljava/lang/Object;I)Ljava/lang/Object;
|
||||
.method public bridge synthetic get(Ljava/lang/Object;I)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroidx/collection/SparseArrayCompat;
|
||||
|
@ -73,7 +73,7 @@
|
|||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final size(Landroidx/collection/SparseArrayCompat;)I
|
||||
.method public size(Landroidx/collection/SparseArrayCompat;)I
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -91,7 +91,7 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method public final bridge synthetic size(Ljava/lang/Object;)I
|
||||
.method public bridge synthetic size(Ljava/lang/Object;)I
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroidx/collection/SparseArrayCompat;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class Landroidx/customview/widget/ExploreByTouchHelper$MyNodeProvider;
|
||||
.class public Landroidx/customview/widget/ExploreByTouchHelper$MyNodeProvider;
|
||||
.super Landroidx/core/view/accessibility/AccessibilityNodeProviderCompat;
|
||||
.source "ExploreByTouchHelper.java"
|
||||
|
||||
|
@ -9,17 +9,17 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
accessFlags = 0x1
|
||||
name = "MyNodeProvider"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/customview/widget/ExploreByTouchHelper;
|
||||
.field public final synthetic this$0:Landroidx/customview/widget/ExploreByTouchHelper;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/customview/widget/ExploreByTouchHelper;)V
|
||||
.method public constructor <init>(Landroidx/customview/widget/ExploreByTouchHelper;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/customview/widget/ExploreByTouchHelper$MyNodeProvider;->this$0:Landroidx/customview/widget/ExploreByTouchHelper;
|
||||
|
|
|
@ -12,15 +12,15 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field private static final DEFAULT_CLASS_NAME:Ljava/lang/String; = "android.view.View"
|
||||
.field public static final DEFAULT_CLASS_NAME:Ljava/lang/String; = "android.view.View"
|
||||
|
||||
.field public static final HOST_ID:I = -0x1
|
||||
|
||||
.field public static final INVALID_ID:I = -0x80000000
|
||||
|
||||
.field private static final INVALID_PARENT_BOUNDS:Landroid/graphics/Rect;
|
||||
.field public static final INVALID_PARENT_BOUNDS:Landroid/graphics/Rect;
|
||||
|
||||
.field private static final NODE_ADAPTER:Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.field public static final NODE_ADAPTER:Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/customview/widget/FocusStrategy$BoundsAdapter<",
|
||||
|
@ -30,7 +30,7 @@
|
|||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private static final SPARSE_VALUES_ADAPTER:Landroidx/customview/widget/FocusStrategy$CollectionAdapter;
|
||||
.field public static final SPARSE_VALUES_ADAPTER:Landroidx/customview/widget/FocusStrategy$CollectionAdapter;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/customview/widget/FocusStrategy$CollectionAdapter<",
|
||||
|
@ -45,29 +45,29 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field mAccessibilityFocusedVirtualViewId:I
|
||||
.field public mAccessibilityFocusedVirtualViewId:I
|
||||
|
||||
.field private final mHost:Landroid/view/View;
|
||||
.field public final mHost:Landroid/view/View;
|
||||
|
||||
.field public mHoveredVirtualViewId:I
|
||||
|
||||
.field mKeyboardFocusedVirtualViewId:I
|
||||
.field public mKeyboardFocusedVirtualViewId:I
|
||||
|
||||
.field private final mManager:Landroid/view/accessibility/AccessibilityManager;
|
||||
.field public final mManager:Landroid/view/accessibility/AccessibilityManager;
|
||||
|
||||
.field private mNodeProvider:Landroidx/customview/widget/ExploreByTouchHelper$MyNodeProvider;
|
||||
.field public mNodeProvider:Landroidx/customview/widget/ExploreByTouchHelper$MyNodeProvider;
|
||||
|
||||
.field private final mTempGlobalRect:[I
|
||||
.field public final mTempGlobalRect:[I
|
||||
|
||||
.field private final mTempParentRect:Landroid/graphics/Rect;
|
||||
.field public final mTempParentRect:Landroid/graphics/Rect;
|
||||
|
||||
.field private final mTempScreenRect:Landroid/graphics/Rect;
|
||||
.field public final mTempScreenRect:Landroid/graphics/Rect;
|
||||
|
||||
.field private final mTempVisibleRect:Landroid/graphics/Rect;
|
||||
.field public final mTempVisibleRect:Landroid/graphics/Rect;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
new-instance v0, Landroid/graphics/Rect;
|
||||
|
@ -97,6 +97,10 @@
|
|||
|
||||
.method public constructor <init>(Landroid/view/View;)V
|
||||
.locals 2
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0}, Landroidx/core/view/AccessibilityDelegateCompat;-><init>()V
|
||||
|
||||
|
@ -225,11 +229,12 @@
|
|||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
@ -377,6 +382,8 @@
|
|||
|
||||
.method private createNodeForChild(I)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.locals 7
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->obtain()Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
|
||||
|
@ -585,13 +592,11 @@
|
|||
|
||||
iget-object v5, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mTempParentRect:Landroid/graphics/Rect;
|
||||
|
||||
iget v5, v5, Landroid/graphics/Rect;->left:I
|
||||
iget v6, v5, Landroid/graphics/Rect;->left:I
|
||||
|
||||
iget-object v6, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mTempParentRect:Landroid/graphics/Rect;
|
||||
iget v5, v5, Landroid/graphics/Rect;->top:I
|
||||
|
||||
iget v6, v6, Landroid/graphics/Rect;->top:I
|
||||
|
||||
invoke-virtual {v3, v5, v6}, Landroid/graphics/Rect;->offset(II)V
|
||||
invoke-virtual {v3, v6, v5}, Landroid/graphics/Rect;->offset(II)V
|
||||
|
||||
iget v3, p1, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->mParentVirtualDescendantId:I
|
||||
|
||||
|
@ -725,6 +730,8 @@
|
|||
|
||||
.method private createNodeForHost()Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.locals 6
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mHost:Landroid/view/View;
|
||||
|
||||
|
@ -874,8 +881,16 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method private static guessPreviouslyFocusedRect(Landroid/view/View;ILandroid/graphics/Rect;)Landroid/graphics/Rect;
|
||||
.method public static guessPreviouslyFocusedRect(Landroid/view/View;ILandroid/graphics/Rect;)Landroid/graphics/Rect;
|
||||
.locals 4
|
||||
.param p0 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
||||
|
||||
|
@ -1007,16 +1022,14 @@
|
|||
:cond_4
|
||||
if-eqz p1, :cond_5
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
const/4 v0, 0x1
|
||||
|
||||
:cond_5
|
||||
:goto_2
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method private static keyToDirection(I)I
|
||||
.method public static keyToDirection(I)I
|
||||
.locals 1
|
||||
|
||||
const/16 v0, 0x13
|
||||
|
@ -1053,6 +1066,10 @@
|
|||
|
||||
.method private moveFocus(ILandroid/graphics/Rect;)Z
|
||||
.locals 9
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0}, Landroidx/customview/widget/ExploreByTouchHelper;->getAllNodes()Landroidx/collection/SparseArrayCompat;
|
||||
|
||||
|
@ -1333,6 +1350,29 @@
|
|||
return v1
|
||||
.end method
|
||||
|
||||
.method private updateHoveredVirtualView(I)V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mHoveredVirtualViewId:I
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iput p1, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mHoveredVirtualViewId:I
|
||||
|
||||
const/16 v1, 0x80
|
||||
|
||||
invoke-virtual {p0, p1, v1}, Landroidx/customview/widget/ExploreByTouchHelper;->sendEventForVirtualView(II)Z
|
||||
|
||||
const/16 p1, 0x100
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Landroidx/customview/widget/ExploreByTouchHelper;->sendEventForVirtualView(II)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final clearKeyboardFocusForVirtualView(I)Z
|
||||
|
@ -1364,6 +1404,10 @@
|
|||
|
||||
.method public final dispatchHoverEvent(Landroid/view/MotionEvent;)Z
|
||||
.locals 5
|
||||
.param p1 # Landroid/view/MotionEvent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mManager:Landroid/view/accessibility/AccessibilityManager;
|
||||
|
||||
|
@ -1413,7 +1457,7 @@
|
|||
|
||||
if-eq p1, v4, :cond_2
|
||||
|
||||
invoke-virtual {p0, v4}, Landroidx/customview/widget/ExploreByTouchHelper;->updateHoveredVirtualView(I)V
|
||||
invoke-direct {p0, v4}, Landroidx/customview/widget/ExploreByTouchHelper;->updateHoveredVirtualView(I)V
|
||||
|
||||
return v3
|
||||
|
||||
|
@ -1433,11 +1477,11 @@
|
|||
|
||||
move-result p1
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/customview/widget/ExploreByTouchHelper;->updateHoveredVirtualView(I)V
|
||||
invoke-direct {p0, p1}, Landroidx/customview/widget/ExploreByTouchHelper;->updateHoveredVirtualView(I)V
|
||||
|
||||
if-eq p1, v4, :cond_4
|
||||
|
||||
return v3
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_4
|
||||
:goto_0
|
||||
|
@ -1446,6 +1490,10 @@
|
|||
|
||||
.method public final dispatchKeyEvent(Landroid/view/KeyEvent;)Z
|
||||
.locals 6
|
||||
.param p1 # Landroid/view/KeyEvent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I
|
||||
|
||||
|
@ -1623,10 +1671,10 @@
|
|||
return v0
|
||||
.end method
|
||||
|
||||
.method protected abstract getVirtualViewAt(FF)I
|
||||
.method public abstract getVirtualViewAt(FF)I
|
||||
.end method
|
||||
|
||||
.method protected abstract getVisibleVirtualViews(Ljava/util/List;)V
|
||||
.method public abstract getVisibleVirtualViews(Ljava/util/List;)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
|
@ -1698,8 +1746,10 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method obtainAccessibilityNodeInfo(I)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.method public obtainAccessibilityNodeInfo(I)Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
|
@ -1721,6 +1771,10 @@
|
|||
|
||||
.method public final onFocusChanged(ZILandroid/graphics/Rect;)V
|
||||
.locals 2
|
||||
.param p3 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget v0, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mKeyboardFocusedVirtualViewId:I
|
||||
|
||||
|
@ -1759,37 +1813,57 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method protected abstract onPerformActionForVirtualView(IILandroid/os/Bundle;)Z
|
||||
.method public abstract onPerformActionForVirtualView(IILandroid/os/Bundle;)Z
|
||||
.param p3 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
||||
|
||||
.method protected onPopulateEventForHost(Landroid/view/accessibility/AccessibilityEvent;)V
|
||||
.method public onPopulateEventForHost(Landroid/view/accessibility/AccessibilityEvent;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/accessibility/AccessibilityEvent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onPopulateEventForVirtualView(ILandroid/view/accessibility/AccessibilityEvent;)V
|
||||
.locals 0
|
||||
.param p2 # Landroid/view/accessibility/AccessibilityEvent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onPopulateNodeForHost(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.locals 0
|
||||
.param p1 # Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public abstract onPopulateNodeForVirtualView(ILandroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.param p2 # Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
||||
|
||||
.method public onVirtualViewKeyboardFocusChanged(IZ)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected onPopulateEventForVirtualView(ILandroid/view/accessibility/AccessibilityEvent;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected onPopulateNodeForHost(Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected abstract onPopulateNodeForVirtualView(ILandroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
||||
.end method
|
||||
|
||||
.method protected onVirtualViewKeyboardFocusChanged(IZ)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method performAction(IILandroid/os/Bundle;)Z
|
||||
.method public performAction(IILandroid/os/Bundle;)Z
|
||||
.locals 1
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
@ -1913,26 +1987,3 @@
|
|||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public updateHoveredVirtualView(I)V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mHoveredVirtualViewId:I
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iput p1, p0, Landroidx/customview/widget/ExploreByTouchHelper;->mHoveredVirtualViewId:I
|
||||
|
||||
const/16 v1, 0x80
|
||||
|
||||
invoke-virtual {p0, p1, v1}, Landroidx/customview/widget/ExploreByTouchHelper;->sendEventForVirtualView(II)Z
|
||||
|
||||
const/16 p1, 0x100
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Landroidx/customview/widget/ExploreByTouchHelper;->sendEventForVirtualView(II)Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class Landroidx/customview/widget/FocusStrategy$SequentialComparator;
|
||||
.class public Landroidx/customview/widget/FocusStrategy$SequentialComparator;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FocusStrategy.java"
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
accessFlags = 0x9
|
||||
name = "SequentialComparator"
|
||||
.end annotation
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field private final mAdapter:Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.field public final mAdapter:Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/customview/widget/FocusStrategy$BoundsAdapter<",
|
||||
|
@ -38,15 +38,15 @@
|
|||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final mIsLayoutRtl:Z
|
||||
.field public final mIsLayoutRtl:Z
|
||||
|
||||
.field private final mTemp1:Landroid/graphics/Rect;
|
||||
.field public final mTemp1:Landroid/graphics/Rect;
|
||||
|
||||
.field private final mTemp2:Landroid/graphics/Rect;
|
||||
.field public final mTemp2:Landroid/graphics/Rect;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(ZLandroidx/customview/widget/FocusStrategy$BoundsAdapter;)V
|
||||
.method public constructor <init>(ZLandroidx/customview/widget/FocusStrategy$BoundsAdapter;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -110,10 +110,6 @@
|
|||
return v2
|
||||
|
||||
:cond_0
|
||||
iget p1, v0, Landroid/graphics/Rect;->top:I
|
||||
|
||||
iget p2, v1, Landroid/graphics/Rect;->top:I
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-le p1, p2, :cond_1
|
||||
|
@ -131,26 +127,25 @@
|
|||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
return v3
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_2
|
||||
return v2
|
||||
|
||||
:cond_3
|
||||
iget p1, v0, Landroid/graphics/Rect;->left:I
|
||||
|
||||
iget p2, v1, Landroid/graphics/Rect;->left:I
|
||||
|
||||
if-le p1, p2, :cond_5
|
||||
|
||||
iget-boolean p1, p0, Landroidx/customview/widget/FocusStrategy$SequentialComparator;->mIsLayoutRtl:Z
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
return v2
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
return v3
|
||||
const/4 v2, 0x1
|
||||
|
||||
:goto_0
|
||||
return v2
|
||||
|
||||
:cond_5
|
||||
iget p1, v0, Landroid/graphics/Rect;->bottom:I
|
||||
|
@ -162,10 +157,6 @@
|
|||
return v2
|
||||
|
||||
:cond_6
|
||||
iget p1, v0, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
iget p2, v1, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
if-le p1, p2, :cond_7
|
||||
|
||||
return v3
|
||||
|
@ -181,26 +172,25 @@
|
|||
|
||||
if-eqz p1, :cond_8
|
||||
|
||||
return v3
|
||||
const/4 v2, 0x1
|
||||
|
||||
:cond_8
|
||||
return v2
|
||||
|
||||
:cond_9
|
||||
iget p1, v0, Landroid/graphics/Rect;->right:I
|
||||
|
||||
iget p2, v1, Landroid/graphics/Rect;->right:I
|
||||
|
||||
if-le p1, p2, :cond_b
|
||||
|
||||
iget-boolean p1, p0, Landroidx/customview/widget/FocusStrategy$SequentialComparator;->mIsLayoutRtl:Z
|
||||
|
||||
if-eqz p1, :cond_a
|
||||
|
||||
return v2
|
||||
goto :goto_1
|
||||
|
||||
:cond_a
|
||||
return v3
|
||||
const/4 v2, 0x1
|
||||
|
||||
:goto_1
|
||||
return v2
|
||||
|
||||
:cond_b
|
||||
const/4 p1, 0x0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class Landroidx/customview/widget/FocusStrategy;
|
||||
.class public Landroidx/customview/widget/FocusStrategy;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FocusStrategy.java"
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method private constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -22,8 +22,20 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method private static beamBeats(ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.method public static beamBeats(ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.locals 3
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/customview/widget/FocusStrategy;->beamsOverlap(ILandroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
|
||||
|
@ -74,10 +86,10 @@
|
|||
|
||||
if-ge p2, p0, :cond_3
|
||||
|
||||
return v1
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:cond_4
|
||||
:goto_0
|
||||
|
@ -88,8 +100,16 @@
|
|||
return v2
|
||||
.end method
|
||||
|
||||
.method private static beamsOverlap(ILandroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.method public static beamsOverlap(ILandroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.locals 3
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -136,10 +156,13 @@
|
|||
|
||||
if-gt p0, p1, :cond_2
|
||||
|
||||
return v1
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
return v1
|
||||
|
||||
:cond_3
|
||||
iget p0, p2, Landroid/graphics/Rect;->bottom:I
|
||||
|
@ -154,14 +177,37 @@
|
|||
|
||||
if-gt p0, p1, :cond_4
|
||||
|
||||
return v1
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_2
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public static findNextFocusInAbsoluteDirection(Ljava/lang/Object;Landroidx/customview/widget/FocusStrategy$CollectionAdapter;Landroidx/customview/widget/FocusStrategy$BoundsAdapter;Ljava/lang/Object;Landroid/graphics/Rect;I)Ljava/lang/Object;
|
||||
.locals 7
|
||||
.param p0 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroidx/customview/widget/FocusStrategy$CollectionAdapter;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p4 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<",
|
||||
|
@ -269,37 +315,57 @@
|
|||
invoke-direct {v4}, Landroid/graphics/Rect;-><init>()V
|
||||
|
||||
:goto_1
|
||||
if-ge v2, v3, :cond_5
|
||||
if-ge v2, v3, :cond_6
|
||||
|
||||
invoke-interface {p1, p0, v2}, Landroidx/customview/widget/FocusStrategy$CollectionAdapter;->get(Ljava/lang/Object;I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
if-eq v5, p3, :cond_4
|
||||
if-ne v5, p3, :cond_4
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
invoke-interface {p2, v5, v4}, Landroidx/customview/widget/FocusStrategy$BoundsAdapter;->obtainBounds(Ljava/lang/Object;Landroid/graphics/Rect;)V
|
||||
|
||||
invoke-static {p5, p4, v4, v0}, Landroidx/customview/widget/FocusStrategy;->isBetterCandidate(ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
if-eqz v6, :cond_5
|
||||
|
||||
invoke-virtual {v0, v4}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V
|
||||
|
||||
move-object v1, v5
|
||||
|
||||
:cond_4
|
||||
:cond_5
|
||||
:goto_2
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
:cond_6
|
||||
return-object v1
|
||||
.end method
|
||||
|
||||
.method public static findNextFocusInRelativeDirection(Ljava/lang/Object;Landroidx/customview/widget/FocusStrategy$CollectionAdapter;Landroidx/customview/widget/FocusStrategy$BoundsAdapter;Ljava/lang/Object;IZZ)Ljava/lang/Object;
|
||||
.locals 4
|
||||
.param p0 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroidx/customview/widget/FocusStrategy$CollectionAdapter;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/customview/widget/FocusStrategy$BoundsAdapter;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<",
|
||||
|
@ -378,7 +444,7 @@
|
|||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static getNextFocusable(Ljava/lang/Object;Ljava/util/ArrayList;Z)Ljava/lang/Object;
|
||||
.method public static getNextFocusable(Ljava/lang/Object;Ljava/util/ArrayList;Z)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -435,7 +501,7 @@
|
|||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static getPreviousFocusable(Ljava/lang/Object;Ljava/util/ArrayList;Z)Ljava/lang/Object;
|
||||
.method public static getPreviousFocusable(Ljava/lang/Object;Ljava/util/ArrayList;Z)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
|
@ -492,7 +558,7 @@
|
|||
return-object p0
|
||||
.end method
|
||||
|
||||
.method private static getWeightedDistanceFor(II)I
|
||||
.method public static getWeightedDistanceFor(II)I
|
||||
.locals 1
|
||||
|
||||
mul-int/lit8 v0, p0, 0xd
|
||||
|
@ -501,13 +567,25 @@
|
|||
|
||||
mul-int p1, p1, p1
|
||||
|
||||
add-int/2addr v0, p1
|
||||
add-int/2addr p1, v0
|
||||
|
||||
return v0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method private static isBetterCandidate(ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.method public static isBetterCandidate(ILandroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.locals 3
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-static {p1, p2, p0}, Landroidx/customview/widget/FocusStrategy;->isCandidate(Landroid/graphics/Rect;Landroid/graphics/Rect;I)Z
|
||||
|
||||
|
@ -575,14 +653,22 @@
|
|||
|
||||
if-ge p2, p0, :cond_4
|
||||
|
||||
return v2
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_4
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method private static isCandidate(Landroid/graphics/Rect;Landroid/graphics/Rect;I)Z
|
||||
.method public static isCandidate(Landroid/graphics/Rect;Landroid/graphics/Rect;I)Z
|
||||
.locals 3
|
||||
.param p0 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -612,8 +698,6 @@
|
|||
|
||||
iget p2, p0, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
iget v0, p1, Landroid/graphics/Rect;->top:I
|
||||
|
||||
if-gt p2, v0, :cond_1
|
||||
|
||||
:cond_0
|
||||
|
@ -623,10 +707,13 @@
|
|||
|
||||
if-ge p0, p1, :cond_1
|
||||
|
||||
return v1
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
@ -646,8 +733,6 @@
|
|||
|
||||
iget p2, p0, Landroid/graphics/Rect;->right:I
|
||||
|
||||
iget v0, p1, Landroid/graphics/Rect;->left:I
|
||||
|
||||
if-gt p2, v0, :cond_5
|
||||
|
||||
:cond_4
|
||||
|
@ -657,10 +742,13 @@
|
|||
|
||||
if-ge p0, p1, :cond_5
|
||||
|
||||
return v1
|
||||
goto :goto_1
|
||||
|
||||
:cond_5
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
return v1
|
||||
|
||||
:cond_6
|
||||
iget p2, p0, Landroid/graphics/Rect;->bottom:I
|
||||
|
@ -671,8 +759,6 @@
|
|||
|
||||
iget p2, p0, Landroid/graphics/Rect;->top:I
|
||||
|
||||
iget v0, p1, Landroid/graphics/Rect;->bottom:I
|
||||
|
||||
if-lt p2, v0, :cond_8
|
||||
|
||||
:cond_7
|
||||
|
@ -682,10 +768,13 @@
|
|||
|
||||
if-le p0, p1, :cond_8
|
||||
|
||||
return v1
|
||||
goto :goto_2
|
||||
|
||||
:cond_8
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_2
|
||||
return v1
|
||||
|
||||
:cond_9
|
||||
iget p2, p0, Landroid/graphics/Rect;->right:I
|
||||
|
@ -696,8 +785,6 @@
|
|||
|
||||
iget p2, p0, Landroid/graphics/Rect;->left:I
|
||||
|
||||
iget v0, p1, Landroid/graphics/Rect;->right:I
|
||||
|
||||
if-lt p2, v0, :cond_b
|
||||
|
||||
:cond_a
|
||||
|
@ -707,14 +794,25 @@
|
|||
|
||||
if-le p0, p1, :cond_b
|
||||
|
||||
return v1
|
||||
goto :goto_3
|
||||
|
||||
:cond_b
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_3
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method private static isToDirectionOf(ILandroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.method public static isToDirectionOf(ILandroid/graphics/Rect;Landroid/graphics/Rect;)Z
|
||||
.locals 3
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -742,10 +840,13 @@
|
|||
|
||||
if-gt p0, p1, :cond_0
|
||||
|
||||
return v1
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
return v1
|
||||
|
||||
:cond_1
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
@ -763,10 +864,13 @@
|
|||
|
||||
if-gt p0, p1, :cond_3
|
||||
|
||||
return v1
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
return v1
|
||||
|
||||
:cond_4
|
||||
iget p0, p1, Landroid/graphics/Rect;->top:I
|
||||
|
@ -775,10 +879,13 @@
|
|||
|
||||
if-lt p0, p1, :cond_5
|
||||
|
||||
return v1
|
||||
goto :goto_2
|
||||
|
||||
:cond_5
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_2
|
||||
return v1
|
||||
|
||||
:cond_6
|
||||
iget p0, p1, Landroid/graphics/Rect;->left:I
|
||||
|
@ -787,14 +894,25 @@
|
|||
|
||||
if-lt p0, p1, :cond_7
|
||||
|
||||
return v1
|
||||
goto :goto_3
|
||||
|
||||
:cond_7
|
||||
return v2
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_3
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method private static majorAxisDistance(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.method public static majorAxisDistance(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/customview/widget/FocusStrategy;->majorAxisDistanceRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
|
||||
|
@ -809,8 +927,16 @@
|
|||
return p0
|
||||
.end method
|
||||
|
||||
.method private static majorAxisDistanceRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.method public static majorAxisDistanceRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.locals 1
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -868,8 +994,16 @@
|
|||
goto :goto_0
|
||||
.end method
|
||||
|
||||
.method private static majorAxisDistanceToFarEdge(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.method public static majorAxisDistanceToFarEdge(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/customview/widget/FocusStrategy;->majorAxisDistanceToFarEdgeRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
|
||||
|
@ -884,8 +1018,16 @@
|
|||
return p0
|
||||
.end method
|
||||
|
||||
.method private static majorAxisDistanceToFarEdgeRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.method public static majorAxisDistanceToFarEdgeRaw(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.locals 1
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -943,8 +1085,16 @@
|
|||
goto :goto_0
|
||||
.end method
|
||||
|
||||
.method private static minorAxisDistance(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.method public static minorAxisDistance(ILandroid/graphics/Rect;Landroid/graphics/Rect;)I
|
||||
.locals 1
|
||||
.param p1 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/graphics/Rect;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/16 v0, 0x11
|
||||
|
||||
|
@ -983,9 +1133,9 @@
|
|||
|
||||
div-int/lit8 p1, p1, 0x2
|
||||
|
||||
add-int/2addr p0, p1
|
||||
add-int/2addr p1, p0
|
||||
|
||||
iget p1, p2, Landroid/graphics/Rect;->left:I
|
||||
iget p0, p2, Landroid/graphics/Rect;->left:I
|
||||
|
||||
invoke-virtual {p2}, Landroid/graphics/Rect;->width()I
|
||||
|
||||
|
@ -993,11 +1143,11 @@
|
|||
|
||||
div-int/lit8 p2, p2, 0x2
|
||||
|
||||
add-int/2addr p1, p2
|
||||
add-int/2addr p2, p0
|
||||
|
||||
sub-int/2addr p0, p1
|
||||
sub-int/2addr p1, p2
|
||||
|
||||
invoke-static {p0}, Ljava/lang/Math;->abs(I)I
|
||||
invoke-static {p1}, Ljava/lang/Math;->abs(I)I
|
||||
|
||||
move-result p0
|
||||
|
||||
|
@ -1012,9 +1162,9 @@
|
|||
|
||||
div-int/lit8 p1, p1, 0x2
|
||||
|
||||
add-int/2addr p0, p1
|
||||
add-int/2addr p1, p0
|
||||
|
||||
iget p1, p2, Landroid/graphics/Rect;->top:I
|
||||
iget p0, p2, Landroid/graphics/Rect;->top:I
|
||||
|
||||
invoke-virtual {p2}, Landroid/graphics/Rect;->height()I
|
||||
|
||||
|
@ -1022,11 +1172,11 @@
|
|||
|
||||
div-int/lit8 p2, p2, 0x2
|
||||
|
||||
add-int/2addr p1, p2
|
||||
add-int/2addr p2, p0
|
||||
|
||||
sub-int/2addr p0, p1
|
||||
sub-int/2addr p1, p2
|
||||
|
||||
invoke-static {p0}, Ljava/lang/Math;->abs(I)I
|
||||
invoke-static {p1}, Ljava/lang/Math;->abs(I)I
|
||||
|
||||
move-result p0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class final Landroidx/customview/widget/ViewDragHelper$1;
|
||||
.class public final Landroidx/customview/widget/ViewDragHelper$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewDragHelper.java"
|
||||
|
||||
|
@ -12,13 +12,13 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x8
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final getInterpolation(F)F
|
||||
.method public getInterpolation(F)F
|
||||
.locals 2
|
||||
|
||||
const/high16 v0, 0x3f800000 # 1.0f
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.class Landroidx/customview/widget/ViewDragHelper$2;
|
||||
.class public Landroidx/customview/widget/ViewDragHelper$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewDragHelper.java"
|
||||
|
||||
|
@ -12,17 +12,17 @@
|
|||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x0
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field final synthetic this$0:Landroidx/customview/widget/ViewDragHelper;
|
||||
.field public final synthetic this$0:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroidx/customview/widget/ViewDragHelper;)V
|
||||
.method public constructor <init>(Landroidx/customview/widget/ViewDragHelper;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/customview/widget/ViewDragHelper$2;->this$0:Landroidx/customview/widget/ViewDragHelper;
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
# virtual methods
|
||||
.method public clampViewPositionHorizontal(Landroid/view/View;II)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -35,6 +39,10 @@
|
|||
|
||||
.method public clampViewPositionVertical(Landroid/view/View;II)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -49,6 +57,10 @@
|
|||
|
||||
.method public getViewHorizontalDragRange(Landroid/view/View;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -57,6 +69,10 @@
|
|||
|
||||
.method public getViewVerticalDragRange(Landroid/view/View;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
|
@ -85,6 +101,10 @@
|
|||
|
||||
.method public onViewCaptured(Landroid/view/View;I)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -97,15 +117,35 @@
|
|||
|
||||
.method public onViewPositionChanged(Landroid/view/View;IIII)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p4 # I
|
||||
.annotation build Landroidx/annotation/Px;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p5 # I
|
||||
.annotation build Landroidx/annotation/Px;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onViewReleased(Landroid/view/View;FF)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public abstract tryCaptureView(Landroid/view/View;I)Z
|
||||
.param p1 # Landroid/view/View;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.end method
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue