NumberPicker.smali

.class public Lim/tpelyyftgw/ui/components/NumberPicker;
.super Landroid/widget/LinearLayout;
.source "NumberPicker.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;,
        Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;,
        Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;,
        Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;,
        Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;
    }
.end annotation


# static fields
.field private static final DEFAULT_LAYOUT_RESOURCE_ID:I

.field private static final DEFAULT_LONG_PRESS_UPDATE_INTERVAL:J = 0x12cL

.field private static final SELECTOR_ADJUSTMENT_DURATION_MILLIS:I

.field private static final SELECTOR_MAX_FLING_VELOCITY_ADJUSTMENT:I

.field private static final SIZE_UNSPECIFIED:I

.field private static final SNAP_SCROLL_DURATION:I

.field private static final TOP_AND_BOTTOM_FADING_EDGE_STRENGTH:F = 0.9f

.field private static final UNSCALED_DEFAULT_SELECTION_DIVIDERS_DISTANCE:I

.field private static final UNSCALED_DEFAULT_SELECTION_DIVIDER_HEIGHT:I


# instance fields
.field private SELECTOR_MIDDLE_ITEM_INDEX:I

.field private SELECTOR_WHEEL_ITEM_COUNT:I

.field private mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

.field private mBottomSelectionDividerBottom:I

.field private mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

.field private mComputeMaxWidth:Z

.field private mCurrentScrollOffset:I

.field private mDecrementVirtualButtonPressed:Z

