-
Notifications
You must be signed in to change notification settings - Fork 5
/
UIMotionEventProxy.h
70 lines (57 loc) · 2.05 KB
/
UIMotionEventProxy.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
/* This file is part of FoneMonkey.
FoneMonkey is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FoneMonkey is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FoneMonkey. If not, see <http://www.gnu.org/licenses/>. */
/*
* Generated by class-dump 3.1.1.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2006 by Steve Nygard.
*/
#import <UIKit/UIEvent.h>
// Provides access to undocumented UIMotionEvent class, which we need to instance to simulate shaking
@class NSTimer;
@interface UIMotionEventProxy : UIEvent
{
@public
id _motionAccelerometer;
int _subtype;
int _shakeState;
int _stateMachineState;
double _shakeStartTime;
double _lastMovementTime;
double _highLevelTime;
double _lowEndTimeout;
NSTimer *_idleTimer;
BOOL _sentMotionBegan;
float _lowPassState[10];
unsigned int _lowPassStateIndex;
unsigned int _highPassStateIndex;
float _highPassState[2];
}
- (id)_init;
- (void)dealloc;
- (int)type;
- (int)subtype;
- (void)_setSubtype:(int)fp8;
- (id)description;
- (void)_willResume;
- (void)_willSuspend;
- (void)_accelerometerDidDetectMovementWithTimestamp:(double)fp8;
- (void)_idleTimerFired;
- (void)accelerometer:(id)fp8 didAccelerateWithTimeStamp:(double)fp12 x:(float)fp20 y:(float)fp24 z:(float)fp28 eventType:(int)fp32;
- (int)_feedStateMachine:(float)fp8 currentState:(int)fp12 timestamp:(double)fp16;
- (float)_highPass:(float)fp8;
- (void)_resetLowPassState;
- (float)_lowPass:(float)fp8;
- (float)_determineShakeLevelX:(float)fp8 y:(float)fp12 currentState:(int)fp16;
- (int)_shakeState;
- (int)shakeState;
- (void)setShakeState:(int)fp8;
@end