This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNineLS.h
497 lines (419 loc) · 18.1 KB
/
NineLS.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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
#import "substrate.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <notify.h>
#import <dlfcn.h>
#import "support/MarqueeLabel.h"
#import <MediaRemote/MediaRemote.h>
#import <AudioToolbox/AudioServices.h>
#import <SpringBoard/SpringBoard.h>
// ====================== SLIDE TO UNLOCK ===========================
// =================================================================
@interface UIColor(Hexadecimal)
+ (UIColor *)colorWithHexString:(NSString *)hexString;
@end
@interface _UIGlintyStringView : UIView {
BOOL _animationRepeats;
BOOL _adjustsFontSizeToFitWidth;
BOOL _hasCustomBackgroundColor;
BOOL _highlight;
BOOL _allowsLuminanceAdjustments;
BOOL _usesBackgroundDimming;
BOOL _needsTextUpdate;
BOOL _animating;
BOOL _fading;
BOOL _showing;
int _textIndex;
NSString* _text;
UIFont* _font;
NSString* _textLanguage;
UIView* _backgroundView;
UIColor* _backgroundColor;
UIColor* _chevronBackgroundColor;
long long _chevronStyle;
double _horizontalPadding;
UILabel* _label;
UIView* _spotlightView;
UIImage* _chevron;
UIView* _highlightView;
UIView* _effectView;
UIView* _blurView;
UIView* _shimmerImageView;
UIView* _reflectionImageView;
double _blurAlpha;
NSMutableSet* _blurHiddenRequesters;
CGSize _labelSize;
CGRect _chevronFrame;
}
@property (assign,nonatomic) BOOL needsTextUpdate; //@synthesize needsTextUpdate=_needsTextUpdate - In the implementation block
@property (nonatomic,retain) UILabel * label; //@synthesize label=_label - In the implementation block
@property (assign,nonatomic) CGSize labelSize; //@synthesize labelSize=_labelSize - In the implementation block
@property (nonatomic,retain) UIView * spotlightView; //@synthesize spotlightView=_spotlightView - In the implementation block
@property (assign,nonatomic) int textIndex; //@synthesize textIndex=_textIndex - In the implementation block
@property (nonatomic,retain) UIImage * chevron; //@synthesize chevron=_chevron - In the implementation block
@property (assign,nonatomic) CGRect chevronFrame; //@synthesize chevronFrame=_chevronFrame - In the implementation block
@property (nonatomic,retain) UIView * highlightView; //@synthesize highlightView=_highlightView - In the implementation block
@property (assign,nonatomic) BOOL animating; //@synthesize animating=_animating - In the implementation block
@property (assign,nonatomic) BOOL fading; //@synthesize fading=_fading - In the implementation block
@property (assign,nonatomic) BOOL showing; //@synthesize showing=_showing - In the implementation block
@property (nonatomic,retain) UIView * effectView; //@synthesize effectView=_effectView - In the implementation block
@property (nonatomic,retain) UIView * blurView; //@synthesize blurView=_blurView - In the implementation block
@property (nonatomic,retain) UIView * shimmerImageView; //@synthesize shimmerImageView=_shimmerImageView - In the implementation block
@property (nonatomic,retain) UIView * reflectionImageView; //@synthesize reflectionImageView=_reflectionImageView - In the implementation block
@property (assign,nonatomic) double blurAlpha; //@synthesize blurAlpha=_blurAlpha - In the implementation block
@property (nonatomic,retain) NSMutableSet * blurHiddenRequesters; //@synthesize blurHiddenRequesters=_blurHiddenRequesters - In the implementation block
@property (nonatomic,copy) NSString * text; //@synthesize text=_text - In the implementation block
@property (nonatomic,retain) UIFont * font; //@synthesize font=_font - In the implementation block
@property (nonatomic,copy) NSString * textLanguage; //@synthesize textLanguage=_textLanguage - In the implementation block
@property (nonatomic,readonly) CGRect labelFrame;
@property (nonatomic,retain) UIView * backgroundView; //@synthesize backgroundView=_backgroundView - In the implementation block
@property (nonatomic,retain) UIColor * backgroundColor; //@synthesize backgroundColor=_backgroundColor - In the implementation block
@property (nonatomic,retain) UIColor * chevronBackgroundColor; //@synthesize chevronBackgroundColor=_chevronBackgroundColor - In the implementation block
@property (assign,nonatomic) BOOL animationRepeats; //@synthesize animationRepeats=_animationRepeats - In the implementation block
@property (assign,nonatomic) BOOL adjustsFontSizeToFitWidth; //@synthesize adjustsFontSizeToFitWidth=_adjustsFontSizeToFitWidth - In the implementation block
@property (assign,nonatomic) BOOL hasCustomBackgroundColor; //@synthesize hasCustomBackgroundColor=_hasCustomBackgroundColor - In the implementation block
@property (assign,nonatomic) long long chevronStyle; //@synthesize chevronStyle=_chevronStyle - In the implementation block
@property (assign,nonatomic) double horizontalPadding; //@synthesize horizontalPadding=_horizontalPadding - In the implementation block
@property (assign,nonatomic) BOOL highlight; //@synthesize highlight=_highlight - In the implementation block
@property (assign,nonatomic) BOOL allowsLuminanceAdjustments; //@synthesize allowsLuminanceAdjustments=_allowsLuminanceAdjustments - In the implementation block
@property (assign,nonatomic) BOOL usesBackgroundDimming; //@synthesize usesBackgroundDimming=_usesBackgroundDimming - In the implementation block
-(void)layoutSubviews;
-(void)hide;
-(void)show;
-(void)setLegibilitySettings:(id)arg1;
-(void)setBackgroundColor:(UIColor *)arg1 ;
-(UIColor *)backgroundColor;
-(void)dealloc;
-(void)didMoveToWindow;
-(CGSize)sizeThatFits:(CGSize)arg1 ;
-(id)_highlightColor;
-(NSString *)text;
-(void)setText:(NSString *)arg1 ;
-(void)setFont:(UIFont *)arg1 ;
-(void)setBackgroundView:(UIView *)arg1 ;
-(UIView *)backgroundView;
-(void)startAnimating;
-(UIFont *)font;
-(void)setHighlightView:(UIView *)arg1 ;
-(UIView *)highlightView;
-(BOOL)isAnimating;
-(void)stopAnimating;
-(void)setAnimating:(BOOL)arg1 ;
-(void)setAdjustsFontSizeToFitWidth:(BOOL)arg1 ;
-(UILabel *)label;
-(void)setLabel:(UILabel *)arg1 ;
-(UIView *)effectView;
-(BOOL)adjustsFontSizeToFitWidth;
-(void)fadeOutWithDuration:(double)arg1 ;
-(BOOL)animating;
-(void)setEffectView:(UIView *)arg1 ;
-(void)setChevronStyle:(long long)arg1 ;
-(void)updateText;
-(void)setNeedsTextUpdate:(BOOL)arg1 ;
-(BOOL)hasCustomBackgroundColor;
-(void)setBlurAlpha:(double)arg1 ;
-(UIView *)blurView;
-(void)updateBlurForHiddenRequesters;
-(BOOL)fading;
-(void)addGlintyAnimations;
-(void)removeGlintyAnimations;
-(void)hideEffects;
-(void)hideBlur;
-(void)setShowing:(BOOL)arg1 ;
-(void)showEffects;
-(void)showBlur;
-(void)setFading:(BOOL)arg1 ;
-(void)fadeInWithDuration:(double)arg1 ;
-(id)_chevronImageForStyle:(long long)arg1 ;
-(void)setChevron:(UIImage *)arg1 ;
-(void)updateTextWithBounds:(CGRect)arg1 ;
-(double)_chevronWidthWithPadding;
-(double)_chevronWidthWithPaddingCompression:(double)arg1 ;
-(double)_chevronHeightWithMaxOffset;
-(void)_updateLabelWithFrame:(CGRect)arg1 ;
-(double)_chevronVerticalOffset;
-(BOOL)allowsLuminanceAdjustments;
-(UIImage *)chevron;
-(id)shapeViewForCharactersInString:(id)arg1 withFont:(id)arg2 centeredInFrame:(CGRect)arg3 ;
-(void)setShimmerImageView:(UIView *)arg1 ;
-(void)setReflectionImageView:(UIView *)arg1 ;
-(BOOL)usesBackgroundDimming;
-(void)setBlurView:(UIView *)arg1 ;
-(double)blurAlpha;
-(UIView *)shimmerImageView;
-(UIView *)reflectionImageView;
-(void)addShimmerAnimationToLayer:(id)arg1 ;
-(void)addReflectionAnimationToLayer:(id)arg1 ;
-(id)_highlightCompositingFilter;
-(BOOL)needsTextUpdate;
-(CGSize)_labelSizeThatFits:(CGSize)arg1 ;
-(double)_chevronPadding;
-(double)baselineOffsetFromBottomWithSize:(CGSize)arg1 ;
-(id)initWithText:(id)arg1 andFont:(id)arg2 ;
-(void)setTextLanguage:(NSString *)arg1 ;
-(void)setBlurHidden:(BOOL)arg1 forRequester:(id)arg2 ;
-(void)fadeOut;
-(void)fadeIn;
-(void)setHighlight:(BOOL)arg1 ;
-(void)setHorizontalPadding:(double)arg1 ;
-(void)_updateHighlight;
-(CGRect)labelFrame;
-(CGRect)chevronFrame;
-(double)baselineOffsetFromBottom;
-(NSString *)textLanguage;
-(UIColor *)chevronBackgroundColor;
-(void)setChevronBackgroundColor:(UIColor *)arg1 ;
-(BOOL)animationRepeats;
-(void)setAnimationRepeats:(BOOL)arg1 ;
-(void)setHasCustomBackgroundColor:(BOOL)arg1 ;
-(long long)chevronStyle;
-(double)horizontalPadding;
-(BOOL)highlight;
-(void)setAllowsLuminanceAdjustments:(BOOL)arg1 ;
-(void)setUsesBackgroundDimming:(BOOL)arg1 ;
-(CGSize)labelSize;
-(void)setLabelSize:(CGSize)arg1 ;
-(UIView *)spotlightView;
-(void)setSpotlightView:(UIView *)arg1 ;
-(int)textIndex;
-(void)setTextIndex:(int)arg1 ;
-(void)setChevronFrame:(CGRect)arg1 ;
-(NSMutableSet *)blurHiddenRequesters;
-(void)setBlurHiddenRequesters:(NSMutableSet *)arg1 ;
@end
@interface CSPasscodeViewController : UIViewController
-(void)performCustomTransitionToVisible:(BOOL)arg1 withAnimationSettings:(id)arg2 completion:(/*^block*/id)arg3 ;
-(void)aggregateBehavior:(id)arg1 ;
-(id)displayLayoutElementIdentifier;
-(void)setUseBiometricPresentation:(BOOL)arg1 ;
-(void)setBiometricButtonsInitiallyVisible:(BOOL)arg1 ;
@end
@interface CSTodayPageViewController : UIViewController
@end
@interface SBPasscodeEntryTransientOverlayViewController : UIView
@end
@interface SBUILegibilityLabel : UILabel
@end
@interface CSComponent : NSObject
+(id)dateView;
-(id)hidden:(BOOL)arg1 ;
@end
@interface CSAppearance : NSObject
-(void)addComponent:(id)arg1;
@end
@interface NCNotificationListSectionRevealHintView : UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface CSPageControl : UIView
-(void)updateNineUnlockState;
@end
@interface CSTodayContentView : UIView
-(void)updateNineUnlockState;
@end
@interface SBFTouchPassThroughView : UIView
@end
@interface SBTodayViewController : UIView
@property (nonatomic, retain) UIScrollView *scrollView;
@property (nonatomic, retain) SBFTouchPassThroughView *spotlightContainerView;
@end
@interface SBHRootSidebarController : UIView
@end
@interface _UILegibilitySettings : NSObject
@property (nonatomic,retain) UIColor * primaryColor;
@end
@interface CSViewController : UIViewController
@property (assign,getter=isAuthenticated,nonatomic) BOOL authenticated;
-(id)_passcodeViewController;
-(id)initWithPageViewControllers:(id)arg1 mainPageContentViewController:(id)arg2 ;
-(id)initWithPageViewControllers:(id)arg1 mainPageContentViewController:(id)arg2 legibilityProvider:(id)arg3 ;
@property (nonatomic,readonly) _UILegibilitySettings * legibilitySettings;
@end
@interface CSScrollView : UIView
@property (assign,nonatomic) NSUInteger currentPageIndex;
-(BOOL)resetContentOffsetToCurrentPage;
-(void)_layoutScrollView;
-(void)layoutPages;
-(void)layoutSubviews;
-(void)setCurrentPageIndex:(NSUInteger)idx;
-(BOOL)scrollToPageAtIndex:(unsigned long long)arg1 animated:(BOOL)arg2 ;
-(id)initWithFrame:(CGRect)arg1 ;
-(void)_bs_didEndScrolling;
-(void)_bs_didScrollWithContext:(id)arg1 ;
-(double)pageRelativeScrollOffset;
@end
@interface CSTeachableMomentsContainerViewController : UIViewController
-(void)updateNineUnlockState;
@end
@interface SBUIPasscodeLockNumberPad : UIView
-(void)setVisible:(BOOL)arg1 animated:(BOOL)arg2 ;
-(void)_cancelButtonHit;
@end
@interface CSCoverSheetView : UIView
- (void)updateNineUnlockState;
@end
@interface SBDashBoardQuickActionsButton : UIView
@end
@interface CSFixedFooterViewController : UIViewController {
NSString* _cachedMesaFailureText;
BOOL _temporaryMesaFailureTextActive;
BOOL _authenticatedSinceFingerOn;
}
@property (nonatomic,readonly) UIView * fixedFooterView;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy,readonly) NSString * description;
@property (copy,readonly) NSString * debugDescription;
+(Class)viewClass;
-(void)dashBoardStatusTextViewControllerContentDidChange:(id)arg1 ;
-(UIView *)fixedFooterView;
-(void)updateCallToActionForMesaMatchFailure;
-(void)_addCallToAction;
-(void)_addStatusTextViewControllerIfNecessary;
-(void)_updateCallToActionTextAnimated:(BOOL)arg1 ;
-(id)init;
-(BOOL)handleEvent:(id)arg1 ;
-(void)viewDidLoad;
-(void)viewWillAppear:(BOOL)arg1 ;
-(void)viewDidAppear:(BOOL)arg1 ;
-(void)viewDidDisappear:(BOOL)arg1 ;
-(void)updateNineUnlockState;
@end
@interface SBCoverSheetSlidingViewController : UIViewController
-(void)_handleDismissGesture:(id)arg1 ;
-(void)setPresented:(BOOL)arg1 animated:(BOOL)arg2 withCompletion:(/*^block*/id)arg3 ;
@end
@interface SBCoverSheetPrimarySlidingViewController : SBCoverSheetSlidingViewController
@end
// ====================== Notifications ===========================
// =================================================================
// test notifications
@interface BBAction : NSObject
+ (id)actionWithLaunchBundleID:(id)arg1 callblock:(id)arg2;
@end
@interface BBBulletin : NSObject
@property(nonatomic, copy)NSString* sectionID;
@property(nonatomic, copy)NSString* recordID;
@property(nonatomic, copy)NSString* publisherBulletinID;
@property(nonatomic, copy)NSString* title;
@property(nonatomic, copy)NSString* message;
@property(nonatomic, retain)NSDate* date;
@property(assign, nonatomic)BOOL clearable;
@property(nonatomic)BOOL showsMessagePreview;
@property(nonatomic, copy)BBAction* defaultAction;
@property(nonatomic, copy)NSString* bulletinID;
@property(nonatomic, retain)NSDate* lastInterruptDate;
@property(nonatomic, retain)NSDate* publicationDate;
@end
@interface BBServer : NSObject
- (void)publishBulletin:(BBBulletin *)arg1 destinations:(NSUInteger)arg2 alwaysToLockScreen:(BOOL)arg3;
- (void)publishBulletin:(id)arg1 destinations:(unsigned long long)arg2;
@end
@interface BBObserver : NSObject
@end
@interface NCBulletinNotificationSource : NSObject
- (BBObserver *)observer;
@end
@interface SBNCNotificationDispatcher : NSObject
- (NCBulletinNotificationSource *)notificationSource;
@end
@interface SBLockScreenManager : NSObject
+(id)sharedInstance;
-(void)lockScreenViewControllerRequestsUnlock;
-(void)lockUIFromSource:(int)arg1 withOptions:(id)arg2 ;
@end
@interface _UITableViewCellSeparatorView : UIView
@property (nonatomic) BOOL drawsWithVibrantLightMode;
-(void)setSeparatorEffect:(UIVisualEffect *)arg1 ;
@end
@interface NCNotificationShortLookViewController : UIViewController
@property (nonatomic, weak) id delegate;
@end
@interface NCNotificationListView : UIScrollView
@property (assign,getter=isGrouped,nonatomic) BOOL grouped;
@property (nonatomic, strong, readwrite) NSMutableDictionary * visibleViews;
@property (nonatomic, readwrite) BOOL _sf_isScrolledPastTop;
@end
@interface MTMaterialView : UIView
@end
@interface NCNotificationShortLookView : UIView
@property (nonatomic, retain) UIView *backgroundView;
@property (nonatomic, retain) _UITableViewCellSeparatorView *lineView;
-(void)updateViews;
@end
@interface NCNotificationListCellActionButton : UIControl
@property(nonatomic, retain) MTMaterialView *backgroundView;
@end
@interface NCToggleControlPair: UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface NCToggleControl: UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface NCNotificationListCoalescingHeaderCell: UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface NCNotificationListCoalescingControlsCell: UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface CSCoverSheetViewController : UIViewController
@property (assign,getter=isAuthenticated,nonatomic) BOOL authenticated;
@property (nonatomic, retain) UIView *epicBlurView;
@property (nonatomic, retain) UIVisualEffectView *blurEffect;
-(void)updateViews;
@end
// ====================== Music Player ===========================
// =================================================================
@interface UIView (Private)
- (UIViewController *)_viewControllerForAncestor;
@end
@interface MRPlatterViewController : UIViewController
@property (assign,nonatomic) id delegate;
@end
@interface MRUNowPlayingViewController : UIViewController
@property (assign,nonatomic) id delegate;
@end
@interface CSMediaControlsViewController : UIViewController
@end
@interface MediaControlsTimeControl : UIView
@end
@interface MRUNowPlayingTimeControlsView : UIView
@end
@interface MediaControlsTransportStackView : UIView
@end
@interface MRUNowPlayingTransportControlsView : UIView
@end
@interface CSMainPageView : UIView
@property (nonatomic, retain) MarqueeLabel *songTitleLabel;
@property (nonatomic, retain) MarqueeLabel *artistTitleLabel;
@property (nonatomic, retain) UIImageView *artworkImageView;
@property (nonatomic, retain) UIView *epicBlurView;
@property (nonatomic, retain) UIVisualEffectView *blurEffect;
@property (nonatomic, retain) _UIGlintyStringView *SlideToUnlockView;
-(void)updateNineUnlockState;
-(void)updateNineMusicState;
-(void)refreshNineMusicViews;
@end
@interface MediaControlsVolumeSlider : UIView
@end
@interface MRUNowPlayingVolumeSlider : UIView
@end
@interface MediaControlsHeaderView : UIView
@end
@interface CSAdjunctItemView : UIView
@end
@interface CSAdjunctListView : UIView
@end
@interface SBMediaController : NSObject
+ (id)sharedInstance;
- (void)setNowPlayingInfo:(id)arg1;
- (BOOL)hasTrack;
@end
@interface PLPlatterView : UIView
@property (nonatomic,retain) UIView * backgroundView;
@end
@interface SBUIProudLockIconView: UIView
@end
@interface SBUIFaceIDCameraGlyphView: UIView
@end
@interface NCNotificationListStalenessEventTracker : NSObject
@end