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 Landroidx/recyclerview/widget/ItemTouchUIUtilImpl;
|
||||
.class public Landroidx/recyclerview/widget/ItemTouchUIUtilImpl;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ItemTouchUIUtilImpl.java"
|
||||
|
||||
|
@ -7,11 +7,11 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field static final INSTANCE:Landroidx/recyclerview/widget/ItemTouchUIUtil;
|
||||
.field public static final INSTANCE:Landroidx/recyclerview/widget/ItemTouchUIUtil;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/recyclerview/widget/ItemTouchUIUtilImpl;
|
||||
|
@ -23,7 +23,7 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -31,10 +31,10 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method private static findMaxElevation(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;)F
|
||||
.method public static findMaxElevation(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;)F
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p0}, Landroidx/recyclerview/widget/RecyclerView;->getChildCount()I
|
||||
invoke-virtual {p0}, Landroid/view/ViewGroup;->getChildCount()I
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -43,30 +43,34 @@
|
|||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v0, :cond_1
|
||||
if-ge v2, v0, :cond_2
|
||||
|
||||
invoke-virtual {p0, v2}, Landroidx/recyclerview/widget/RecyclerView;->getChildAt(I)Landroid/view/View;
|
||||
invoke-virtual {p0, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eq v3, p1, :cond_0
|
||||
if-ne v3, p1, :cond_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
invoke-static {v3}, Landroidx/core/view/ViewCompat;->getElevation(Landroid/view/View;)F
|
||||
|
||||
move-result v3
|
||||
|
||||
cmpl-float v4, v3, v1
|
||||
|
||||
if-lez v4, :cond_0
|
||||
if-lez v4, :cond_1
|
||||
|
||||
move v1, v3
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
:goto_1
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
:cond_2
|
||||
return v1
|
||||
.end method
|
||||
|
||||
|
@ -77,18 +81,12 @@
|
|||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x15
|
||||
|
||||
if-lt v0, v1, :cond_1
|
||||
|
||||
sget v0, Landroidx/recyclerview/R$id;->item_touch_helper_previous_elevation:I
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
instance-of v1, v0, Ljava/lang/Float;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
@ -108,7 +106,6 @@
|
|||
|
||||
invoke-virtual {p1, v0, v1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/view/View;->setTranslationX(F)V
|
||||
|
@ -123,10 +120,6 @@
|
|||
|
||||
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 p6, 0x15
|
||||
|
||||
if-lt p1, p6, :cond_0
|
||||
|
||||
if-eqz p7, :cond_0
|
||||
|
||||
sget p1, Landroidx/recyclerview/R$id;->item_touch_helper_previous_elevation:I
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue