1336 lines
31 KiB
Smali
1336 lines
31 KiB
Smali
.class Landroidx/appcompat/widget/DropDownListView;
|
|
.super Landroid/widget/ListView;
|
|
.source "DropDownListView.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;,
|
|
Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INVALID_POSITION:I = -0x1
|
|
|
|
.field public static final NO_POSITION:I = -0x1
|
|
|
|
|
|
# instance fields
|
|
.field private mClickAnimation:Landroidx/core/view/ViewPropertyAnimatorCompat;
|
|
|
|
.field private mDrawsInPressedState:Z
|
|
|
|
.field private mHijackFocus:Z
|
|
|
|
.field private mIsChildViewEnabled:Ljava/lang/reflect/Field;
|
|
|
|
.field private mListSelectionHidden:Z
|
|
|
|
.field private mMotionPosition:I
|
|
|
|
.field mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
.field private mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
.field private mSelectionBottomPadding:I
|
|
|
|
.field private mSelectionLeftPadding:I
|
|
|
|
.field private mSelectionRightPadding:I
|
|
|
|
.field private mSelectionTopPadding:I
|
|
|
|
.field private mSelector:Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
|
|
.field private final mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/content/Context;Z)V
|
|
.locals 2
|
|
|
|
sget v0, Landroidx/appcompat/R$attr;->dropDownListViewStyle:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {p0, p1, v1, v0}, Landroid/widget/ListView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
new-instance p1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionLeftPadding:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionTopPadding:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionRightPadding:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionBottomPadding:I
|
|
|
|
iput-boolean p2, p0, Landroidx/appcompat/widget/DropDownListView;->mHijackFocus:Z
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/appcompat/widget/DropDownListView;->setCacheColorHint(I)V
|
|
|
|
:try_start_0
|
|
const-class p1, Landroid/widget/AbsListView;
|
|
|
|
const-string p2, "mIsChildViewEnabled"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/appcompat/widget/DropDownListView;->mIsChildViewEnabled:Ljava/lang/reflect/Field;
|
|
|
|
iget-object p1, p0, Landroidx/appcompat/widget/DropDownListView;->mIsChildViewEnabled:Ljava/lang/reflect/Field;
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/NoSuchFieldException;->printStackTrace()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private clearPressedItem()V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mDrawsInPressedState:Z
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/DropDownListView;->setPressed(Z)V
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->drawableStateChanged()V
|
|
|
|
iget v1, p0, Landroidx/appcompat/widget/DropDownListView;->mMotionPosition:I
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getFirstVisiblePosition()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/DropDownListView;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v1, v0}, Landroid/view/View;->setPressed(Z)V
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mClickAnimation:Landroidx/core/view/ViewPropertyAnimatorCompat;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroidx/core/view/ViewPropertyAnimatorCompat;->cancel()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mClickAnimation:Landroidx/core/view/ViewPropertyAnimatorCompat;
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private clickPressedItem(Landroid/view/View;I)V
|
|
.locals 2
|
|
|
|
invoke-virtual {p0, p2}, Landroidx/appcompat/widget/DropDownListView;->getItemIdAtPosition(I)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-virtual {p0, p1, p2, v0, v1}, Landroidx/appcompat/widget/DropDownListView;->performItemClick(Landroid/view/View;IJ)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private drawSelectorCompat(Landroid/graphics/Canvas;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v0}, Landroid/graphics/Rect;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getSelector()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setBounds(Landroid/graphics/Rect;)V
|
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private positionSelectorCompat(ILandroid/view/View;)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getRight()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getBottom()I
|
|
|
|
move-result v4
|
|
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v2, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionLeftPadding:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v2, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionTopPadding:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
iget v2, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionRightPadding:I
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
iget v1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget v2, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionBottomPadding:I
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
iput v1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mIsChildViewEnabled:Ljava/lang/reflect/Field;
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/reflect/Field;->getBoolean(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->isEnabled()Z
|
|
|
|
move-result p2
|
|
|
|
if-eq p2, v0, :cond_1
|
|
|
|
iget-object p2, p0, Landroidx/appcompat/widget/DropDownListView;->mIsChildViewEnabled:Ljava/lang/reflect/Field;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, p0, v0}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
const/4 p2, -0x1
|
|
|
|
if-eq p1, p2, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->refreshDrawableState()V
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:cond_1
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/IllegalAccessException;->printStackTrace()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private positionSelectorLikeFocusCompat(ILandroid/view/View;)V
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getSelector()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eq p1, v3, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-virtual {v0, v2, v2}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
|
|
|
|
:cond_1
|
|
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/DropDownListView;->positionSelectorCompat(ILandroid/view/View;)V
|
|
|
|
if-eqz v3, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectorRect:Landroid/graphics/Rect;
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->exactCenterX()F
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1}, Landroid/graphics/Rect;->exactCenterY()F
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getVisibility()I
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
invoke-virtual {v0, v1, v2}, Landroid/graphics/drawable/Drawable;->setVisible(ZZ)Z
|
|
|
|
invoke-static {v0, p2, p1}, Landroidx/core/graphics/drawable/DrawableCompat;->setHotspot(Landroid/graphics/drawable/Drawable;FF)V
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method private positionSelectorLikeTouchCompat(ILandroid/view/View;FF)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0, p1, p2}, Landroidx/appcompat/widget/DropDownListView;->positionSelectorLikeFocusCompat(ILandroid/view/View;)V
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getSelector()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eq p1, v0, :cond_0
|
|
|
|
invoke-static {p2, p3, p4}, Landroidx/core/graphics/drawable/DrawableCompat;->setHotspot(Landroid/graphics/drawable/Drawable;FF)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private setPressedItem(Landroid/view/View;IFF)V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mDrawsInPressedState:Z
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v2, 0x15
|
|
|
|
if-lt v1, v2, :cond_0
|
|
|
|
invoke-virtual {p0, p3, p4}, Landroidx/appcompat/widget/DropDownListView;->drawableHotspotChanged(FF)V
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->isPressed()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/DropDownListView;->setPressed(Z)V
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->layoutChildren()V
|
|
|
|
iget v1, p0, Landroidx/appcompat/widget/DropDownListView;->mMotionPosition:I
|
|
|
|
const/4 v3, -0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-eq v1, v3, :cond_2
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getFirstVisiblePosition()I
|
|
|
|
move-result v3
|
|
|
|
sub-int/2addr v1, v3
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/appcompat/widget/DropDownListView;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
if-eq v1, p1, :cond_2
|
|
|
|
invoke-virtual {v1}, Landroid/view/View;->isPressed()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-virtual {v1, v4}, Landroid/view/View;->setPressed(Z)V
|
|
|
|
:cond_2
|
|
iput p2, p0, Landroidx/appcompat/widget/DropDownListView;->mMotionPosition:I
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getLeft()I
|
|
|
|
move-result v1
|
|
|
|
int-to-float v1, v1
|
|
|
|
sub-float v1, p3, v1
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
sub-float v3, p4, v3
|
|
|
|
sget v5, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
if-lt v5, v2, :cond_3
|
|
|
|
invoke-virtual {p1, v1, v3}, Landroid/view/View;->drawableHotspotChanged(FF)V
|
|
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroid/view/View;->isPressed()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setPressed(Z)V
|
|
|
|
:cond_4
|
|
invoke-direct {p0, p2, p1, p3, p4}, Landroidx/appcompat/widget/DropDownListView;->positionSelectorLikeTouchCompat(ILandroid/view/View;FF)V
|
|
|
|
invoke-direct {p0, v4}, Landroidx/appcompat/widget/DropDownListView;->setSelectorEnabled(Z)V
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->refreshDrawableState()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private setSelectorEnabled(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mSelector:Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;->setEnabled(Z)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private touchModeDrawsInPressedStateCompat()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mDrawsInPressedState:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private updateSelectorStateCompat()V
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getSelector()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/DropDownListView;->touchModeDrawsInPressedStateCompat()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->isPressed()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getDrawableState()[I
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setState([I)Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected dispatchDraw(Landroid/graphics/Canvas;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Landroidx/appcompat/widget/DropDownListView;->drawSelectorCompat(Landroid/graphics/Canvas;)V
|
|
|
|
invoke-super {p0, p1}, Landroid/widget/ListView;->dispatchDraw(Landroid/graphics/Canvas;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected drawableStateChanged()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/ListView;->drawableStateChanged()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {p0, v0}, Landroidx/appcompat/widget/DropDownListView;->setSelectorEnabled(Z)V
|
|
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/DropDownListView;->updateSelectorStateCompat()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hasFocus()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mHijackFocus:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-super {p0}, Landroid/widget/ListView;->hasFocus()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public hasWindowFocus()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mHijackFocus:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-super {p0}, Landroid/widget/ListView;->hasWindowFocus()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isFocused()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mHijackFocus:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
invoke-super {p0}, Landroid/widget/ListView;->isFocused()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isInTouchMode()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mHijackFocus:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Landroidx/appcompat/widget/DropDownListView;->mListSelectionHidden:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/widget/ListView;->isInTouchMode()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
:cond_1
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public lookForSelectablePosition(IZ)I
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->isInTouchMode()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_0
|
|
invoke-interface {v0}, Landroid/widget/ListAdapter;->getCount()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v3}, Landroid/widget/ListAdapter;->areAllItemsEnabled()Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_5
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
invoke-static {p2, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p1
|
|
|
|
:goto_0
|
|
if-ge p1, v2, :cond_2
|
|
|
|
invoke-interface {v0, p1}, Landroid/widget/ListAdapter;->isEnabled(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
add-int/lit8 p2, v2, -0x1
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p1
|
|
|
|
:goto_1
|
|
if-ltz p1, :cond_2
|
|
|
|
invoke-interface {v0, p1}, Landroid/widget/ListAdapter;->isEnabled(I)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-ltz p1, :cond_4
|
|
|
|
if-lt p1, v2, :cond_3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
return p1
|
|
|
|
:cond_4
|
|
:goto_2
|
|
return v1
|
|
|
|
:cond_5
|
|
if-ltz p1, :cond_7
|
|
|
|
if-lt p1, v2, :cond_6
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
return p1
|
|
|
|
:cond_7
|
|
:goto_3
|
|
return v1
|
|
|
|
:cond_8
|
|
:goto_4
|
|
return v1
|
|
.end method
|
|
|
|
.method public measureHeightOfChildrenCompat(IIIII)I
|
|
.locals 10
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getListPaddingTop()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getListPaddingBottom()I
|
|
|
|
move-result p3
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getListPaddingLeft()I
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getListPaddingRight()I
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getDividerHeight()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getDivider()Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getAdapter()Landroid/widget/ListAdapter;
|
|
|
|
move-result-object v2
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
add-int/2addr p2, p3
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/2addr p2, p3
|
|
|
|
const/4 p3, 0x0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {v2}, Landroid/widget/ListAdapter;->getCount()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move v4, p2
|
|
|
|
move-object v6, v3
|
|
|
|
const/4 p2, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
:goto_1
|
|
if-ge p2, v1, :cond_9
|
|
|
|
invoke-interface {v2, p2}, Landroid/widget/ListAdapter;->getItemViewType(I)I
|
|
|
|
move-result v8
|
|
|
|
if-eq v8, v5, :cond_2
|
|
|
|
move-object v6, v3
|
|
|
|
move v5, v8
|
|
|
|
:cond_2
|
|
invoke-interface {v2, p2, v6, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v8
|
|
|
|
if-nez v8, :cond_3
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v6, v8}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:cond_3
|
|
iget v9, v8, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
if-lez v9, :cond_4
|
|
|
|
iget v8, v8, Landroid/view/ViewGroup$LayoutParams;->height:I
|
|
|
|
const/high16 v9, 0x40000000 # 2.0f
|
|
|
|
invoke-static {v8, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v8
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
invoke-static {p3, p3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v8
|
|
|
|
:goto_2
|
|
invoke-virtual {v6, p1, v8}, Landroid/view/View;->measure(II)V
|
|
|
|
invoke-virtual {v6}, Landroid/view/View;->forceLayout()V
|
|
|
|
if-lez p2, :cond_5
|
|
|
|
add-int/2addr v4, v0
|
|
|
|
:cond_5
|
|
invoke-virtual {v6}, Landroid/view/View;->getMeasuredHeight()I
|
|
|
|
move-result v8
|
|
|
|
add-int/2addr v4, v8
|
|
|
|
if-lt v4, p4, :cond_7
|
|
|
|
if-ltz p5, :cond_6
|
|
|
|
if-le p2, p5, :cond_6
|
|
|
|
if-lez v7, :cond_6
|
|
|
|
if-eq v4, p4, :cond_6
|
|
|
|
return v7
|
|
|
|
:cond_6
|
|
return p4
|
|
|
|
:cond_7
|
|
if-ltz p5, :cond_8
|
|
|
|
if-lt p2, p5, :cond_8
|
|
|
|
move v7, v4
|
|
|
|
:cond_8
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_9
|
|
return v4
|
|
.end method
|
|
|
|
.method protected onDetachedFromWindow()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
invoke-super {p0}, Landroid/widget/ListView;->onDetachedFromWindow()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onForwardedEvent(Landroid/view/MotionEvent;I)Z
|
|
.locals 7
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_0
|
|
const/4 p2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_1
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_2
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->findPointerIndex(I)I
|
|
|
|
move-result p2
|
|
|
|
if-gez p2, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->getX(I)F
|
|
|
|
move-result v4
|
|
|
|
float-to-int v4, v4
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->getY(I)F
|
|
|
|
move-result p2
|
|
|
|
float-to-int p2, p2
|
|
|
|
invoke-virtual {p0, v4, p2}, Landroidx/appcompat/widget/DropDownListView;->pointToPosition(II)I
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, -0x1
|
|
|
|
if-ne v5, v6, :cond_1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getFirstVisiblePosition()I
|
|
|
|
move-result v3
|
|
|
|
sub-int v3, v5, v3
|
|
|
|
invoke-virtual {p0, v3}, Landroidx/appcompat/widget/DropDownListView;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v3
|
|
|
|
int-to-float v4, v4
|
|
|
|
int-to-float p2, p2
|
|
|
|
invoke-direct {p0, v3, v5, v4, p2}, Landroidx/appcompat/widget/DropDownListView;->setPressedItem(Landroid/view/View;IFF)V
|
|
|
|
if-ne v0, v2, :cond_2
|
|
|
|
invoke-direct {p0, v3, v5}, Landroidx/appcompat/widget/DropDownListView;->clickPressedItem(Landroid/view/View;I)V
|
|
|
|
:cond_2
|
|
const/4 p2, 0x0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_3
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
:cond_3
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/DropDownListView;->clearPressedItem()V
|
|
|
|
:cond_4
|
|
if-eqz v3, :cond_6
|
|
|
|
iget-object p2, p0, Landroidx/appcompat/widget/DropDownListView;->mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
if-nez p2, :cond_5
|
|
|
|
new-instance p2, Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
invoke-direct {p2, p0}, Landroidx/core/widget/ListViewAutoScrollHelper;-><init>(Landroid/widget/ListView;)V
|
|
|
|
iput-object p2, p0, Landroidx/appcompat/widget/DropDownListView;->mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
:cond_5
|
|
iget-object p2, p0, Landroidx/appcompat/widget/DropDownListView;->mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
invoke-virtual {p2, v2}, Landroidx/core/widget/ListViewAutoScrollHelper;->setEnabled(Z)Landroidx/core/widget/AutoScrollHelper;
|
|
|
|
iget-object p2, p0, Landroidx/appcompat/widget/DropDownListView;->mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
invoke-virtual {p2, p0, p1}, Landroidx/core/widget/ListViewAutoScrollHelper;->onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
iget-object p1, p0, Landroidx/appcompat/widget/DropDownListView;->mScrollHelper:Landroidx/core/widget/ListViewAutoScrollHelper;
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
invoke-virtual {p1, v1}, Landroidx/core/widget/ListViewAutoScrollHelper;->setEnabled(Z)Landroidx/core/widget/AutoScrollHelper;
|
|
|
|
:cond_7
|
|
:goto_2
|
|
return v3
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public onHoverEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 4
|
|
.param p1 # Landroid/view/MotionEvent;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1a
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
invoke-super {p0, p1}, Landroid/widget/ListView;->onHoverEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
iget-object v1, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
new-instance v1, Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;-><init>(Landroidx/appcompat/widget/DropDownListView;)V
|
|
|
|
iput-object v1, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
iget-object v1, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
invoke-virtual {v1}, Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;->post()V
|
|
|
|
:cond_1
|
|
invoke-super {p0, p1}, Landroid/widget/ListView;->onHoverEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x9
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eq v0, v2, :cond_3
|
|
|
|
const/4 v2, 0x7
|
|
|
|
if-ne v0, v2, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {p0, v3}, Landroidx/appcompat/widget/DropDownListView;->setSelection(I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v0
|
|
|
|
float-to-int v0, v0
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result p1
|
|
|
|
float-to-int p1, p1
|
|
|
|
invoke-virtual {p0, v0, p1}, Landroidx/appcompat/widget/DropDownListView;->pointToPosition(II)I
|
|
|
|
move-result p1
|
|
|
|
if-eq p1, v3, :cond_5
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getSelectedItemPosition()I
|
|
|
|
move-result v0
|
|
|
|
if-eq p1, v0, :cond_5
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getFirstVisiblePosition()I
|
|
|
|
move-result v0
|
|
|
|
sub-int v0, p1, v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/appcompat/widget/DropDownListView;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->isEnabled()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
invoke-virtual {v0}, Landroid/view/View;->getTop()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0}, Landroidx/appcompat/widget/DropDownListView;->getTop()I
|
|
|
|
move-result v2
|
|
|
|
sub-int/2addr v0, v2
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroidx/appcompat/widget/DropDownListView;->setSelectionFromTop(II)V
|
|
|
|
:cond_4
|
|
invoke-direct {p0}, Landroidx/appcompat/widget/DropDownListView;->updateSelectorStateCompat()V
|
|
|
|
:cond_5
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F
|
|
|
|
move-result v0
|
|
|
|
float-to-int v0, v0
|
|
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
|
|
|
|
move-result v1
|
|
|
|
float-to-int v1, v1
|
|
|
|
invoke-virtual {p0, v0, v1}, Landroidx/appcompat/widget/DropDownListView;->pointToPosition(II)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/appcompat/widget/DropDownListView;->mMotionPosition:I
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mResolveHoverRunnable:Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {v0}, Landroidx/appcompat/widget/DropDownListView$ResolveHoverRunnable;->cancel()V
|
|
|
|
:cond_1
|
|
invoke-super {p0, p1}, Landroid/widget/ListView;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method setListSelectionHidden(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Landroidx/appcompat/widget/DropDownListView;->mListSelectionHidden:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setSelector(Landroid/graphics/drawable/Drawable;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
new-instance v0, Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
|
|
invoke-direct {v0, p1}, Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;-><init>(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
iput-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mSelector:Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
|
|
iget-object v0, p0, Landroidx/appcompat/widget/DropDownListView;->mSelector:Landroidx/appcompat/widget/DropDownListView$GateKeeperDrawable;
|
|
|
|
invoke-super {p0, v0}, Landroid/widget/ListView;->setSelector(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/graphics/drawable/Drawable;->getPadding(Landroid/graphics/Rect;)Z
|
|
|
|
:cond_1
|
|
iget p1, v0, Landroid/graphics/Rect;->left:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionLeftPadding:I
|
|
|
|
iget p1, v0, Landroid/graphics/Rect;->top:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionTopPadding:I
|
|
|
|
iget p1, v0, Landroid/graphics/Rect;->right:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionRightPadding:I
|
|
|
|
iget p1, v0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iput p1, p0, Landroidx/appcompat/widget/DropDownListView;->mSelectionBottomPadding:I
|
|
|
|
return-void
|
|
.end method
|