-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBAssistantView.h
94 lines (90 loc) · 3.43 KB
/
SBAssistantView.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
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
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "Springboard-Structs.h"
#import "UIScrollViewDelegate.h"
#import "UISearchBarDelegate.h"
#import <XXUnknownSuperclass.h> // Unknown library
#import "SBAssistantMicButtonProtocol.h"
@class UIView, UIScrollView, UIControl, SBDeviceLockView, SBAssistantMicButtonView, UIImageView, UITableView, UIButton, UISearchBar, SBAssistantUnavailableView, UIStatusBar, UILabel;
@protocol SBAssistantViewDelegate;
@interface SBAssistantView : XXUnknownSuperclass <UISearchBarDelegate, UIScrollViewDelegate, SBAssistantMicButtonProtocol> {
id<SBAssistantViewDelegate> _delegate;
UIScrollView* _statusScrollView;
UISearchBar* _searchBar;
UIView* _statusBar;
UILabel* _statusLabel;
UITableView* _tableView;
UIButton* _tryAgainButton;
UIView* _contentView;
UIImageView* _backgroundImageView;
UIImageView* _magicPocketView;
SBAssistantMicButtonView* _micButtonView;
SBAssistantUnavailableView* _unavailableView;
SBDeviceLockView* _deviceLockView;
UIStatusBar* _fakeStatusBar;
UIImageView* _statusShadowView;
int _state;
BOOL _animating;
BOOL _initialQuery;
BOOL _showingGuide;
BOOL _ignoringTableInteraction;
BOOL _scrolling;
int _scrollCellIndex;
}
@property(assign, nonatomic) id<SBAssistantViewDelegate> delegate;
@property(readonly, assign, nonatomic) UIButton* tryAgainButton;
@property(readonly, assign, nonatomic) UITableView* tableView;
@property(assign, nonatomic, getter=isShowingGuide) BOOL showingGuide;
@property(readonly, assign, nonatomic) SBDeviceLockView* deviceLockView;
@property(readonly, assign, nonatomic) BOOL scrolling;
@property(assign, nonatomic, getter=isModal) BOOL modal;
@property(assign, nonatomic) int assistantState;
@property(readonly, assign, nonatomic) UIControl* micButton;
+(float)bottomBarHeight;
+(float)gridHeight;
-(id)initWithFrame:(CGRect)frame;
-(void)dealloc;
-(void)reloadConversation;
-(void)_setSpeechEnabled:(BOOL)enabled;
-(void)showButton:(BOOL)button;
-(void)reset;
-(BOOL)isBeingQuiet;
-(void)endInput;
-(void)setSearchText:(id)text;
-(int)_lastCellToAffectMagicPocket;
-(void)_updateMagicPocketAlpha;
-(void)_updateAlphaForSnippets;
-(CGRect)statusBarFrame;
-(void)noteScrollViewDidScroll;
-(void)noteScrollAnimationDidEnd;
-(void)setTransactionComplete:(BOOL)complete;
-(UIEdgeInsets)_standardInsets;
-(CGRect)_defaultTableFrame;
-(void)_setupForInitialQuery:(BOOL)initialQuery animated:(BOOL)animated;
-(BOOL)_showAssistantStatusBar;
-(void)scheduleScrollToCell:(int)cell;
-(void)cancelScrollToCell;
-(void)_scrollToPendingCell;
-(void)forceScrollToCell;
-(void)setMagicPocketDisabled:(BOOL)disabled;
-(BOOL)magicPocketDisabled;
-(void)setConnectionAvailable:(BOOL)available;
-(void)appendContentInsetsToStandardInsets:(UIEdgeInsets)standardInsets;
-(void)showFakeStatusBar:(BOOL)bar;
-(void)ignoreTableInteraction;
-(void)restoreTableInteractionIfNecessary;
-(BOOL)isTableInteractionIgnored;
-(float)_tossAngleForCell:(id)cell;
-(void)_tossSnippetFromAboveMagicPocket:(id)aboveMagicPocket distanceToBottom:(float)bottom;
-(void)_tossSnippetFromBelowMagicPocket:(id)belowMagicPocket distanceToBottom:(float)bottom;
-(void)tossSnippet:(id)snippet;
-(void)setShowDeviceLockKeypad:(BOOL)keypad;
-(BOOL)isDeviceLockKeypadShowing;
-(void)scrollViewDidEndDecelerating:(id)scrollView;
-(void)searchBarSearchButtonClicked:(id)clicked;
-(float)assistantMicButtonGimmeAudioLevel:(id)level;
@end