.field private mDisplayedValues:[Ljava/lang/String;

.field private mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

.field private mFormatter:Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;

.field private mIncrementVirtualButtonPressed:Z

.field private mIngonreMoveEvents:Z

.field private mInitialScrollOffset:I

.field private mInputText:Landroid/widget/TextView;

.field private mLastDownEventTime:J

.field private mLastDownEventY:F

.field private mLastDownOrMoveEventY:F

.field private mLastHandledDownDpadKeyCode:I

.field private mLastHoveredChildVirtualViewId:I

.field private mLongPressUpdateInterval:J

.field private mMaxHeight:I

.field private mMaxValue:I

.field private mMaxWidth:I

.field private mMaximumFlingVelocity:I

.field private mMinHeight:I

.field private mMinValue:I

.field private mMinWidth:I

.field private mMinimumFlingVelocity:I

.field private mOnScrollListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;

.field private mOnValueChangeListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;

.field private mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

.field private mPreviousScrollerY:I

.field private mScrollState:I

.field private mSelectionDivider:Landroid/graphics/Paint;

.field private mSelectionDividerHeight:I

.field private mSelectionDividersDistance:I

.field private mSelectorElementHeight:I

.field private final mSelectorIndexToStringCache:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private mSelectorIndices:[I

.field private mSelectorTextGapHeight:I

.field private mSelectorWheelPaint:Landroid/graphics/Paint;

.field private mSolidColor:I

.field private mTextSize:I

.field private mTopSelectionDividerTop:I

.field private mTouchSlop:I

.field private mValue:I

.field private mVelocityTracker:Landroid/view/VelocityTracker;

.field private mWrapSelectorWheel:Z

.field private textOffset:I


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

    const v0, 0x156f

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->DEFAULT_LAYOUT_RESOURCE_ID:I

    const v0, 0x164f

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_ADJUSTMENT_DURATION_MILLIS:I

    const v0, 0x1567

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MAX_FLING_VELOCITY_ADJUSTMENT:I

    const v0, -0x1570

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->SIZE_UNSPECIFIED:I

    const v0, 0x1443

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->SNAP_SCROLL_DURATION:I

    const v0, 0x155f

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->UNSCALED_DEFAULT_SELECTION_DIVIDERS_DISTANCE:I

    const v0, 0x156d

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

    move-result v0

    sput v0, Lim/tpelyyftgw/ui/components/NumberPicker;->UNSCALED_DEFAULT_SELECTION_DIVIDER_HEIGHT:I

    return-void
.end method

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

    .line 203
    invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 47
    const/4 v0, 0x3

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_WHEEL_ITEM_COUNT:I

    .line 49
    div-int/lit8 v0, v0, 0x2

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    .line 76
    const-wide/16 v0, 0x12c

    iput-wide v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLongPressUpdateInterval:J

    .line 77
    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndexToStringCache:Landroid/util/SparseArray;

    .line 78
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_WHEEL_ITEM_COUNT:I

    new-array v0, v0, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 81
    const/high16 v0, -0x80000000

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    .line 98
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    .line 106
    const/4 v0, -0x1

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastHandledDownDpadKeyCode:I

    .line 204
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->init()V

    .line 205
    return-void
.end method

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

    .line 45
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mIncrementVirtualButtonPressed:Z

    return v0
.end method

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

    .line 45
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mIncrementVirtualButtonPressed:Z

    return p1
.end method

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

    .line 45
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mBottomSelectionDividerBottom:I

    return v0
.end method

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

    .line 45
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDecrementVirtualButtonPressed:Z

    return v0
.end method

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

    .line 45
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDecrementVirtualButtonPressed:Z

    return p1
.end method

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

    .line 45
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTopSelectionDividerTop:I

    return v0
.end method

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

    .line 45
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->changeValueByOne(Z)V

    return-void
.end method

.method static synthetic access$600(Lim/tpelyyftgw/ui/components/NumberPicker;)J
    .registers 3
    .param p0, "x0"    # Lim/tpelyyftgw/ui/components/NumberPicker;

    .line 45
    iget-wide v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLongPressUpdateInterval:J

    return-wide v0
.end method

.method private changeValueByOne(Z)V
    .registers 15
    .param p1, "increment"    # Z

    .line 785
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    const/4 v1, 0x4

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

    .line 786
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->moveToFinalScrollerPosition(Lim/tpelyyftgw/ui/components/Scroller;)Z

    move-result v0

    if-nez v0, :cond_13

    .line 787
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->moveToFinalScrollerPosition(Lim/tpelyyftgw/ui/components/Scroller;)Z

    .line 789
    :cond_13
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    .line 790
    if-eqz p1, :cond_26

    .line 791
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    neg-int v5, v0

    const/16 v6, 0x12c

    invoke-virtual/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/Scroller;->startScroll(IIIII)V

    goto :goto_32

    .line 793
    :cond_26
    iget-object v7, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    iget v11, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    const/16 v12, 0x12c

    invoke-virtual/range {v7 .. v12}, Lim/tpelyyftgw/ui/components/Scroller;->startScroll(IIIII)V

    .line 795
    :goto_32
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 796
    return-void
.end method

.method private decrementSelectorIndices([I)V
    .registers 5
    .param p1, "selectorIndices"    # [I

    .line 882
    array-length v0, p1

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    const/4 v2, 0x0

    invoke-static {p1, v2, p1, v1, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 883
    aget v0, p1, v1

    sub-int/2addr v0, v1

    .line 884
    .local v0, "nextScrollSelectorIndex":I
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-eqz v1, :cond_14

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-ge v0, v1, :cond_14

    .line 885
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    .line 887
    :cond_14
    aput v0, p1, v2

    .line 888
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->ensureCachedScrollSelectorValue(I)V

    .line 889
    return-void
.end method

.method private ensureCachedScrollSelectorValue(I)V
    .registers 6
    .param p1, "selectorIndex"    # I

    .line 892
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndexToStringCache:Landroid/util/SparseArray;

    .line 893
    .local v0, "cache":Landroid/util/SparseArray;, "Landroid/util/SparseArray<Ljava/lang/String;>;"
    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 894
    .local v1, "scrollSelectorValue":Ljava/lang/String;
    if-eqz v1, :cond_b

    .line 895
    return-void

    .line 897
    :cond_b
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-lt p1, v2, :cond_22

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-le p1, v3, :cond_14

    goto :goto_22

    .line 900
    :cond_14
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-eqz v3, :cond_1d

    .line 901
    sub-int v2, p1, v2

    .line 902
    .local v2, "displayedValueIndex":I
    aget-object v1, v3, v2

    .line 903
    .end local v2    # "displayedValueIndex":I
    goto :goto_24

    .line 904
    :cond_1d
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->formatNumber(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_24

    .line 898
    :cond_22
    :goto_22
    const-string v1, ""

    .line 907
    :goto_24
    invoke-virtual {v0, p1, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 908
    return-void
.end method

.method private ensureScrollWheelAdjusted()Z
    .registers 8

    .line 983
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    sub-int/2addr v0, v1

    .line 984
    .local v0, "deltaY":I
    const/4 v1, 0x0

    if-eqz v0, :cond_28

    .line 985
    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    .line 986
    invoke-static {v0}, Ljava/lang/Math;->abs(I)I

    move-result v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    div-int/lit8 v3, v2, 0x2

    if-le v1, v3, :cond_18

    .line 987
    if-lez v0, :cond_17

    neg-int v2, v2

    :cond_17
    add-int/2addr v0, v2

    .line 989
    :cond_18
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/16 v6, 0x320

    move v5, v0

    invoke-virtual/range {v1 .. v6}, Lim/tpelyyftgw/ui/components/Scroller;->startScroll(IIIII)V

    .line 990
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 991
    const/4 v1, 0x1

    return v1

    .line 993
    :cond_28
    return v1
.end method

.method private fling(I)V
    .registers 12
    .param p1, "velocityY"    # I

    .line 851
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    .line 853
    if-lez p1, :cond_15

    .line 854
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const v9, 0x7fffffff

    move v5, p1

    invoke-virtual/range {v1 .. v9}, Lim/tpelyyftgw/ui/components/Scroller;->fling(IIIIIIII)V

    goto :goto_26

    .line 856
    :cond_15
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v2, 0x0

    const v3, 0x7fffffff

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const v9, 0x7fffffff

    move v5, p1

    invoke-virtual/range {v1 .. v9}, Lim/tpelyyftgw/ui/components/Scroller;->fling(IIIIIIII)V

    .line 859
    :goto_26
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 860
    return-void
.end method

.method private formatNumber(I)Ljava/lang/String;
    .registers 3
    .param p1, "value"    # I

    .line 911
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFormatter:Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;

    if-eqz v0, :cond_9

    invoke-interface {v0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;->format(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_d

    :cond_9
    invoke-static {p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->formatNumberWithLocale(I)Ljava/lang/String;

    move-result-object v0

    :goto_d
    return-object v0
.end method

.method private static formatNumberWithLocale(I)Ljava/lang/String;
    .registers 5
    .param p0, "value"    # I

    .line 1092
    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

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

    move-result-object v2

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const-string v2, "%d"

    invoke-static {v0, v2, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private getSelectedPos(Ljava/lang/String;)I
    .registers 4
    .param p1, "value"    # Ljava/lang/String;

    .line 953
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-nez v0, :cond_b

    .line 955
    :try_start_4
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0
    :try_end_8
    .catch Ljava/lang/NumberFormatException; {:try_start_4 .. :try_end_8} :catch_9

    return v0

    .line 956
    :catch_9
    move-exception v0

    .line 958
    goto :goto_30

    .line 960
    :cond_b
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_c
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    array-length v1, v1

    if-ge v0, v1, :cond_2a

    .line 962
    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    .line 963
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_27

    .line 964
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    add-int/2addr v1, v0

    return v1

    .line 960
    :cond_27
    add-int/lit8 v0, v0, 0x1

    goto :goto_c

    .line 973
    .end local v0    # "i":I
    :cond_2a
    :try_start_2a
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0
    :try_end_2e
    .catch Ljava/lang/NumberFormatException; {:try_start_2a .. :try_end_2e} :catch_2f

    return v0

    .line 974
    :catch_2f
    move-exception v0

    .line 978
    :goto_30
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    return v0
.end method

.method private getWrappedSelectorIndex(I)I
    .registers 5
    .param p1, "selectorIndex"    # I

    .line 863
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-le p1, v0, :cond_e

    .line 864
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int v2, p1, v0

    sub-int/2addr v0, v1

    rem-int/2addr v2, v0

    add-int/2addr v1, v2

    add-int/lit8 v1, v1, -0x1

    return v1

    .line 865
    :cond_e
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-ge p1, v1, :cond_1b

    .line 866
    sub-int v2, v1, p1

    sub-int v1, v0, v1

    rem-int/2addr v2, v1

    sub-int/2addr v0, v2

    add-int/lit8 v0, v0, 0x1

    return v0

    .line 868
    :cond_1b
    return p1
.end method

.method private incrementSelectorIndices([I)V
    .registers 5
    .param p1, "selectorIndices"    # [I

    .line 872
    array-length v0, p1

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    const/4 v2, 0x0

    invoke-static {p1, v1, p1, v2, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 873
    array-length v0, p1

    add-int/lit8 v0, v0, -0x2

    aget v0, p1, v0

    add-int/2addr v0, v1

    .line 874
    .local v0, "nextScrollSelectorIndex":I
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-eqz v2, :cond_17

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-le v0, v2, :cond_17

    .line 875
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    .line 877
    :cond_17
    array-length v2, p1

    sub-int/2addr v2, v1

    aput v0, p1, v2

    .line 878
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->ensureCachedScrollSelectorValue(I)V

    .line 879
    return-void
.end method

.method private init()V
    .registers 9

    .line 135
    const/4 v0, 0x0

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSolidColor:I

    .line 136
    new-instance v1, Landroid/graphics/Paint;

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

    iput-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDivider:Landroid/graphics/Paint;

    .line 137
    const-string v2, "dialogButton"

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

    move-result v2

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 139
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    const/4 v2, 0x1

    const/high16 v3, 0x40000000    # 2.0f

    invoke-static {v2, v3, v1}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v1

    float-to-int v1, v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividerHeight:I

    .line 140
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1

    const/high16 v3, 0x42400000    # 48.0f

    invoke-static {v2, v3, v1}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v1

    float-to-int v1, v1

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividersDistance:I

    .line 142
    const/4 v1, -0x1

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinHeight:I

    .line 144
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v3

    const/high16 v4, 0x43340000    # 180.0f

    invoke-static {v2, v4, v3}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v3

    float-to-int v3, v3

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxHeight:I

    .line 145
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinHeight:I

    if-eq v4, v1, :cond_5b

    if-eq v3, v1, :cond_5b

    if-gt v4, v3, :cond_53

    goto :goto_5b

    .line 146
    :cond_53
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "minHeight > maxHeight"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 149
    :cond_5b
    :goto_5b
    const/high16 v3, 0x42800000    # 64.0f

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v4

    invoke-static {v2, v3, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v3

    float-to-int v3, v3

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinWidth:I

    .line 151
    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    .line 152
    if-eq v3, v1, :cond_7d

    if-eq v1, v1, :cond_7d

    if-gt v3, v1, :cond_75

    goto :goto_7d

    .line 153
    :cond_75
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "minWidth > maxWidth"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 156
    :cond_7d
    :goto_7d
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    if-ne v3, v1, :cond_83

    const/4 v3, 0x1

    goto :goto_84

    :cond_83
    const/4 v3, 0x0

    :goto_84
    iput-boolean v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mComputeMaxWidth:Z

    .line 158
    new-instance v3, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-direct {v3, p0}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;-><init>(Lim/tpelyyftgw/ui/components/NumberPicker;)V

    iput-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    .line 160
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setWillNotDraw(Z)V

    .line 162
    new-instance v3, Landroid/widget/TextView;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getContext()Landroid/content/Context;

    move-result-object v4

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

    iput-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    .line 163
    const/16 v4, 0x11

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

    .line 164
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setSingleLine(Z)V

    .line 165
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    const-string v4, "dialogTextBlack"

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

    move-result v4

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

    .line 166
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 167
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    const/high16 v3, 0x41900000    # 18.0f

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

    .line 168
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    const/4 v3, 0x4

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 169
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v4, -0x2

    invoke-direct {v3, v1, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

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

    .line 171
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v0

    .line 172
    .local v0, "configuration":Landroid/view/ViewConfiguration;
    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v3

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTouchSlop:I

    .line 173
    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledMinimumFlingVelocity()I

    move-result v3

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinimumFlingVelocity:I

    .line 174
    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledMaximumFlingVelocity()I

    move-result v3

    div-int/lit8 v3, v3, 0x8

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaximumFlingVelocity:I

    .line 175
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getTextSize()F

    move-result v3

    float-to-int v3, v3

    iput v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTextSize:I

    .line 177
    new-instance v3, Landroid/graphics/Paint;

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

    .line 178
    .local v3, "paint":Landroid/graphics/Paint;
    invoke-virtual {v3, v2}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 179
    sget-object v4, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 180
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTextSize:I

    int-to-float v4, v4

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 181
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getTypeface()Landroid/graphics/Typeface;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;

    .line 182
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getTextColors()Landroid/content/res/ColorStateList;

    move-result-object v4

    .line 183
    .local v4, "colors":Landroid/content/res/ColorStateList;
    sget-object v5, Lim/tpelyyftgw/ui/components/NumberPicker;->ENABLED_STATE_SET:[I

    invoke-virtual {v4, v5, v1}, Landroid/content/res/ColorStateList;->getColorForState([II)I

    move-result v1

    .line 184
    .local v1, "color":I
    invoke-virtual {v3, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 185
    iput-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorWheelPaint:Landroid/graphics/Paint;

    .line 187
    new-instance v5, Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getContext()Landroid/content/Context;

    move-result-object v6

    const/4 v7, 0x0

    invoke-direct {v5, v6, v7, v2}, Lim/tpelyyftgw/ui/components/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;Z)V

    iput-object v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    .line 188
    new-instance v2, Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getContext()Landroid/content/Context;

    move-result-object v5

    new-instance v6, Landroid/view/animation/DecelerateInterpolator;

    const/high16 v7, 0x40200000    # 2.5f

    invoke-direct {v6, v7}, Landroid/view/animation/DecelerateInterpolator;-><init>(F)V

    invoke-direct {v2, v5, v6}, Lim/tpelyyftgw/ui/components/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    iput-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    .line 190
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 191
    return-void
.end method

.method private initializeFadingEdges()V
    .registers 3

    .line 813
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setVerticalFadingEdgeEnabled(Z)V

    .line 814
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getBottom()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getTop()I

    move-result v1

    sub-int/2addr v0, v1

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTextSize:I

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x2

    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setFadingEdgeLength(I)V

    .line 815
    return-void
.end method

.method private initializeSelectorWheel()V
    .registers 8

    .line 799
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 800
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 801
    .local v0, "selectorIndices":[I
    array-length v1, v0

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTextSize:I

    mul-int v1, v1, v2

    .line 802
    .local v1, "totalTextHeight":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getBottom()I

    move-result v2

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getTop()I

    move-result v3

    sub-int/2addr v2, v3

    sub-int/2addr v2, v1

    int-to-float v2, v2

    .line 803
    .local v2, "totalTextGapHeight":F
    array-length v3, v0

    int-to-float v3, v3

    .line 804
    .local v3, "textGapCount":F
    div-float v4, v2, v3

    const/high16 v5, 0x3f000000    # 0.5f

    add-float/2addr v4, v5

    float-to-int v4, v4

    iput v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorTextGapHeight:I

    .line 805
    iget v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTextSize:I

    add-int/2addr v5, v4

    iput v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    .line 806
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getBaseline()I

    move-result v4

    iget-object v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

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

    move-result v5

    add-int/2addr v4, v5

    .line 807
    .local v4, "editTextTextPosition":I
    iget v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    mul-int v5, v5, v6

    sub-int v5, v4, v5

    iput v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    .line 808
    iput v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 809
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 810
    return-void
.end method

.method private initializeSelectorWheelIndices()V
    .registers 6

    .line 751
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndexToStringCache:Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->clear()V

    .line 752
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 753
    .local v0, "selectorIndices":[I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getValue()I

    move-result v1

    .line 754
    .local v1, "current":I
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_c
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    array-length v3, v3

    if-ge v2, v3, :cond_28

    .line 755
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    sub-int v3, v2, v3

    add-int/2addr v3, v1

    .line 756
    .local v3, "selectorIndex":I
    iget-boolean v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-eqz v4, :cond_1e

    .line 757
    invoke-direct {p0, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->getWrappedSelectorIndex(I)I

    move-result v3

    .line 759
    :cond_1e
    aput v3, v0, v2

    .line 760
    aget v4, v0, v2

    invoke-direct {p0, v4}, Lim/tpelyyftgw/ui/components/NumberPicker;->ensureCachedScrollSelectorValue(I)V

    .line 754
    .end local v3    # "selectorIndex":I
    add-int/lit8 v2, v2, 0x1

    goto :goto_c

    .line 762
    .end local v2    # "i":I
    :cond_28
    return-void
.end method

.method private makeMeasureSpec(II)I
    .registers 8
    .param p1, "measureSpec"    # I
    .param p2, "maxSize"    # I

    .line 701
    const/4 v0, -0x1

    if-ne p2, v0, :cond_4

    .line 702
    return p1

    .line 704
    :cond_4
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v0

    .line 705
    .local v0, "size":I
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    .line 706
    .local v1, "mode":I
    const/high16 v2, -0x80000000

    const/high16 v3, 0x40000000    # 2.0f

    if-eq v1, v2, :cond_33

    if-eqz v1, :cond_2e

    if-ne v1, v3, :cond_17

    .line 708
    return p1

    .line 714
    :cond_17
    new-instance v2, Ljava/lang/IllegalArgumentException;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Unknown measure mode: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

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

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 712
    :cond_2e
    invoke-static {p2, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    return v2

    .line 710
    :cond_33
    invoke-static {v0, p2}, Ljava/lang/Math;->min(II)I

    move-result v2

    invoke-static {v2, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v2

    return v2
.end method

.method private moveToFinalScrollerPosition(Lim/tpelyyftgw/ui/components/Scroller;)Z
    .registers 10
    .param p1, "scroller"    # Lim/tpelyyftgw/ui/components/Scroller;

    .line 239
    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 240
    invoke-virtual {p1}, Lim/tpelyyftgw/ui/components/Scroller;->getFinalY()I

    move-result v1

    invoke-virtual {p1}, Lim/tpelyyftgw/ui/components/Scroller;->getCurrY()I

    move-result v2

    sub-int/2addr v1, v2

    .line 241
    .local v1, "amountToScroll":I
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    add-int/2addr v2, v1

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    rem-int/2addr v2, v3

    .line 242
    .local v2, "futureScrollOffset":I
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    sub-int/2addr v3, v2

    .line 243
    .local v3, "overshootAdjustment":I
    const/4 v4, 0x0

    if-eqz v3, :cond_2d

    .line 244
    invoke-static {v3}, Ljava/lang/Math;->abs(I)I

    move-result v5

    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    div-int/lit8 v7, v6, 0x2

    if-le v5, v7, :cond_28

    .line 245
    if-lez v3, :cond_27

    .line 246
    sub-int/2addr v3, v6

    goto :goto_28

    .line 248
    :cond_27
    add-int/2addr v3, v6

    .line 251
    :cond_28
    :goto_28
    add-int/2addr v1, v3

    .line 252
    invoke-virtual {p0, v4, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->scrollBy(II)V

    .line 253
    return v0

    .line 255
    :cond_2d
    return v4
.end method

.method private notifyChange(II)V
    .registers 5
    .param p1, "previous"    # I
    .param p2, "current"    # I

    .line 924
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mOnValueChangeListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;

    if-eqz v0, :cond_9

    .line 925
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    invoke-interface {v0, p0, p1, v1}, Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;->onValueChange(Lim/tpelyyftgw/ui/components/NumberPicker;II)V

    .line 927
    :cond_9
    return-void
.end method

.method private onScrollStateChange(I)V
    .registers 6
    .param p1, "scrollState"    # I

    .line 831
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    if-ne v0, p1, :cond_5

    .line 832
    return-void

    .line 834
    :cond_5
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    .line 835
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mOnScrollListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;

    if-eqz v0, :cond_e

    .line 836
    invoke-interface {v0, p0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;->onScrollStateChange(Lim/tpelyyftgw/ui/components/NumberPicker;I)V

    .line 838
    :cond_e
    if-nez p1, :cond_47

    .line 839
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "accessibility"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/accessibility/AccessibilityManager;

    .line 840
    .local v0, "am":Landroid/view/accessibility/AccessibilityManager;
    invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityManager;->isTouchExplorationEnabled()Z

    move-result v1

    if-eqz v1, :cond_47

    .line 841
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-nez v1, :cond_2d

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->formatNumber(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_34

    :cond_2d
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v2, v3

    aget-object v1, v1, v2

    .line 842
    .local v1, "text":Ljava/lang/String;
    :goto_34
    invoke-static {}, Landroid/view/accessibility/AccessibilityEvent;->obtain()Landroid/view/accessibility/AccessibilityEvent;

    move-result-object v2

    .line 843
    .local v2, "event":Landroid/view/accessibility/AccessibilityEvent;
    const/16 v3, 0x4000

    invoke-virtual {v2, v3}, Landroid/view/accessibility/AccessibilityEvent;->setEventType(I)V

    .line 844
    invoke-virtual {v2}, Landroid/view/accessibility/AccessibilityEvent;->getText()Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 845
    invoke-virtual {v0, v2}, Landroid/view/accessibility/AccessibilityManager;->sendAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    .line 848
    .end local v0    # "am":Landroid/view/accessibility/AccessibilityManager;
    .end local v1    # "text":Ljava/lang/String;
    .end local v2    # "event":Landroid/view/accessibility/AccessibilityEvent;
    :cond_47
    return-void
.end method

.method private onScrollerFinished(Lim/tpelyyftgw/ui/components/Scroller;)V
    .registers 4
    .param p1, "scroller"    # Lim/tpelyyftgw/ui/components/Scroller;

    .line 818
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    if-ne p1, v0, :cond_12

    .line 819
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->ensureScrollWheelAdjusted()Z

    move-result v0

    if-nez v0, :cond_d

    .line 820
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 822
    :cond_d
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollStateChange(I)V

    goto :goto_1a

    .line 824
    :cond_12
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    const/4 v1, 0x1

    if-eq v0, v1, :cond_1a

    .line 825
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 828
    :cond_1a
    :goto_1a
    return-void
.end method

.method private postChangeCurrentByOneFromLongPress(ZJ)V
    .registers 5
    .param p1, "increment"    # Z
    .param p2, "delayMillis"    # J

    .line 930
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    if-nez v0, :cond_c

    .line 931
    new-instance v0, Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    invoke-direct {v0, p0}, Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;-><init>(Lim/tpelyyftgw/ui/components/NumberPicker;)V

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    goto :goto_f

    .line 933
    :cond_c
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 935
    :goto_f
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    # invokes: Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;->setStep(Z)V
    invoke-static {v0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;->access$000(Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;Z)V

    .line 936
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    invoke-virtual {p0, v0, p2, p3}, Lim/tpelyyftgw/ui/components/NumberPicker;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 937
    return-void
.end method

.method private removeAllCallbacks()V
    .registers 2

    .line 946
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    if-eqz v0, :cond_7

    .line 947
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 949
    :cond_7
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->cancel()V

    .line 950
    return-void
.end method

.method private removeChangeCurrentByOneFromLongPress()V
    .registers 2

    .line 940
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mChangeCurrentByOneFromLongPressCommand:Lim/tpelyyftgw/ui/components/NumberPicker$ChangeCurrentByOneFromLongPressCommand;

    if-eqz v0, :cond_7

    .line 941
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeCallbacks(Ljava/lang/Runnable;)Z

    .line 943
    :cond_7
    return-void
.end method

.method public static resolveSizeAndState(III)I
    .registers 7
    .param p0, "size"    # I
    .param p1, "measureSpec"    # I
    .param p2, "childMeasuredState"    # I

    .line 729
    move v0, p0

    .line 730
    .local v0, "result":I
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    .line 731
    .local v1, "specMode":I
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result v2

    .line 732
    .local v2, "specSize":I
    const/high16 v3, -0x80000000

    if-eq v1, v3, :cond_18

    if-eqz v1, :cond_16

    const/high16 v3, 0x40000000    # 2.0f

    if-eq v1, v3, :cond_14

    goto :goto_21

    .line 744
    :cond_14
    move v0, v2

    goto :goto_21

    .line 734
    :cond_16
    move v0, p0

    .line 735
    goto :goto_21

    .line 737
    :cond_18
    if-ge v2, p0, :cond_1f

    .line 738
    const/high16 v3, 0x1000000

    or-int v0, v2, v3

    goto :goto_21

    .line 740
    :cond_1f
    move v0, p0

    .line 742
    nop

    .line 747
    :goto_21
    const/high16 v3, -0x1000000

    and-int/2addr v3, p2

    or-int/2addr v3, v0

    return v3
.end method

.method private resolveSizeAndStateRespectingMinSize(III)I
    .registers 6
    .param p1, "minSize"    # I
    .param p2, "measuredSize"    # I
    .param p3, "measureSpec"    # I

    .line 720
    const/4 v0, -0x1

    if-eq p1, v0, :cond_d

    .line 721
    invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I

    move-result v0

    .line 722
    .local v0, "desiredWidth":I
    const/4 v1, 0x0

    invoke-static {v0, p3, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->resolveSizeAndState(III)I

    move-result v1

    return v1

    .line 724
    .end local v0    # "desiredWidth":I
    :cond_d
    return p2
.end method

.method private setValueInternal(IZ)V
    .registers 4
    .param p1, "current"    # I
    .param p2, "notifyChange"    # Z

    .line 765
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    if-ne v0, p1, :cond_5

    .line 766
    return-void

    .line 768
    :cond_5
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-eqz v0, :cond_e

    .line 769
    invoke-direct {p0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->getWrappedSelectorIndex(I)I

    move-result p1

    goto :goto_1a

    .line 771
    :cond_e
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    invoke-static {p1, v0}, Ljava/lang/Math;->max(II)I

    move-result p1

    .line 772
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I

    move-result p1

    .line 774
    :goto_1a
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    .line 775
    .local v0, "previous":I
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    .line 776
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 777
    if-eqz p2, :cond_26

    .line 778
    invoke-direct {p0, v0, p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->notifyChange(II)V

    .line 780
    :cond_26
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 781
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 782
    return-void
.end method

.method private tryComputeMaxWidth()V
    .registers 8

    .line 537
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mComputeMaxWidth:Z

    if-nez v0, :cond_5

    .line 538
    return-void

    .line 540
    :cond_5
    const/4 v0, 0x0

    .line 541
    .local v0, "maxTextWidth":I
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-nez v1, :cond_31

    .line 542
    const/4 v1, 0x0

    .line 543
    .local v1, "maxDigitWidth":F
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_c
    const/16 v3, 0x9

    if-gt v2, v3, :cond_22

    .line 544
    iget-object v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorWheelPaint:Landroid/graphics/Paint;

    invoke-static {v2}, Lim/tpelyyftgw/ui/components/NumberPicker;->formatNumberWithLocale(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v3

    .line 545
    .local v3, "digitWidth":F
    cmpl-float v4, v3, v1

    if-lez v4, :cond_1f

    .line 546
    move v1, v3

    .line 543
    .end local v3    # "digitWidth":F
    :cond_1f
    add-int/lit8 v2, v2, 0x1

    goto :goto_c

    .line 549
    .end local v2    # "i":I
    :cond_22
    const/4 v2, 0x0

    .line 550
    .local v2, "numberOfDigits":I
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    .line 551
    .local v3, "current":I
    :goto_25
    if-lez v3, :cond_2c

    .line 552
    add-int/lit8 v2, v2, 0x1

    .line 553
    div-int/lit8 v3, v3, 0xa

    goto :goto_25

    .line 555
    :cond_2c
    int-to-float v4, v2

    mul-float v4, v4, v1

    float-to-int v0, v4

    .line 556
    .end local v1    # "maxDigitWidth":F
    .end local v2    # "numberOfDigits":I
    .end local v3    # "current":I
    goto :goto_46

    .line 557
    :cond_31
    array-length v2, v1

    const/4 v3, 0x0

    :goto_33
    if-ge v3, v2, :cond_46

    aget-object v4, v1, v3

    .line 558
    .local v4, "mDisplayedValue":Ljava/lang/String;
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorWheelPaint:Landroid/graphics/Paint;

    invoke-virtual {v5, v4}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v5

    .line 559
    .local v5, "textWidth":F
    int-to-float v6, v0

    cmpl-float v6, v5, v6

    if-lez v6, :cond_43

    .line 560
    float-to-int v0, v5

    .line 557
    .end local v4    # "mDisplayedValue":Ljava/lang/String;
    .end local v5    # "textWidth":F
    :cond_43
    add-int/lit8 v3, v3, 0x1

    goto :goto_33

    .line 564
    :cond_46
    :goto_46
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getPaddingLeft()I

    move-result v1

    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v2}, Landroid/widget/TextView;->getPaddingRight()I

    move-result v2

    add-int/2addr v1, v2

    add-int/2addr v0, v1

    .line 565
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    if-eq v1, v0, :cond_64

    .line 566
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinWidth:I

    if-le v0, v1, :cond_5f

    .line 567
    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    goto :goto_61

    .line 569
    :cond_5f
    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    .line 571
    :goto_61
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 573
    :cond_64
    return-void
.end method

.method private updateInputTextView()Z
    .registers 4

    .line 915
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-nez v0, :cond_b

    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->formatNumber(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_12

    :cond_b
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v1, v2

    aget-object v0, v0, v1

    .line 916
    .local v0, "text":Ljava/lang/String;
    :goto_12
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2f

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

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

    move-result v1

    if-nez v1, :cond_2f

    .line 917
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

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

    .line 918
    const/4 v1, 0x1

    return v1

    .line 920
    :cond_2f
    const/4 v1, 0x0

    return v1
.end method


# virtual methods
.method public computeScroll()V
    .registers 5

    .line 433
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    .line 434
    .local v0, "scroller":Lim/tpelyyftgw/ui/components/Scroller;
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v1

    if-eqz v1, :cond_11

    .line 435
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    .line 436
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v1

    if-eqz v1, :cond_11

    .line 437
    return-void

    .line 440
    :cond_11
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->computeScrollOffset()Z

    .line 441
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->getCurrY()I

    move-result v1

    .line 442
    .local v1, "currentScrollerY":I
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    if-nez v2, :cond_22

    .line 443
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->getStartY()I

    move-result v2

    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    .line 445
    :cond_22
    const/4 v2, 0x0

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    sub-int v3, v1, v3

    invoke-virtual {p0, v2, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->scrollBy(II)V

    .line 446
    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPreviousScrollerY:I

    .line 447
    invoke-virtual {v0}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v2

    if-eqz v2, :cond_36

    .line 448
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollerFinished(Lim/tpelyyftgw/ui/components/Scroller;)V

    goto :goto_39

    .line 450
    :cond_36
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 452
    :goto_39
    return-void
.end method

.method protected computeVerticalScrollExtent()I
    .registers 2

    .line 502
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getHeight()I

    move-result v0

    return v0
.end method

.method protected computeVerticalScrollOffset()I
    .registers 2

    .line 492
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    return v0
.end method

.method protected computeVerticalScrollRange()I
    .registers 3

    .line 497
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v0, v1

    add-int/lit8 v0, v0, 0x1

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    mul-int v0, v0, v1

    return v0
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .registers 7
    .param p1, "event"    # Landroid/view/KeyEvent;

    .line 387
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    .line 388
    .local v0, "keyCode":I
    const/16 v1, 0x13

    const/16 v2, 0x14

    if-eq v0, v1, :cond_19

    if-eq v0, v2, :cond_19

    const/16 v1, 0x17

    if-eq v0, v1, :cond_15

    const/16 v1, 0x42

    if-eq v0, v1, :cond_15

    goto :goto_60

    .line 391
    :cond_15
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 392
    goto :goto_60

    .line 395
    :cond_19
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v1

    const/4 v3, 0x1

    if-eqz v1, :cond_2b

    if-eq v1, v3, :cond_23

    goto :goto_60

    .line 409
    :cond_23
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastHandledDownDpadKeyCode:I

    if-ne v1, v0, :cond_60

    .line 410
    const/4 v1, -0x1

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastHandledDownDpadKeyCode:I

    .line 411
    return v3

    .line 397
    :cond_2b
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-nez v1, :cond_3d

    if-ne v0, v2, :cond_32

    goto :goto_3d

    .line 398
    :cond_32
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getValue()I

    move-result v1

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMinValue()I

    move-result v4

    if-le v1, v4, :cond_60

    goto :goto_47

    :cond_3d
    :goto_3d
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getValue()I

    move-result v1

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMaxValue()I

    move-result v4

    if-ge v1, v4, :cond_60

    .line 399
    :goto_47
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->requestFocus()Z

    .line 400
    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastHandledDownDpadKeyCode:I

    .line 401
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 402
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v1}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v1

    if-eqz v1, :cond_5f

    .line 403
    if-ne v0, v2, :cond_5b

    const/4 v1, 0x1

    goto :goto_5c

    :cond_5b
    const/4 v1, 0x0

    :goto_5c
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->changeValueByOne(Z)V

    .line 405
    :cond_5f
    return v3

    .line 416
    :cond_60
    :goto_60
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result v1

    return v1
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 4
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 375
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v0

    .line 376
    .local v0, "action":I
    const/4 v1, 0x1

    if-eq v0, v1, :cond_b

    const/4 v1, 0x3

    if-eq v0, v1, :cond_b

    goto :goto_e

    .line 379
    :cond_b
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 382
    :goto_e
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v1

    return v1
.end method

.method public dispatchTrackballEvent(Landroid/view/MotionEvent;)Z
    .registers 4
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 421
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v0

    .line 422
    .local v0, "action":I
    const/4 v1, 0x1

    if-eq v0, v1, :cond_b

    const/4 v1, 0x3

    if-eq v0, v1, :cond_b

    goto :goto_e

    .line 425
    :cond_b
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 428
    :goto_e
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchTrackballEvent(Landroid/view/MotionEvent;)Z

    move-result v1

    return v1
.end method

.method public finishScroll()V
    .registers 3

    .line 298
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

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

    move-result v0

    if-eqz v0, :cond_10

    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

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

    move-result v0

    if-nez v0, :cond_22

    .line 299
    :cond_10
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 300
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v0, v1}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 301
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 302
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 304
    :cond_22
    return-void
.end method

.method protected getBottomFadingEdgeStrength()F
    .registers 2

    .line 661
    const v0, 0x3f666666    # 0.9f

    return v0
.end method

.method public getDisplayedValues()[Ljava/lang/String;
    .registers 2

    .line 641
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    return-object v0
.end method

.method public getMaxValue()I
    .registers 2

    .line 618
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    return v0
.end method

.method public getMinValue()I
    .registers 2

    .line 595
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    return v0
.end method

.method public getSolidColor()I
    .registers 2

    .line 507
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSolidColor:I

    return v0
.end method

.method protected getTopFadingEdgeStrength()F
    .registers 2

    .line 656
    const v0, 0x3f666666    # 0.9f

    return v0
.end method

.method public getValue()I
    .registers 2

    .line 591
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    return v0
.end method

.method public getWrapSelectorWheel()Z
    .registers 2

    .line 576
    iget-boolean v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    return v0
.end method

.method protected onDetachedFromWindow()V
    .registers 1

    .line 666
    invoke-super {p0}, Landroid/widget/LinearLayout;->onDetachedFromWindow()V

    .line 667
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 668
    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .registers 15
    .param p1, "canvas"    # Landroid/graphics/Canvas;

    .line 672
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getRight()I

    move-result v0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getLeft()I

    move-result v1

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x2

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->textOffset:I

    add-int/2addr v0, v1

    int-to-float v0, v0

    .line 673
    .local v0, "x":F
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    int-to-float v1, v1

    .line 676
    .local v1, "y":F
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 677
    .local v2, "selectorIndices":[I
    const/4 v3, 0x0

    .local v3, "i":I
    :goto_15
    array-length v4, v2

    if-ge v3, v4, :cond_3c

    .line 678
    aget v4, v2, v3

    .line 679
    .local v4, "selectorIndex":I
    iget-object v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndexToStringCache:Landroid/util/SparseArray;

    invoke-virtual {v5, v4}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 685
    .local v5, "scrollSelectorValue":Ljava/lang/String;
    if-eqz v5, :cond_35

    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    if-ne v3, v6, :cond_30

    iget-object v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

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

    move-result v6

    if-eqz v6, :cond_35

    .line 686
    :cond_30
    iget-object v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorWheelPaint:Landroid/graphics/Paint;

    invoke-virtual {p1, v5, v0, v1, v6}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    .line 688
    :cond_35
    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    int-to-float v6, v6

    add-float/2addr v1, v6

    .line 677
    .end local v4    # "selectorIndex":I
    .end local v5    # "scrollSelectorValue":Ljava/lang/String;
    add-int/lit8 v3, v3, 0x1

    goto :goto_15

    .line 691
    .end local v3    # "i":I
    :cond_3c
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTopSelectionDividerTop:I

    .line 692
    .local v3, "topOfTopDivider":I
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividerHeight:I

    add-int/2addr v4, v3

    .line 693
    .local v4, "bottomOfTopDivider":I
    const/4 v6, 0x0

    int-to-float v7, v3

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getRight()I

    move-result v5

    int-to-float v8, v5

    int-to-float v9, v4

    iget-object v10, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDivider:Landroid/graphics/Paint;

    move-object v5, p1

    invoke-virtual/range {v5 .. v10}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    .line 695
    iget v5, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mBottomSelectionDividerBottom:I

    .line 696
    .local v5, "bottomOfBottomDivider":I
    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividerHeight:I

    sub-int v6, v5, v6

    .line 697
    .local v6, "topOfBottomDivider":I
    const/4 v8, 0x0

    int-to-float v9, v6

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getRight()I

    move-result v7

    int-to-float v10, v7

    int-to-float v11, v5

    iget-object v12, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDivider:Landroid/graphics/Paint;

    move-object v7, p1

    invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    .line 698
    return-void
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 7
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 260
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->isEnabled()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_8

    .line 261
    return v1

    .line 263
    :cond_8
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v0

    .line 264
    .local v0, "action":I
    if-nez v0, :cond_9e

    .line 265
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 266
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setVisibility(I)V

    .line 267
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventY:F

    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownOrMoveEventY:F

    .line 268
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getEventTime()J

    move-result-wide v2

    iput-wide v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventTime:J

    .line 269
    iput-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mIngonreMoveEvents:Z

    .line 270
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventY:F

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTopSelectionDividerTop:I

    int-to-float v3, v3

    const/4 v4, 0x1

    cmpg-float v3, v2, v3

    if-gez v3, :cond_3c

    .line 271
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    if-nez v2, :cond_4c

    .line 272
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->buttonPressDelayed(I)V

    goto :goto_4c

    .line 274
    :cond_3c
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mBottomSelectionDividerBottom:I

    int-to-float v3, v3

    cmpl-float v2, v2, v3

    if-lez v2, :cond_4c

    .line 275
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    if-nez v2, :cond_4c

    .line 276
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-virtual {v2, v4}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->buttonPressDelayed(I)V

    .line 279
    :cond_4c
    :goto_4c
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getParent()Landroid/view/ViewParent;

    move-result-object v2

    invoke-interface {v2, v4}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V

    .line 280
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v2

    if-nez v2, :cond_69

    .line 281
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v2, v4}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 282
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v2, v4}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 283
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollStateChange(I)V

    goto :goto_9d

    .line 284
    :cond_69
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v2}, Lim/tpelyyftgw/ui/components/Scroller;->isFinished()Z

    move-result v2

    if-nez v2, :cond_7c

    .line 285
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFlingScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    .line 286
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mAdjustScroller:Lim/tpelyyftgw/ui/components/Scroller;

    invoke-virtual {v1, v4}, Lim/tpelyyftgw/ui/components/Scroller;->forceFinished(Z)V

    goto :goto_9d

    .line 287
    :cond_7c
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventY:F

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTopSelectionDividerTop:I

    int-to-float v3, v3

    cmpg-float v3, v2, v3

    if-gez v3, :cond_8e

    .line 288
    invoke-static {}, Landroid/view/ViewConfiguration;->getLongPressTimeout()I

    move-result v2

    int-to-long v2, v2

    invoke-direct {p0, v1, v2, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->postChangeCurrentByOneFromLongPress(ZJ)V

    goto :goto_9d

    .line 289
    :cond_8e
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mBottomSelectionDividerBottom:I

    int-to-float v1, v1

    cmpl-float v1, v2, v1

    if-lez v1, :cond_9d

    .line 290
    invoke-static {}, Landroid/view/ViewConfiguration;->getLongPressTimeout()I

    move-result v1

    int-to-long v1, v1

    invoke-direct {p0, v4, v1, v2}, Lim/tpelyyftgw/ui/components/NumberPicker;->postChangeCurrentByOneFromLongPress(ZJ)V

    .line 292
    :cond_9d
    :goto_9d
    return v4

    .line 294
    :cond_9e
    return v1
.end method

.method protected onLayout(ZIIII)V
    .registers 18
    .param p1, "changed"    # Z
    .param p2, "left"    # I
    .param p3, "top"    # I
    .param p4, "right"    # I
    .param p5, "bottom"    # I

    .line 209
    move-object v0, p0

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMeasuredWidth()I

    move-result v1

    .line 210
    .local v1, "msrdWdth":I
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMeasuredHeight()I

    move-result v2

    .line 212
    .local v2, "msrdHght":I
    iget-object v3, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getMeasuredWidth()I

    move-result v3

    .line 213
    .local v3, "inptTxtMsrdWdth":I
    iget-object v4, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getMeasuredHeight()I

    move-result v4

    .line 214
    .local v4, "inptTxtMsrdHght":I
    sub-int v5, v1, v3

    div-int/lit8 v5, v5, 0x2

    .line 215
    .local v5, "inptTxtLeft":I
    sub-int v6, v2, v4

    div-int/lit8 v6, v6, 0x2

    .line 216
    .local v6, "inptTxtTop":I
    add-int v7, v5, v3

    .line 217
    .local v7, "inptTxtRight":I
    add-int v8, v6, v4

    .line 218
    .local v8, "inptTxtBottom":I
    iget-object v9, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v9, v5, v6, v7, v8}, Landroid/widget/TextView;->layout(IIII)V

    .line 220
    if-eqz p1, :cond_42

    .line 221
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheel()V

    .line 222
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeFadingEdges()V

    .line 223
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getHeight()I

    move-result v9

    iget v10, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividersDistance:I

    sub-int/2addr v9, v10

    div-int/lit8 v9, v9, 0x2

    iget v11, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDividerHeight:I

    sub-int/2addr v9, v11

    iput v9, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTopSelectionDividerTop:I

    .line 224
    mul-int/lit8 v11, v11, 0x2

    add-int/2addr v9, v11

    add-int/2addr v9, v10

    iput v9, v0, Lim/tpelyyftgw/ui/components/NumberPicker;->mBottomSelectionDividerBottom:I

    .line 226
    :cond_42
    return-void
.end method

.method protected onMeasure(II)V
    .registers 8
    .param p1, "widthMeasureSpec"    # I
    .param p2, "heightMeasureSpec"    # I

    .line 230
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxWidth:I

    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->makeMeasureSpec(II)I

    move-result v0

    .line 231
    .local v0, "newWidthMeasureSpec":I
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxHeight:I

    invoke-direct {p0, p2, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->makeMeasureSpec(II)I

    move-result v1

    .line 232
    .local v1, "newHeightMeasureSpec":I
    invoke-super {p0, v0, v1}, Landroid/widget/LinearLayout;->onMeasure(II)V

    .line 233
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinWidth:I

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMeasuredWidth()I

    move-result v3

    invoke-direct {p0, v2, v3, p1}, Lim/tpelyyftgw/ui/components/NumberPicker;->resolveSizeAndStateRespectingMinSize(III)I

    move-result v2

    .line 234
    .local v2, "widthSize":I
    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinHeight:I

    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->getMeasuredHeight()I

    move-result v4

    invoke-direct {p0, v3, v4, p2}, Lim/tpelyyftgw/ui/components/NumberPicker;->resolveSizeAndStateRespectingMinSize(III)I

    move-result v3

    .line 235
    .local v3, "heightSize":I
    invoke-virtual {p0, v2, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->setMeasuredDimension(II)V

    .line 236
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .registers 15
    .param p1, "event"    # Landroid/view/MotionEvent;

    .line 308
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->isEnabled()Z

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_8

    .line 309
    return v1

    .line 311
    :cond_8
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    if-nez v0, :cond_12

    .line 312
    invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    .line 314
    :cond_12
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    .line 315
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v0

    .line 316
    .local v0, "action":I
    const/4 v2, 0x2

    const/4 v3, 0x1

    if-eq v0, v3, :cond_54

    if-eq v0, v2, :cond_23

    goto/16 :goto_c7

    .line 318
    :cond_23
    iget-boolean v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mIngonreMoveEvents:Z

    if-eqz v2, :cond_29

    .line 319
    goto/16 :goto_c7

    .line 321
    :cond_29
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    .line 322
    .local v2, "currentMoveY":F
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mScrollState:I

    if-eq v4, v3, :cond_45

    .line 323
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventY:F

    sub-float v1, v2, v1

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    float-to-int v1, v1

    .line 324
    .local v1, "deltaDownY":I
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTouchSlop:I

    if-le v1, v4, :cond_44

    .line 325
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeAllCallbacks()V

    .line 326
    invoke-direct {p0, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollStateChange(I)V

    .line 328
    .end local v1    # "deltaDownY":I
    :cond_44
    goto :goto_50

    .line 329
    :cond_45
    iget v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownOrMoveEventY:F

    sub-float v4, v2, v4

    float-to-int v4, v4

    .line 330
    .local v4, "deltaMoveY":I
    invoke-virtual {p0, v1, v4}, Lim/tpelyyftgw/ui/components/NumberPicker;->scrollBy(II)V

    .line 331
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 333
    .end local v4    # "deltaMoveY":I
    :goto_50
    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownOrMoveEventY:F

    .line 335
    .end local v2    # "currentMoveY":F
    goto/16 :goto_c7

    .line 337
    :cond_54
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->removeChangeCurrentByOneFromLongPress()V

    .line 338
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-virtual {v4}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->cancel()V

    .line 339
    iget-object v4, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    .line 340
    .local v4, "velocityTracker":Landroid/view/VelocityTracker;
    const/16 v5, 0x3e8

    iget v6, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaximumFlingVelocity:I

    int-to-float v6, v6

    invoke-virtual {v4, v5, v6}, Landroid/view/VelocityTracker;->computeCurrentVelocity(IF)V

    .line 341
    invoke-virtual {v4}, Landroid/view/VelocityTracker;->getYVelocity()F

    move-result v5

    float-to-int v5, v5

    .line 342
    .local v5, "initialVelocity":I
    invoke-static {v5}, Ljava/lang/Math;->abs(I)I

    move-result v6

    iget v7, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinimumFlingVelocity:I

    if-le v6, v7, :cond_7a

    .line 343
    invoke-direct {p0, v5}, Lim/tpelyyftgw/ui/components/NumberPicker;->fling(I)V

    .line 344
    invoke-direct {p0, v2}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollStateChange(I)V

    goto :goto_bf

    .line 346
    :cond_7a
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v6

    float-to-int v6, v6

    .line 347
    .local v6, "eventY":I
    int-to-float v7, v6

    iget v8, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventY:F

    sub-float/2addr v7, v8

    invoke-static {v7}, Ljava/lang/Math;->abs(F)F

    move-result v7

    float-to-int v7, v7

    .line 348
    .local v7, "deltaMoveY":I
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getEventTime()J

    move-result-wide v8

    iget-wide v10, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLastDownEventTime:J

    sub-long/2addr v8, v10

    .line 349
    .local v8, "deltaTime":J
    iget v10, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mTouchSlop:I

    if-gt v7, v10, :cond_b9

    invoke-static {}, Landroid/view/ViewConfiguration;->getTapTimeout()I

    move-result v10

    int-to-long v10, v10

    cmp-long v12, v8, v10

    if-gez v12, :cond_b9

    .line 350
    iget v10, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    div-int v10, v6, v10

    iget v11, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    sub-int/2addr v10, v11

    .line 351
    .local v10, "selectorIndexOffset":I
    if-lez v10, :cond_ae

    .line 352
    invoke-direct {p0, v3}, Lim/tpelyyftgw/ui/components/NumberPicker;->changeValueByOne(Z)V

    .line 353
    iget-object v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-virtual {v2, v3}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->buttonTapped(I)V

    goto :goto_b8

    .line 355
    :cond_ae
    if-gez v10, :cond_b8

    .line 356
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->changeValueByOne(Z)V

    .line 357
    iget-object v11, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mPressedStateHelper:Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;

    invoke-virtual {v11, v2}, Lim/tpelyyftgw/ui/components/NumberPicker$PressedStateHelper;->buttonTapped(I)V

    .line 360
    .end local v10    # "selectorIndexOffset":I
    :cond_b8
    :goto_b8
    goto :goto_bc

    .line 361
    :cond_b9
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->ensureScrollWheelAdjusted()Z

    .line 363
    :goto_bc
    invoke-direct {p0, v1}, Lim/tpelyyftgw/ui/components/NumberPicker;->onScrollStateChange(I)V

    .line 365
    .end local v6    # "eventY":I
    .end local v7    # "deltaMoveY":I
    .end local v8    # "deltaTime":J
    :goto_bf
    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    invoke-virtual {v1}, Landroid/view/VelocityTracker;->recycle()V

    .line 366
    const/4 v1, 0x0

    iput-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mVelocityTracker:Landroid/view/VelocityTracker;

    .line 370
    .end local v4    # "velocityTracker":Landroid/view/VelocityTracker;
    .end local v5    # "initialVelocity":I
    :goto_c7
    return v3
.end method

.method public scrollBy(II)V
    .registers 8
    .param p1, "x"    # I
    .param p2, "y"    # I

    .line 462
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 463
    .local v0, "selectorIndices":[I
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-nez v1, :cond_1a

    if-lez p2, :cond_1a

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-gt v1, v2, :cond_1a

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    add-int/2addr v1, p2

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    if-le v1, v2, :cond_1a

    .line 464
    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 465
    return-void

    .line 467
    :cond_1a
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-nez v1, :cond_32

    if-gez p2, :cond_32

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-lt v1, v2, :cond_32

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    add-int/2addr v1, p2

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    if-ge v1, v2, :cond_32

    .line 468
    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 469
    return-void

    .line 471
    :cond_32
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    add-int/2addr v1, p2

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 472
    :cond_37
    :goto_37
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    sub-int v2, v1, v2

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorTextGapHeight:I

    const/4 v4, 0x1

    if-le v2, v3, :cond_66

    .line 473
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    sub-int/2addr v1, v2

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 474
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->decrementSelectorIndices([I)V

    .line 475
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    invoke-direct {p0, v1, v4}, Lim/tpelyyftgw/ui/components/NumberPicker;->setValueInternal(IZ)V

    .line 476
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-nez v1, :cond_37

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-gt v1, v2, :cond_37

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    if-le v1, v2, :cond_37

    .line 477
    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    goto :goto_37

    .line 480
    :cond_66
    :goto_66
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    sub-int v2, v1, v2

    iget v3, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorTextGapHeight:I

    neg-int v3, v3

    if-ge v2, v3, :cond_95

    .line 481
    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorElementHeight:I

    add-int/2addr v1, v2

    iput v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    .line 482
    invoke-direct {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->incrementSelectorIndices([I)V

    .line 483
    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    invoke-direct {p0, v1, v4}, Lim/tpelyyftgw/ui/components/NumberPicker;->setValueInternal(IZ)V

    .line 484
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-nez v1, :cond_66

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    aget v1, v0, v1

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-lt v1, v2, :cond_66

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    iget v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInitialScrollOffset:I

    if-ge v1, v2, :cond_66

    .line 485
    iput v2, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mCurrentScrollOffset:I

    goto :goto_66

    .line 488
    :cond_95
    return-void
.end method

.method public setDisplayedValues([Ljava/lang/String;)V
    .registers 3
    .param p1, "displayedValues"    # [Ljava/lang/String;

    .line 645
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    if-ne v0, p1, :cond_5

    .line 646
    return-void

    .line 648
    :cond_5
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mDisplayedValues:[Ljava/lang/String;

    .line 649
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 650
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 651
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->tryComputeMaxWidth()V

    .line 652
    return-void
.end method

.method public setEnabled(Z)V
    .registers 3
    .param p1, "enabled"    # Z

    .line 456
    invoke-super {p0, p1}, Landroid/widget/LinearLayout;->setEnabled(Z)V

    .line 457
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setEnabled(Z)V

    .line 458
    return-void
.end method

.method public setFormatter(Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;)V
    .registers 3
    .param p1, "formatter"    # Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;

    .line 519
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFormatter:Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;

    if-ne p1, v0, :cond_5

    .line 520
    return-void

    .line 522
    :cond_5
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mFormatter:Lim/tpelyyftgw/ui/components/NumberPicker$Formatter;

    .line 523
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 524
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 525
    return-void
.end method

.method public setItemCount(I)V
    .registers 3
    .param p1, "count"    # I

    .line 125
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_WHEEL_ITEM_COUNT:I

    if-ne v0, p1, :cond_5

    .line 126
    return-void

    .line 128
    :cond_5
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_WHEEL_ITEM_COUNT:I

    .line 129
    div-int/lit8 v0, p1, 0x2

    iput v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->SELECTOR_MIDDLE_ITEM_INDEX:I

    .line 130
    new-array v0, p1, [I

    iput-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    .line 131
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 132
    return-void
.end method

.method public setMaxValue(I)V
    .registers 4
    .param p1, "maxValue"    # I

    .line 622
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    if-ne v0, p1, :cond_5

    .line 623
    return-void

    .line 625
    :cond_5
    if-ltz p1, :cond_2c

    .line 628
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    .line 629
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    if-ge p1, v0, :cond_f

    .line 630
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    .line 632
    :cond_f
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v0, v1

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    array-length v1, v1

    if-le v0, v1, :cond_1b

    const/4 v0, 0x1

    goto :goto_1c

    :cond_1b
    const/4 v0, 0x0

    .line 633
    .local v0, "wrapSelectorWheel":Z
    :goto_1c
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setWrapSelectorWheel(Z)V

    .line 634
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 635
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 636
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->tryComputeMaxWidth()V

    .line 637
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 638
    return-void

    .line 626
    .end local v0    # "wrapSelectorWheel":Z
    :cond_2c
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "maxValue must be >= 0"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setMinValue(I)V
    .registers 4
    .param p1, "minValue"    # I

    .line 599
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    if-ne v0, p1, :cond_5

    .line 600
    return-void

    .line 602
    :cond_5
    if-ltz p1, :cond_2c

    .line 605
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    .line 606
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    if-le p1, v0, :cond_f

    .line 607
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mValue:I

    .line 609
    :cond_f
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v0, v1

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    array-length v1, v1

    if-le v0, v1, :cond_1b

    const/4 v0, 0x1

    goto :goto_1c

    :cond_1b
    const/4 v0, 0x0

    .line 610
    .local v0, "wrapSelectorWheel":Z
    :goto_1c
    invoke-virtual {p0, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setWrapSelectorWheel(Z)V

    .line 611
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->initializeSelectorWheelIndices()V

    .line 612
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->updateInputTextView()Z

    .line 613
    invoke-direct {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->tryComputeMaxWidth()V

    .line 614
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 615
    return-void

    .line 603
    .end local v0    # "wrapSelectorWheel":Z
    :cond_2c
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "minValue must be >= 0"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setOnLongPressUpdateInterval(J)V
    .registers 3
    .param p1, "intervalMillis"    # J

    .line 587
    iput-wide p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mLongPressUpdateInterval:J

    .line 588
    return-void
.end method

.method public setOnScrollListener(Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;)V
    .registers 2
    .param p1, "onScrollListener"    # Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;

    .line 515
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mOnScrollListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnScrollListener;

    .line 516
    return-void
.end method

.method public setOnValueChangedListener(Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;)V
    .registers 2
    .param p1, "onValueChangedListener"    # Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;

    .line 511
    iput-object p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mOnValueChangeListener:Lim/tpelyyftgw/ui/components/NumberPicker$OnValueChangeListener;

    .line 512
    return-void
.end method

.method public setSelectorColor(I)V
    .registers 3
    .param p1, "color"    # I

    .line 199
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectionDivider:Landroid/graphics/Paint;

    invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V

    .line 200
    return-void
.end method

.method public setTextColor(I)V
    .registers 3
    .param p1, "color"    # I

    .line 194
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mInputText:Landroid/widget/TextView;

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

    .line 195
    iget-object v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorWheelPaint:Landroid/graphics/Paint;

    invoke-virtual {v0, p1}, Landroid/graphics/Paint;->setColor(I)V

    .line 196
    return-void
.end method

.method public setTextOffset(I)V
    .registers 2
    .param p1, "value"    # I

    .line 532
    iput p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->textOffset:I

    .line 533
    invoke-virtual {p0}, Lim/tpelyyftgw/ui/components/NumberPicker;->invalidate()V

    .line 534
    return-void
.end method

.method public setValue(I)V
    .registers 3
    .param p1, "value"    # I

    .line 528
    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lim/tpelyyftgw/ui/components/NumberPicker;->setValueInternal(IZ)V

    .line 529
    return-void
.end method

.method public setWrapSelectorWheel(Z)V
    .registers 4
    .param p1, "wrapSelectorWheel"    # Z

    .line 580
    iget v0, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMaxValue:I

    iget v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mMinValue:I

    sub-int/2addr v0, v1

    iget-object v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mSelectorIndices:[I

    array-length v1, v1

    if-lt v0, v1, :cond_c

    const/4 v0, 0x1

    goto :goto_d

    :cond_c
    const/4 v0, 0x0

    .line 581
    .local v0, "wrappingAllowed":Z
    :goto_d
    if-eqz p1, :cond_11

    if-eqz v0, :cond_17

    :cond_11
    iget-boolean v1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    if-eq p1, v1, :cond_17

    .line 582
    iput-boolean p1, p0, Lim/tpelyyftgw/ui/components/NumberPicker;->mWrapSelectorWheel:Z

    .line 584
    :cond_17
    return-void
.end method