-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathSBAppSliderController.h
137 lines (133 loc) · 6.09 KB
/
SBAppSliderController.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/**
* 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 "_UISettingsKeyObserver.h"
#import "SBAppSliderIconControllerDelegate.h"
#import "SpringBoard-Structs.h"
#import "SBAppSliderScrollingViewDelegate.h"
#import "SBVolumePressBandit.h"
#import <XXUnknownSuperclass.h> // Unknown library
@class SBFakeStatusBarViewCache, NSDictionary, SBAppSliderIconController, NSObject, SBAppSwitcherServices, SBAppSliderSettings, SBAppSliderScrollingViewController, UIView, NSMutableDictionary, NSArray, NSMutableSet, NSMutableArray, NSString;
@protocol SBAppSliderControllerDelegate, OS_dispatch_queue;
__attribute__((visibility("hidden")))
@interface SBAppSliderController : XXUnknownSuperclass <SBAppSliderIconControllerDelegate, SBAppSliderScrollingViewDelegate, _UISettingsKeyObserver, SBVolumePressBandit> {
id<SBAppSliderControllerDelegate> _delegate;
NSMutableArray* _appList;
SBAppSwitcherServices* _switcherServices;
NSMutableDictionary* _switcherServiceViewControllerMap;
unsigned _appListAccessCount;
SBAppSliderScrollingViewController* _pageController;
SBAppSliderIconController* _iconController;
UIView* _containerView;
UIView* _contentView;
UIView* _pageView;
UIView* _iconView;
UIView* _iconParallaxView;
UIView* _iconParallaxCorrectionView;
NSMutableSet* _hostedApplications;
NSMutableDictionary* _appSnapshots;
NSRange _lastVisibleRange;
unsigned _startAnchorIndex;
int _startingInterfaceOrientation;
int _layoutInterfaceOrientation;
BOOL _interactionEnabled;
BOOL _visible;
int _mode;
BOOL _deferredWorkComplete;
unsigned _startingIndex;
NSString* _startingDisplayIdentifier;
NSDictionary* _startingViews;
int _enterSide;
SBAppSliderSettings* _settings;
NSObject<OS_dispatch_queue>* _snapshotQueue;
NSMutableArray* _servicesRemovedWhileAwayFromSwitcher;
SBFakeStatusBarViewCache* _statusBarCache;
CGAffineTransform _wallpaperTransform;
}
@property(retain, nonatomic) NSDictionary* startingViews;
@property(readonly, assign, nonatomic) SBAppSliderIconController* iconController;
@property(readonly, assign, nonatomic) NSArray* applicationList;
@property(assign, nonatomic) CGAffineTransform wallpaperTransform;
@property(copy, nonatomic) NSString* startingDisplayIdentifier;
@property(assign, nonatomic) id<SBAppSliderControllerDelegate> delegate;
+(BOOL)_shouldUseSerialSnapshotQueue;
+(BOOL)shouldProvideHomeSnapshotIfPossible;
+(BOOL)shouldProvideSnapshotIfPossible;
-(id)pageController;
-(void)settings:(id)settings changedValueForKey:(id)key;
-(void)handleVolumeDecrease;
-(void)handleVolumeIncrease;
-(void)sliderScrollerDidEndScrolling:(id)sliderScroller;
-(BOOL)sliderScroller:(id)scroller itemWantsToBeKeptInViewHierarchy:(unsigned)viewHierarchy;
-(void)sliderScroller:(id)scroller itemWantsToBeRemoved:(unsigned)beRemoved;
-(BOOL)sliderScroller:(id)scroller isIndexRemovable:(unsigned)removable;
-(void)sliderScrollerBeganPanning:(id)panning;
-(void)sliderScroller:(id)scroller itemTapped:(unsigned)tapped;
-(void)sliderScroller:(id)scroller contentOffsetChanged:(float)changed;
-(float)sliderScrollerDistanceBetweenItemCenters:(id)centers forOrientation:(int)orientation;
-(CGSize)sliderScrollerItemSize:(id)size forOrientation:(int)orientation;
-(id)sliderScroller:(id)scroller viewForIndex:(unsigned)index;
-(unsigned)sliderScrollerItemCount:(id)count;
-(void)sliderIconScrollerBeganPanning:(id)panning;
-(void)sliderIconScrollerDidEndScrolling:(id)sliderIconScroller;
-(unsigned)sliderIconScroller:(id)scroller settledIndexForNormalizedOffset:(inout float*)normalizedOffset andXVelocity:(float)velocity;
-(void)sliderIconScroller:(id)scroller activate:(id)activate;
-(void)sliderIconScroller:(id)scroller contentOffsetChanged:(float)changed;
-(void)_bringIconViewToFront;
-(void)_updateSnapshots;
-(unsigned)_totalSnapshotsToKeepAround;
-(BOOL)_isSnapshotDisplayIdentifier:(id)identifier;
-(BOOL)isScrolling;
-(id)_animationSettingsForIconAlphaTransition;
-(id)_transitionAnimationFactory;
-(int)_windowInterfaceOrientation;
-(void)_disableContextHostingForApp:(id)app;
-(void)_quitAppAtIndex:(unsigned)index;
-(void)_temporarilyHostAppForQuitting:(id)quitting;
-(void)_endAppListAccess;
-(id)_beginAppListAccess;
-(id)_displayIDAtIndex:(unsigned)index;
-(void)_appActivationStateDidChange:(id)_appActivationState;
-(void)_noteLockScreenCameraDidShow;
-(id)_iconListForAppList:(id)appList;
-(void)_setInteractionEnabled:(BOOL)enabled;
-(id)_generateCellViewForIndex:(unsigned)index;
-(id)_snapshotViewForDisplayIdentifier:(id)displayIdentifier;
-(id)_viewForService:(id)service;
-(void)_switcherServiceRemoved:(id)removed;
-(void)_snapshotChangedOnDisk:(id)disk;
-(void)_updatePageViewScale:(float)scale;
-(void)_updatePageViewScale:(float)scale xTranslation:(float)translation;
-(void)_updateForAnimationFrame:(float)animationFrame withAnchor:(unsigned)anchor;
-(float)_frameScaleValueForAnimation;
-(float)_scaleForFullscreenPageView;
-(void)_reverseAppList;
-(BOOL)_inMode:(int)mode;
-(float)_sliderThumbnailVerticalPositionOffset;
-(void)didRotateFromInterfaceOrientation:(int)interfaceOrientation;
-(void)willAnimateRotationToInterfaceOrientation:(int)interfaceOrientation duration:(double)duration;
-(void)willRotateToInterfaceOrientation:(int)interfaceOrientation duration:(double)duration;
-(void)_getRotationContentSettings:(XXStruct_3uUjXA*)settings;
-(unsigned)supportedInterfaceOrientations;
-(BOOL)shouldAutorotate;
-(BOOL)shouldAutomaticallyForwardRotationMethods;
-(BOOL)wantsFullScreenLayout;
-(id)pageForDisplayIdentifier:(id)displayIdentifier;
-(BOOL)allowShowHide;
-(void)forceDismissAnimated:(BOOL)animated;
-(void)animateDismissalToDisplayIdentifier:(id)displayIdentifier withCompletion:(id)completion;
-(void)switcherWasDismissed:(BOOL)dismissed;
-(void)switcherWillBeDismissed:(BOOL)switcher;
-(void)switcherWasPresented:(BOOL)presented;
-(void)_layoutInOrientation:(int)orientation;
-(void)animatePresentationFromDisplayIdentifier:(id)displayIdentifier withViews:(id)views fromSide:(int)side withCompletion:(id)completion;
-(void)_layout;
-(CGRect)_nominalPageViewFrame;
-(BOOL)prefersStatusBarHidden;
-(void)loadView;
-(void)dealloc;
-(id)init;
@end