mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
384 lines
7.8 KiB
Smali
384 lines
7.8 KiB
Smali
.class Landroidx/transition/ChangeTransform$Transforms;
|
|
.super Ljava/lang/Object;
|
|
.source "ChangeTransform.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/transition/ChangeTransform;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "Transforms"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final mRotationX:F
|
|
|
|
.field final mRotationY:F
|
|
|
|
.field final mRotationZ:F
|
|
|
|
.field final mScaleX:F
|
|
|
|
.field final mScaleY:F
|
|
|
|
.field final mTranslationX:F
|
|
|
|
.field final mTranslationY:F
|
|
|
|
.field final mTranslationZ:F
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
.line 473
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 474
|
|
invoke-virtual {p1}, Landroid/view/View;->getTranslationX()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationX:F
|
|
|
|
.line 475
|
|
invoke-virtual {p1}, Landroid/view/View;->getTranslationY()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationY:F
|
|
|
|
.line 476
|
|
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTranslationZ(Landroid/view/View;)F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationZ:F
|
|
|
|
.line 477
|
|
invoke-virtual {p1}, Landroid/view/View;->getScaleX()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleX:F
|
|
|
|
.line 478
|
|
invoke-virtual {p1}, Landroid/view/View;->getScaleY()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleY:F
|
|
|
|
.line 479
|
|
invoke-virtual {p1}, Landroid/view/View;->getRotationX()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationX:F
|
|
|
|
.line 480
|
|
invoke-virtual {p1}, Landroid/view/View;->getRotationY()F
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationY:F
|
|
|
|
.line 481
|
|
invoke-virtual {p1}, Landroid/view/View;->getRotation()F
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationZ:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
|
|
.line 491
|
|
instance-of v0, p1, Landroidx/transition/ChangeTransform$Transforms;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
.line 494
|
|
:cond_0
|
|
check-cast p1, Landroidx/transition/ChangeTransform$Transforms;
|
|
|
|
.line 495
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mTranslationX:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationX:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mTranslationY:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationY:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mTranslationZ:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationZ:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mScaleX:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleX:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mScaleY:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleY:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mRotationX:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationX:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget v0, p1, Landroidx/transition/ChangeTransform$Transforms;->mRotationY:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationY:F
|
|
|
|
cmpl-float v0, v0, v2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget p1, p1, Landroidx/transition/ChangeTransform$Transforms;->mRotationZ:F
|
|
|
|
iget p0, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationZ:F
|
|
|
|
cmpl-float p0, p1, p0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 5
|
|
|
|
iget v0, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationX:F
|
|
|
|
const/4 v1, 0x0
|
|
|
|
cmpl-float v2, v0, v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 507
|
|
invoke-static {v0}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, v3
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationY:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
.line 508
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v2, v3
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationZ:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 509
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move v2, v3
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleX:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 510
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v2, v3
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleY:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
.line 511
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move v2, v3
|
|
|
|
:goto_4
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationX:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
.line 512
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move v2, v3
|
|
|
|
:goto_5
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationY:F
|
|
|
|
cmpl-float v4, v2, v1
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
.line 513
|
|
invoke-static {v2}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move v2, v3
|
|
|
|
:goto_6
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget p0, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationZ:F
|
|
|
|
cmpl-float v1, p0, v1
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 514
|
|
invoke-static {p0}, Ljava/lang/Float;->floatToIntBits(F)I
|
|
|
|
move-result v3
|
|
|
|
:cond_7
|
|
add-int/2addr v0, v3
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public restore(Landroid/view/View;)V
|
|
.locals 9
|
|
|
|
iget v1, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationX:F
|
|
|
|
iget v2, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationY:F
|
|
|
|
iget v3, p0, Landroidx/transition/ChangeTransform$Transforms;->mTranslationZ:F
|
|
|
|
iget v4, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleX:F
|
|
|
|
iget v5, p0, Landroidx/transition/ChangeTransform$Transforms;->mScaleY:F
|
|
|
|
iget v6, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationX:F
|
|
|
|
iget v7, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationY:F
|
|
|
|
iget v8, p0, Landroidx/transition/ChangeTransform$Transforms;->mRotationZ:F
|
|
|
|
move-object v0, p1
|
|
|
|
.line 485
|
|
invoke-static/range {v0 .. v8}, Landroidx/transition/ChangeTransform;->setTransforms(Landroid/view/View;FFFFFFFF)V
|
|
|
|
return-void
|
|
.end method
|