DCWXScroller$2.smali 
.class Lcom/taobao/weex/ui/component/DCWXScroller$2;
.super Ljava/lang/Object;
.source "DCWXScroller.java"
# interfaces
.implements Lio/dcloud/feature/weex_scroller/view/DCWXHorizontalScrollView$ScrollViewListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/taobao/weex/ui/component/DCWXScroller;->addEvent(Ljava/lang/String;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
# direct methods
.method constructor <init>(Lcom/taobao/weex/ui/component/DCWXScroller;)V
    .registers 2
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010
        }
        names = {
            "this$0"
        }
    .end annotation
    .line 252
    iput-object p1, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V
    return-void
.end method
# virtual methods
.method public onScrollChanged(Lio/dcloud/feature/weex_scroller/view/DCWXHorizontalScrollView;IIII)V
    .registers 13
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0,
            0x0,
            0x0,
            0x0,
            0x0
        }
        names = {
            "scrollView",
            "x",
            "y",
            "oldx",
            "oldy"
        }
    .end annotation
    .line 255
    iget-object v0, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    invoke-virtual {v0}, Lcom/taobao/weex/ui/component/DCWXScroller;->getScrollStartEndHelper()Lcom/taobao/weex/ui/component/helper/ScrollStartEndHelper;
    move-result-object v0
    invoke-virtual {v0, p2, p3}, Lcom/taobao/weex/ui/component/helper/ScrollStartEndHelper;->onScrolled(II)V
    .line 256
    iget-object v0, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    invoke-virtual {v0}, Lcom/taobao/weex/ui/component/DCWXScroller;->getEvents()Lcom/taobao/weex/dom/WXEvent;
    move-result-object v0
    const-string v1, "scroll"
    invoke-virtual {v0, v1}, Lcom/taobao/weex/dom/WXEvent;->contains(Ljava/lang/Object;)Z
    move-result v0
    if-nez v0, :cond_18
    return-void
    .line 259
    :cond_18
    iget-object v0, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    # invokes: Lcom/taobao/weex/ui/component/DCWXScroller;->shouldReport(II)Z
    invoke-static {v0, p2, p3}, Lcom/taobao/weex/ui/component/DCWXScroller;->access$000(Lcom/taobao/weex/ui/component/DCWXScroller;II)Z
    move-result v0
    if-eqz v0, :cond_2d
    .line 260
    iget-object v1, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    invoke-virtual {p1}, Lio/dcloud/feature/weex_scroller/view/DCWXHorizontalScrollView;->getContentFrame()Landroid/graphics/Rect;
    move-result-object v2
    move v3, p2
    move v4, p3
    move v5, p4
    move v6, p5
    # invokes: Lcom/taobao/weex/ui/component/DCWXScroller;->fireScrollEvent(Landroid/graphics/Rect;IIII)V
    invoke-static/range {v1 .. v6}, Lcom/taobao/weex/ui/component/DCWXScroller;->access$100(Lcom/taobao/weex/ui/component/DCWXScroller;Landroid/graphics/Rect;IIII)V
    :cond_2d
    return-void
.end method
.method public onScrollToBottom()V
    .registers 5
    .line 275
    new-instance v0, Ljava/util/HashMap;
    const/4 v1, 0x1
    invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(I)V
    const-string v2, "direction"
    const-string v3, "bottom"
    .line 276
    invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 277
    new-instance v2, Ljava/util/HashMap;
    invoke-direct {v2, v1}, Ljava/util/HashMap;-><init>(I)V
    const-string v1, "detail"
    .line 278
    invoke-interface {v2, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 279
    iget-object v0, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    const-string v1, "scrolltolower"
    invoke-virtual {v0, v1, v2}, Lcom/taobao/weex/ui/component/DCWXScroller;->fireEvent(Ljava/lang/String;Ljava/util/Map;)V
    return-void
.end method
.method public onScrolltoTop()V
    .registers 5
    .line 266
    new-instance v0, Ljava/util/HashMap;
    const/4 v1, 0x1
    invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(I)V
    const-string v2, "direction"
    const-string v3, "top"
    .line 267
    invoke-interface {v0, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 268
    new-instance v2, Ljava/util/HashMap;
    invoke-direct {v2, v1}, Ljava/util/HashMap;-><init>(I)V
    const-string v1, "detail"
    .line 269
    invoke-interface {v2, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .line 270
    iget-object v0, p0, Lcom/taobao/weex/ui/component/DCWXScroller$2;->this$0:Lcom/taobao/weex/ui/component/DCWXScroller;
    const-string v1, "scrolltoupper"
    invoke-virtual {v0, v1, v2}, Lcom/taobao/weex/ui/component/DCWXScroller;->fireEvent(Ljava/lang/String;Ljava/util/Map;)V
    return-void
.end method