PhotoAttachPhotoCell$1.smali
.class Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$1;
.super Landroid/widget/RelativeLayout;
.source "PhotoAttachPhotoCell.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;-><init>(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$0:Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method constructor <init>(Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;Landroid/content/Context;)V
.registers 4
.param p1, "this$0" # Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
.param p2, "x0" # Landroid/content/Context;
.line 85
iput-object p1, p0, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$1;->this$0:Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell;
invoke-direct {p0, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
.line 87
new-instance v0, Landroid/graphics/RectF;
invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V
iput-object v0, p0, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$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 91
iget-object v0, p0, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$1;->rect:Landroid/graphics/RectF;
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$1;->getMeasuredWidth()I
move-result v1
int-to-float v1, v1
invoke-virtual {p0}, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$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 92
iget-object v0, p0, Lim/tpelyyftgw/ui/cells/PhotoAttachPhotoCell$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 93
return-void
.end method