Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -1,30 +1,38 @@
|
|||
.class Landroidx/appcompat/widget/TooltipPopup;
|
||||
.class public Landroidx/appcompat/widget/TooltipPopup;
|
||||
.super Ljava/lang/Object;
|
||||
.source "TooltipPopup.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "TooltipPopup"
|
||||
.field public static final TAG:Ljava/lang/String; = "TooltipPopup"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final mContentView:Landroid/view/View;
|
||||
.field public final mContentView:Landroid/view/View;
|
||||
|
||||
.field private final mContext:Landroid/content/Context;
|
||||
.field public final mContext:Landroid/content/Context;
|
||||
|
||||
.field private final mLayoutParams:Landroid/view/WindowManager$LayoutParams;
|
||||
.field public final mLayoutParams:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
.field private final mMessageView:Landroid/widget/TextView;
|
||||
.field public final mMessageView:Landroid/widget/TextView;
|
||||
|
||||
.field private final mTmpAnchorPos:[I
|
||||
.field public final mTmpAnchorPos:[I
|
||||
|
||||
.field private final mTmpAppPos:[I
|
||||
.field public final mTmpAppPos:[I
|
||||
|
||||
.field private final mTmpDisplayFrame:Landroid/graphics/Rect;
|
||||
.field public final mTmpDisplayFrame:Landroid/graphics/Rect;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method constructor <init>(Landroid/content/Context;)V
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -83,9 +91,7 @@
|
|||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/TooltipPopup;->mLayoutParams:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
const-class v0, Landroidx/appcompat/widget/TooltipPopup;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
|
@ -123,8 +129,6 @@
|
|||
|
||||
iput v0, p1, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I
|
||||
|
||||
iget-object p1, p0, Landroidx/appcompat/widget/TooltipPopup;->mLayoutParams:Landroid/view/WindowManager$LayoutParams;
|
||||
|
||||
const/16 v0, 0x18
|
||||
|
||||
iput v0, p1, Landroid/view/WindowManager$LayoutParams;->flags:I
|
||||
|
@ -248,11 +252,9 @@
|
|||
|
||||
iget-object v4, p0, Landroidx/appcompat/widget/TooltipPopup;->mTmpDisplayFrame:Landroid/graphics/Rect;
|
||||
|
||||
iget v4, v4, Landroid/graphics/Rect;->left:I
|
||||
iget v5, v4, Landroid/graphics/Rect;->left:I
|
||||
|
||||
if-gez v4, :cond_5
|
||||
|
||||
iget-object v4, p0, Landroidx/appcompat/widget/TooltipPopup;->mTmpDisplayFrame:Landroid/graphics/Rect;
|
||||
if-gez v5, :cond_5
|
||||
|
||||
iget v4, v4, Landroid/graphics/Rect;->top:I
|
||||
|
||||
|
@ -373,15 +375,20 @@
|
|||
|
||||
add-int/2addr p2, v0
|
||||
|
||||
if-eqz p4, :cond_6
|
||||
if-eqz p4, :cond_7
|
||||
|
||||
if-gez v2, :cond_7
|
||||
if-ltz v2, :cond_6
|
||||
|
||||
iput p2, p5, Landroid/view/WindowManager$LayoutParams;->y:I
|
||||
iput v2, p5, Landroid/view/WindowManager$LayoutParams;->y:I
|
||||
|
||||
return-void
|
||||
goto :goto_4
|
||||
|
||||
:cond_6
|
||||
iput p2, p5, Landroid/view/WindowManager$LayoutParams;->y:I
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_7
|
||||
add-int/2addr p1, p2
|
||||
|
||||
iget-object p3, p0, Landroidx/appcompat/widget/TooltipPopup;->mTmpDisplayFrame:Landroid/graphics/Rect;
|
||||
|
@ -390,19 +397,20 @@
|
|||
|
||||
move-result p3
|
||||
|
||||
if-gt p1, p3, :cond_7
|
||||
if-gt p1, p3, :cond_8
|
||||
|
||||
iput p2, p5, Landroid/view/WindowManager$LayoutParams;->y:I
|
||||
|
||||
return-void
|
||||
goto :goto_4
|
||||
|
||||
:cond_7
|
||||
:cond_8
|
||||
iput v2, p5, Landroid/view/WindowManager$LayoutParams;->y:I
|
||||
|
||||
:goto_4
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static getAppRootView(Landroid/view/View;)Landroid/view/View;
|
||||
.method public static getAppRootView(Landroid/view/View;)Landroid/view/View;
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Landroid/view/View;->getRootView()Landroid/view/View;
|
||||
|
@ -468,7 +476,7 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method hide()V
|
||||
.method public hide()V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/widget/TooltipPopup;->isShowing()Z
|
||||
|
@ -497,7 +505,7 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method isShowing()Z
|
||||
.method public isShowing()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/appcompat/widget/TooltipPopup;->mContentView:Landroid/view/View;
|
||||
|
@ -510,15 +518,16 @@
|
|||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method show(Landroid/view/View;IIZLjava/lang/CharSequence;)V
|
||||
.method public show(Landroid/view/View;IIZLjava/lang/CharSequence;)V
|
||||
.locals 7
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/widget/TooltipPopup;->isShowing()Z
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue