ArticleViewer$BlockPreformattedCell$1.smali

.class Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;
.super Landroid/widget/HorizontalScrollView;
.source "ArticleViewer.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;-><init>(Lim/tpelyyftgw/ui/ArticleViewer;Landroid/content/Context;Lim/tpelyyftgw/ui/ArticleViewer$WebpageAdapter;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

.field final synthetic val$this$0:Lim/tpelyyftgw/ui/ArticleViewer;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;Landroid/content/Context;Lim/tpelyyftgw/ui/ArticleViewer;)V
    .registers 4
    .param p1, "this$1"    # Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;
    .param p2, "x0"    # Landroid/content/Context;

    .line 10252
    iput-object p1, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    iput-object p3, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->val$this$0:Lim/tpelyyftgw/ui/ArticleViewer;

    invoke-direct {p0, p2}, Landroid/widget/HorizontalScrollView;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 4
    .param p1, "ev"    # Landroid/view/MotionEvent;

    .line 10255
    iget-object v0, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    # getter for: Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->textContainer:Landroid/view/View;
    invoke-static {v0}, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->access$20100(Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->getMeasuredWidth()I

    move-result v1

    if-le v0, v1, :cond_1c

    .line 10256
    iget-object v0, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    iget-object v0, v0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->this$0:Lim/tpelyyftgw/ui/ArticleViewer;

    invoke-static {v0}, Lim/tpelyyftgw/ui/ArticleViewer;->access$1200(Lim/tpelyyftgw/ui/ArticleViewer;)Lim/tpelyyftgw/ui/ArticleViewer$WindowView;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/ArticleViewer$WindowView;->requestDisallowInterceptTouchEvent(Z)V

    .line 10258
    :cond_1c
    invoke-super {p0, p1}, Landroid/widget/HorizontalScrollView;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method protected onScrollChanged(IIII)V
    .registers 7
    .param p1, "l"    # I
    .param p2, "t"    # I
    .param p3, "oldl"    # I
    .param p4, "oldt"    # I

    .line 10263
    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/HorizontalScrollView;->onScrollChanged(IIII)V

    .line 10264
    iget-object v0, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    iget-object v0, v0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->this$0:Lim/tpelyyftgw/ui/ArticleViewer;

    invoke-static {v0}, Lim/tpelyyftgw/ui/ArticleViewer;->access$3300(Lim/tpelyyftgw/ui/ArticleViewer;)Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;

    move-result-object v0

    if-eqz v0, :cond_1c

    .line 10265
    iget-object v0, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    iget-object v0, v0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->this$0:Lim/tpelyyftgw/ui/ArticleViewer;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/ArticleViewer;->access$3302(Lim/tpelyyftgw/ui/ArticleViewer;Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;)Lim/tpelyyftgw/ui/ArticleViewer$DrawingText;

    .line 10266
    iget-object v0, p0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell$1;->this$1:Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;

    iget-object v0, v0, Lim/tpelyyftgw/ui/ArticleViewer$BlockPreformattedCell;->this$0:Lim/tpelyyftgw/ui/ArticleViewer;

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/ArticleViewer;->access$3402(Lim/tpelyyftgw/ui/ArticleViewer;Landroid/view/View;)Landroid/view/View;

    .line 10268
    :cond_1c
    return-void
.end method