AvatarGenderFragment.java
4.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.bitstrips.imoji.abv3.gender;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.AnimationUtils;
import com.bitstrips.imoji.abv3.SpringInterpolator;
public class AvatarGenderFragment
extends Fragment
{
private static final SpringInterpolator a = new SpringInterpolator(0.17D, 7.0D);
private static final SpringInterpolator b = new SpringInterpolator(0.5D, 5.0D);
private View c;
private View d;
private View e;
private View f;
public static AvatarGenderFragment createFragment()
{
return new AvatarGenderFragment();
}
public void animate()
{
Object localObject = AnimationUtils.loadAnimation(getContext(), 2130968592);
((Animation)localObject).setDuration(200L);
((Animation)localObject).setStartOffset(300L);
((Animation)localObject).setFillAfter(true);
Animation localAnimation4 = AnimationUtils.loadAnimation(getContext(), 2130968593);
localAnimation4.setDuration(200L);
localAnimation4.setStartOffset(300L);
localAnimation4.setInterpolator(b);
localAnimation4.setFillAfter(true);
Animation localAnimation5 = AnimationUtils.loadAnimation(getContext(), 2130968594);
localAnimation5.setDuration(600L);
localAnimation5.setStartOffset(450L);
localAnimation5.setInterpolator(a);
localAnimation5.setFillAfter(true);
Animation localAnimation1 = AnimationUtils.loadAnimation(getContext(), 2130968592);
localAnimation1.setDuration(200L);
localAnimation1.setStartOffset(550L);
localAnimation1.setFillAfter(true);
Animation localAnimation2 = AnimationUtils.loadAnimation(getContext(), 2130968593);
localAnimation2.setDuration(200L);
localAnimation2.setStartOffset(550L);
localAnimation2.setInterpolator(b);
localAnimation2.setFillAfter(true);
Animation localAnimation3 = AnimationUtils.loadAnimation(getContext(), 2130968594);
localAnimation3.setDuration(600L);
localAnimation3.setStartOffset(700L);
localAnimation3.setInterpolator(a);
localAnimation3.setFillAfter(true);
AnimationSet localAnimationSet = new AnimationSet(false);
localAnimationSet.addAnimation((Animation)localObject);
localAnimationSet.addAnimation(localAnimation4);
this.d.setAnimation(localAnimationSet);
localAnimationSet.start();
this.f.setAnimation(localAnimation5);
localAnimation5.start();
localObject = new AnimationSet(false);
((AnimationSet)localObject).addAnimation(localAnimation1);
((AnimationSet)localObject).addAnimation(localAnimation2);
this.c.setAnimation((Animation)localObject);
((AnimationSet)localObject).start();
this.e.setAnimation(localAnimation3);
localAnimation3.start();
}
public AvatarGenderFragmentListener getListener()
{
return (AvatarGenderFragmentListener)getActivity();
}
public void onActivityCreated(@Nullable Bundle paramBundle)
{
super.onActivityCreated(paramBundle);
animate();
}
public void onCreate(@Nullable Bundle paramBundle)
{
super.onCreate(paramBundle);
}
@Nullable
public View onCreateView(LayoutInflater paramLayoutInflater, @Nullable ViewGroup paramViewGroup, @Nullable Bundle paramBundle)
{
paramLayoutInflater = paramLayoutInflater.inflate(2130903107, paramViewGroup, false);
paramLayoutInflater.findViewById(2131689713).setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarGenderFragment.this.getListener().onMaleSelected();
}
});
paramLayoutInflater.findViewById(2131689710).setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarGenderFragment.this.getListener().onFemaleSelected();
}
});
paramLayoutInflater.findViewById(2131689699).setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
AvatarGenderFragment.this.getListener().onGenderExit();
}
});
this.e = paramLayoutInflater.findViewById(2131689714);
this.c = paramLayoutInflater.findViewById(2131689712);
this.f = paramLayoutInflater.findViewById(2131689711);
this.d = paramLayoutInflater.findViewById(2131689709);
return paramLayoutInflater;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/abv3/gender/AvatarGenderFragment.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/