NearPersonAndGroupActivity$HeaderCellProgress.smali
.class public Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;
.super Lim/tpelyyftgw/ui/cells/HeaderCell;
.source "NearPersonAndGroupActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity;
.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/hui/discovery/NearPersonAndGroupActivity;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity;Landroid/content/Context;)V
.registers 14
.param p1, "this$0" # Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity;
.param p2, "context" # Landroid/content/Context;
.line 697
iput-object p1, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->this$0:Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity;
.line 698
invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/cells/HeaderCell;-><init>(Landroid/content/Context;)V
.line 700
const/4 v0, 0x0
invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->setClipChildren(Z)V
.line 702
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/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
.line 703
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 704
iget-object v0, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$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 705
iget-object v0, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
const/4 v2, 0x0
invoke-virtual {v0, v2}, Lim/tpelyyftgw/ui/components/RadialProgressView;->setAlpha(F)V
.line 706
iget-object v0, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
const-string 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 707
iget-object v0, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_39
const/4 v3, 0x3
goto :goto_3a
:cond_39
const/4 v3, 0x5
:goto_3a
or-int/lit8 v6, v3, 0x30
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_43
const/high16 v7, 0x40000000 # 2.0f
goto :goto_44
:cond_43
const/4 v7, 0x0
:goto_44
const/high16 v8, 0x40400000 # 3.0f
sget-boolean v3, Lim/tpelyyftgw/messenger/LocaleController;->isRTL:Z
if-eqz v3, :cond_4c
const/4 v9, 0x0
goto :goto_4e
:cond_4c
const/high16 v9, 0x40000000 # 2.0f
:goto_4e
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/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.line 708
return-void
.end method
.method static synthetic access$800(Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;)Lim/tpelyyftgw/ui/components/RadialProgressView;
.registers 2
.param p0, "x0" # Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;
.line 693
iget-object v0, p0, Lim/tpelyyftgw/ui/hui/discovery/NearPersonAndGroupActivity$HeaderCellProgress;->progressView:Lim/tpelyyftgw/ui/components/RadialProgressView;
return-object v0
.end method