Changes of com.discord v1325
This commit is contained in:
parent
d9d9f382c9
commit
3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions
49
com.discord/smali/androidx/dynamicanimation/R$attr.smali
Normal file
49
com.discord/smali/androidx/dynamicanimation/R$attr.smali
Normal file
|
@ -0,0 +1,49 @@
|
|||
.class public final Landroidx/dynamicanimation/R$attr;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "attr"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final alpha:I = 0x7f04003b
|
||||
|
||||
.field public static final font:I = 0x7f04028d
|
||||
|
||||
.field public static final fontProviderAuthority:I = 0x7f04028f
|
||||
|
||||
.field public static final fontProviderCerts:I = 0x7f040290
|
||||
|
||||
.field public static final fontProviderFetchStrategy:I = 0x7f040291
|
||||
|
||||
.field public static final fontProviderFetchTimeout:I = 0x7f040292
|
||||
|
||||
.field public static final fontProviderPackage:I = 0x7f040293
|
||||
|
||||
.field public static final fontProviderQuery:I = 0x7f040294
|
||||
|
||||
.field public static final fontStyle:I = 0x7f040295
|
||||
|
||||
.field public static final fontVariationSettings:I = 0x7f040296
|
||||
|
||||
.field public static final fontWeight:I = 0x7f040297
|
||||
|
||||
.field public static final ttcIndex:I = 0x7f040600
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
33
com.discord/smali/androidx/dynamicanimation/R$color.smali
Normal file
33
com.discord/smali/androidx/dynamicanimation/R$color.smali
Normal file
|
@ -0,0 +1,33 @@
|
|||
.class public final Landroidx/dynamicanimation/R$color;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "color"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_color_filter:I = 0x7f060163
|
||||
|
||||
.field public static final notification_icon_bg_color:I = 0x7f060164
|
||||
|
||||
.field public static final ripple_material_light:I = 0x7f0601e8
|
||||
|
||||
.field public static final secondary_text_default_material_light:I = 0x7f0601ec
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
69
com.discord/smali/androidx/dynamicanimation/R$dimen.smali
Normal file
69
com.discord/smali/androidx/dynamicanimation/R$dimen.smali
Normal file
|
@ -0,0 +1,69 @@
|
|||
.class public final Landroidx/dynamicanimation/R$dimen;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "dimen"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final compat_button_inset_horizontal_material:I = 0x7f070083
|
||||
|
||||
.field public static final compat_button_inset_vertical_material:I = 0x7f070084
|
||||
|
||||
.field public static final compat_button_padding_horizontal_material:I = 0x7f070085
|
||||
|
||||
.field public static final compat_button_padding_vertical_material:I = 0x7f070086
|
||||
|
||||
.field public static final compat_control_corner_material:I = 0x7f070087
|
||||
|
||||
.field public static final compat_notification_large_icon_max_height:I = 0x7f070088
|
||||
|
||||
.field public static final compat_notification_large_icon_max_width:I = 0x7f070089
|
||||
|
||||
.field public static final notification_action_icon_size:I = 0x7f0701b2
|
||||
|
||||
.field public static final notification_action_text_size:I = 0x7f0701b3
|
||||
|
||||
.field public static final notification_big_circle_margin:I = 0x7f0701b4
|
||||
|
||||
.field public static final notification_content_margin_start:I = 0x7f0701b5
|
||||
|
||||
.field public static final notification_large_icon_height:I = 0x7f0701b6
|
||||
|
||||
.field public static final notification_large_icon_width:I = 0x7f0701b7
|
||||
|
||||
.field public static final notification_main_column_padding_top:I = 0x7f0701b8
|
||||
|
||||
.field public static final notification_media_narrow_margin:I = 0x7f0701b9
|
||||
|
||||
.field public static final notification_right_icon_size:I = 0x7f0701ba
|
||||
|
||||
.field public static final notification_right_side_padding_top:I = 0x7f0701bb
|
||||
|
||||
.field public static final notification_small_icon_background_padding:I = 0x7f0701bc
|
||||
|
||||
.field public static final notification_small_icon_size_as_large:I = 0x7f0701bd
|
||||
|
||||
.field public static final notification_subtext_size:I = 0x7f0701be
|
||||
|
||||
.field public static final notification_top_pad:I = 0x7f0701bf
|
||||
|
||||
.field public static final notification_top_pad_large_text:I = 0x7f0701c0
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
49
com.discord/smali/androidx/dynamicanimation/R$drawable.smali
Normal file
49
com.discord/smali/androidx/dynamicanimation/R$drawable.smali
Normal file
|
@ -0,0 +1,49 @@
|
|||
.class public final Landroidx/dynamicanimation/R$drawable;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "drawable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_background:I = 0x7f080553
|
||||
|
||||
.field public static final notification_bg:I = 0x7f080554
|
||||
|
||||
.field public static final notification_bg_low:I = 0x7f080555
|
||||
|
||||
.field public static final notification_bg_low_normal:I = 0x7f080556
|
||||
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f080557
|
||||
|
||||
.field public static final notification_bg_normal:I = 0x7f080558
|
||||
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f080559
|
||||
|
||||
.field public static final notification_icon_background:I = 0x7f08055a
|
||||
|
||||
.field public static final notification_template_icon_bg:I = 0x7f08055b
|
||||
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f08055c
|
||||
|
||||
.field public static final notification_tile_bg:I = 0x7f08055d
|
||||
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f08055e
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
159
com.discord/smali/androidx/dynamicanimation/R$id.smali
Normal file
159
com.discord/smali/androidx/dynamicanimation/R$id.smali
Normal file
|
@ -0,0 +1,159 @@
|
|||
.class public final Landroidx/dynamicanimation/R$id;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "id"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final accessibility_action_clickable_span:I = 0x7f0a001a
|
||||
|
||||
.field public static final accessibility_custom_action_0:I = 0x7f0a001b
|
||||
|
||||
.field public static final accessibility_custom_action_1:I = 0x7f0a001c
|
||||
|
||||
.field public static final accessibility_custom_action_10:I = 0x7f0a001d
|
||||
|
||||
.field public static final accessibility_custom_action_11:I = 0x7f0a001e
|
||||
|
||||
.field public static final accessibility_custom_action_12:I = 0x7f0a001f
|
||||
|
||||
.field public static final accessibility_custom_action_13:I = 0x7f0a0020
|
||||
|
||||
.field public static final accessibility_custom_action_14:I = 0x7f0a0021
|
||||
|
||||
.field public static final accessibility_custom_action_15:I = 0x7f0a0022
|
||||
|
||||
.field public static final accessibility_custom_action_16:I = 0x7f0a0023
|
||||
|
||||
.field public static final accessibility_custom_action_17:I = 0x7f0a0024
|
||||
|
||||
.field public static final accessibility_custom_action_18:I = 0x7f0a0025
|
||||
|
||||
.field public static final accessibility_custom_action_19:I = 0x7f0a0026
|
||||
|
||||
.field public static final accessibility_custom_action_2:I = 0x7f0a0027
|
||||
|
||||
.field public static final accessibility_custom_action_20:I = 0x7f0a0028
|
||||
|
||||
.field public static final accessibility_custom_action_21:I = 0x7f0a0029
|
||||
|
||||
.field public static final accessibility_custom_action_22:I = 0x7f0a002a
|
||||
|
||||
.field public static final accessibility_custom_action_23:I = 0x7f0a002b
|
||||
|
||||
.field public static final accessibility_custom_action_24:I = 0x7f0a002c
|
||||
|
||||
.field public static final accessibility_custom_action_25:I = 0x7f0a002d
|
||||
|
||||
.field public static final accessibility_custom_action_26:I = 0x7f0a002e
|
||||
|
||||
.field public static final accessibility_custom_action_27:I = 0x7f0a002f
|
||||
|
||||
.field public static final accessibility_custom_action_28:I = 0x7f0a0030
|
||||
|
||||
.field public static final accessibility_custom_action_29:I = 0x7f0a0031
|
||||
|
||||
.field public static final accessibility_custom_action_3:I = 0x7f0a0032
|
||||
|
||||
.field public static final accessibility_custom_action_30:I = 0x7f0a0033
|
||||
|
||||
.field public static final accessibility_custom_action_31:I = 0x7f0a0034
|
||||
|
||||
.field public static final accessibility_custom_action_4:I = 0x7f0a0035
|
||||
|
||||
.field public static final accessibility_custom_action_5:I = 0x7f0a0036
|
||||
|
||||
.field public static final accessibility_custom_action_6:I = 0x7f0a0037
|
||||
|
||||
.field public static final accessibility_custom_action_7:I = 0x7f0a0038
|
||||
|
||||
.field public static final accessibility_custom_action_8:I = 0x7f0a0039
|
||||
|
||||
.field public static final accessibility_custom_action_9:I = 0x7f0a003a
|
||||
|
||||
.field public static final action_container:I = 0x7f0a004a
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a004c
|
||||
|
||||
.field public static final action_image:I = 0x7f0a004d
|
||||
|
||||
.field public static final action_text:I = 0x7f0a0053
|
||||
|
||||
.field public static final actions:I = 0x7f0a0054
|
||||
|
||||
.field public static final async:I = 0x7f0a009d
|
||||
|
||||
.field public static final blocking:I = 0x7f0a00fa
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a028a
|
||||
|
||||
.field public static final dialog_button:I = 0x7f0a0311
|
||||
|
||||
.field public static final forever:I = 0x7f0a043a
|
||||
|
||||
.field public static final icon:I = 0x7f0a054f
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a0551
|
||||
|
||||
.field public static final info:I = 0x7f0a057e
|
||||
|
||||
.field public static final italic:I = 0x7f0a05bb
|
||||
|
||||
.field public static final line1:I = 0x7f0a0616
|
||||
|
||||
.field public static final line3:I = 0x7f0a0617
|
||||
|
||||
.field public static final normal:I = 0x7f0a06c9
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a06d3
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a06d4
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a06d5
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a0811
|
||||
|
||||
.field public static final right_side:I = 0x7f0a0812
|
||||
|
||||
.field public static final tag_accessibility_actions:I = 0x7f0a0a61
|
||||
|
||||
.field public static final tag_accessibility_clickable_spans:I = 0x7f0a0a62
|
||||
|
||||
.field public static final tag_accessibility_heading:I = 0x7f0a0a63
|
||||
|
||||
.field public static final tag_accessibility_pane_title:I = 0x7f0a0a64
|
||||
|
||||
.field public static final tag_screen_reader_focusable:I = 0x7f0a0a65
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a0a66
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0a67
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0a68
|
||||
|
||||
.field public static final text:I = 0x7f0a0a73
|
||||
|
||||
.field public static final text2:I = 0x7f0a0a75
|
||||
|
||||
.field public static final time:I = 0x7f0a0a8a
|
||||
|
||||
.field public static final title:I = 0x7f0a0a8b
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
27
com.discord/smali/androidx/dynamicanimation/R$integer.smali
Normal file
27
com.discord/smali/androidx/dynamicanimation/R$integer.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public final Landroidx/dynamicanimation/R$integer;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "integer"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_maxnum:I = 0x7f0b0018
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
39
com.discord/smali/androidx/dynamicanimation/R$layout.smali
Normal file
39
com.discord/smali/androidx/dynamicanimation/R$layout.smali
Normal file
|
@ -0,0 +1,39 @@
|
|||
.class public final Landroidx/dynamicanimation/R$layout;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "layout"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final custom_dialog:I = 0x7f0d0034
|
||||
|
||||
.field public static final notification_action:I = 0x7f0d00a5
|
||||
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d00a6
|
||||
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d00ae
|
||||
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d00af
|
||||
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d00b3
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d00b4
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
27
com.discord/smali/androidx/dynamicanimation/R$string.smali
Normal file
27
com.discord/smali/androidx/dynamicanimation/R$string.smali
Normal file
|
@ -0,0 +1,27 @@
|
|||
.class public final Landroidx/dynamicanimation/R$string;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "string"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f12166b
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
39
com.discord/smali/androidx/dynamicanimation/R$style.smali
Normal file
39
com.discord/smali/androidx/dynamicanimation/R$style.smali
Normal file
|
@ -0,0 +1,39 @@
|
|||
.class public final Landroidx/dynamicanimation/R$style;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "style"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f13022b
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f13022c
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f13022e
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130231
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f130233
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1303eb
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1303ec
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
202
com.discord/smali/androidx/dynamicanimation/R$styleable.smali
Normal file
202
com.discord/smali/androidx/dynamicanimation/R$styleable.smali
Normal file
|
@ -0,0 +1,202 @@
|
|||
.class public final Landroidx/dynamicanimation/R$styleable;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "styleable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ColorStateListItem:[I
|
||||
|
||||
.field public static final ColorStateListItem_alpha:I = 0x2
|
||||
|
||||
.field public static final ColorStateListItem_android_alpha:I = 0x1
|
||||
|
||||
.field public static final ColorStateListItem_android_color:I = 0x0
|
||||
|
||||
.field public static final FontFamily:[I
|
||||
|
||||
.field public static final FontFamilyFont:[I
|
||||
|
||||
.field public static final FontFamilyFont_android_font:I = 0x0
|
||||
|
||||
.field public static final FontFamilyFont_android_fontStyle:I = 0x2
|
||||
|
||||
.field public static final FontFamilyFont_android_fontVariationSettings:I = 0x4
|
||||
|
||||
.field public static final FontFamilyFont_android_fontWeight:I = 0x1
|
||||
|
||||
.field public static final FontFamilyFont_android_ttcIndex:I = 0x3
|
||||
|
||||
.field public static final FontFamilyFont_font:I = 0x5
|
||||
|
||||
.field public static final FontFamilyFont_fontStyle:I = 0x6
|
||||
|
||||
.field public static final FontFamilyFont_fontVariationSettings:I = 0x7
|
||||
|
||||
.field public static final FontFamilyFont_fontWeight:I = 0x8
|
||||
|
||||
.field public static final FontFamilyFont_ttcIndex:I = 0x9
|
||||
|
||||
.field public static final FontFamily_fontProviderAuthority:I = 0x0
|
||||
|
||||
.field public static final FontFamily_fontProviderCerts:I = 0x1
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchStrategy:I = 0x2
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchTimeout:I = 0x3
|
||||
|
||||
.field public static final FontFamily_fontProviderPackage:I = 0x4
|
||||
|
||||
.field public static final FontFamily_fontProviderQuery:I = 0x5
|
||||
|
||||
.field public static final GradientColor:[I
|
||||
|
||||
.field public static final GradientColorItem:[I
|
||||
|
||||
.field public static final GradientColorItem_android_color:I = 0x0
|
||||
|
||||
.field public static final GradientColorItem_android_offset:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_centerColor:I = 0x7
|
||||
|
||||
.field public static final GradientColor_android_centerX:I = 0x3
|
||||
|
||||
.field public static final GradientColor_android_centerY:I = 0x4
|
||||
|
||||
.field public static final GradientColor_android_endColor:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_endX:I = 0xa
|
||||
|
||||
.field public static final GradientColor_android_endY:I = 0xb
|
||||
|
||||
.field public static final GradientColor_android_gradientRadius:I = 0x5
|
||||
|
||||
.field public static final GradientColor_android_startColor:I = 0x0
|
||||
|
||||
.field public static final GradientColor_android_startX:I = 0x8
|
||||
|
||||
.field public static final GradientColor_android_startY:I = 0x9
|
||||
|
||||
.field public static final GradientColor_android_tileMode:I = 0x6
|
||||
|
||||
.field public static final GradientColor_android_type:I = 0x2
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_0
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/R$styleable;->ColorStateListItem:[I
|
||||
|
||||
const/4 v0, 0x6
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_1
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/R$styleable;->FontFamily:[I
|
||||
|
||||
const/16 v0, 0xa
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_2
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/R$styleable;->FontFamilyFont:[I
|
||||
|
||||
const/16 v0, 0xc
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_3
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/R$styleable;->GradientColor:[I
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_4
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/R$styleable;->GradientColorItem:[I
|
||||
|
||||
return-void
|
||||
|
||||
nop
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x101031f
|
||||
0x7f04003b
|
||||
.end array-data
|
||||
|
||||
:array_1
|
||||
.array-data 4
|
||||
0x7f04028f
|
||||
0x7f040290
|
||||
0x7f040291
|
||||
0x7f040292
|
||||
0x7f040293
|
||||
0x7f040294
|
||||
.end array-data
|
||||
|
||||
:array_2
|
||||
.array-data 4
|
||||
0x1010532
|
||||
0x1010533
|
||||
0x101053f
|
||||
0x101056f
|
||||
0x1010570
|
||||
0x7f04028d
|
||||
0x7f040295
|
||||
0x7f040296
|
||||
0x7f040297
|
||||
0x7f040600
|
||||
.end array-data
|
||||
|
||||
:array_3
|
||||
.array-data 4
|
||||
0x101019d
|
||||
0x101019e
|
||||
0x10101a1
|
||||
0x10101a2
|
||||
0x10101a3
|
||||
0x10101a4
|
||||
0x1010201
|
||||
0x101020b
|
||||
0x1010510
|
||||
0x1010511
|
||||
0x1010512
|
||||
0x1010513
|
||||
.end array-data
|
||||
|
||||
:array_4
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x1010514
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
29
com.discord/smali/androidx/dynamicanimation/R.smali
Normal file
29
com.discord/smali/androidx/dynamicanimation/R.smali
Normal file
|
@ -0,0 +1,29 @@
|
|||
.class public final Landroidx/dynamicanimation/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/dynamicanimation/R$attr;,
|
||||
Landroidx/dynamicanimation/R$color;,
|
||||
Landroidx/dynamicanimation/R$dimen;,
|
||||
Landroidx/dynamicanimation/R$drawable;,
|
||||
Landroidx/dynamicanimation/R$id;,
|
||||
Landroidx/dynamicanimation/R$integer;,
|
||||
Landroidx/dynamicanimation/R$layout;,
|
||||
Landroidx/dynamicanimation/R$string;,
|
||||
Landroidx/dynamicanimation/R$style;,
|
||||
Landroidx/dynamicanimation/R$styleable;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,71 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = "AnimationCallbackDispatcher"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public dispatchAnimationFrame()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iput-wide v1, v0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCurrentFrameTime:J
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
iget-wide v1, v0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCurrentFrameTime:J
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroidx/dynamicanimation/animation/AnimationHandler;->doAnimationFrame(J)V
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
iget-object v0, v0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-lez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/AnimationHandler;->getProvider()Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;->postFrameCallback()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,19 @@
|
|||
.class public interface abstract Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "AnimationFrameCallback"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract doAnimationFrame(J)Z
|
||||
.end method
|
|
@ -0,0 +1,35 @@
|
|||
.class public abstract Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "AnimationFrameCallbackProvider"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;->mDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract postFrameCallback()V
|
||||
.end method
|
|
@ -0,0 +1,55 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
iput-wide v1, v0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mLastFrameTime:J
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;
|
||||
|
||||
iget-object v0, v0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;->mDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->dispatchAnimationFrame()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,84 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;
|
||||
.super Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "FrameCallbackProvider14"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mHandler:Landroid/os/Handler;
|
||||
|
||||
.field public mLastFrameTime:J
|
||||
|
||||
.field public final mRunnable:Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
|
||||
const-wide/16 v0, -0x1
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mLastFrameTime:J
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;
|
||||
|
||||
invoke-direct {p1, p0}, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14$1;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mRunnable:Ljava/lang/Runnable;
|
||||
|
||||
new-instance p1, Landroid/os/Handler;
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mHandler:Landroid/os/Handler;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public postFrameCallback()V
|
||||
.locals 4
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iget-wide v2, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mLastFrameTime:J
|
||||
|
||||
sub-long/2addr v0, v2
|
||||
|
||||
const-wide/16 v2, 0xa
|
||||
|
||||
sub-long/2addr v2, v0
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->max(JJ)J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iget-object v2, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mHandler:Landroid/os/Handler;
|
||||
|
||||
iget-object v3, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;->mRunnable:Ljava/lang/Runnable;
|
||||
|
||||
invoke-virtual {v2, v3, v0, v1}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,47 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/view/Choreographer$FrameCallback;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16$1;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public doFrame(J)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16$1;->this$0:Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;
|
||||
|
||||
iget-object p1, p1, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;->mDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;->dispatchAnimationFrame()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,60 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;
|
||||
.super Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/RequiresApi;
|
||||
value = 0x10
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "FrameCallbackProvider16"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mChoreographer:Landroid/view/Choreographer;
|
||||
|
||||
.field public final mChoreographerCallback:Landroid/view/Choreographer$FrameCallback;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
|
||||
invoke-static {}, Landroid/view/Choreographer;->getInstance()Landroid/view/Choreographer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;->mChoreographer:Landroid/view/Choreographer;
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16$1;
|
||||
|
||||
invoke-direct {p1, p0}, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16$1;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;->mChoreographerCallback:Landroid/view/Choreographer$FrameCallback;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public postFrameCallback()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;->mChoreographer:Landroid/view/Choreographer;
|
||||
|
||||
iget-object v1, p0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;->mChoreographerCallback:Landroid/view/Choreographer$FrameCallback;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/view/Choreographer;->postFrameCallback(Landroid/view/Choreographer$FrameCallback;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,416 @@
|
|||
.class public Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AnimationHandler.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;,
|
||||
Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider14;,
|
||||
Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;,
|
||||
Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;,
|
||||
Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final FRAME_DELAY_MS:J = 0xaL
|
||||
|
||||
.field public static final sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/lang/ThreadLocal<",
|
||||
"Landroidx/dynamicanimation/animation/AnimationHandler;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/ArrayList<",
|
||||
"Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final mCallbackDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
.field public mCurrentFrameTime:J
|
||||
|
||||
.field public final mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/collection/SimpleArrayMap<",
|
||||
"Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public mListDirty:Z
|
||||
|
||||
.field public mProvider:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-direct {v0}, Ljava/lang/ThreadLocal;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
invoke-direct {v0}, Landroidx/collection/SimpleArrayMap;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
new-instance v0, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCallbackDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCurrentFrameTime:J
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mListDirty:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private cleanUpList()V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mListDirty:Z
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
:goto_0
|
||||
if-ltz v0, :cond_1
|
||||
|
||||
iget-object v1, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
iget-object v1, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mListDirty:Z
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static getFrameTime()J
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
return-wide v0
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
iget-wide v0, v0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCurrentFrameTime:J
|
||||
|
||||
return-wide v0
|
||||
.end method
|
||||
|
||||
.method public static getInstance()Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
sget-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
new-instance v1, Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
invoke-direct {v1}, Landroidx/dynamicanimation/animation/AnimationHandler;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroidx/dynamicanimation/animation/AnimationHandler;->sAnimatorHandler:Ljava/lang/ThreadLocal;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/dynamicanimation/animation/AnimationHandler;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method private isCallbackDue(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;J)Z
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Ljava/lang/Long;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
||||
|
||||
move-result-wide v2
|
||||
|
||||
cmp-long v0, v2, p2
|
||||
|
||||
if-gez v0, :cond_1
|
||||
|
||||
iget-object p2, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
invoke-virtual {p2, p1}, Landroidx/collection/SimpleArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return v1
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public addAnimationFrameCallback(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;J)V
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/AnimationHandler;->getProvider()Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;->postFrameCallback()V
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_1
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_2
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
add-long/2addr v1, p2
|
||||
|
||||
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public doAnimationFrame(J)V
|
||||
.locals 5
|
||||
|
||||
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
iget-object v3, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ge v2, v3, :cond_2
|
||||
|
||||
iget-object v3, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;
|
||||
|
||||
if-nez v3, :cond_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
invoke-direct {p0, v3, v0, v1}, Landroidx/dynamicanimation/animation/AnimationHandler;->isCallbackDue(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;J)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-interface {v3, p1, p2}, Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;->doAnimationFrame(J)Z
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-direct {p0}, Landroidx/dynamicanimation/animation/AnimationHandler;->cleanUpList()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public getProvider()Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mProvider:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;
|
||||
|
||||
iget-object v1, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mCallbackDispatcher:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;
|
||||
|
||||
invoke-direct {v0, v1}, Landroidx/dynamicanimation/animation/AnimationHandler$FrameCallbackProvider16;-><init>(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationCallbackDispatcher;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mProvider:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mProvider:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public removeCallback(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallback;)V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mDelayedCallbackStartTime:Landroidx/collection/SimpleArrayMap;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/collection/SimpleArrayMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-ltz p1, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mAnimationCallbacks:Ljava/util/ArrayList;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mListDirty:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setProvider(Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/AnimationHandler;->mProvider:Landroidx/dynamicanimation/animation/AnimationHandler$AnimationFrameCallbackProvider;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$1;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getTranslationX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$1;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$1;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$10;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getY()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$10;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$10;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$11;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getZ(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$11;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->setZ(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$11;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$12;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getAlpha()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$12;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$12;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,72 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$13;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getScrollX()I
|
||||
|
||||
move-result p1
|
||||
|
||||
int-to-float p1, p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$13;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
float-to-int p2, p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScrollX(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$13;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,72 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$14;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getScrollY()I
|
||||
|
||||
move-result p1
|
||||
|
||||
int-to-float p1, p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$14;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
float-to-int p2, p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScrollY(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$14;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,58 @@
|
|||
.class public Landroidx/dynamicanimation/animation/DynamicAnimation$15;
|
||||
.super Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
|
||||
.field public final synthetic val$floatValueHolder:Landroidx/dynamicanimation/animation/FloatValueHolder;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/DynamicAnimation;Ljava/lang/String;Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/DynamicAnimation$15;->this$0:Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
|
||||
iput-object p3, p0, Landroidx/dynamicanimation/animation/DynamicAnimation$15;->val$floatValueHolder:Landroidx/dynamicanimation/animation/FloatValueHolder;
|
||||
|
||||
invoke-direct {p0, p2}, Landroidx/dynamicanimation/animation/FloatPropertyCompat;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/DynamicAnimation$15;->val$floatValueHolder:Landroidx/dynamicanimation/animation/FloatValueHolder;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/dynamicanimation/animation/FloatValueHolder;->getValue()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/DynamicAnimation$15;->val$floatValueHolder:Landroidx/dynamicanimation/animation/FloatValueHolder;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/dynamicanimation/animation/FloatValueHolder;->setValue(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$2;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getTranslationY()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$2;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setTranslationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$2;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$3;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1}, Landroidx/core/view/ViewCompat;->getTranslationZ(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$3;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->setTranslationZ(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$3;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$4;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getScaleX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$4;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$4;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$5;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getScaleY()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$5;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setScaleY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$5;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$6;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getRotation()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$6;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotation(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$6;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$7;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getRotationX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$7;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$7;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$8;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getRotationY()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$8;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setRotationY(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$8;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/DynamicAnimation$9;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Landroid/view/View;)F
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getX()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue(Ljava/lang/Object;)F
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$9;->getValue(Landroid/view/View;)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Landroid/view/View;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/view/View;->setX(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setValue(Ljava/lang/Object;F)V
|
||||
.locals 0
|
||||
|
||||
check-cast p1, Landroid/view/View;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation$9;->setValue(Landroid/view/View;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,30 @@
|
|||
.class public Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "MassState"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mValue:F
|
||||
|
||||
.field public mVelocity:F
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,19 @@
|
|||
.class public interface abstract Landroidx/dynamicanimation/animation/DynamicAnimation$OnAnimationEndListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "OnAnimationEndListener"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onAnimationEnd(Landroidx/dynamicanimation/animation/DynamicAnimation;ZFF)V
|
||||
.end method
|
|
@ -0,0 +1,19 @@
|
|||
.class public interface abstract Landroidx/dynamicanimation/animation/DynamicAnimation$OnAnimationUpdateListener;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x609
|
||||
name = "OnAnimationUpdateListener"
|
||||
.end annotation
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract onAnimationUpdate(Landroidx/dynamicanimation/animation/DynamicAnimation;FF)V
|
||||
.end method
|
|
@ -0,0 +1,40 @@
|
|||
.class public abstract Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;
|
||||
.super Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.source "DynamicAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "ViewProperty"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"Landroid/view/View;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/FloatPropertyCompat;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic constructor <init>(Ljava/lang/String;Landroidx/dynamicanimation/animation/DynamicAnimation$1;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation$ViewProperty;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,208 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FlingAnimation.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/dynamicanimation/animation/Force;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "DragForce"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final DEFAULT_FRICTION:F = -4.2f
|
||||
|
||||
.field public static final VELOCITY_THRESHOLD_MULTIPLIER:F = 62.5f
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mFriction:F
|
||||
|
||||
.field public final mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
.field public mVelocityThreshold:F
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const v0, -0x3f79999a # -4.2f
|
||||
|
||||
iput v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
invoke-direct {v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getAcceleration(FF)F
|
||||
.locals 0
|
||||
|
||||
iget p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
mul-float p2, p2, p1
|
||||
|
||||
return p2
|
||||
.end method
|
||||
|
||||
.method public getFrictionScalar()F
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
const v1, -0x3f79999a # -4.2f
|
||||
|
||||
div-float/2addr v0, v1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public isAtEquilibrium(FF)Z
|
||||
.locals 0
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Math;->abs(F)F
|
||||
|
||||
move-result p1
|
||||
|
||||
iget p2, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mVelocityThreshold:F
|
||||
|
||||
cmpg-float p1, p1, p2
|
||||
|
||||
if-gez p1, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
:goto_0
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setFrictionScalar(F)V
|
||||
.locals 1
|
||||
|
||||
const v0, -0x3f79999a # -4.2f
|
||||
|
||||
mul-float p1, p1, v0
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setValueThreshold(F)V
|
||||
.locals 1
|
||||
|
||||
const/high16 v0, 0x427a0000 # 62.5f
|
||||
|
||||
mul-float p1, p1, v0
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mVelocityThreshold:F
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public updateValueAndVelocity(FFJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
float-to-double v1, p2
|
||||
|
||||
long-to-float p3, p3
|
||||
|
||||
const/high16 p4, 0x447a0000 # 1000.0f
|
||||
|
||||
div-float v3, p3, p4
|
||||
|
||||
iget v4, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
mul-float v3, v3, v4
|
||||
|
||||
float-to-double v3, v3
|
||||
|
||||
invoke-static {v3, v4}, Ljava/lang/Math;->exp(D)D
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
mul-double v3, v3, v1
|
||||
|
||||
double-to-float v1, v3
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
iget v1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mFriction:F
|
||||
|
||||
div-float v2, p2, v1
|
||||
|
||||
sub-float/2addr p1, v2
|
||||
|
||||
float-to-double v2, p1
|
||||
|
||||
div-float/2addr p2, v1
|
||||
|
||||
float-to-double p1, p2
|
||||
|
||||
mul-float v1, v1, p3
|
||||
|
||||
div-float/2addr v1, p4
|
||||
|
||||
float-to-double p3, v1
|
||||
|
||||
invoke-static {p3, p4}, Ljava/lang/Math;->exp(D)D
|
||||
|
||||
move-result-wide p3
|
||||
|
||||
mul-double p3, p3, p1
|
||||
|
||||
add-double/2addr p3, v2
|
||||
|
||||
double-to-float p1, p3
|
||||
|
||||
iput p1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
iget p2, p1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
iget p1, p1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
invoke-virtual {p0, p2, p1}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->isAtEquilibrium(FF)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
iput p2, p1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,292 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.source "FlingAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/dynamicanimation/animation/DynamicAnimation<",
|
||||
"Landroidx/dynamicanimation/animation/FlingAnimation;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-direct {p1}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->getValueThreshold()F
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->setValueThreshold(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<K:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TK;",
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"TK;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;)V
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-direct {p1}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->getValueThreshold()F
|
||||
|
||||
move-result p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->setValueThreshold(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getAcceleration(FF)F
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->getAcceleration(FF)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getFriction()F
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->getFrictionScalar()F
|
||||
|
||||
move-result v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public isAtEquilibrium(FF)Z
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMaxValue:F
|
||||
|
||||
cmpl-float v0, p1, v0
|
||||
|
||||
if-gez v0, :cond_1
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMinValue:F
|
||||
|
||||
cmpg-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->isAtEquilibrium(FF)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 p1, 0x1
|
||||
|
||||
:goto_1
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setFriction(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.locals 1
|
||||
.param p1 # F
|
||||
.annotation build Landroidx/annotation/FloatRange;
|
||||
from = 0.0
|
||||
fromInclusive = false
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->setFrictionScalar(F)V
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Friction must be positive"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setMaxValue(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/FlingAnimation;->setMaxValue(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public setMaxValue(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;->setMaxValue(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setMinValue(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/FlingAnimation;->setMinValue(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public setMinValue(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;->setMinValue(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic setStartVelocity(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/FlingAnimation;->setStartVelocity(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public setStartVelocity(F)Landroidx/dynamicanimation/animation/FlingAnimation;
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;->setStartVelocity(F)Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public setValueThreshold(F)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->setValueThreshold(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public updateValueAndVelocity(J)Z
|
||||
.locals 3
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FlingAnimation;->mFlingForce:Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;
|
||||
|
||||
iget v1, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v2, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
invoke-virtual {v0, v1, v2, p1, p2}, Landroidx/dynamicanimation/animation/FlingAnimation$DragForce;->updateValueAndVelocity(FFJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget p2, p1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
iput p2, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget p1, p1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMinValue:F
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
cmpg-float v2, p2, v0
|
||||
|
||||
if-gez v2, :cond_0
|
||||
|
||||
iput v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
return v1
|
||||
|
||||
:cond_0
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMaxValue:F
|
||||
|
||||
cmpl-float v2, p2, v0
|
||||
|
||||
if-lez v2, :cond_1
|
||||
|
||||
iput v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
return v1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p0, p2, p1}, Landroidx/dynamicanimation/animation/FlingAnimation;->isAtEquilibrium(FF)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -0,0 +1,77 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;
|
||||
.super Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.source "FloatPropertyCompat.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/dynamicanimation/animation/FloatPropertyCompat;->createFloatPropertyCompat(Landroid/util/FloatProperty;)Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic val$property:Landroid/util/FloatProperty;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Landroid/util/FloatProperty;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p2, p0, Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;->val$property:Landroid/util/FloatProperty;
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/FloatPropertyCompat;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue(Ljava/lang/Object;)F
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)F"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;->val$property:Landroid/util/FloatProperty;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/util/FloatProperty;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Ljava/lang/Float;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setValue(Ljava/lang/Object;F)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;F)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;->val$property:Landroid/util/FloatProperty;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroid/util/FloatProperty;->setValue(Ljava/lang/Object;F)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,77 @@
|
|||
.class public abstract Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FloatPropertyCompat.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mPropertyName:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/FloatPropertyCompat;->mPropertyName:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static createFloatPropertyCompat(Landroid/util/FloatProperty;)Landroidx/dynamicanimation/animation/FloatPropertyCompat;
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/RequiresApi;
|
||||
value = 0x18
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroid/util/FloatProperty<",
|
||||
"TT;>;)",
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;
|
||||
|
||||
invoke-virtual {p0}, Landroid/util/FloatProperty;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1, p0}, Landroidx/dynamicanimation/animation/FloatPropertyCompat$1;-><init>(Ljava/lang/String;Landroid/util/FloatProperty;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract getValue(Ljava/lang/Object;)F
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)F"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public abstract setValue(Ljava/lang/Object;F)V
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;F)V"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
|
@ -0,0 +1,53 @@
|
|||
.class public Landroidx/dynamicanimation/animation/FloatValueHolder;
|
||||
.super Ljava/lang/Object;
|
||||
.source "FloatValueHolder.java"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mValue:F
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Landroidx/dynamicanimation/animation/FloatValueHolder;->mValue:F
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(F)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Landroidx/dynamicanimation/animation/FloatValueHolder;->mValue:F
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/dynamicanimation/animation/FloatValueHolder;->setValue(F)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue()F
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/FloatValueHolder;->mValue:F
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public setValue(F)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/FloatValueHolder;->mValue:F
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,11 @@
|
|||
.class public interface abstract Landroidx/dynamicanimation/animation/Force;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Force.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract getAcceleration(FF)F
|
||||
.end method
|
||||
|
||||
.method public abstract isAtEquilibrium(FF)Z
|
||||
.end method
|
|
@ -0,0 +1,586 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/SpringAnimation;
|
||||
.super Landroidx/dynamicanimation/animation/DynamicAnimation;
|
||||
.source "SpringAnimation.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Landroidx/dynamicanimation/animation/DynamicAnimation<",
|
||||
"Landroidx/dynamicanimation/animation/SpringAnimation;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final UNSET:F = 3.4028235E38f
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mEndRequested:Z
|
||||
|
||||
.field public mPendingPosition:F
|
||||
|
||||
.field public mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
const p1, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/dynamicanimation/animation/FloatValueHolder;F)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Landroidx/dynamicanimation/animation/FloatValueHolder;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
const p1, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-direct {p1, p2}, Landroidx/dynamicanimation/animation/SpringForce;-><init>(F)V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<K:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TK;",
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"TK;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
const p1, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;F)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<K:",
|
||||
"Ljava/lang/Object;",
|
||||
">(TK;",
|
||||
"Landroidx/dynamicanimation/animation/FloatPropertyCompat<",
|
||||
"TK;>;F)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1, p2}, Landroidx/dynamicanimation/animation/DynamicAnimation;-><init>(Ljava/lang/Object;Landroidx/dynamicanimation/animation/FloatPropertyCompat;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
const p1, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
new-instance p1, Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-direct {p1, p3}, Landroidx/dynamicanimation/animation/SpringForce;-><init>(F)V
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private sanityCheck()V
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-virtual {v0}, Landroidx/dynamicanimation/animation/SpringForce;->getFinalPosition()F
|
||||
|
||||
move-result v0
|
||||
|
||||
float-to-double v0, v0
|
||||
|
||||
iget v2, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMaxValue:F
|
||||
|
||||
float-to-double v2, v2
|
||||
|
||||
cmpl-double v4, v0, v2
|
||||
|
||||
if-gtz v4, :cond_1
|
||||
|
||||
iget v2, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMinValue:F
|
||||
|
||||
float-to-double v2, v2
|
||||
|
||||
cmpg-double v4, v0, v2
|
||||
|
||||
if-ltz v4, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||||
|
||||
const-string v1, "Final position of the spring cannot be less than the min value."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||||
|
||||
const-string v1, "Final position of the spring cannot be greater than the max value."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||||
|
||||
const-string v1, "Incomplete SpringAnimation: Either final position or a spring force needs to be set."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public animateToFinalPosition(F)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->isRunning()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iput p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-direct {v0, p1}, Landroidx/dynamicanimation/animation/SpringForce;-><init>(F)V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/dynamicanimation/animation/SpringForce;->setFinalPosition(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/SpringAnimation;->start()V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public canSkipToEnd()Z
|
||||
.locals 5
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iget-wide v0, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const-wide/16 v2, 0x0
|
||||
|
||||
cmpl-double v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public cancel()V
|
||||
.locals 3
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
invoke-super {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->cancel()V
|
||||
|
||||
iget v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
const v1, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
cmpl-float v2, v0, v1
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
iget-object v2, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
new-instance v2, Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-direct {v2, v0}, Landroidx/dynamicanimation/animation/SpringForce;-><init>(F)V
|
||||
|
||||
iput-object v2, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v2, v0}, Landroidx/dynamicanimation/animation/SpringForce;->setFinalPosition(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
:goto_0
|
||||
iput v1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public getAcceleration(FF)F
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/dynamicanimation/animation/SpringForce;->getAcceleration(FF)F
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getSpring()Landroidx/dynamicanimation/animation/SpringForce;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public isAtEquilibrium(FF)Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v0, p1, p2}, Landroidx/dynamicanimation/animation/SpringForce;->isAtEquilibrium(FF)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setSpring(Landroidx/dynamicanimation/animation/SpringForce;)Landroidx/dynamicanimation/animation/SpringAnimation;
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public setValueThreshold(F)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public skipToEnd()V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/SpringAnimation;->canSkipToEnd()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mRunning:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Landroid/util/AndroidRuntimeException;
|
||||
|
||||
const-string v1, "Animations may only be started on the main thread"
|
||||
|
||||
invoke-direct {v0, v1}, Landroid/util/AndroidRuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
||||
|
||||
const-string v1, "Spring animations can only come to an end when there is damping"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public start()V
|
||||
.locals 3
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/dynamicanimation/animation/SpringAnimation;->sanityCheck()V
|
||||
|
||||
iget-object v0, p0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->getValueThreshold()F
|
||||
|
||||
move-result v1
|
||||
|
||||
float-to-double v1, v1
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroidx/dynamicanimation/animation/SpringForce;->setValueThreshold(D)V
|
||||
|
||||
invoke-super {p0}, Landroidx/dynamicanimation/animation/DynamicAnimation;->start()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public updateValueAndVelocity(J)Z
|
||||
.locals 20
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
iget-boolean v1, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const v5, 0x7f7fffff # Float.MAX_VALUE
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
cmpl-float v6, v1, v5
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
iget-object v6, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v6, v1}, Landroidx/dynamicanimation/animation/SpringForce;->setFinalPosition(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iput v5, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
:cond_0
|
||||
iget-object v1, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/dynamicanimation/animation/SpringForce;->getFinalPosition()F
|
||||
|
||||
move-result v1
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iput v4, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
iput-boolean v3, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mEndRequested:Z
|
||||
|
||||
return v2
|
||||
|
||||
:cond_1
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
cmpl-float v1, v1, v5
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
iget-object v6, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
float-to-double v7, v1
|
||||
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
float-to-double v9, v1
|
||||
|
||||
const-wide/16 v11, 0x2
|
||||
|
||||
div-long v18, p1, v11
|
||||
|
||||
move-wide/from16 v11, v18
|
||||
|
||||
invoke-virtual/range {v6 .. v12}, Landroidx/dynamicanimation/animation/SpringForce;->updateValues(DDJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v6, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iget v7, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
invoke-virtual {v6, v7}, Landroidx/dynamicanimation/animation/SpringForce;->setFinalPosition(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iput v5, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mPendingPosition:F
|
||||
|
||||
iget-object v13, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iget v5, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
float-to-double v14, v5
|
||||
|
||||
iget v1, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
float-to-double v5, v1
|
||||
|
||||
move-wide/from16 v16, v5
|
||||
|
||||
invoke-virtual/range {v13 .. v19}, Landroidx/dynamicanimation/animation/SpringForce;->updateValues(DDJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget v5, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
iput v5, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v1, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iget-object v13, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
float-to-double v14, v1
|
||||
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
float-to-double v5, v1
|
||||
|
||||
move-wide/from16 v16, v5
|
||||
|
||||
move-wide/from16 v18, p1
|
||||
|
||||
invoke-virtual/range {v13 .. v19}, Landroidx/dynamicanimation/animation/SpringForce;->updateValues(DDJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget v5, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
iput v5, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v1, v1, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
:goto_0
|
||||
iget v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v5, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMinValue:F
|
||||
|
||||
invoke-static {v1, v5}, Ljava/lang/Math;->max(FF)F
|
||||
|
||||
move-result v1
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v5, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mMaxValue:F
|
||||
|
||||
invoke-static {v1, v5}, Ljava/lang/Math;->min(FF)F
|
||||
|
||||
move-result v1
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iget v5, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
invoke-virtual {v0, v1, v5}, Landroidx/dynamicanimation/animation/SpringAnimation;->isAtEquilibrium(FF)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
iget-object v1, v0, Landroidx/dynamicanimation/animation/SpringAnimation;->mSpring:Landroidx/dynamicanimation/animation/SpringForce;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/dynamicanimation/animation/SpringForce;->getFinalPosition()F
|
||||
|
||||
move-result v1
|
||||
|
||||
iput v1, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mValue:F
|
||||
|
||||
iput v4, v0, Landroidx/dynamicanimation/animation/DynamicAnimation;->mVelocity:F
|
||||
|
||||
return v2
|
||||
|
||||
:cond_3
|
||||
return v3
|
||||
.end method
|
|
@ -0,0 +1,746 @@
|
|||
.class public final Landroidx/dynamicanimation/animation/SpringForce;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SpringForce.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/dynamicanimation/animation/Force;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final DAMPING_RATIO_HIGH_BOUNCY:F = 0.2f
|
||||
|
||||
.field public static final DAMPING_RATIO_LOW_BOUNCY:F = 0.75f
|
||||
|
||||
.field public static final DAMPING_RATIO_MEDIUM_BOUNCY:F = 0.5f
|
||||
|
||||
.field public static final DAMPING_RATIO_NO_BOUNCY:F = 1.0f
|
||||
|
||||
.field public static final STIFFNESS_HIGH:F = 10000.0f
|
||||
|
||||
.field public static final STIFFNESS_LOW:F = 200.0f
|
||||
|
||||
.field public static final STIFFNESS_MEDIUM:F = 1500.0f
|
||||
|
||||
.field public static final STIFFNESS_VERY_LOW:F = 50.0f
|
||||
|
||||
.field public static final UNSET:D = 1.7976931348623157E308
|
||||
|
||||
.field public static final VELOCITY_THRESHOLD_MULTIPLIER:D = 62.5
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mDampedFreq:D
|
||||
|
||||
.field public mDampingRatio:D
|
||||
|
||||
.field public mFinalPosition:D
|
||||
|
||||
.field public mGammaMinus:D
|
||||
|
||||
.field public mGammaPlus:D
|
||||
|
||||
.field public mInitialized:Z
|
||||
|
||||
.field public final mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
.field public mNaturalFreq:D
|
||||
|
||||
.field public mValueThreshold:D
|
||||
|
||||
.field public mVelocityThreshold:D
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide v0, 0x4097700000000000L # 1500.0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
const-wide/high16 v0, 0x3fe0000000000000L # 0.5
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
const-wide v0, 0x7fefffffffffffffL # Double.MAX_VALUE
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
invoke-direct {v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(F)V
|
||||
.locals 2
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const-wide v0, 0x4097700000000000L # 1500.0
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
const-wide/high16 v0, 0x3fe0000000000000L # 0.5
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
const-wide v0, 0x7fefffffffffffffL # Double.MAX_VALUE
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
new-instance v0, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
invoke-direct {v0}, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
float-to-double v0, p1
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private init()V
|
||||
.locals 8
|
||||
|
||||
iget-boolean v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
const-wide v2, 0x7fefffffffffffffL # Double.MAX_VALUE
|
||||
|
||||
cmpl-double v4, v0, v2
|
||||
|
||||
if-eqz v4, :cond_3
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const-wide/high16 v2, 0x3ff0000000000000L # 1.0
|
||||
|
||||
cmpl-double v4, v0, v2
|
||||
|
||||
if-lez v4, :cond_1
|
||||
|
||||
neg-double v4, v0
|
||||
|
||||
iget-wide v6, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v4, v4, v6
|
||||
|
||||
mul-double v0, v0, v0
|
||||
|
||||
sub-double/2addr v0, v2
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
mul-double v0, v0, v6
|
||||
|
||||
add-double/2addr v0, v4
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaPlus:D
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
neg-double v4, v0
|
||||
|
||||
iget-wide v6, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v4, v4, v6
|
||||
|
||||
mul-double v0, v0, v0
|
||||
|
||||
sub-double/2addr v0, v2
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
mul-double v0, v0, v6
|
||||
|
||||
sub-double/2addr v4, v0
|
||||
|
||||
iput-wide v4, p0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaMinus:D
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const-wide/16 v4, 0x0
|
||||
|
||||
cmpl-double v6, v0, v4
|
||||
|
||||
if-ltz v6, :cond_2
|
||||
|
||||
cmpg-double v4, v0, v2
|
||||
|
||||
if-gez v4, :cond_2
|
||||
|
||||
iget-wide v4, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v0, v0, v0
|
||||
|
||||
sub-double/2addr v2, v0
|
||||
|
||||
invoke-static {v2, v3}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
mul-double v0, v0, v4
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Error: Final position of the spring must be set before the animation starts"
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getAcceleration(FF)F
|
||||
.locals 6
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/SpringForce;->getFinalPosition()F
|
||||
|
||||
move-result v0
|
||||
|
||||
sub-float/2addr p1, v0
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v2, v0, v0
|
||||
|
||||
const-wide/high16 v4, 0x4000000000000000L # 2.0
|
||||
|
||||
mul-double v0, v0, v4
|
||||
|
||||
iget-wide v4, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
mul-double v0, v0, v4
|
||||
|
||||
neg-double v2, v2
|
||||
|
||||
float-to-double v4, p1
|
||||
|
||||
mul-double v2, v2, v4
|
||||
|
||||
float-to-double p1, p2
|
||||
|
||||
mul-double v0, v0, p1
|
||||
|
||||
sub-double/2addr v2, v0
|
||||
|
||||
double-to-float p1, v2
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getDampingRatio()F
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
double-to-float v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public getFinalPosition()F
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
double-to-float v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public getStiffness()F
|
||||
.locals 2
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v0, v0, v0
|
||||
|
||||
double-to-float v0, v0
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public isAtEquilibrium(FF)Z
|
||||
.locals 4
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p2}, Ljava/lang/Math;->abs(F)F
|
||||
|
||||
move-result p2
|
||||
|
||||
float-to-double v0, p2
|
||||
|
||||
iget-wide v2, p0, Landroidx/dynamicanimation/animation/SpringForce;->mVelocityThreshold:D
|
||||
|
||||
cmpg-double p2, v0, v2
|
||||
|
||||
if-gez p2, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/dynamicanimation/animation/SpringForce;->getFinalPosition()F
|
||||
|
||||
move-result p2
|
||||
|
||||
sub-float/2addr p1, p2
|
||||
|
||||
invoke-static {p1}, Ljava/lang/Math;->abs(F)F
|
||||
|
||||
move-result p1
|
||||
|
||||
float-to-double p1, p1
|
||||
|
||||
iget-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mValueThreshold:D
|
||||
|
||||
cmpg-double v2, p1, v0
|
||||
|
||||
if-gez v2, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
return p1
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public setDampingRatio(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
.locals 2
|
||||
.param p1 # F
|
||||
.annotation build Landroidx/annotation/FloatRange;
|
||||
from = 0.0
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v0, p1, v0
|
||||
|
||||
if-ltz v0, :cond_0
|
||||
|
||||
float-to-double v0, p1
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Damping ratio must be non-negative"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public setFinalPosition(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
.locals 2
|
||||
|
||||
float-to-double v0, p1
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public setStiffness(F)Landroidx/dynamicanimation/animation/SpringForce;
|
||||
.locals 2
|
||||
.param p1 # F
|
||||
.annotation build Landroidx/annotation/FloatRange;
|
||||
from = 0.0
|
||||
fromInclusive = false
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
cmpg-float v0, p1, v0
|
||||
|
||||
if-lez v0, :cond_0
|
||||
|
||||
float-to-double v0, p1
|
||||
|
||||
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
|
||||
|
||||
move-result-wide v0
|
||||
|
||||
iput-wide v0, p0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
iput-boolean p1, p0, Landroidx/dynamicanimation/animation/SpringForce;->mInitialized:Z
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Spring stiffness constant must be positive."
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public setValueThreshold(D)V
|
||||
.locals 2
|
||||
|
||||
invoke-static {p1, p2}, Ljava/lang/Math;->abs(D)D
|
||||
|
||||
move-result-wide p1
|
||||
|
||||
iput-wide p1, p0, Landroidx/dynamicanimation/animation/SpringForce;->mValueThreshold:D
|
||||
|
||||
const-wide v0, 0x404f400000000000L # 62.5
|
||||
|
||||
mul-double p1, p1, v0
|
||||
|
||||
iput-wide p1, p0, Landroidx/dynamicanimation/animation/SpringForce;->mVelocityThreshold:D
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public updateValues(DDJ)Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
.locals 15
|
||||
|
||||
move-object v0, p0
|
||||
|
||||
invoke-direct {p0}, Landroidx/dynamicanimation/animation/SpringForce;->init()V
|
||||
|
||||
move-wide/from16 v1, p5
|
||||
|
||||
long-to-double v1, v1
|
||||
|
||||
const-wide v3, 0x408f400000000000L # 1000.0
|
||||
|
||||
div-double/2addr v1, v3
|
||||
|
||||
iget-wide v3, v0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
sub-double v3, p1, v3
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
const-wide/high16 v7, 0x3ff0000000000000L # 1.0
|
||||
|
||||
const-wide v9, 0x4005bf0a8b145769L # Math.E
|
||||
|
||||
cmpl-double v11, v5, v7
|
||||
|
||||
if-lez v11, :cond_0
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaMinus:D
|
||||
|
||||
mul-double v7, v5, v3
|
||||
|
||||
sub-double v7, v7, p3
|
||||
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaPlus:D
|
||||
|
||||
sub-double v13, v5, v11
|
||||
|
||||
div-double/2addr v7, v13
|
||||
|
||||
sub-double v7, v3, v7
|
||||
|
||||
mul-double v3, v3, v5
|
||||
|
||||
sub-double v3, v3, p3
|
||||
|
||||
sub-double v11, v5, v11
|
||||
|
||||
div-double/2addr v3, v11
|
||||
|
||||
mul-double v5, v5, v1
|
||||
|
||||
invoke-static {v9, v10, v5, v6}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
mul-double v5, v5, v7
|
||||
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaPlus:D
|
||||
|
||||
mul-double v11, v11, v1
|
||||
|
||||
invoke-static {v9, v10, v11, v12}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v11
|
||||
|
||||
mul-double v11, v11, v3
|
||||
|
||||
add-double/2addr v11, v5
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaMinus:D
|
||||
|
||||
mul-double v7, v7, v5
|
||||
|
||||
mul-double v5, v5, v1
|
||||
|
||||
invoke-static {v9, v10, v5, v6}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
mul-double v5, v5, v7
|
||||
|
||||
iget-wide v7, v0, Landroidx/dynamicanimation/animation/SpringForce;->mGammaPlus:D
|
||||
|
||||
mul-double v3, v3, v7
|
||||
|
||||
mul-double v7, v7, v1
|
||||
|
||||
invoke-static {v9, v10, v7, v8}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
mul-double v1, v1, v3
|
||||
|
||||
add-double/2addr v1, v5
|
||||
|
||||
goto/16 :goto_0
|
||||
|
||||
:cond_0
|
||||
cmpl-double v11, v5, v7
|
||||
|
||||
if-nez v11, :cond_1
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v7, v5, v3
|
||||
|
||||
add-double v7, v7, p3
|
||||
|
||||
mul-double v11, v7, v1
|
||||
|
||||
add-double/2addr v11, v3
|
||||
|
||||
neg-double v3, v5
|
||||
|
||||
mul-double v3, v3, v1
|
||||
|
||||
invoke-static {v9, v10, v3, v4}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
mul-double v3, v3, v11
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
neg-double v5, v5
|
||||
|
||||
mul-double v5, v5, v1
|
||||
|
||||
invoke-static {v9, v10, v5, v6}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
mul-double v5, v5, v11
|
||||
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
neg-double v13, v11
|
||||
|
||||
mul-double v5, v5, v13
|
||||
|
||||
neg-double v11, v11
|
||||
|
||||
mul-double v11, v11, v1
|
||||
|
||||
invoke-static {v9, v10, v11, v12}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
mul-double v1, v1, v7
|
||||
|
||||
add-double/2addr v1, v5
|
||||
|
||||
move-wide v11, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
div-double/2addr v7, v11
|
||||
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
mul-double v13, v5, v11
|
||||
|
||||
mul-double v13, v13, v3
|
||||
|
||||
add-double v13, v13, p3
|
||||
|
||||
mul-double v13, v13, v7
|
||||
|
||||
neg-double v5, v5
|
||||
|
||||
mul-double v5, v5, v11
|
||||
|
||||
mul-double v5, v5, v1
|
||||
|
||||
invoke-static {v9, v10, v5, v6}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
iget-wide v7, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
mul-double v7, v7, v1
|
||||
|
||||
invoke-static {v7, v8}, Ljava/lang/Math;->cos(D)D
|
||||
|
||||
move-result-wide v7
|
||||
|
||||
mul-double v7, v7, v3
|
||||
|
||||
iget-wide v11, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
mul-double v11, v11, v1
|
||||
|
||||
invoke-static {v11, v12}, Ljava/lang/Math;->sin(D)D
|
||||
|
||||
move-result-wide v11
|
||||
|
||||
mul-double v11, v11, v13
|
||||
|
||||
add-double/2addr v11, v7
|
||||
|
||||
mul-double v11, v11, v5
|
||||
|
||||
iget-wide v5, v0, Landroidx/dynamicanimation/animation/SpringForce;->mNaturalFreq:D
|
||||
|
||||
neg-double v7, v5
|
||||
|
||||
mul-double v7, v7, v11
|
||||
|
||||
iget-wide v9, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampingRatio:D
|
||||
|
||||
mul-double v7, v7, v9
|
||||
|
||||
neg-double v9, v9
|
||||
|
||||
mul-double v9, v9, v5
|
||||
|
||||
mul-double v9, v9, v1
|
||||
|
||||
const-wide v5, 0x4005bf0a8b145769L # Math.E
|
||||
|
||||
invoke-static {v5, v6, v9, v10}, Ljava/lang/Math;->pow(DD)D
|
||||
|
||||
move-result-wide v5
|
||||
|
||||
iget-wide v9, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
move-wide/from16 p1, v11
|
||||
|
||||
neg-double v11, v9
|
||||
|
||||
mul-double v11, v11, v3
|
||||
|
||||
mul-double v9, v9, v1
|
||||
|
||||
invoke-static {v9, v10}, Ljava/lang/Math;->sin(D)D
|
||||
|
||||
move-result-wide v3
|
||||
|
||||
mul-double v3, v3, v11
|
||||
|
||||
iget-wide v9, v0, Landroidx/dynamicanimation/animation/SpringForce;->mDampedFreq:D
|
||||
|
||||
mul-double v13, v13, v9
|
||||
|
||||
mul-double v9, v9, v1
|
||||
|
||||
invoke-static {v9, v10}, Ljava/lang/Math;->cos(D)D
|
||||
|
||||
move-result-wide v1
|
||||
|
||||
mul-double v1, v1, v13
|
||||
|
||||
add-double/2addr v1, v3
|
||||
|
||||
mul-double v1, v1, v5
|
||||
|
||||
add-double/2addr v1, v7
|
||||
|
||||
move-wide/from16 v11, p1
|
||||
|
||||
:goto_0
|
||||
iget-object v3, v0, Landroidx/dynamicanimation/animation/SpringForce;->mMassState:Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;
|
||||
|
||||
iget-wide v4, v0, Landroidx/dynamicanimation/animation/SpringForce;->mFinalPosition:D
|
||||
|
||||
add-double/2addr v11, v4
|
||||
|
||||
double-to-float v4, v11
|
||||
|
||||
iput v4, v3, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mValue:F
|
||||
|
||||
double-to-float v1, v1
|
||||
|
||||
iput v1, v3, Landroidx/dynamicanimation/animation/DynamicAnimation$MassState;->mVelocity:F
|
||||
|
||||
return-object v3
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue