UserProfileShareDialogCell.smali

.class public Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;
.super Landroid/widget/LinearLayout;
.source "UserProfileShareDialogCell.java"


# instance fields
.field private data:Ljava/lang/Object;

.field private ivArrvar:Lim/tpelyyftgw/ui/components/BackupImageView;

.field private tvGroupNumber:Lim/tpelyyftgw/ui/hviews/MryTextView;

.field private tvName:Lim/tpelyyftgw/ui/hviews/MryTextView;


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

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 3
    .param p1, "context"    # Landroid/content/Context;

    .line 36
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;-><init>(Landroid/content/Context;Ljava/lang/Object;)V

    .line 37
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;ILjava/lang/Object;)V
    .registers 5
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;
    .param p3, "defStyleAttr"    # I
    .param p4, "data"    # Ljava/lang/Object;

    .line 48
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 49
    iput-object p4, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->data:Ljava/lang/Object;

    .line 50
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->init(Landroid/content/Context;)V

    .line 51
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/Object;)V
    .registers 5
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "attrs"    # Landroid/util/AttributeSet;
    .param p3, "data"    # Ljava/lang/Object;

    .line 44
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0, p3}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;ILjava/lang/Object;)V

    .line 45
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/Object;)V
    .registers 4
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "data"    # Ljava/lang/Object;

    .line 40
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0, p2}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/Object;)V

    .line 41
    return-void
.end method

.method private init(Landroid/content/Context;)V
    .registers 10
    .param p1, "context"    # Landroid/content/Context;

    .line 54
    new-instance v0, Lim/tpelyyftgw/ui/components/BackupImageView;

    invoke-direct {v0, p1}, Lim/tpelyyftgw/ui/components/BackupImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->ivArrvar:Lim/tpelyyftgw/ui/components/BackupImageView;

    .line 55
    const/high16 v1, 0x40f00000    # 7.5f

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

    move-result v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/BackupImageView;->setRoundRadius(I)V

    .line 56
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->ivArrvar:Lim/tpelyyftgw/ui/components/BackupImageView;

    const/high16 v1, 0x42340000    # 45.0f

    const/high16 v2, 0x42340000    # 45.0f

    const/16 v3, 0x10

    const/high16 v4, 0x41400000    # 12.0f

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-static/range {v1 .. v7}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 58
    new-instance v0, Lim/tpelyyftgw/ui/hviews/MryTextView;

    invoke-direct {v0, p1}, Lim/tpelyyftgw/ui/hviews/MryTextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->tvName:Lim/tpelyyftgw/ui/hviews/MryTextView;

    .line 59
    const/high16 v1, 0x41600000    # 14.0f

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/hviews/MryTextView;->setTextSize(F)V

    .line 60
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->tvName:Lim/tpelyyftgw/ui/hviews/MryTextView;

    const-string/jumbo v1, "windowBackgroundWhiteBlackText"

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

    move-result v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/hviews/MryTextView;->setTextColor(I)V

    .line 61
    iget-object v0, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->tvName:Lim/tpelyyftgw/ui/hviews/MryTextView;

    const/high16 v1, -0x40800000    # -1.0f

    const/high16 v2, -0x40000000    # -2.0f

    const/high16 v4, 0x42900000    # 72.0f

    const/high16 v6, 0x41400000    # 12.0f

    invoke-static/range {v1 .. v7}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 62
    return-void
.end method


# virtual methods
.method public setData(Ljava/lang/Object;)V
    .registers 2
    .param p1, "data"    # Ljava/lang/Object;

    .line 65
    iput-object p1, p0, Lim/tpelyyftgw/ui/cells/UserProfileShareDialogCell;->data:Ljava/lang/Object;

    .line 66
    return-void
.end method