-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSBAppSwitcherBarView.h
More file actions
68 lines (64 loc) · 2.47 KB
/
SBAppSwitcherBarView.h
File metadata and controls
68 lines (64 loc) · 2.47 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
/**
* 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 <XXUnknownSuperclass.h> // Unknown library
#import "SBAppSwitcherScrollViewDelegate.h"
@class UIView, NSMutableArray, SBLinenView, SBAppSwitcherScrollView;
@protocol SBAppSwitcherBarViewDelegate;
@interface SBAppSwitcherBarView : XXUnknownSuperclass <SBAppSwitcherScrollViewDelegate> {
id<SBAppSwitcherBarViewDelegate> _delegate;
NSMutableArray* _appIcons;
UIView* _contentView;
SBLinenView* _backgroundView;
NSMutableArray* _auxViews;
SBAppSwitcherScrollView* _scrollView;
BOOL _animateContentReflow;
BOOL _animatedScrolling;
int _lastPageIndex;
BOOL _isVisible;
CGPoint _savedPositionForSuspendGesture;
}
@property(assign, nonatomic) id<SBAppSwitcherBarViewDelegate> delegate;
+(unsigned)iconsPerPage:(int)page;
+(CGSize)viewSize:(int)size;
+(float)edgePaddingForWidth:(float)width;
-(id)initWithFrame:(CGRect)frame;
-(void)dealloc;
-(void)prepareIconViewsForDisplay:(id)display showFirstPage:(BOOL)page;
-(id)iconViews;
-(void)setEditing:(BOOL)editing;
-(BOOL)isScrolling;
-(void)addIcon:(id)icon;
-(void)removeIcon:(id)icon;
-(void)replaceIcons:(id)icons with:(id)with;
-(void)addAuxiliaryViews:(id)views;
-(BOOL)nowPlayingControlsVisible;
-(BOOL)airPlayControlsVisible;
-(void)viewWillAppear;
-(void)viewWillDisappear;
-(void)_iconRemoveDidStop:(id)_iconRemove finished:(id)finished context:(id)context;
-(void)_reflowContent:(BOOL)content;
-(void)_adjustContentOffsetForReflow:(BOOL)reflow;
-(void)_adjustContentOffsetForResizeFromOldOffset:(CGPoint)oldOffset andOldSize:(CGSize)size toNewSize:(CGSize)newSize;
-(void)_adjustScrollContentSize;
-(void)_positionAtFirstPage:(BOOL)firstPage;
-(void)layoutSubviews;
-(CGRect)_iconFrameForIndex:(unsigned)index withSize:(CGSize)size;
-(unsigned)_pageCount;
-(unsigned)_iconCountForWidth:(float)width;
-(CGPoint)_firstPageOffset:(CGSize)offset;
-(int)_pageForOffset:(CGPoint)offset withSize:(CGSize)size;
-(int)_pageForIndex:(unsigned)index;
-(void)didMoveToSuperview;
-(void)scrollViewDidScroll:(id)scrollView;
-(void)scrollViewDidEndScrollingAnimation:(id)scrollView;
-(void)scrollViewDidEndDragging:(id)scrollView willDecelerate:(BOOL)decelerate;
-(void)scrollViewDidEndDecelerating:(id)scrollView;
-(BOOL)scrollView:(id)view shouldCancelInContentForView:(id)view2;
-(void)saveScrollPositionBeforeSuspendGesture;
-(void)restoreScrollPositionAfterSuspendGesture;
@end