SharedPhotoVideoCell$PhotoVideoView$1.smali

.class Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;
.super Landroid/widget/FrameLayout;
.source "SharedPhotoVideoCell.java"


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

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


# instance fields
.field private rect:Landroid/graphics/RectF;

.field final synthetic this$1:Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView;

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


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

    return-void
.end method

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

    .line 82
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->this$1:Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView;

    iput-object p3, p0, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->val$this$0:Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell;

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

    .line 84
    new-instance p3, Landroid/graphics/RectF;

    invoke-direct {p3}, Landroid/graphics/RectF;-><init>()V

    iput-object p3, p0, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->rect:Landroid/graphics/RectF;

    return-void
.end method


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

    .line 88
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->rect:Landroid/graphics/RectF;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->getMeasuredWidth()I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->getMeasuredHeight()I

    move-result v2

    int-to-float v2, v2

    const/4 v3, 0x0

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/graphics/RectF;->set(FFFF)V

    .line 89
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/SharedPhotoVideoCell$PhotoVideoView$1;->rect:Landroid/graphics/RectF;

    const/high16 v1, 0x40800000    # 4.0f

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

    move-result v2

    int-to-float v2, v2

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

    move-result v1

    int-to-float v1, v1

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

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

    .line 90
    return-void
.end method