NewsDetailFragment$4.smali

.class Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;
.super Ljava/lang/Object;
.source "NewsDetailFragment.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;
.end annotation

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


# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;


# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)V
    .registers 2

    .line 369
    iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 5

    .line 372
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsFABOpen:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1200(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    const/4 p2, 0x1

    if-eqz p1, :cond_1e

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsTTSRunning:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1300(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-nez p1, :cond_1e

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsTrackStopped:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1400(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-eqz p1, :cond_1e

    .line 373
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # setter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mShouldFABClose:Z
    invoke-static {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1502(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;Z)Z

    .line 375
    :cond_1e
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mFABTextSizeSeekBarArea:Landroid/widget/RelativeLayout;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1600(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Landroid/widget/RelativeLayout;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result p1

    if-nez p1, :cond_44

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsTrackStopped:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1400(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-eqz p1, :cond_44

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mShouldFABClose:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1500(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-eqz p1, :cond_44

    .line 376
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->reOpenFAB()V
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$900(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)V

    .line 377
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->hideAdjustingTextSize()V
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1700(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)V

    .line 379
    :cond_44
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->toggleTTS:Landroid/widget/ImageView;
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1800(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/ImageView;->getVisibility()I

    move-result p1

    if-nez p1, :cond_6a

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsTTSRunning:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1300(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-nez p1, :cond_6a

    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mShouldFABClose:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1500(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    if-eqz p1, :cond_6a

    .line 380
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->reOpenFAB()V
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$900(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)V

    .line 381
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # invokes: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->stopVoiceReading()V
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1000(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)V

    .line 383
    :cond_6a
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mIsSlider:Z
    invoke-static {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$1900(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Z

    move-result p1

    const/4 v0, 0x0

    if-eqz p1, :cond_8c

    .line 384
    iget-object p1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    invoke-virtual {p1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->getParentFragment()Landroidx/fragment/app/Fragment;

    move-result-object p1

    check-cast p1, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;

    iget-object v1, p0, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment$4;->this$0:Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;

    # getter for: Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->mDetailContentLLM:Landroidx/recyclerview/widget/LinearLayoutManager;
    invoke-static {v1}, Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;->access$2000(Lhurriyet/mobil/android/hurriyet/fragments/NewsDetailFragment;)Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object v1

    invoke-virtual {v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstCompletelyVisibleItemPosition()I

    move-result v1

    if-nez v1, :cond_88

    goto :goto_89

    :cond_88
    const/4 p2, 0x0

    :goto_89
    invoke-virtual {p1, p2}, Lhurriyet/mobil/android/hurriyet/fragments/ContentDetailFragment;->setArrowsVisibility(Z)V

    :cond_8c
    return v0
.end method