178 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			178 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class public Landroidx/appcompat/app/AppCompatDelegateImpl$r;
 | 
						|
.super Landroidx/appcompat/widget/ContentFrameLayout;
 | 
						|
.source "AppCompatDelegateImpl.java"
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/EnclosingClass;
 | 
						|
    value = Landroidx/appcompat/app/AppCompatDelegateImpl;
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation system Ldalvik/annotation/InnerClass;
 | 
						|
    accessFlags = 0x1
 | 
						|
    name = "r"
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field public final synthetic i:Landroidx/appcompat/app/AppCompatDelegateImpl;
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>(Landroidx/appcompat/app/AppCompatDelegateImpl;Landroid/content/Context;)V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iput-object p1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$r;->i:Landroidx/appcompat/app/AppCompatDelegateImpl;
 | 
						|
 | 
						|
    .line 2
 | 
						|
    invoke-direct {p0, p2}, Landroidx/appcompat/widget/ContentFrameLayout;-><init>(Landroid/content/Context;)V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public final c(II)Z
 | 
						|
    .locals 1
 | 
						|
 | 
						|
    const/4 v0, -0x5
 | 
						|
 | 
						|
    if-lt p1, v0, :cond_1
 | 
						|
 | 
						|
    if-lt p2, v0, :cond_1
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getWidth()I
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    add-int/lit8 v0, v0, 0x5
 | 
						|
 | 
						|
    if-gt p1, v0, :cond_1
 | 
						|
 | 
						|
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getHeight()I
 | 
						|
 | 
						|
    move-result p1
 | 
						|
 | 
						|
    add-int/lit8 p1, p1, 0x5
 | 
						|
 | 
						|
    if-le p2, p1, :cond_0
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    const/4 p1, 0x0
 | 
						|
 | 
						|
    goto :goto_1
 | 
						|
 | 
						|
    :cond_1
 | 
						|
    :goto_0
 | 
						|
    const/4 p1, 0x1
 | 
						|
 | 
						|
    :goto_1
 | 
						|
    return p1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
 | 
						|
    .locals 1
 | 
						|
 | 
						|
    .line 1
 | 
						|
    iget-object v0, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$r;->i:Landroidx/appcompat/app/AppCompatDelegateImpl;
 | 
						|
 | 
						|
    invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;->e0(Landroid/view/KeyEvent;)Z
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    if-nez v0, :cond_1
 | 
						|
 | 
						|
    .line 2
 | 
						|
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z
 | 
						|
 | 
						|
    move-result p1
 | 
						|
 | 
						|
    if-eqz p1, :cond_0
 | 
						|
 | 
						|
    goto :goto_0
 | 
						|
 | 
						|
    :cond_0
 | 
						|
    const/4 p1, 0x0
 | 
						|
 | 
						|
    goto :goto_1
 | 
						|
 | 
						|
    :cond_1
 | 
						|
    :goto_0
 | 
						|
    const/4 p1, 0x1
 | 
						|
 | 
						|
    :goto_1
 | 
						|
    return p1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
 | 
						|
    .locals 2
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    if-nez v0, :cond_0
 | 
						|
 | 
						|
    .line 2
 | 
						|
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    float-to-int v0, v0
 | 
						|
 | 
						|
    .line 3
 | 
						|
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
 | 
						|
 | 
						|
    move-result v1
 | 
						|
 | 
						|
    float-to-int v1, v1
 | 
						|
 | 
						|
    .line 4
 | 
						|
    invoke-virtual {p0, v0, v1}, Landroidx/appcompat/app/AppCompatDelegateImpl$r;->c(II)Z
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    if-eqz v0, :cond_0
 | 
						|
 | 
						|
    .line 5
 | 
						|
    iget-object p1, p0, Landroidx/appcompat/app/AppCompatDelegateImpl$r;->i:Landroidx/appcompat/app/AppCompatDelegateImpl;
 | 
						|
 | 
						|
    const/4 v0, 0x0
 | 
						|
 | 
						|
    invoke-virtual {p1, v0}, Landroidx/appcompat/app/AppCompatDelegateImpl;->Z(I)V
 | 
						|
 | 
						|
    const/4 p1, 0x1
 | 
						|
 | 
						|
    return p1
 | 
						|
 | 
						|
    .line 6
 | 
						|
    :cond_0
 | 
						|
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
 | 
						|
 | 
						|
    move-result p1
 | 
						|
 | 
						|
    return p1
 | 
						|
.end method
 | 
						|
 | 
						|
.method public setBackgroundResource(I)V
 | 
						|
    .locals 1
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
 | 
						|
 | 
						|
    move-result-object v0
 | 
						|
 | 
						|
    invoke-static {v0, p1}, Lg/a;->d(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
 | 
						|
 | 
						|
    move-result-object p1
 | 
						|
 | 
						|
    invoke-virtual {p0, p1}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 |