PipVideoView$1.smali

.class Lim/tpelyyftgw/ui/components/PipVideoView$1;
.super Landroid/widget/FrameLayout;
.source "PipVideoView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/PipVideoView;->show(Landroid/app/Activity;Lim/tpelyyftgw/ui/PhotoViewer;Lim/tpelyyftgw/ui/components/EmbedBottomSheet;Landroid/view/View;FILandroid/webkit/WebView;)Landroid/view/TextureView;
.end annotation

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


# instance fields
.field private dragging:Z

.field private startX:F

.field private startY:F

.field final synthetic this$0:Lim/tpelyyftgw/ui/components/PipVideoView;


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/PipVideoView;Landroid/content/Context;)V
    .registers 3
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/PipVideoView;
    .param p2, "arg0"    # Landroid/content/Context;

    .line 268
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

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

    return-void
.end method


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

    .line 276
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v0

    .line 277
    .local v0, "x":F
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v1

    .line 278
    .local v1, "y":F
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v2

    if-nez v2, :cond_13

    .line 279
    iput v0, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startX:F

    .line 280
    iput v1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startY:F

    goto :goto_5b

    .line 281
    :cond_13
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v2

    const/4 v3, 0x2

    if-ne v2, v3, :cond_5b

    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->dragging:Z

    if-nez v2, :cond_5b

    .line 282
    iget v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startX:F

    sub-float/2addr v2, v0

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    const v3, 0x3e99999a    # 0.3f

    const/4 v4, 0x1

    invoke-static {v3, v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getPixelsInCM(FZ)F

    move-result v5

    cmpl-float v2, v2, v5

    if-gez v2, :cond_41

    iget v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startY:F

    sub-float/2addr v2, v1

    invoke-static {v2}, Ljava/lang/Math;->abs(F)F

    move-result v2

    const/4 v5, 0x0

    invoke-static {v3, v5}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getPixelsInCM(FZ)F

    move-result v3

    cmpl-float v2, v2, v3

    if-ltz v2, :cond_5b

    .line 283
    :cond_41
    iput-boolean v4, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->dragging:Z

    .line 284
    iput v0, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startX:F

    .line 285
    iput v1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startY:F

    .line 286
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->controlsView:Landroid/view/View;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$400(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/View;

    move-result-object v2

    if-eqz v2, :cond_5a

    .line 287
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->controlsView:Landroid/view/View;
    invoke-static {v2}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$400(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/view/ViewParent;

    invoke-interface {v2, v4}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V

    .line 289
    :cond_5a
    return v4

    .line 292
    :cond_5b
    :goto_5b
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v2

    return v2
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 14
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 302
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->dragging:Z

    const/4 v1, 0x0

    if-nez v0, :cond_6

    .line 303
    return v1

    .line 305
    :cond_6
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v0

    .line 306
    .local v0, "x":F
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v2

    .line 307
    .local v2, "y":F
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    const/4 v4, 0x1

    const/4 v5, 0x2

    if-ne v3, v5, :cond_14b

    .line 308
    iget v1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startX:F

    sub-float v1, v0, v1

    .line 309
    .local v1, "dx":F
    iget v3, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startY:F

    sub-float v3, v2, v3

    .line 310
    .local v3, "dy":F
    iget-object v6, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v6}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v6

    iget v7, v6, Landroid/view/WindowManager$LayoutParams;->x:I

    int-to-float v7, v7

    add-float/2addr v7, v1

    float-to-int v7, v7

    iput v7, v6, Landroid/view/WindowManager$LayoutParams;->x:I

    .line 311
    iget-object v6, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v6}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v6

    iget v7, v6, Landroid/view/WindowManager$LayoutParams;->y:I

    int-to-float v7, v7

    add-float/2addr v7, v3

    float-to-int v7, v7

    iput v7, v6, Landroid/view/WindowManager$LayoutParams;->y:I

    .line 312
    iget-object v6, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->videoWidth:I
    invoke-static {v6}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$600(Lim/tpelyyftgw/ui/components/PipVideoView;)I

    move-result v6

    div-int/2addr v6, v5

    .line 313
    .local v6, "maxDiff":I
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v5}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v5

    iget v5, v5, Landroid/view/WindowManager$LayoutParams;->x:I

    neg-int v7, v6

    if-ge v5, v7, :cond_54

    .line 314
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v5}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v5

    neg-int v7, v6

    iput v7, v5, Landroid/view/WindowManager$LayoutParams;->x:I

    goto :goto_82

    .line 315
    :cond_54
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v5}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v5

    iget v5, v5, Landroid/view/WindowManager$LayoutParams;->x:I

    sget-object v7, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->x:I

    iget-object v8, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v8

    iget v8, v8, Landroid/view/WindowManager$LayoutParams;->width:I

    sub-int/2addr v7, v8

    add-int/2addr v7, v6

    if-le v5, v7, :cond_82

    .line 316
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v5}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v5

    sget-object v7, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->x:I

    iget-object v8, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v8

    iget v8, v8, Landroid/view/WindowManager$LayoutParams;->width:I

    sub-int/2addr v7, v8

    add-int/2addr v7, v6

    iput v7, v5, Landroid/view/WindowManager$LayoutParams;->x:I

    .line 318
    :cond_82
    :goto_82
    const/high16 v5, 0x3f800000    # 1.0f

    .line 319
    .local v5, "alpha":F
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->x:I

    const/high16 v8, 0x3f000000    # 0.5f

    const/high16 v9, 0x3f800000    # 1.0f

    if-gez v7, :cond_a2

    .line 320
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->x:I

    int-to-float v7, v7

    int-to-float v10, v6

    div-float/2addr v7, v10

    mul-float v7, v7, v8

    add-float v5, v7, v9

    goto :goto_d6

    .line 321
    :cond_a2
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->x:I

    sget-object v10, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v10, v10, Landroid/graphics/Point;->x:I

    iget-object v11, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v11}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v11

    iget v11, v11, Landroid/view/WindowManager$LayoutParams;->width:I

    sub-int/2addr v10, v11

    if-le v7, v10, :cond_d6

    .line 322
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->x:I

    sget-object v10, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v10, v10, Landroid/graphics/Point;->x:I

    sub-int/2addr v7, v10

    iget-object v10, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v10}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v10

    iget v10, v10, Landroid/view/WindowManager$LayoutParams;->width:I

    add-int/2addr v7, v10

    int-to-float v7, v7

    int-to-float v10, v6

    div-float/2addr v7, v10

    mul-float v7, v7, v8

    sub-float v5, v9, v7

    .line 324
    :cond_d6
    :goto_d6
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowView:Landroid/widget/FrameLayout;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$700(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/widget/FrameLayout;

    move-result-object v7

    invoke-virtual {v7}, Landroid/widget/FrameLayout;->getAlpha()F

    move-result v7

    cmpl-float v7, v7, v5

    if-eqz v7, :cond_ed

    .line 325
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowView:Landroid/widget/FrameLayout;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$700(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/widget/FrameLayout;

    move-result-object v7

    invoke-virtual {v7, v5}, Landroid/widget/FrameLayout;->setAlpha(F)V

    .line 327
    :cond_ed
    const/4 v6, 0x0

    .line 328
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->y:I

    neg-int v8, v6

    if-ge v7, v8, :cond_103

    .line 329
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    neg-int v8, v6

    iput v8, v7, Landroid/view/WindowManager$LayoutParams;->y:I

    goto :goto_131

    .line 330
    :cond_103
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    iget v7, v7, Landroid/view/WindowManager$LayoutParams;->y:I

    sget-object v8, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    iget-object v9, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v9

    iget v9, v9, Landroid/view/WindowManager$LayoutParams;->height:I

    sub-int/2addr v8, v9

    add-int/2addr v8, v6

    if-le v7, v8, :cond_131

    .line 331
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    sget-object v8, Lim/tpelyyftgw/messenger/AndroidUtilities;->displaySize:Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    iget-object v9, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v9

    iget v9, v9, Landroid/view/WindowManager$LayoutParams;->height:I

    sub-int/2addr v8, v9

    add-int/2addr v8, v6

    iput v8, v7, Landroid/view/WindowManager$LayoutParams;->y:I

    .line 333
    :cond_131
    :goto_131
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowManager:Landroid/view/WindowManager;
    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$800(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager;

    move-result-object v7

    iget-object v8, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowView:Landroid/widget/FrameLayout;
    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$700(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/widget/FrameLayout;

    move-result-object v8

    iget-object v9, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # getter for: Lim/tpelyyftgw/ui/components/PipVideoView;->windowLayoutParams:Landroid/view/WindowManager$LayoutParams;
    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$500(Lim/tpelyyftgw/ui/components/PipVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v9

    invoke-interface {v7, v8, v9}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 334
    iput v0, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startX:F

    .line 335
    iput v2, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->startY:F

    .end local v1    # "dx":F
    .end local v3    # "dy":F
    .end local v5    # "alpha":F
    .end local v6    # "maxDiff":I
    goto :goto_159

    .line 336
    :cond_14b
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-ne v3, v4, :cond_159

    .line 337
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->dragging:Z

    .line 338
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/PipVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipVideoView;

    # invokes: Lim/tpelyyftgw/ui/components/PipVideoView;->animateToBoundsMaybe()V
    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PipVideoView;->access$900(Lim/tpelyyftgw/ui/components/PipVideoView;)V

    goto :goto_15a

    .line 336
    :cond_159
    :goto_159
    nop

    .line 340
    :goto_15a
    return v4
.end method

.method public requestDisallowInterceptTouchEvent(Z)V
    .registers 2
    .param p1, "disallowIntercept"    # Z

    .line 297
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->requestDisallowInterceptTouchEvent(Z)V

    .line 298
    return-void
.end method