line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Algorithm::Easing::Mediator; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
14014
|
use Moose; |
|
1
|
|
|
|
|
291827
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
4719
|
use Algorithm::Easing::Ease; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
6
|
1
|
|
|
1
|
|
509
|
use Math::Trig qw(:pi); |
|
1
|
|
|
|
|
8764
|
|
|
1
|
|
|
|
|
118
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
5
|
use namespace::clean; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'kind' => ( |
11
|
|
|
|
|
|
|
is => 'ro', |
12
|
|
|
|
|
|
|
required => 1, |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub ease_none { |
16
|
0
|
|
|
0
|
0
|
0
|
my $self = shift; |
17
|
0
|
|
|
|
|
0
|
return($self->kind->ease_none(shift,shift,shift,shift)); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub ease_in { |
21
|
3618
|
|
|
3618
|
0
|
431919
|
my $self = shift; |
22
|
3618
|
|
|
|
|
105581
|
return($self->kind->ease_in(shift,shift,shift,shift)); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub ease_out { |
26
|
4020
|
|
|
4020
|
0
|
342849
|
my $self = shift; |
27
|
4020
|
|
|
|
|
107964
|
return($self->kind->ease_out(shift,shift,shift,shift)); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub ease_both { |
31
|
4020
|
|
|
4020
|
0
|
391063
|
my $self = shift; |
32
|
4020
|
|
|
|
|
110161
|
return($self->kind->ease_both(shift,shift,shift,shift)); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |