-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSBAssistantMicButtonView.h
68 lines (64 loc) · 2.08 KB
/
SBAssistantMicButtonView.h
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
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import <XXUnknownSuperclass.h> // Unknown library
#import "SpringBoard-Structs.h"
@class CALayer, CADisplayLink;
@protocol SBAssistantMicButtonProtocol;
@interface SBAssistantMicButtonView : XXUnknownSuperclass {
id<SBAssistantMicButtonProtocol> _delegate;
CALayer* _pressedImageLayer;
CALayer* _micImageLayer;
CALayer* _animatingLayer;
CALayer* _fullRingLayer;
int _mode;
int _phase;
CADisplayLink* _displayLink;
float _runningPowerLevels[5];
unsigned _powerPointer;
}
@property(assign, nonatomic) id<SBAssistantMicButtonProtocol> delegate;
@property(assign, nonatomic) int mode;
-(id)initWithFrame:(CGRect)frame;
-(void)dealloc;
-(void)setHighlighted:(BOOL)highlighted;
-(CGSize)sizeThatFits:(CGSize)fits;
-(void)layoutSubviews;
-(id)_emptyMicImage;
-(id)_fullMicImage;
-(id)_micFullImageForPower:(float)power;
-(id)_micPowerImageForPower:(float)power;
-(id)_currentMicPowerImage;
-(void)_reset;
-(float)_updateMedianWithNewValue:(float)newValue;
-(float)_powerLevelForMicPower:(float)micPower;
-(float)_currentMicPowerLevel;
-(id)_keyframeAnimationForCGImages:(id)cgimages duration:(double)duration;
-(id)_beginningKeyFrameAnimation;
-(id)_listeningBeginKeyFrameAnimation;
-(id)_listeningEndKeyFrameAnimation;
-(id)_thinkingBeginKeyFrameAnimation;
-(id)_thinkingBeginRingKeyFrameAnimation;
-(id)_thinkingMicAnimation;
-(id)_thinkingRingAnimation;
-(id)_thinkingEndRingAnimationFromAngle:(float)angle;
-(id)_thinkingEndRingAnimationKeyframe;
-(id)_thinkingEndFlashAnimation;
-(void)_handleBeginning;
-(void)_handleListeningStart;
-(void)_handleListeningBegin;
-(void)_displayLinkCallback:(id)callback;
-(void)_clearDisplayLink;
-(void)_handleListening;
-(void)_handleListeningEnd;
-(void)_handleThinkingBegin;
-(void)_handleThinkingEnd;
-(void)_removeAnimationsAndClearLayers;
-(float)_adjustedDuration:(float)duration;
-(double)_animationInterval;
-(BOOL)_isSuitableStoppingPhase:(int)phase;
-(void)animationDidStop:(id)animation finished:(BOOL)finished;
@end