This repository has been archived by the owner on Dec 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathAsphaleia.h
315 lines (274 loc) · 10.4 KB
/
Asphaleia.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
#import <UIKit/UIKit.h>
@interface BBBulletin : NSObject
- (NSString *)sectionID;
- (id)modalAlertContent;
@end
@interface SBDisplayItem : NSObject
@property (nonatomic,readonly) NSString *displayIdentifier;
@end
@interface CAFilter : NSObject
+ (CAFilter*)filterWithName:(NSString*)name;
@end
@interface SBAppSwitcherIconController : NSObject
@property(copy, nonatomic) NSArray *displayLayouts;
@end
@interface SBAppSwitcherSnapshotView : UIView
@property(retain, nonatomic) UIImage *deferredUpdateImage;
@property(readonly, copy, nonatomic) SBDisplayItem *displayItem;
@end
@interface SBApplication : NSObject
- (id)bundleIdentifier;
- (NSString*)displayName;
- (NSString*)longDisplayName;
@end
@interface SBApplicationController : NSObject
- (id)sharedInstance;
- (id)applicationWithBundleIdentifier:(NSString*)bundleID;
@end
@interface SBApplicationIcon : NSObject
- (id)initWithApplication:(id)application;
@end
@interface SBBannerContainerViewController : UIViewController
@property(readonly, assign, nonatomic) UIView* bannerContextView;
- (CGRect)_bannerFrameForOrientation:(int)orientation;
- (CGRect)_bannerFrame;
- (BBBulletin *)_bulletin;
@end
@interface SBControlCenterController : NSObject
+(id)sharedInstance;
-(void)_endPresentation;
-(void)_beginPresentation;
-(void)presentAnimated:(BOOL)animated;
-(void)presentAnimated:(BOOL)animated completion:(id)completion;
-(void)_presentWithDuration:(double)duration completion:(id)completion;
-(void)dismissAnimated:(BOOL)animated completion:(id)completion;
-(void)dismissAnimated:(BOOL)animated;
-(void)_revealSlidingViewToHeight:(float)height;
-(void)_finishPresenting:(BOOL)presenting completion:(id)completion;
-(void)_updateRevealPercentage:(float)percentage;
-(void)cancelTransition;
-(void)abortAnimatedTransition;
@end
@interface SBDisplayLayout : NSObject
@property (nonatomic,readonly) long long layoutSize;
@property (nonatomic,readonly) NSArray * displayItems;
-(NSArray *)displayItems;
@end
@interface SBIcon : NSObject
// 8.4+
-(NSString *)displayNameForLocation:(int)location;
// 8.3+
-(void)launchFromLocation:(int)location context:(id)context;
// 8.1 and lower
-(void)launchFromLocation:(int)location;
-(NSString *)displayName;
// All
- (BOOL)isFolderIcon;
- (BOOL)isApplicationIcon;
-(NSString *)applicationBundleID;
-(void)setBadge:(id)badge;
-(id)getIconImage:(int)image;
- (BOOL)isDownloadingIcon;
@end
@interface SBIconController : NSObject
+(id)sharedInstance;
-(BOOL)isEditing;
-(void)setIsEditing:(BOOL)editing;
// Custom method
-(void)asphaleia_resetAsphaleiaIconView;
@end
@interface SBIconLabelImageParameters : NSObject <NSCopying, NSMutableCopying>
@property(readonly, copy, nonatomic) NSString* text;
-(id)mutableCopyWithZone:(NSZone*)zone;
-(id)copyWithZone:(NSZone*)zone;
-(void)setText:(NSString *)text;
-(void)dealloc;
-(id)initWithParameters:(id)parameters;
-(id)init;
@end
@interface SBIconLabelView : UIView {
SBIconLabelImageParameters* _imageParameters;
}
@property(retain, nonatomic) SBIconLabelImageParameters* imageParameters;
+(void)updateIconLabelView:(id)view withSettings:(id)settings imageParameters:(id)parameters;
+(id)newIconLabelViewWithSettings:(id)settings imageParameters:(id)parameters;
-(void)_checkInImages;
-(void)dealloc;
@end
@interface SBIconImageView : UIImageView
@property(assign, nonatomic) float overlayAlpha;
@end
@interface SBIconView : UIView
@property(assign, nonatomic) int location;
@property(retain, nonatomic) SBIcon* icon;
@property(assign, nonatomic) BOOL isEditing;
-(void)setIsGrabbed:(BOOL)grabbed;
-(void)setHighlighted:(BOOL)highlighted;
-(void)setAllowJitter:(BOOL)jitter;
-(BOOL)isHighlighted;
-(void)cancelLongPressTimer;
-(void)setIconImageAndAccessoryAlpha:(float)alpha;
-(SBIconImageView *)_iconImageView;
-(void)setTouchDownInIcon:(BOOL)icon;
-(BOOL)isTouchDownInIcon;
-(void)cancelLongPressTimer;
-(id)initWithContentType:(int)contentType;
-(void)_setIcon:(id)icon animated:(BOOL)animated;
-(void)setLabelAccessoryViewHidden:(BOOL)hidden;
-(void)setLabelHidden:(BOOL)hidden;
-(void)_updateLabel;
-(BOOL)isInDock;
// New method
-(void)asphaleia_updateLabelWithText:(NSString *)text;
@end
@interface SPUISearchHeader : UIView
-(void)cancelButtonClicked:(id)arg1;
-(BOOL)textFieldShouldReturn:(id)arg1 ;
-(void)focusSearchField;
-(void)unfocusSearchField;
@end
@interface SBUIController : NSObject
+(id)sharedInstanceIfExists;
+(id)sharedInstance;
-(BOOL)isAppSwitcherShowing;
-(BOOL)clickedMenuButton;
-(BOOL)handleHomeButtonDoublePressDown;
@end
@interface SpringBoard : NSObject
-(void)_revealSpotlight;
-(void)_runHomeScreenIconPullToSpotlight;
-(void)_runHomeScreenIconPullToSpotlightDismiss;
-(SBApplication *)_accessibilityFrontMostApplication;
-(void)_applicationOpenURL:(id)url withApplication:(id)application sender:(id)sender publicURLsOnly:(BOOL)only animating:(BOOL)animating activationSettings:(id)settings withResult:(id)result;
-(BOOL)_requestPermissionToOpenURL:(id)openURL withApplication:(id)application sender:(id)sender;
-(void)applicationOpenURL:(id)url;
-(void)_handleGotoHomeScreenShortcut:(id)arg1 ;
@end
@interface SBBannerController : NSObject
+(id)sharedInstance;
-(BOOL)isShowingBanner;
@end
@interface BiometricKit : NSObject
+(id)manager;
-(NSDictionary *)identities:(id)object;
-(BOOL)isTouchIDCapable;
@end
@interface SBLockScreenManager : NSObject
@property(readonly, assign) BOOL isUILocked;
@property(assign, nonatomic, getter=isUIUnlocking) BOOL UIUnlocking;
+(id)sharedInstance;
@end
@interface UIWindow ()
- (void)_setSecure:(BOOL)arg1;
@end
@interface SBLockScreenSlideUpToAppController : NSObject
- (void)_finishSlideDownWithCompletion:(id)completion;
@end
@interface UIAlertController ()
@property (nonatomic,retain) UIViewController * contentViewController;
@property UIView *_foregroundView;
@end
@interface CAMImageWell : UIButton
@end
@protocol SBUIBiometricEventObserver
-(void)matchResult:(id)result withDetails:(id)details;
@end
@interface SBWorkspaceApplication : NSObject
@property(retain, nonatomic) SBApplication *application;
@end
@interface SBToAppsWorkspaceTransaction : NSObject
- (_Bool)toAndFromAppsDiffer;
@property(readonly, retain, nonatomic) NSArray *deactivatingApplications;
@property(readonly, retain, nonatomic) NSArray *activatingApplications;
@property(readonly, retain, nonatomic) NSArray *fromApplications;
@property(readonly, retain, nonatomic) NSArray *toApplications;
@end
@interface BiometricKitIdentity : NSObject
-(NSString *)name;
@end
// Auxo LE
@interface AuxoCardView : UIView
@property(readonly, nonatomic) NSString *displayIdentifier;
@end
@interface AuxoCollectionViewCell : NSObject
@property(readonly, nonatomic) AuxoCardView *cardView;
@end
@interface AuxoCollectionView : UICollectionView
- (void)activateApplicationWithDisplayIdentifier:(NSString *)arg1 fromCell:(AuxoCollectionViewCell *)arg2;
@end
@interface PKGlyphView : UIView
@property (nonatomic,copy) UIColor * primaryColor; //@synthesize primaryColor=_primaryColor - In the implementation block
@property (nonatomic,copy) UIColor * secondaryColor; //@synthesize secondaryColor=_secondaryColor - In the implementation block
@property (assign,nonatomic) BOOL fadeOnRecognized;
@property (nonatomic,retain) UIImage * customImage; //@synthesize customImage=_customImage - In the implementation block
@property (nonatomic,readonly) long long state; //@synthesize state=_state - In the implementation block
+(BOOL)automaticallyNotifiesObserversOfState;
-(id)initWithFrame:(CGRect)arg1 ;
-(id)initWithCoder:(id)arg1 ;
-(void)dealloc;
-(void)layoutSubviews;
-(long long)state;
-(void)setState:(long long)arg1 ;
-(id)initWithStyle:(long long)arg1 ;
-(UIColor *)primaryColor;
-(void)setPrimaryColor:(UIColor *)arg1 ;
-(void)setSecondaryColor:(UIColor *)arg1 ;
-(UIColor *)secondaryColor;
-(void)_startPhoneWiggle;
-(void)_endPhoneWiggle;
-(void)setPrimaryColor:(id)arg1 animated:(BOOL)arg2 ;
-(void)_executeTransitionCompletionHandlers:(BOOL)arg1 ;
-(void)_updatePhoneLayoutWithTransitionIndex:(unsigned long long)arg1 animated:(BOOL)arg2 ;
-(double)_minimumAnimationDurationForStateTransition;
-(void)setState:(long long)arg1 animated:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
-(void)_performTransitionWithTransitionIndex:(unsigned long long)arg1 animated:(BOOL)arg2 ;
-(void)_updatePhoneWiggleIfNecessary;
-(void)_updateCustomImageViewOpacityAnimated:(BOOL)arg1 ;
-(void)_updateCheckViewStateAnimated:(BOOL)arg1 ;
-(void)_finishTransitionForIndex:(unsigned long long)arg1 ;
-(void)_executeAfterMinimumAnimationDurationForStateTransition:(/*^block*/id)arg1 ;
-(void)_updateLastAnimationTimeWithAnimationOfDuration:(double)arg1 ;
-(CGPoint)_phonePositionWhileShownWithRotationPercentage:(double)arg1 ;
-(CATransform3D)_phoneTransformDeltaWhileShownFromRotationPercentage:(double)arg1 toPercentage:(double)arg2 ;
-(CGPoint)_phonePositionDeltaWhileShownFromRotationPercentage:(double)arg1 toPercentage:(double)arg2 ;
-(void)setSecondaryColor:(id)arg1 animated:(BOOL)arg2 ;
-(BOOL)fadeOnRecognized;
-(void)setFadeOnRecognized:(BOOL)arg1 ;
-(void)setCustomImage:(UIImage *)arg1 ;
-(UIImage *)customImage;
@end
@interface SBUIPasscodeLockViewBase : UIView
@property (assign,setter=_setLuminosityBoost:,getter=_luminosityBoost,nonatomic) double luminosityBoost;
@property (nonatomic,readonly) NSString * passcode;
-(void)_evaluateLuminance;
@end
@interface SBUIPasscodeLockViewWithKeypad : SBUIPasscodeLockViewBase
@property (nonatomic,retain) UILabel * statusTitleView;
-(void)setDelegate:(id)arg1 ;
-(id)initWithLightStyle:(BOOL)arg1 ;
-(void)setShowsEmergencyCallButton:(BOOL)arg1 ;
-(void)setBackgroundAlpha:(double)arg1 ;
-(void)_layoutStatusView;
-(void)_luminanceBoostDidChange;
-(void)updateStatusText:(id)arg1 subtitle:(id)arg2 animated:(BOOL)arg3 ;
-(void)resetForFailedPasscode;
@end
@interface SBUIPasscodeLockViewSimpleFixedDigitKeypad : SBUIPasscodeLockViewWithKeypad
@property (nonatomic,readonly) unsigned long long numberOfDigits; //@synthesize numberOfDigits=_numberOfDigits - In the implementation block
-(id)initWithLightStyle:(BOOL)arg1 numberOfDigits:(unsigned long long)arg2 ;
-(id)initWithLightStyle:(BOOL)arg1 ;
-(id)_newEntryField;
-(double)_entryFieldBottomYDistanceFromNumberPadTopButton;
-(unsigned long long)numberOfDigits;
@end
@interface UIAlertController ()
@end
@interface _SBAlertController : UIAlertController
@end
@interface SBAlertItem : NSObject {
_SBAlertController* _alertController;
}
- (id)alertController;
- (void)dismiss;
- (void)configure:(BOOL)arg1 requirePasscodeForActions:(BOOL)arg2;
@end