69 lines
1.6 KiB
Smali
69 lines
1.6 KiB
Smali
.class public Lcom/miguelgaeta/super_bar/SuperBar$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SuperBar.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnTouchListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/miguelgaeta/super_bar/SuperBar;->init()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/miguelgaeta/super_bar/SuperBar;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/miguelgaeta/super_bar/SuperBar;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/miguelgaeta/super_bar/SuperBar$1;->this$0:Lcom/miguelgaeta/super_bar/SuperBar;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-interface {v0, v1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result p2
|
|
|
|
and-int/lit16 p2, p2, 0xff
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eq p2, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, v0}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|