-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSBAppSliderScrollingViewController.h
More file actions
76 lines (72 loc) · 2.99 KB
/
SBAppSliderScrollingViewController.h
File metadata and controls
76 lines (72 loc) · 2.99 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
/**
* 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 "UIScrollViewDelegate.h"
#import <XXUnknownSuperclass.h> // Unknown library
#import "SpringBoard-Structs.h"
@class SBStopScrollingGestureRecognizer, SBAppSliderScrollView, NSMutableArray, UITapGestureRecognizer;
@protocol SBAppSliderScrollingViewDelegate;
__attribute__((visibility("hidden")))
@interface SBAppSliderScrollingViewController : XXUnknownSuperclass <UIScrollViewDelegate> {
NSMutableArray* _items;
SBAppSliderScrollView* _scrollView;
BOOL _dragMaster;
BOOL _preventScroll;
UITapGestureRecognizer* _tapGesture;
SBStopScrollingGestureRecognizer* _stopScrollingGesture;
int _layoutOrientation;
id _scrollDoneBlock;
id<SBAppSliderScrollingViewDelegate> _delegate;
}
@property(assign, nonatomic) float normalizedOffset;
@property(assign, nonatomic) id<SBAppSliderScrollingViewDelegate> delegate;
-(void)scrollViewDidEndScrollingAnimation:(id)scrollView;
-(void)scrollViewWillEndDragging:(id)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint*)offset;
-(void)scrollViewDidScroll:(id)scrollView;
-(void)scrollViewDidEndDecelerating:(id)scrollView;
-(void)scrollViewDidEndDragging:(id)scrollView willDecelerate:(BOOL)decelerate;
-(void)scrollViewWillBeginDragging:(id)scrollView;
-(void)_fireAndCleanupScrollCompleteBlockIfNecessary;
-(void)_setContentOffset:(CGPoint)offset animated:(BOOL)animated;
-(void)_enableScrolling;
-(void)_disableScrolling;
-(BOOL)_isIndexVisible:(unsigned)visible withSidePadding:(float)sidePadding;
-(void)_updateVisiblePageViews;
-(void)_layout;
-(void)_layoutIndexContainer:(unsigned)container;
-(void)_generateViewIndexIfNecessary:(unsigned)necessary;
-(CGRect)_naturalScrollViewFrame;
-(CGPoint)_centerOfIndex:(unsigned)index;
-(float)_distanceBetweenCenters;
-(void)_handleStopGesture:(id)gesture;
-(void)_handleTapGesture:(id)gesture;
-(void)removeIndex:(unsigned)index duration:(double)duration;
-(void)reloadInOrientation:(int)orientation;
-(float)_halfWidth;
-(void)viewDidDisappear:(BOOL)view;
-(void)loadView;
-(unsigned)supportedInterfaceOrientations;
-(BOOL)shouldAutorotate;
-(BOOL)shouldAutomaticallyForwardRotationMethods;
-(float)preferredHeightForOrientation:(int)orientation;
-(void)switcherWasDismissed:(BOOL)dismissed;
-(NSRange)visibleItems;
-(BOOL)isScrolling;
-(BOOL)_isAnyScrollContainerScrolling;
-(id)pageViewForIndex:(unsigned)index;
-(unsigned)currentPage;
-(void)_setScrollingDoneBlock:(id)block;
-(BOOL)isIndexVisible:(unsigned)visible;
-(unsigned)settledIndexForNormalizedOffset:(inout float*)normalizedOffset andXVelocity:(float)velocity;
-(float)normalizedOffsetForOffset:(float)offset andXVelocity:(float)velocity;
-(float)normalizedOffsetOfIndex:(unsigned)index;
-(void)setOffsetToIndex:(unsigned)index animated:(BOOL)animated completion:(id)completion;
-(void)setOffsetToIndex:(unsigned)index animated:(BOOL)animated;
-(void)cancelScrolling;
-(float)_maxXOffset;
-(void)dealloc;
-(id)init;
@end