PipRoundVideoView$1.smali

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/PipRoundVideoView;->show(Landroid/app/Activity;Ljava/lang/Runnable;)V
.end annotation

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


# instance fields
.field private dragging:Z

.field private startDragging:Z

.field private startX:F

.field private startY:F

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


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

    return-void
.end method

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

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

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

    return-void
.end method


# virtual methods
.method protected onDraw(Landroid/graphics/Canvas;)V
    .registers 8
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .line 165
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_roundVideoShadow:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_61

    .line 166
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_roundVideoShadow:Landroid/graphics/drawable/Drawable;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->getAlpha()F

    move-result v1

    const/high16 v2, 0x437f0000    # 255.0f

    mul-float v1, v1, v2

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    .line 167
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_roundVideoShadow:Landroid/graphics/drawable/Drawable;

    const/high16 v1, 0x3f800000    # 1.0f

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    const/high16 v3, 0x40000000    # 2.0f

    invoke-static {v3}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v3

    const/high16 v4, 0x42fa0000    # 125.0f

    invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v5

    invoke-static {v4}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v4

    invoke-virtual {v0, v1, v3, v5, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 168
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_roundVideoShadow:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 170
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_docBackPaint:Landroid/graphics/Paint;

    const-string v1, "chat_inBubble"

    invoke-static {v1}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 171
    sget-object v0, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_docBackPaint:Landroid/graphics/Paint;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->getAlpha()F

    move-result v1

    mul-float v1, v1, v2

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V

    .line 172
    const/high16 v0, 0x427c0000    # 63.0f

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v1

    int-to-float v1, v1

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v0

    int-to-float v0, v0

    const/high16 v2, 0x426e0000    # 59.5f

    invoke-static {v2}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v2

    int-to-float v2, v2

    sget-object v3, Lim/tpelyyftgw/ui/actionbar/Theme;->chat_docBackPaint:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v0, v2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    .line 174
    :cond_61
    return-void
.end method

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

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

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_15

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startX:F

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

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startY:F

    .line 92
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

    .line 94
    :cond_15
    return v1
.end method

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

    .line 104
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

    const/4 v1, 0x0

    if-nez v0, :cond_a

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

    if-nez v0, :cond_a

    .line 105
    return v1

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

    move-result v0

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

    move-result v2

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

    move-result v3

    const/4 v4, 0x2

    const/4 v5, 0x1

    if-ne v3, v4, :cond_178

    .line 110
    iget v3, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startX:F

    sub-float v3, v0, v3

    .line 111
    .local v3, "dx":F
    iget v6, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startY:F

    sub-float v6, v2, v6

    .line 112
    .local v6, "dy":F
    iget-boolean v7, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

    if-eqz v7, :cond_47

    .line 113
    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v4

    const v7, 0x3e99999a    # 0.3f

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

    move-result v8

    cmpl-float v4, v4, v8

    if-gez v4, :cond_41

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

    move-result v4

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

    move-result v7

    cmpl-float v4, v4, v7

    if-ltz v4, :cond_1b3

    .line 114
    :cond_41
    iput-boolean v5, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->dragging:Z

    .line 115
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

    goto/16 :goto_1b3

    .line 117
    :cond_47
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->dragging:Z

    if-eqz v1, :cond_1b3

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

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

    int-to-float v7, v7

    add-float/2addr v7, v3

    float-to-int v7, v7

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

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

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

    int-to-float v7, v7

    add-float/2addr v7, v6

    float-to-int v7, v7

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

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$100(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)I

    move-result v1

    div-int/2addr v1, v4

    .line 121
    .local v1, "maxDiff":I
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

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

    neg-int v7, v1

    if-ge v4, v7, :cond_81

    .line 122
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    neg-int v7, v1

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

    goto :goto_af

    .line 123
    :cond_81
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    iget v4, v4, 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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

    if-le v4, v7, :cond_af

    .line 124
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v4}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

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

    .line 126
    :cond_af
    :goto_af
    const/high16 v4, 0x3f800000    # 1.0f

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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_cf

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

    div-float/2addr v7, v10

    mul-float v7, v7, v8

    add-float v4, v7, v9

    goto :goto_103

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v11}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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_103

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v10}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

    div-float/2addr v7, v10

    mul-float v7, v7, v8

    sub-float v4, v9, v7

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$200(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/widget/FrameLayout;

    move-result-object v7

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

    move-result v7

    cmpl-float v7, v7, v4

    if-eqz v7, :cond_11a

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$200(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/widget/FrameLayout;

    move-result-object v7

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

    .line 135
    :cond_11a
    const/4 v1, 0x0

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

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

    neg-int v8, v1

    if-ge v7, v8, :cond_130

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager$LayoutParams;

    move-result-object v7

    neg-int v8, v1

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

    goto :goto_15e

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

    if-le v7, v8, :cond_15e

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

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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, v1

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

    .line 141
    :cond_15e
    :goto_15e
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->this$0:Lim/tpelyyftgw/ui/components/PipRoundVideoView;

    invoke-static {v7}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$300(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/view/WindowManager;

    move-result-object v7

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

    invoke-static {v8}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$200(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)Landroid/widget/FrameLayout;

    move-result-object v8

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

    invoke-static {v9}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$000(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)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 142
    iput v0, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startX:F

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

    goto :goto_1b3

    .line 145
    .end local v1    # "maxDiff":I
    .end local v3    # "dx":F
    .end local v4    # "alpha":F
    .end local v6    # "dy":F
    :cond_178
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-ne v3, v5, :cond_1b3

    .line 146
    iget-boolean v3, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

    if-eqz v3, :cond_1a9

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

    if-nez v3, :cond_1a9

    .line 147
    invoke-static {}, Lim/tpelyyftgw/messenger/MediaController;->getInstance()Lim/tpelyyftgw/messenger/MediaController;

    move-result-object v3

    invoke-virtual {v3}, Lim/tpelyyftgw/messenger/MediaController;->getPlayingMessageObject()Lim/tpelyyftgw/messenger/MessageObject;

    move-result-object v3

    .line 148
    .local v3, "messageObject":Lim/tpelyyftgw/messenger/MessageObject;
    if-eqz v3, :cond_1a9

    .line 149
    invoke-static {}, Lim/tpelyyftgw/messenger/MediaController;->getInstance()Lim/tpelyyftgw/messenger/MediaController;

    move-result-object v4

    invoke-virtual {v4}, Lim/tpelyyftgw/messenger/MediaController;->isMessagePaused()Z

    move-result v4

    if-eqz v4, :cond_1a2

    .line 150
    invoke-static {}, Lim/tpelyyftgw/messenger/MediaController;->getInstance()Lim/tpelyyftgw/messenger/MediaController;

    move-result-object v4

    invoke-virtual {v4, v3}, Lim/tpelyyftgw/messenger/MediaController;->playMessage(Lim/tpelyyftgw/messenger/MessageObject;)Z

    goto :goto_1a9

    .line 152
    :cond_1a2
    invoke-static {}, Lim/tpelyyftgw/messenger/MediaController;->getInstance()Lim/tpelyyftgw/messenger/MediaController;

    move-result-object v4

    invoke-virtual {v4, v3}, Lim/tpelyyftgw/messenger/MediaController;->pauseMessage(Lim/tpelyyftgw/messenger/MessageObject;)Z

    .line 156
    .end local v3    # "messageObject":Lim/tpelyyftgw/messenger/MessageObject;
    :cond_1a9
    :goto_1a9
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->dragging:Z

    .line 157
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/PipRoundVideoView$1;->startDragging:Z

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

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/PipRoundVideoView;->access$400(Lim/tpelyyftgw/ui/components/PipRoundVideoView;)V

    goto :goto_1b4

    .line 145
    :cond_1b3
    :goto_1b3
    nop

    .line 160
    :goto_1b4
    return v5
.end method

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

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

    .line 100
    return-void
.end method