188 lines
3.7 KiB
Smali
188 lines
3.7 KiB
Smali
.class public Lcom/fourmob/datetimepicker/Utils;
|
|
.super Ljava/lang/Object;
|
|
.source "Utils.java"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(II)I
|
|
.locals 0
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
.line 16
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Invalid Month"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:pswitch_0
|
|
const/16 p0, 0x1e
|
|
|
|
return p0
|
|
|
|
.line 31
|
|
:pswitch_1
|
|
rem-int/lit8 p1, p1, 0x4
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/16 p0, 0x1d
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/16 p0, 0x1c
|
|
|
|
return p0
|
|
|
|
:pswitch_2
|
|
const/16 p0, 0x1f
|
|
|
|
return p0
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_2
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public static a(Landroid/view/View;FF)Landroid/animation/ObjectAnimator;
|
|
.locals 10
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 38
|
|
invoke-static {v1, v0}, Landroid/animation/Keyframe;->ofFloat(FF)Landroid/animation/Keyframe;
|
|
|
|
move-result-object v1
|
|
|
|
const v2, 0x3e8ccccd # 0.275f
|
|
|
|
.line 39
|
|
invoke-static {v2, p1}, Landroid/animation/Keyframe;->ofFloat(FF)Landroid/animation/Keyframe;
|
|
|
|
move-result-object p1
|
|
|
|
const v2, 0x3f30a3d7 # 0.69f
|
|
|
|
.line 40
|
|
invoke-static {v2, p2}, Landroid/animation/Keyframe;->ofFloat(FF)Landroid/animation/Keyframe;
|
|
|
|
move-result-object p2
|
|
|
|
.line 41
|
|
invoke-static {v0, v0}, Landroid/animation/Keyframe;->ofFloat(FF)Landroid/animation/Keyframe;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
.line 42
|
|
new-array v3, v2, [Landroid/animation/PropertyValuesHolder;
|
|
|
|
const-string v4, "scaleX"
|
|
|
|
const/4 v5, 0x4
|
|
|
|
new-array v6, v5, [Landroid/animation/Keyframe;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
aput-object v1, v6, v7
|
|
|
|
const/4 v8, 0x1
|
|
|
|
aput-object p1, v6, v8
|
|
|
|
aput-object p2, v6, v2
|
|
|
|
const/4 v9, 0x3
|
|
|
|
aput-object v0, v6, v9
|
|
|
|
.line 43
|
|
invoke-static {v4, v6}, Landroid/animation/PropertyValuesHolder;->ofKeyframe(Ljava/lang/String;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v3, v7
|
|
|
|
const-string v4, "scaleY"
|
|
|
|
new-array v5, v5, [Landroid/animation/Keyframe;
|
|
|
|
aput-object v1, v5, v7
|
|
|
|
aput-object p1, v5, v8
|
|
|
|
aput-object p2, v5, v2
|
|
|
|
aput-object v0, v5, v9
|
|
|
|
.line 44
|
|
invoke-static {v4, v5}, Landroid/animation/PropertyValuesHolder;->ofKeyframe(Ljava/lang/String;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v3, v8
|
|
|
|
.line 42
|
|
invoke-static {p0, v3}, Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator;
|
|
|
|
move-result-object p0
|
|
|
|
const-wide/16 p1, 0x220
|
|
|
|
.line 45
|
|
invoke-virtual {p0, p1, p2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroid/view/accessibility/AccessibilityManager;)Z
|
|
.locals 2
|
|
|
|
.line 58
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0xe
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 59
|
|
invoke-virtual {p0}, Landroid/view/accessibility/AccessibilityManager;->isTouchExplorationEnabled()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|