PeopleNearbyActivity$HeaderCellProgress.smali
.class public Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;
.super Lim/tpelyyftgw/ui/cells/HeaderCell;
.source "PeopleNearbyActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/PeopleNearbyActivity;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "HeaderCellProgress"
.end annotation
# instance fields
.field private progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
.field final synthetic this$0:Lim/tpelyyftgw/ui/PeopleNearbyActivity;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lim/tpelyyftgw/ui/PeopleNearbyActivity;Landroid/content/Context;)V
.registers 14
.param p1, "this$0" # Lim/tpelyyftgw/ui/PeopleNearbyActivity;
.param p2, "context" # Landroid/content/Context;
.line 611
iput-object p1, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->this$0:Lim/tpelyyftgw/ui/PeopleNearbyActivity;
.line 612
invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/cells/HeaderCell;-><init>(Landroid/content/Context;)V
.line 614
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->setClipChildren(Z)V
.line 616
new-instance v0, Lim/tpelyyftgw/ui/components/RadialProgressView;
invoke-direct {v0, p2}, Lim/tpelyyftgw/ui/components/RadialProgressView;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
.line 617
const/high16 v1, 0x41600000 # 14.0f
invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I
move-result v1
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setSize(I)V
.line 618
iget-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
const/high16 v1, 0x40000000 # 2.0f
invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setStrokeWidth(F)V
.line 619
iget-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setAlpha(F)V
.line 620
iget-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
const-string/jumbo v3, "windowBackgroundWhiteBlueHeader"
invoke-static {v3}, Lim/tpelyyftgw/ui/actionbar/Theme;->getColor(Ljava/lang/String;)I
move-result v3
invoke-virtual {v0, v3}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setProgressColor(I)V
.line 621
iget-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_3a
const/4 v3, 0x3
goto :goto_3b
:cond_3a
const/4 v3, 0x5
:goto_3b
or-int/lit8 v6, v3, 0x30
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_44
const/high16 v7, 0x40000000 # 2.0f
goto :goto_45
:cond_44
const/4 v7, 0x0
:goto_45
const/high16 v8, 0x40400000 # 3.0f
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_4d
const/4 v9, 0x0
goto :goto_4f
:cond_4d
const/high16 v9, 0x40000000 # 2.0f
:goto_4f
const/4 v10, 0x0
const/high16 v4, 0x42480000 # 50.0f
const/high16 v5, 0x42200000 # 40.0f
invoke-static/range {v4 .. v10}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(FFIFFFF)Landroid/widget/FrameLayout$LayoutParams;
move-result-object v1
invoke-virtual {p0, v0, v1}, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 622
return-void
.end method
.method static synthetic access$200(Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;)Lim/tpelyyftgw/ui/components/RadialProgressView;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;
.line 607
iget-object v0, p0, Lim/tpelyyftgw/ui/PeopleNearbyActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
return-object v0
.end method