ThemeEditorView$EditorAlert$2.smali

.class Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$2;
.super Lim/tpelyyftgw/ui/components/RecyclerListView;
.source "ThemeEditorView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;-><init>(Lim/tpelyyftgw/ui/components/ThemeEditorView;Landroid/content/Context;[Lim/tpelyyftgw/ui/actionbar/ThemeDescription;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

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


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

    return-void
.end method

.method constructor <init>(Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;Landroid/content/Context;Lim/tpelyyftgw/ui/components/ThemeEditorView;)V
    .registers 4
    .param p1, "this$1"    # Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;
    .param p2, "context"    # Landroid/content/Context;

    .line 746
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$2;->this$1:Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert;

    iput-object p3, p0, Lim/tpelyyftgw/ui/components/ThemeEditorView$EditorAlert$2;->val$this$0:Lim/tpelyyftgw/ui/components/ThemeEditorView;

    invoke-direct {p0, p2}, Lim/tpelyyftgw/ui/components/RecyclerListView;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected allowSelectChildAtPosition(FF)Z
    .registers 7
    .param p1, "x"    # F
    .param p2, "y"    # F

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

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

    move-result v0

    const/high16 v1, 0x42400000    # 48.0f

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

    move-result v1

    add-int/2addr v0, v1

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v2, 0x0

    const/16 v3, 0x15

    if-lt v1, v3, :cond_17

    sget v1, Lim/tpelyyftgw/messenger/AndroidUtilities;->statusBarHeight:I

    goto :goto_18

    :cond_17
    const/4 v1, 0x0

    :goto_18
    add-int/2addr v0, v1

    int-to-float v0, v0

    cmpl-float v0, p2, v0

    if-ltz v0, :cond_1f

    const/4 v2, 0x1

    :cond_1f
    return v2
.end method