ThemeEditorView$EditorAlert.smali

.class public Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
.super Lim/tpelyyftgw/ui/actionbar/BottomSheet;
.source "ThemeEditorView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/ui/components/ThemeEditorView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "EditorAlert"
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;,
        Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;,
        Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;,
        Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;
    }
.end annotation


# instance fields
.field private animationInProgress:Z

.field private bottomLayout:Landroid/widget/FrameLayout;

.field private bottomSaveLayout:Landroid/widget/FrameLayout;

.field private colorChangeAnimation:Landroid/animation/AnimatorSet;

.field private colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

.field private frameLayout:Landroid/widget/FrameLayout;

.field private ignoreTextChange:Z

.field private layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

.field private listAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

.field private listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

.field private previousScrollPosition:I

.field private saveButton:Landroid/widget/TextView;

.field private scrollOffsetY:I

.field private searchAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;

.field private searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

.field private searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

.field private shadow:[Landroid/view/View;

.field private shadowAnimation:[Landroid/animation/AnimatorSet;

.field private shadowDrawable:Landroid/graphics/drawable/Drawable;

.field private startedColorChange:Z

.field final synthetic this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

.field private topBeforeSwitch:I


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

    return-void
.end method

.method public constructor <init>(Lim/tpelyyftgw/ui/components/ThemeEditorView;Landroid/content/Context;[Lim/tpelyyftgw/ui/actionbar/ThemeDescription;)V
    .registers 22
    .param p1, "this$0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView;
    .param p2, "context"    # Landroid/content/Context;
    .param p3, "items"    # [Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    .line 626
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    iput-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    .line 627
    const/4 v3, 0x1

    invoke-direct {v0, v2, v3, v3}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;-><init>(Landroid/content/Context;ZI)V

    .line 136
    const/4 v4, 0x2

    new-array v5, v4, [Landroid/view/View;

    iput-object v5, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    .line 137
    new-array v4, v4, [Landroid/animation/AnimatorSet;

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    .line 629
    invoke-virtual/range {p2 .. p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f081637

    invoke-static {v5}, Lnp/NPFog;->d(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v4}, Landroid/graphics/drawable/Drawable;->mutate()Landroid/graphics/drawable/Drawable;

    move-result-object v4

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowDrawable:Landroid/graphics/drawable/Drawable;

    .line 631
    new-instance v4, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$1;

    invoke-direct {v4, v0, v2, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$1;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;Lim/tpelyyftgw/ui/components/ThemeEditorView;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    .line 737
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/view/ViewGroup;->setWillNotDraw(Z)V

    .line 738
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget v6, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    iget v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    invoke-virtual {v4, v6, v5, v7, v5}, Landroid/view/ViewGroup;->setPadding(IIII)V

    .line 740
    new-instance v4, Landroid/widget/FrameLayout;

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

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    .line 741
    const/4 v6, -0x1

    invoke-virtual {v4, v6}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    .line 743
    new-instance v4, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    invoke-direct {v4, v0, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    .line 744
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    const/16 v8, 0x33

    invoke-static {v6, v6, v8}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v9

    invoke-virtual {v7, v4, v9}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 746
    new-instance v4, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$2;

    invoke-direct {v4, v0, v2, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$2;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;Lim/tpelyyftgw/ui/components/ThemeEditorView;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    .line 752
    const/high16 v7, 0xf000000

    invoke-virtual {v4, v7}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setSelectorDrawableColor(I)V

    .line 753
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    const/high16 v7, 0x42400000    # 48.0f

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

    move-result v9

    invoke-virtual {v4, v5, v5, v5, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setPadding(IIII)V

    .line 754
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setClipToPadding(Z)V

    .line 755
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v9, Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->getContext()Landroid/content/Context;

    move-result-object v10

    invoke-direct {v9, v10}, Landroidx/recyclerview/widget/LinearLayoutManager;-><init>(Landroid/content/Context;)V

    iput-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 756
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setHorizontalScrollBarEnabled(Z)V

    .line 757
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, v5}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVerticalScrollBarEnabled(Z)V

    .line 758
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-static {v6, v6, v8}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v10

    invoke-virtual {v4, v9, v10}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 759
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v9, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

    move-object/from16 v10, p3

    invoke-direct {v9, v0, v2, v10}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;[Lim/tpelyyftgw/ui/actionbar/ThemeDescription;)V

    iput-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 760
    new-instance v4, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;

    invoke-direct {v4, v0, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;

    .line 761
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    const v9, -0xa0909

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setGlowColor(I)V

    .line 762
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    const/4 v9, 0x0

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setItemAnimator(Landroidx/recyclerview/widget/RecyclerView$ItemAnimator;)V

    .line 763
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setLayoutAnimation(Landroid/view/animation/LayoutAnimationController;)V

    .line 764
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v9, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$bX2DlDLKU9qPdTp03n7o9-S63sI;

    invoke-direct {v9, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$bX2DlDLKU9qPdTp03n7o9-S63sI;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnItemClickListener(Lim/tpelyyftgw/ui/components/RecyclerListView$OnItemClickListener;)V

    .line 787
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    new-instance v9, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$3;

    invoke-direct {v9, v0, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$3;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Lim/tpelyyftgw/ui/components/ThemeEditorView;)V

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V

    .line 794
    new-instance v4, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-direct {v4, v2}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;-><init>(Landroid/content/Context;)V

    iput-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    .line 795
    invoke-virtual {v4, v3}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->setShowAtCenter(Z)V

    .line 796
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->showTextView()V

    .line 797
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    const-string v9, "NoResult"

    const v11, 0x7f0f098d

    invoke-static {v9, v11}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->setText(Ljava/lang/String;)V

    .line 798
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    invoke-virtual {v4, v9}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setEmptyView(Landroid/view/View;)V

    .line 799
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

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

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

    const/16 v13, 0x33

    const/4 v14, 0x0

    const/high16 v15, 0x42500000    # 52.0f

    const/16 v16, 0x0

    const/16 v17, 0x0

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

    move-result-object v11

    invoke-virtual {v4, v9, v11}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 801
    new-instance v4, Landroid/widget/FrameLayout$LayoutParams;

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

    move-result v9

    invoke-direct {v4, v6, v9, v8}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    .line 802
    .local v4, "frameLayoutParams":Landroid/widget/FrameLayout$LayoutParams;
    const/high16 v9, 0x42680000    # 58.0f

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

    move-result v9

    iput v9, v4, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 803
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    new-instance v11, Landroid/view/View;

    invoke-direct {v11, v2}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    aput-object v11, v9, v5

    .line 804
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v9, v9, v5

    const/high16 v11, 0x12000000

    invoke-virtual {v9, v11}, Landroid/view/View;->setBackgroundColor(I)V

    .line 805
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v9, v9, v5

    const/4 v12, 0x0

    invoke-virtual {v9, v12}, Landroid/view/View;->setAlpha(F)V

    .line 806
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v9, v9, v5

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v12

    invoke-virtual {v9, v12}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 807
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v12, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v12, v12, v5

    invoke-virtual {v9, v12, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 809
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v12, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    const/16 v13, 0x3a

    invoke-static {v6, v13, v8}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v9, v12, v13}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 811
    new-instance v9, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    invoke-direct {v9, v0, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;)V

    iput-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    .line 812
    const/16 v12, 0x8

    invoke-virtual {v9, v12}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;->setVisibility(I)V

    .line 813
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v13, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    invoke-static {v6, v6, v3}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v14

    invoke-virtual {v9, v13, v14}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 815
    new-instance v9, Landroid/widget/FrameLayout$LayoutParams;

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

    move-result v13

    const/16 v14, 0x53

    invoke-direct {v9, v6, v13, v14}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    move-object v4, v9

    .line 816
    invoke-static {v7}, Lim/tpelyyftgw/messenger/AndroidUtilities;->dp(F)I

    move-result v7

    iput v7, v4, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I

    .line 817
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    new-instance v9, Landroid/view/View;

    invoke-direct {v9, v2}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    aput-object v9, v7, v3

    .line 818
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v7, v7, v3

    invoke-virtual {v7, v11}, Landroid/view/View;->setBackgroundColor(I)V

    .line 819
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v9, v9, v3

    invoke-virtual {v7, v9, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 821
    new-instance v7, Landroid/widget/FrameLayout;

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

    iput-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    .line 822
    invoke-virtual {v7, v6}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    .line 823
    iget-object v7, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v9, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    const/16 v11, 0x30

    invoke-static {v6, v11, v14}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v7, v9, v13}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 825
    new-instance v7, Landroid/widget/TextView;

    invoke-direct {v7, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 826
    .local v7, "closeButton":Landroid/widget/TextView;
    const/high16 v9, 0x41600000    # 14.0f

    invoke-virtual {v7, v3, v9}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 827
    const v13, -0xe65818

    invoke-virtual {v7, v13}, Landroid/widget/TextView;->setTextColor(I)V

    .line 828
    const/16 v15, 0x11

    invoke-virtual {v7, v15}, Landroid/widget/TextView;->setGravity(I)V

    .line 829
    const/high16 v11, 0x2f000000

    invoke-static {v11, v5}, Lim/tpelyyftgw/ui/actionbar/Theme;->createSelectorDrawable(II)Landroid/graphics/drawable/Drawable;

    move-result-object v14

    invoke-virtual {v7, v14}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 830
    const/high16 v14, 0x41900000    # 18.0f

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

    move-result v12

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

    move-result v11

    invoke-virtual {v7, v12, v5, v11, v5}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 831
    const-string v11, "CloseEditor"

    const v12, 0x7f0f042f

    invoke-static {v11, v12}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v7, v11}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 832
    const-string v11, "fonts/rmedium.ttf"

    invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;

    move-result-object v12

    invoke-virtual {v7, v12}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 833
    iget-object v12, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    const/4 v14, -0x2

    invoke-static {v14, v6, v8}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v5

    invoke-virtual {v12, v7, v5}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 834
    new-instance v5, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$RZZPGVNwgW6w8adjIUIFMO-9vAM;

    invoke-direct {v5, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$RZZPGVNwgW6w8adjIUIFMO-9vAM;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v7, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 836
    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 837
    .local v5, "saveButton":Landroid/widget/TextView;
    invoke-virtual {v5, v3, v9}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 838
    invoke-virtual {v5, v13}, Landroid/widget/TextView;->setTextColor(I)V

    .line 839
    invoke-virtual {v5, v15}, Landroid/widget/TextView;->setGravity(I)V

    .line 840
    const/4 v8, 0x0

    const/high16 v12, 0x2f000000

    invoke-static {v12, v8}, Lim/tpelyyftgw/ui/actionbar/Theme;->createSelectorDrawable(II)Landroid/graphics/drawable/Drawable;

    move-result-object v15

    invoke-virtual {v5, v15}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 841
    const/high16 v12, 0x41900000    # 18.0f

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

    move-result v15

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

    move-result v13

    invoke-virtual {v5, v15, v8, v13, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 842
    const-string v8, "SaveTheme"

    const v12, 0x7f0f0eb0

    invoke-static {v8, v12}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 843
    invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;

    move-result-object v8

    invoke-virtual {v5, v8}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 844
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    const/16 v12, 0x35

    invoke-static {v14, v6, v12}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v8, v5, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 845
    new-instance v8, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$xKa_zH5hV6hqrFgFA4SDQQ5jx-8;

    invoke-direct {v8, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$xKa_zH5hV6hqrFgFA4SDQQ5jx-8;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v5, v8}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 852
    new-instance v8, Landroid/widget/FrameLayout;

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

    iput-object v8, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    .line 853
    const/16 v13, 0x8

    invoke-virtual {v8, v13}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 854
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v8, v6}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    .line 855
    iget-object v8, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    iget-object v13, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    const/16 v12, 0x53

    const/16 v15, 0x30

    invoke-static {v6, v15, v12}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v12

    invoke-virtual {v8, v13, v12}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 857
    new-instance v8, Landroid/widget/TextView;

    invoke-direct {v8, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 858
    .local v8, "cancelButton":Landroid/widget/TextView;
    invoke-virtual {v8, v3, v9}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 859
    const v12, -0xe65818

    invoke-virtual {v8, v12}, Landroid/widget/TextView;->setTextColor(I)V

    .line 860
    const/16 v12, 0x11

    invoke-virtual {v8, v12}, Landroid/widget/TextView;->setGravity(I)V

    .line 861
    const/high16 v12, 0x2f000000

    const/4 v13, 0x0

    invoke-static {v12, v13}, Lim/tpelyyftgw/ui/actionbar/Theme;->createSelectorDrawable(II)Landroid/graphics/drawable/Drawable;

    move-result-object v15

    invoke-virtual {v8, v15}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 862
    const/high16 v12, 0x41900000    # 18.0f

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

    move-result v15

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

    move-result v3

    invoke-virtual {v8, v15, v13, v3, v13}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 863
    const-string v3, "Cancel"

    const v12, 0x7f0f02f7

    invoke-static {v3, v12}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v8, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 864
    invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;

    move-result-object v3

    invoke-virtual {v8, v3}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 865
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    const/16 v12, 0x33

    invoke-static {v14, v6, v12}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v3, v8, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 866
    new-instance v3, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$iQLjfTCPis8DYzmpoSR7A6cTgqs;

    invoke-direct {v3, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$iQLjfTCPis8DYzmpoSR7A6cTgqs;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v8, v3}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 873
    new-instance v3, Landroid/widget/LinearLayout;

    invoke-direct {v3, v2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 874
    .local v3, "linearLayout":Landroid/widget/LinearLayout;
    const/4 v12, 0x0

    invoke-virtual {v3, v12}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 875
    iget-object v12, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    const/16 v13, 0x35

    invoke-static {v14, v6, v13}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v12, v3, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 877
    new-instance v12, Landroid/widget/TextView;

    invoke-direct {v12, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    .line 878
    .local v12, "defaultButtom":Landroid/widget/TextView;
    const/4 v13, 0x1

    invoke-virtual {v12, v13, v9}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 879
    const v13, -0xe65818

    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setTextColor(I)V

    .line 880
    const/16 v13, 0x11

    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setGravity(I)V

    .line 881
    const/high16 v13, 0x2f000000

    const/4 v15, 0x0

    invoke-static {v13, v15}, Lim/tpelyyftgw/ui/actionbar/Theme;->createSelectorDrawable(II)Landroid/graphics/drawable/Drawable;

    move-result-object v9

    invoke-virtual {v12, v9}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 882
    const/high16 v9, 0x41900000    # 18.0f

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

    move-result v13

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

    move-result v6

    invoke-virtual {v12, v13, v15, v6, v15}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 883
    const-string v6, "Default"

    const v9, 0x7f0f04d6

    invoke-static {v6, v9}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v12, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 884
    invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;

    move-result-object v6

    invoke-virtual {v12, v6}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 885
    const/16 v6, 0x33

    const/4 v9, -0x1

    invoke-static {v14, v9, v6}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v13

    invoke-virtual {v3, v12, v13}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 886
    new-instance v6, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$_q9JFuYYgCeugxclRwtKNcDLiXk;

    invoke-direct {v6, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$_q9JFuYYgCeugxclRwtKNcDLiXk;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v12, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 893
    new-instance v6, Landroid/widget/TextView;

    invoke-direct {v6, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    move-object v5, v6

    .line 894
    const/high16 v6, 0x41600000    # 14.0f

    const/4 v9, 0x1

    invoke-virtual {v5, v9, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 895
    const v6, -0xe65818

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    .line 896
    const/16 v6, 0x11

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setGravity(I)V

    .line 897
    const/high16 v6, 0x2f000000

    const/4 v9, 0x0

    invoke-static {v6, v9}, Lim/tpelyyftgw/ui/actionbar/Theme;->createSelectorDrawable(II)Landroid/graphics/drawable/Drawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 898
    const/high16 v6, 0x41900000    # 18.0f

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

    move-result v13

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

    move-result v6

    invoke-virtual {v5, v13, v9, v6, v9}, Landroid/widget/TextView;->setPadding(IIII)V

    .line 899
    const-string v6, "Save"

    const v9, 0x7f0f0eaa

    invoke-static {v6, v9}, Lim/tpelyyftgw/messenger/LocaleController;->getString(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 900
    invoke-static {v11}, Lim/tpelyyftgw/messenger/AndroidUtilities;->getTypeface(Ljava/lang/String;)Landroid/graphics/Typeface;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    .line 901
    const/16 v6, 0x33

    const/4 v9, -0x1

    invoke-static {v14, v9, v6}, Lim/tpelyyftgw/ui/components/LayoutHelper;->createFrame(III)Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v6

    invoke-virtual {v3, v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 902
    new-instance v6, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$YgKmfdeZP80PF3s_fXKcAHAE6lc;

    invoke-direct {v6, v0}, Lim/tpelyyftgw/ui/components/-$$Lambda$ThemeEditorView$EditorAlert$YgKmfdeZP80PF3s_fXKcAHAE6lc;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 903
    return-void
.end method

.method static synthetic access$000(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/view/ViewGroup;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    return-object v0
.end method

.method static synthetic access$100(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/RecyclerListView;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    return-object v0
.end method

.method static synthetic access$1200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->startedColorChange:Z

    return v0
.end method

.method static synthetic access$1202(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Z)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # Z

    .line 124
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->startedColorChange:Z

    return p1
.end method

.method static synthetic access$1300(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/animation/AnimatorSet;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorChangeAnimation:Landroid/animation/AnimatorSet;

    return-object v0
.end method

.method static synthetic access$1302(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/animation/AnimatorSet;)Landroid/animation/AnimatorSet;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # Landroid/animation/AnimatorSet;

    .line 124
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorChangeAnimation:Landroid/animation/AnimatorSet;

    return-object p1
.end method

.method static synthetic access$1400(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/graphics/drawable/ColorDrawable;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backDrawable:Landroid/graphics/drawable/ColorDrawable;

    return-object v0
.end method

.method static synthetic access$1500(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/view/ViewGroup;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    return-object v0
.end method

.method static synthetic access$1600(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    return v0
.end method

.method static synthetic access$1700(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->isFullscreen:Z

    return v0
.end method

.method static synthetic access$1800(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$1900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$2000(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    return-object v0
.end method

.method static synthetic access$2102(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;I)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # I

    .line 124
    iput p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->previousScrollPosition:I

    return p1
.end method

.method static synthetic access$2200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V
    .registers 1
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->updateLayout()V

    return-void
.end method

.method static synthetic access$2300(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$2400(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$2500(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$2600(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->isFullscreen:Z

    return v0
.end method

.method static synthetic access$2700(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$2800(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$2900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$3000(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$3100(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/graphics/drawable/Drawable;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowDrawable:Landroid/graphics/drawable/Drawable;

    return-object v0
.end method

.method static synthetic access$3200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$3300(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$3400(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$3500(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingTop:I

    return v0
.end method

.method static synthetic access$3600(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$3700(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->backgroundPaddingLeft:I

    return v0
.end method

.method static synthetic access$3800(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)[Landroid/animation/AnimatorSet;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    return-object v0
.end method

.method static synthetic access$3900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)[Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$400(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/EmptyTextProgressView;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    return-object v0
.end method

.method static synthetic access$4100(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    return-object v0
.end method

.method static synthetic access$4200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/widget/FrameLayout;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method static synthetic access$4302(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Z)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # Z

    .line 124
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->animationInProgress:Z

    return p1
.end method

.method static synthetic access$4600(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroid/widget/FrameLayout;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method static synthetic access$4900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->topBeforeSwitch:I

    return v0
.end method

.method static synthetic access$4902(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;I)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # I

    .line 124
    iput p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->topBeforeSwitch:I

    return p1
.end method

.method static synthetic access$500(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

    return-object v0
.end method

.method static synthetic access$5900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Z)V
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # Z

    .line 124
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setColorPickerVisible(Z)V

    return-void
.end method

.method static synthetic access$600(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)I
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->getCurrentTop()I

    move-result v0

    return v0
.end method

.method static synthetic access$700(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Landroidx/recyclerview/widget/LinearLayoutManager;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->layoutManager:Landroidx/recyclerview/widget/LinearLayoutManager;

    return-object v0
.end method

.method static synthetic access$800(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;

    return-object v0
.end method

.method static synthetic access$900(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    .line 124
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->ignoreTextChange:Z

    return v0
.end method

.method static synthetic access$902(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Z)Z
    .registers 2
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p1, "x1"    # Z

    .line 124
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->ignoreTextChange:Z

    return p1
.end method

.method private getCurrentTop()I
    .registers 6

    .line 1020
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I

    move-result v0

    if-eqz v0, :cond_31

    .line 1021
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1022
    .local v0, "child":Landroid/view/View;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v2, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findContainingViewHolder(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;

    .line 1023
    .local v2, "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    if-eqz v2, :cond_31

    .line 1024
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getPaddingTop()I

    move-result v3

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getAdapterPosition()I

    move-result v4

    if-nez v4, :cond_2f

    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v4

    if-ltz v4, :cond_2f

    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v1

    :cond_2f
    sub-int/2addr v3, v1

    return v3

    .line 1027
    .end local v0    # "child":Landroid/view/View;
    .end local v2    # "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    :cond_31
    const/16 v0, -0x3e8

    return v0
.end method

.method private runShadowAnimation(IZ)V
    .registers 10
    .param p1, "num"    # I
    .param p2, "show"    # Z

    .line 906
    if-eqz p2, :cond_c

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v0, v0, p1

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-nez v0, :cond_18

    :cond_c
    if-nez p2, :cond_81

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v0, v0, p1

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-nez v0, :cond_81

    .line 907
    :cond_18
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v0, v0, p1

    const/4 v1, 0x1

    if-eqz p2, :cond_21

    const/4 v2, 0x0

    goto :goto_25

    :cond_21
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    :goto_25
    invoke-virtual {v0, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 908
    const/4 v0, 0x0

    if-eqz p2, :cond_32

    .line 909
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v2, v2, p1

    invoke-virtual {v2, v0}, Landroid/view/View;->setVisibility(I)V

    .line 911
    :cond_32
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    aget-object v3, v2, p1

    if-eqz v3, :cond_3d

    .line 912
    aget-object v2, v2, p1

    invoke-virtual {v2}, Landroid/animation/AnimatorSet;->cancel()V

    .line 914
    :cond_3d
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    new-instance v3, Landroid/animation/AnimatorSet;

    invoke-direct {v3}, Landroid/animation/AnimatorSet;-><init>()V

    aput-object v3, v2, p1

    .line 915
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    aget-object v2, v2, p1

    new-array v3, v1, [Landroid/animation/Animator;

    iget-object v4, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v4, v4, p1

    sget-object v5, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v1, v1, [F

    if-eqz p2, :cond_59

    const/high16 v6, 0x3f800000    # 1.0f

    goto :goto_5a

    :cond_59
    const/4 v6, 0x0

    :goto_5a
    aput v6, v1, v0

    invoke-static {v4, v5, v1}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v3, v0

    invoke-virtual {v2, v3}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 916
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    aget-object v0, v0, p1

    const-wide/16 v1, 0x96

    invoke-virtual {v0, v1, v2}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 917
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    aget-object v0, v0, p1

    new-instance v1, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$4;

    invoke-direct {v1, p0, p1, p2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$4;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;IZ)V

    invoke-virtual {v0, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 935
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadowAnimation:[Landroid/animation/AnimatorSet;

    aget-object v0, v0, p1

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    .line 937
    :cond_81
    return-void
.end method

.method private setColorPickerVisible(Z)V
    .registers 18
    .param p1, "visible"    # Z

    .line 948
    move-object/from16 v0, p0

    const-string v3, "scrollOffsetY"

    const/4 v5, 0x6

    const/4 v6, 0x5

    const/4 v7, 0x4

    const/4 v8, 0x3

    const/4 v9, 0x2

    const/16 v10, 0x8

    const/high16 v11, 0x3f800000    # 1.0f

    const/4 v12, 0x0

    const/4 v13, 0x1

    const/4 v14, 0x0

    if-eqz p1, :cond_c6

    .line 949
    iput-boolean v13, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->animationInProgress:Z

    .line 950
    iget-object v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    invoke-virtual {v15, v14}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;->setVisibility(I)V

    .line 951
    iget-object v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v15, v14}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 952
    iget-object v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    invoke-virtual {v15, v12}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;->setAlpha(F)V

    .line 953
    iget-object v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v15, v12}, Landroid/widget/FrameLayout;->setAlpha(F)V

    .line 955
    iget v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    iput v15, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->previousScrollPosition:I

    .line 956
    new-instance v15, Landroid/animation/AnimatorSet;

    invoke-direct {v15}, Landroid/animation/AnimatorSet;-><init>()V

    .line 957
    .local v15, "animatorSet":Landroid/animation/AnimatorSet;
    new-array v10, v10, [Landroid/animation/Animator;

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v11, v4, v14

    .line 958
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v14

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v11, v4, v14

    .line 959
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v13

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v12, v4, v14

    .line 960
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v9

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v12, v4, v14

    .line 961
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v8

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v1, v1, v14

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v12, v4, v14

    .line 962
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v7

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v12, v4, v14

    .line 963
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v6

    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    sget-object v2, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v4, v13, [F

    aput v12, v4, v14

    .line 964
    invoke-static {v1, v2, v4}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v1

    aput-object v1, v10, v5

    new-array v1, v13, [I

    iget-object v2, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    .line 965
    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getPaddingTop()I

    move-result v2

    aput v2, v1, v14

    invoke-static {v0, v3, v1}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v1

    const/4 v2, 0x7

    aput-object v1, v10, v2

    .line 957
    invoke-virtual {v15, v10}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 966
    const-wide/16 v1, 0x96

    invoke-virtual {v15, v1, v2}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 967
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4000(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Landroid/view/animation/DecelerateInterpolator;

    move-result-object v1

    invoke-virtual {v15, v1}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 968
    new-instance v1, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$5;

    invoke-direct {v1, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$5;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v15, v1}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 977
    invoke-virtual {v15}, Landroid/animation/AnimatorSet;->start()V

    .line 978
    .end local v15    # "animatorSet":Landroid/animation/AnimatorSet;
    goto/16 :goto_1b9

    .line 979
    :cond_c6
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4400(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Landroid/app/Activity;

    move-result-object v1

    if-eqz v1, :cond_d9

    .line 980
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4400(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Landroid/app/Activity;

    move-result-object v1

    check-cast v1, Lim/tpelyyftgw/ui/LaunchActivity;

    invoke-virtual {v1, v14}, Lim/tpelyyftgw/ui/LaunchActivity;->rebuildAllFragments(Z)V

    .line 982
    :cond_d9
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4500(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Lim/tpelyyftgw/ui/actionbar/Theme$ThemeInfo;

    move-result-object v1

    invoke-static {v1, v14, v14, v14}, Lim/tpelyyftgw/ui/actionbar/Theme;->saveCurrentTheme(Lim/tpelyyftgw/ui/actionbar/Theme$ThemeInfo;ZZZ)V

    .line 983
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v1

    iget-object v2, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

    if-ne v1, v2, :cond_f3

    .line 984
    invoke-virtual/range {p0 .. p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->getCurrentFocus()Landroid/view/View;

    move-result-object v1

    invoke-static {v1}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V

    .line 986
    :cond_f3
    iput-boolean v13, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->animationInProgress:Z

    .line 987
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v1, v14}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setVisibility(I)V

    .line 988
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v14}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 989
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    invoke-virtual {v1, v14}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;->setVisibility(I)V

    .line 990
    iget-object v1, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v1, v12}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setAlpha(F)V

    .line 991
    new-instance v1, Landroid/animation/AnimatorSet;

    invoke-direct {v1}, Landroid/animation/AnimatorSet;-><init>()V

    .line 992
    .local v1, "animatorSet":Landroid/animation/AnimatorSet;
    new-array v2, v10, [Landroid/animation/Animator;

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    sget-object v10, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v15, v13, [F

    aput v12, v15, v14

    .line 993
    invoke-static {v4, v10, v15}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v14

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomLayout:Landroid/widget/FrameLayout;

    sget-object v10, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v15, v13, [F

    aput v12, v15, v14

    .line 994
    invoke-static {v4, v10, v15}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v13

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    sget-object v10, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v15, v13, [F

    aput v11, v15, v14

    .line 995
    invoke-static {v4, v10, v15}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v9

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    sget-object v9, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v10, v13, [F

    aput v11, v10, v14

    .line 996
    invoke-static {v4, v9, v10}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v8

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v4, v4, v14

    sget-object v8, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v9, v13, [F

    iget-object v10, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->shadow:[Landroid/view/View;

    aget-object v10, v10, v14

    .line 997
    invoke-virtual {v10}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v10

    if-eqz v10, :cond_15b

    goto :goto_15d

    :cond_15b
    const/high16 v12, 0x3f800000    # 1.0f

    :goto_15d
    aput v12, v9, v14

    invoke-static {v4, v8, v9}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v7

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    sget-object v7, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v8, v13, [F

    aput v11, v8, v14

    .line 998
    invoke-static {v4, v7, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v6

    iget-object v4, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->bottomSaveLayout:Landroid/widget/FrameLayout;

    sget-object v6, Landroid/view/View;->ALPHA:Landroid/util/Property;

    new-array v7, v13, [F

    aput v11, v7, v14

    .line 999
    invoke-static {v4, v6, v7}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Landroid/util/Property;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    aput-object v4, v2, v5

    new-array v4, v13, [I

    iget v5, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->previousScrollPosition:I

    aput v5, v4, v14

    .line 1000
    invoke-static {v0, v3, v4}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;

    move-result-object v3

    const/4 v4, 0x7

    aput-object v3, v2, v4

    .line 992
    invoke-virtual {v1, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 1001
    const-wide/16 v2, 0x96

    invoke-virtual {v1, v2, v3}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 1002
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4000(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Landroid/view/animation/DecelerateInterpolator;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/animation/AnimatorSet;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 1003
    new-instance v2, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$6;

    invoke-direct {v2, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$6;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;)V

    invoke-virtual {v1, v2}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 1014
    invoke-virtual {v1}, Landroid/animation/AnimatorSet;->start()V

    .line 1015
    iget-object v2, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v2

    iget-object v3, v0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v3}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4700(Lim/tpelyyftgw/ui/components/ThemeEditorView;)I

    move-result v3

    invoke-virtual {v2, v3}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    .line 1017
    .end local v1    # "animatorSet":Landroid/animation/AnimatorSet;
    :goto_1b9
    return-void
.end method

.method private updateLayout()V
    .registers 7

    .line 1037
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildCount()I

    move-result v0

    if-lez v0, :cond_66

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_66

    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->animationInProgress:Z

    if-eqz v0, :cond_15

    goto :goto_66

    .line 1040
    :cond_15
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 1041
    .local v0, "child":Landroid/view/View;
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v2, v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->findContainingViewHolder(Landroid/view/View;)Landroidx/recyclerview/widget/RecyclerView$ViewHolder;

    move-result-object v2

    check-cast v2, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;

    .line 1043
    .local v2, "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getVisibility()I

    move-result v3

    if-nez v3, :cond_3d

    iget-boolean v3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->animationInProgress:Z

    if-eqz v3, :cond_31

    goto :goto_3d

    .line 1046
    :cond_31
    invoke-virtual {v0}, Landroid/view/View;->getTop()I

    move-result v3

    const/high16 v4, 0x41000000    # 8.0f

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

    move-result v4

    sub-int/2addr v3, v4

    .local v3, "top":I
    goto :goto_43

    .line 1044
    .end local v3    # "top":I
    :cond_3d
    :goto_3d
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v3}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getPaddingTop()I

    move-result v3

    .line 1049
    .restart local v3    # "top":I
    :goto_43
    const/high16 v4, 0x3f800000    # 1.0f

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

    move-result v4

    neg-int v4, v4

    if-le v3, v4, :cond_59

    if-eqz v2, :cond_59

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;->getAdapterPosition()I

    move-result v4

    if-nez v4, :cond_59

    .line 1050
    move v4, v3

    .line 1051
    .local v4, "newOffset":I
    invoke-direct {p0, v1, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->runShadowAnimation(IZ)V

    goto :goto_5e

    .line 1053
    .end local v4    # "newOffset":I
    :cond_59
    const/4 v4, 0x0

    .line 1054
    .restart local v4    # "newOffset":I
    const/4 v5, 0x1

    invoke-direct {p0, v1, v5}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->runShadowAnimation(IZ)V

    .line 1056
    :goto_5e
    iget v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    if-eq v1, v4, :cond_65

    .line 1057
    invoke-virtual {p0, v4}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setScrollOffsetY(I)V

    .line 1059
    :cond_65
    return-void

    .line 1038
    .end local v0    # "child":Landroid/view/View;
    .end local v2    # "holder":Lim/tpelyyftgw/ui/components/RecyclerListView$Holder;
    .end local v3    # "top":I
    .end local v4    # "newOffset":I
    :cond_66
    :goto_66
    return-void
.end method


# virtual methods
.method protected canDismissWithSwipe()Z
    .registers 2

    .line 1032
    const/4 v0, 0x0

    return v0
.end method

.method public dismissInternal()V
    .registers 2

    .line 941
    invoke-super {p0}, Lim/tpelyyftgw/ui/actionbar/BottomSheet;->dismissInternal()V

    .line 942
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;->access$200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    move-result-object v0

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/EditTextBoldCursor;->isFocused()Z

    move-result v0

    if-eqz v0, :cond_18

    .line 943
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchField:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;->access$200(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchField;)Lim/tpelyyftgw/ui/components/EditTextBoldCursor;

    move-result-object v0

    invoke-static {v0}, Lim/tpelyyftgw/messenger/AndroidUtilities;->hideKeyboard(Landroid/view/View;)V

    .line 945
    :cond_18
    return-void
.end method

.method public getScrollOffsetY()I
    .registers 2

    .line 1062
    iget v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    return v0
.end method

.method public synthetic lambda$new$0$ThemeEditorView$EditorAlert(Landroid/view/View;I)V
    .registers 8
    .param p1, "view"    # Landroid/view/View;
    .param p2, "position"    # I

    .line 765
    if-nez p2, :cond_3

    .line 766
    return-void

    .line 768
    :cond_3
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/RecyclerListView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$Adapter;

    move-result-object v0

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;

    if-ne v0, v1, :cond_19

    .line 769
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    add-int/lit8 v2, p2, -0x1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ListAdapter;->getItem(I)Ljava/util/ArrayList;

    move-result-object v1

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1102(Lim/tpelyyftgw/ui/components/ThemeEditorView;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    goto :goto_26

    .line 771
    :cond_19
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchAdapter:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;

    add-int/lit8 v2, p2, -0x1

    invoke-virtual {v1, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$SearchAdapter;->getItem(I)Ljava/util/ArrayList;

    move-result-object v1

    invoke-static {v0, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1102(Lim/tpelyyftgw/ui/components/ThemeEditorView;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    .line 773
    :goto_26
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v0, p2}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4702(Lim/tpelyyftgw/ui/components/ThemeEditorView;I)I

    .line 774
    const/4 v0, 0x0

    .local v0, "a":I
    :goto_2c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x1

    if-ge v0, v1, :cond_6c

    .line 775
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    .line 776
    .local v1, "description":Lim/tpelyyftgw/ui/actionbar/ThemeDescription;
    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->getCurrentKey()Ljava/lang/String;

    move-result-object v3

    const-string v4, "chat_wallpaper"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_5b

    .line 777
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v3}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$5000(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Lim/tpelyyftgw/ui/components/WallpaperUpdater;

    move-result-object v3

    invoke-virtual {v3, v2}, Lim/tpelyyftgw/ui/components/WallpaperUpdater;->showAlert(Z)V

    .line 778
    return-void

    .line 780
    :cond_5b
    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->startEditing()V

    .line 781
    if-nez v0, :cond_69

    .line 782
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->getCurrentColor()I

    move-result v3

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;->setColor(I)V

    .line 774
    .end local v1    # "description":Lim/tpelyyftgw/ui/actionbar/ThemeDescription;
    :cond_69
    add-int/lit8 v0, v0, 0x1

    goto :goto_2c

    .line 785
    .end local v0    # "a":I
    :cond_6c
    invoke-direct {p0, v2}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setColorPickerVisible(Z)V

    .line 786
    return-void
.end method

.method public synthetic lambda$new$1$ThemeEditorView$EditorAlert(Landroid/view/View;)V
    .registers 2
    .param p1, "v"    # Landroid/view/View;

    .line 834
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->dismiss()V

    return-void
.end method

.method public synthetic lambda$new$2$ThemeEditorView$EditorAlert(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .line 846
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$4500(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Lim/tpelyyftgw/ui/actionbar/Theme$ThemeInfo;

    move-result-object v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-static {v0, v2, v1, v1}, Lim/tpelyyftgw/ui/actionbar/Theme;->saveCurrentTheme(Lim/tpelyyftgw/ui/actionbar/Theme$ThemeInfo;ZZZ)V

    .line 847
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 848
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->dismiss()V

    .line 849
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->close()V

    .line 850
    return-void
.end method

.method public synthetic lambda$new$3$ThemeEditorView$EditorAlert(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .line 867
    const/4 v0, 0x0

    .local v0, "a":I
    :goto_1
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_1f

    .line 868
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->setPreviousColor()V

    .line 867
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 870
    .end local v0    # "a":I
    :cond_1f
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setColorPickerVisible(Z)V

    .line 871
    return-void
.end method

.method public synthetic lambda$new$4$ThemeEditorView$EditorAlert(Landroid/view/View;)V
    .registers 4
    .param p1, "v"    # Landroid/view/View;

    .line 887
    const/4 v0, 0x0

    .local v0, "a":I
    :goto_1
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_1f

    .line 888
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-static {v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView;->access$1100(Lim/tpelyyftgw/ui/components/ThemeEditorView;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/actionbar/ThemeDescription;->setDefaultColor()V

    .line 887
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 890
    .end local v0    # "a":I
    :cond_1f
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setColorPickerVisible(Z)V

    .line 891
    return-void
.end method

.method public synthetic lambda$new$5$ThemeEditorView$EditorAlert(Landroid/view/View;)V
    .registers 3
    .param p1, "v"    # Landroid/view/View;

    .line 902
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->setColorPickerVisible(Z)V

    return-void
.end method

.method public setScrollOffsetY(I)V
    .registers 4
    .param p1, "value"    # I

    .line 1067
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->listView:Lim/tpelyyftgw/ui/components/RecyclerListView;

    iput p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/ui/components/RecyclerListView;->setTopGlowOffset(I)V

    .line 1068
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->frameLayout:Landroid/widget/FrameLayout;

    iget v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setTranslationY(F)V

    .line 1069
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->colorPicker:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;

    iget v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$ColorPicker;->setTranslationY(F)V

    .line 1070
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->searchEmptyView:Lim/tpelyyftgw/ui/components/EmptyTextProgressView;

    iget v1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->scrollOffsetY:I

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/EmptyTextProgressView;->setTranslationY(F)V

    .line 1071
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;->containerView:Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->invalidate()V

    .line 1072
    return-void
.end method