* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1476 lines
26 KiB
Smali
1476 lines
26 KiB
Smali
.class public Landroidx/constraintlayout/utils/widget/MotionLabel;
|
|
.super Landroid/view/View;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/constraintlayout/motion/widget/FloatLayout;
|
|
|
|
|
|
# instance fields
|
|
.field public c:I
|
|
|
|
.field public f:Z
|
|
|
|
.field public g:F
|
|
|
|
.field public h:F
|
|
|
|
.field public i:F
|
|
|
|
.field public j:F
|
|
|
|
.field public k:Ljava/lang/String;
|
|
|
|
.field public l:I
|
|
|
|
.field public m:I
|
|
|
|
.field public n:I
|
|
|
|
.field public o:F
|
|
|
|
.field public p:F
|
|
|
|
.field public q:F
|
|
|
|
.field public r:F
|
|
|
|
.field public s:F
|
|
|
|
.field public t:F
|
|
|
|
.field public u:F
|
|
|
|
.field public v:F
|
|
|
|
|
|
# direct methods
|
|
.method private getHorizontalOffset()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->k:Ljava/lang/String;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/4 v0, 0x0
|
|
|
|
.line 12
|
|
throw v0
|
|
.end method
|
|
|
|
.method private getVerticalOffset()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->s:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->t:F
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->u:F
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->v:F
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
const/4 v0, 0x0
|
|
|
|
.line 22
|
|
throw v0
|
|
.end method
|
|
|
|
.method public getRound()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->h:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getRoundPercent()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->g:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getScaleFromTextSize()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextBackgroundPanX()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->s:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextBackgroundPanY()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->t:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextBackgroundRotate()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->v:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextBackgroundZoom()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->u:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextOutlineColor()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->c:I
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextPanX()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->q:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextPanY()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->r:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextureHeight()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->o:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTextureWidth()F
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->p:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return v0
|
|
.end method
|
|
|
|
.method public getTypeface()Landroid/graphics/Typeface;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final layout(IIII)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2, p3, p4}, Landroid/view/View;->layout(IIII)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
iget p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result p1
|
|
|
|
.line 10
|
|
const/high16 p2, 0x3f800000 # 1.0f
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
move p3, p2
|
|
|
|
.line 15
|
|
goto :goto_0
|
|
|
|
.line 16
|
|
:cond_0
|
|
iget p3, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->i:F
|
|
|
|
.line 17
|
|
.line 18
|
|
iget p4, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 19
|
|
.line 20
|
|
div-float/2addr p3, p4
|
|
|
|
.line 21
|
|
:goto_0
|
|
iget-boolean p4, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->f:Z
|
|
|
|
.line 22
|
|
.line 23
|
|
if-nez p4, :cond_1
|
|
|
|
.line 24
|
|
.line 25
|
|
if-nez p1, :cond_2
|
|
|
|
.line 26
|
|
.line 27
|
|
:cond_1
|
|
if-nez p4, :cond_3
|
|
|
|
.line 28
|
|
.line 29
|
|
cmpl-float p1, p3, p2
|
|
|
|
.line 30
|
|
.line 31
|
|
if-nez p1, :cond_3
|
|
|
|
.line 32
|
|
.line 33
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 34
|
|
:cond_3
|
|
const/4 p1, 0x0
|
|
|
|
.line 35
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onDraw(Landroid/graphics/Canvas;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result v0
|
|
|
|
.line 7
|
|
const/high16 v1, 0x3f800000 # 1.0f
|
|
|
|
.line 8
|
|
.line 9
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
move v0, v1
|
|
|
|
.line 12
|
|
goto :goto_0
|
|
|
|
.line 13
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->i:F
|
|
|
|
.line 14
|
|
.line 15
|
|
iget v2, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 16
|
|
.line 17
|
|
div-float/2addr v0, v2
|
|
|
|
.line 18
|
|
:goto_0
|
|
invoke-super {p0, p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
iget-boolean v2, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->f:Z
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v3, 0x0
|
|
|
|
.line 24
|
|
if-nez v2, :cond_1
|
|
|
|
.line 25
|
|
.line 26
|
|
cmpl-float v0, v0, v1
|
|
|
|
.line 27
|
|
.line 28
|
|
if-nez v0, :cond_1
|
|
|
|
.line 29
|
|
.line 30
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->l:I
|
|
|
|
.line 31
|
|
.line 32
|
|
int-to-float v0, v0
|
|
|
|
.line 33
|
|
invoke-direct {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->getHorizontalOffset()F
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v1
|
|
|
|
.line 37
|
|
add-float/2addr v0, v1
|
|
|
|
.line 38
|
|
iget v1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->m:I
|
|
|
|
.line 39
|
|
.line 40
|
|
int-to-float v1, v1
|
|
|
|
.line 41
|
|
invoke-direct {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->getVerticalOffset()F
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result v2
|
|
|
|
.line 45
|
|
add-float/2addr v1, v2
|
|
|
|
.line 46
|
|
iget-object v2, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->k:Ljava/lang/String;
|
|
|
|
.line 47
|
|
.line 48
|
|
const/4 v4, 0x0
|
|
|
|
.line 49
|
|
add-float/2addr v4, v0
|
|
|
|
.line 50
|
|
invoke-virtual {p1, v2, v4, v1, v3}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
return-void
|
|
|
|
.line 54
|
|
:cond_1
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 55
|
|
.line 56
|
|
throw v3
|
|
|
|
.line 57
|
|
:cond_2
|
|
invoke-direct {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->getHorizontalOffset()F
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
invoke-direct {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->getVerticalOffset()F
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
const/4 p1, 0x0
|
|
|
|
.line 64
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onMeasure(II)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result v1
|
|
|
|
.line 9
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result p1
|
|
|
|
.line 13
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p2
|
|
|
|
.line 17
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingLeft()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v2
|
|
|
|
.line 21
|
|
iput v2, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->l:I
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingRight()I
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingTop()I
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result v2
|
|
|
|
.line 30
|
|
iput v2, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->m:I
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p0}, Landroid/view/View;->getPaddingBottom()I
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
const/high16 v2, 0x40000000 # 2.0f
|
|
|
|
.line 36
|
|
.line 37
|
|
if-ne v0, v2, :cond_0
|
|
|
|
.line 38
|
|
.line 39
|
|
if-ne v1, v2, :cond_0
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
return-void
|
|
|
|
.line 45
|
|
:cond_0
|
|
iget-object p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->k:Ljava/lang/String;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
const/4 p1, 0x0
|
|
|
|
.line 51
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setGravity(I)V
|
|
.locals 7
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"RtlHardcoded"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
const v0, 0x800007
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
and-int v1, p1, v0
|
|
|
|
.line 5
|
|
.line 6
|
|
const v2, 0x800003
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
if-nez v1, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
or-int/2addr p1, v2
|
|
|
|
.line 12
|
|
:cond_0
|
|
and-int/lit8 v1, p1, 0x70
|
|
|
|
.line 13
|
|
.line 14
|
|
if-nez v1, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
or-int/lit8 p1, p1, 0x30
|
|
|
|
.line 17
|
|
.line 18
|
|
:cond_1
|
|
iget v1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->n:I
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eq p1, v1, :cond_2
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
:cond_2
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->n:I
|
|
|
|
.line 26
|
|
.line 27
|
|
and-int/lit8 v1, p1, 0x70
|
|
|
|
.line 28
|
|
.line 29
|
|
const/high16 v3, -0x40800000 # -1.0f
|
|
|
|
.line 30
|
|
.line 31
|
|
const/high16 v4, 0x3f800000 # 1.0f
|
|
|
|
.line 32
|
|
.line 33
|
|
const/4 v5, 0x0
|
|
|
|
.line 34
|
|
const/16 v6, 0x30
|
|
|
|
.line 35
|
|
.line 36
|
|
if-eq v1, v6, :cond_4
|
|
|
|
.line 37
|
|
.line 38
|
|
const/16 v6, 0x50
|
|
|
|
.line 39
|
|
.line 40
|
|
if-eq v1, v6, :cond_3
|
|
|
|
.line 41
|
|
.line 42
|
|
iput v5, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->r:F
|
|
|
|
.line 43
|
|
.line 44
|
|
goto :goto_0
|
|
|
|
.line 45
|
|
:cond_3
|
|
iput v4, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->r:F
|
|
|
|
.line 46
|
|
.line 47
|
|
goto :goto_0
|
|
|
|
.line 48
|
|
:cond_4
|
|
iput v3, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->r:F
|
|
|
|
.line 49
|
|
.line 50
|
|
:goto_0
|
|
and-int/2addr p1, v0
|
|
|
|
.line 51
|
|
const/4 v0, 0x3
|
|
|
|
.line 52
|
|
if-eq p1, v0, :cond_6
|
|
|
|
.line 53
|
|
.line 54
|
|
const/4 v0, 0x5
|
|
|
|
.line 55
|
|
if-eq p1, v0, :cond_5
|
|
|
|
.line 56
|
|
.line 57
|
|
if-eq p1, v2, :cond_6
|
|
|
|
.line 58
|
|
.line 59
|
|
const v0, 0x800005
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
if-eq p1, v0, :cond_5
|
|
|
|
.line 63
|
|
.line 64
|
|
iput v5, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->q:F
|
|
|
|
.line 65
|
|
.line 66
|
|
return-void
|
|
|
|
.line 67
|
|
:cond_5
|
|
iput v4, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->q:F
|
|
|
|
.line 68
|
|
.line 69
|
|
return-void
|
|
|
|
.line 70
|
|
:cond_6
|
|
iput v3, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->q:F
|
|
|
|
.line 71
|
|
.line 72
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRound(F)V
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->h:F
|
|
|
|
.line 8
|
|
.line 9
|
|
iget p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->g:F
|
|
|
|
.line 10
|
|
.line 11
|
|
const/high16 v0, -0x40800000 # -1.0f
|
|
|
|
.line 12
|
|
.line 13
|
|
iput v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->g:F
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-virtual {p0, p1}, Landroidx/constraintlayout/utils/widget/MotionLabel;->setRoundPercent(F)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-void
|
|
|
|
.line 19
|
|
:cond_0
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->h:F
|
|
|
|
.line 20
|
|
.line 21
|
|
cmpl-float v0, v0, p1
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v1, 0x0
|
|
|
|
.line 24
|
|
const/4 v2, 0x1
|
|
|
|
.line 25
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 26
|
|
.line 27
|
|
move v0, v2
|
|
|
|
.line 28
|
|
goto :goto_0
|
|
|
|
.line 29
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
.line 30
|
|
:goto_0
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->h:F
|
|
|
|
.line 31
|
|
.line 32
|
|
const/4 v3, 0x0
|
|
|
|
.line 33
|
|
cmpl-float p1, p1, v3
|
|
|
|
.line 34
|
|
.line 35
|
|
if-nez p1, :cond_3
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setClipToOutline(Z)V
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidateOutline()V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_3
|
|
invoke-virtual {p0, v2}, Landroid/view/View;->setClipToOutline(Z)V
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
const/4 p1, 0x0
|
|
|
|
.line 56
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setRoundPercent(F)V
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->g:F
|
|
|
|
.line 2
|
|
.line 3
|
|
cmpl-float v0, v0, p1
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v1, 0x0
|
|
|
|
.line 6
|
|
const/4 v2, 0x1
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
move v0, v2
|
|
|
|
.line 10
|
|
goto :goto_0
|
|
|
|
.line 11
|
|
:cond_0
|
|
move v0, v1
|
|
|
|
.line 12
|
|
:goto_0
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->g:F
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v3, 0x0
|
|
|
|
.line 15
|
|
cmpl-float p1, p1, v3
|
|
|
|
.line 16
|
|
.line 17
|
|
if-nez p1, :cond_2
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0, v1}, Landroid/view/View;->setClipToOutline(Z)V
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidateOutline()V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
:cond_1
|
|
return-void
|
|
|
|
.line 28
|
|
:cond_2
|
|
invoke-virtual {p0, v2}, Landroid/view/View;->setClipToOutline(Z)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p0}, Landroid/view/View;->getWidth()I
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result p1
|
|
|
|
.line 35
|
|
invoke-virtual {p0}, Landroid/view/View;->getHeight()I
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v0
|
|
|
|
.line 39
|
|
invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
const/4 p1, 0x0
|
|
|
|
.line 43
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setScaleFromTextSize(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 2
|
|
.line 3
|
|
return-void
|
|
.end method
|
|
|
|
.method public setText(Ljava/lang/CharSequence;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
iput-object p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->k:Ljava/lang/String;
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextBackgroundPanX(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->s:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextBackgroundPanY(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->t:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextBackgroundRotate(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->v:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextBackgroundZoom(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->u:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextFillColor(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextOutlineColor(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->c:I
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p1, 0x1
|
|
|
|
.line 4
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->f:Z
|
|
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextOutlineThickness(F)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
iput-boolean v0, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->f:Z
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p1}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result p1
|
|
|
|
.line 8
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
const/4 p1, 0x0
|
|
|
|
.line 11
|
|
iput-boolean p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->f:Z
|
|
|
|
.line 12
|
|
.line 13
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextPanX(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->q:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextPanY(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->r:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/view/View;->invalidate()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public setTextSize(F)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->i:F
|
|
|
|
.line 2
|
|
.line 3
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
new-instance v1, Ljava/lang/Throwable;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-direct {v1}, Ljava/lang/Throwable;-><init>()V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v1}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object v1
|
|
|
|
.line 17
|
|
const/4 v2, 0x1
|
|
|
|
.line 18
|
|
aget-object v1, v1, v2
|
|
|
|
.line 19
|
|
.line 20
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
.line 21
|
|
.line 22
|
|
const-string v3, ".("
|
|
|
|
.line 23
|
|
.line 24
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
invoke-virtual {v1}, Ljava/lang/StackTraceElement;->getFileName()Ljava/lang/String;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result-object v3
|
|
|
|
.line 31
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
const-string v3, ":"
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
invoke-virtual {v1}, Ljava/lang/StackTraceElement;->getLineNumber()I
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result v3
|
|
|
|
.line 43
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
const-string v3, ") "
|
|
|
|
.line 47
|
|
.line 48
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 49
|
|
.line 50
|
|
.line 51
|
|
invoke-virtual {v1}, Ljava/lang/StackTraceElement;->getMethodName()Ljava/lang/String;
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
move-result-object v1
|
|
|
|
.line 55
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
const-string v1, "()"
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
move-result-object v1
|
|
|
|
.line 67
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
const-string v1, " "
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
const-string p1, " / "
|
|
|
|
.line 79
|
|
.line 80
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
iget p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object p1
|
|
|
|
.line 92
|
|
const-string v0, "MotionLabel"
|
|
|
|
.line 93
|
|
.line 94
|
|
invoke-static {v0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
.line 95
|
|
.line 96
|
|
.line 97
|
|
iget p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->j:F
|
|
|
|
.line 98
|
|
.line 99
|
|
invoke-static {p1}, Ljava/lang/Float;->isNaN(F)Z
|
|
|
|
.line 100
|
|
.line 101
|
|
.line 102
|
|
const/4 p1, 0x0
|
|
|
|
.line 103
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextureHeight(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->o:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTextureWidth(F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/constraintlayout/utils/widget/MotionLabel;->p:F
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/constraintlayout/utils/widget/MotionLabel;->a()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setTypeface(Landroid/graphics/Typeface;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
const/4 p1, 0x0
|
|
|
|
.line 2
|
|
throw p1
|
|
.end method
|