Weather/smali/android/support/v4/widget/TextViewCompat$TextViewCompatApi17Impl.smali
2021-05-10 10:13:34 +02:00

266 lines
6.3 KiB
Smali

.class Landroid/support/v4/widget/TextViewCompat$TextViewCompatApi17Impl;
.super Landroid/support/v4/widget/TextViewCompat$TextViewCompatApi16Impl;
.source "TextViewCompat.java"
# annotations
.annotation build Landroid/support/annotation/RequiresApi;
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/widget/TextViewCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = "TextViewCompatApi17Impl"
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
.line 256
invoke-direct {p0}, Landroid/support/v4/widget/TextViewCompat$TextViewCompatApi16Impl;-><init>()V
return-void
.end method
# virtual methods
.method public getCompoundDrawablesRelative(Landroid/widget/TextView;)[Landroid/graphics/drawable/Drawable;
.locals 4
.param p1 # Landroid/widget/TextView;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.line 285
invoke-virtual {p1}, Landroid/widget/TextView;->getLayoutDirection()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 286
:goto_0
invoke-virtual {p1}, Landroid/widget/TextView;->getCompoundDrawables()[Landroid/graphics/drawable/Drawable;
move-result-object p1
if-eqz v1, :cond_1
const/4 v0, 0x2
.line 289
aget-object v1, p1, v0
.line 290
aget-object v3, p1, v2
.line 291
aput-object v1, p1, v2
.line 292
aput-object v3, p1, v0
:cond_1
return-object p1
.end method
.method public setCompoundDrawablesRelative(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
.locals 2
.param p1 # Landroid/widget/TextView;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p3 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p4 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p5 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.line 261
invoke-virtual {p1}, Landroid/widget/TextView;->getLayoutDirection()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_1
move-object v0, p4
goto :goto_1
:cond_1
move-object v0, p2
:goto_1
if-eqz v1, :cond_2
goto :goto_2
:cond_2
move-object p2, p4
.line 262
:goto_2
invoke-virtual {p1, v0, p3, p2, p5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
return-void
.end method
.method public setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/widget/TextView;IIII)V
.locals 2
.param p1 # Landroid/widget/TextView;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.param p2 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p3 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p4 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.param p5 # I
.annotation build Landroid/support/annotation/DrawableRes;
.end annotation
.end param
.line 278
invoke-virtual {p1}, Landroid/widget/TextView;->getLayoutDirection()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_1
move v0, p4
goto :goto_1
:cond_1
move v0, p2
:goto_1
if-eqz v1, :cond_2
goto :goto_2
:cond_2
move p2, p4
.line 279
:goto_2
invoke-virtual {p1, v0, p3, p2, p5}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V
return-void
.end method
.method public setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
.locals 2
.param p1 # Landroid/widget/TextView;
.annotation build Landroid/support/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p3 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p4 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.param p5 # Landroid/graphics/drawable/Drawable;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.line 269
invoke-virtual {p1}, Landroid/widget/TextView;->getLayoutDirection()I
move-result v0
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_1
move-object v0, p4
goto :goto_1
:cond_1
move-object v0, p2
:goto_1
if-eqz v1, :cond_2
goto :goto_2
:cond_2
move-object p2, p4
.line 270
:goto_2
invoke-virtual {p1, v0, p3, p2, p5}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
return-void
.end method