Home
last modified time | relevance | path

Searched refs:theEvent (Results 1 – 14 of 14) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacHelpers.cpp37 EventRef theEvent, in KeyDownWrapper() argument
42 ((MacKeyboard*)callClass)->_keyDownCallback( theEvent ); in KeyDownWrapper()
45 return CallNextEventHandler( nextHandler, theEvent ); in KeyDownWrapper()
56 EventRef theEvent, in KeyUpWrapper() argument
60 ((MacKeyboard*)callClass)->_keyUpCallback( theEvent ); in KeyUpWrapper()
63 return CallNextEventHandler( nextHandler, theEvent ); in KeyUpWrapper()
74 EventRef theEvent, in KeyModWrapper() argument
78 ((MacKeyboard*)callClass)->_modChangeCallback( theEvent ); in KeyModWrapper()
81 return CallNextEventHandler( nextHandler, theEvent ); in KeyModWrapper()
149 OSStatus MouseWrapper( EventHandlerCallRef nextHandler, EventRef theEvent, void* callClass ) in MouseWrapper() argument
[all …]
DCocoaMouse.mm122 - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
173 - (void)mouseDown:(NSEvent *)theEvent
176 NSEventType type = [theEvent type];
182 if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSAlternateKeyMask))
186 else if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSControlKeyMask))
199 - (void)mouseUp:(NSEvent *)theEvent {
201 NSEventType type = [theEvent type];
204 if((type == NSLeftMouseUp) && ([theEvent modifierFlags] & NSAlternateKeyMask))
208 else if((type == NSLeftMouseUp) && ([theEvent modifierFlags] & NSControlKeyMask))
223 - (void)mouseDragged:(NSEvent *)theEvent
[all …]
DMacMouse.cpp191 void MacMouse::_mouseCallback( EventRef theEvent ) in _mouseCallback() argument
193 UInt32 kind = GetEventKind (theEvent); in _mouseCallback()
210 …GetEventParameter(theEvent, kEventParamMouseDelta, typeHIPoint, NULL, sizeof(HIPoint), NULL, &delt… in _mouseCallback()
266 …GetEventParameter(theEvent, kEventParamMouseButton, typeMouseButton, NULL, sizeof(EventMouseButton… in _mouseCallback()
267 …GetEventParameter(theEvent, kEventParamKeyModifiers, typeUInt32, NULL, sizeof(UInt32), NULL, &modi… in _mouseCallback()
327 …GetEventParameter(theEvent, kEventParamMouseButton, typeMouseButton, NULL, sizeof(EventMouseButton… in _mouseCallback()
328 …GetEventParameter(theEvent, kEventParamKeyModifiers, typeUInt32, NULL, sizeof(UInt32), NULL, &modi… in _mouseCallback()
357 …GetEventParameter(theEvent, kEventParamMouseWheelAxis, typeMouseWheelAxis, NULL, sizeof(EventMouse… in _mouseCallback()
358 …GetEventParameter(theEvent, kEventParamMouseWheelDelta, typeSInt32, NULL, sizeof(SInt32), NULL, &w… in _mouseCallback()
DMacKeyboard.cpp195 void MacKeyboard::_keyDownCallback( EventRef theEvent ) in _keyDownCallback() argument
201 unsigned int time = (unsigned int)GetEventTime(theEvent); in _keyDownCallback()
203 status = GetEventParameter(theEvent, in _keyDownCallback()
222 …status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &string… in _keyDownCallback()
242 status = GetEventParameter( theEvent, 'kchr', typeChar, NULL, sizeof(char), NULL, &macChar ); in _keyDownCallback()
252 void MacKeyboard::_keyUpCallback( EventRef theEvent ) in _keyUpCallback() argument
257 status = GetEventParameter( theEvent, kEventParamKeyCode, typeUInt32, in _keyUpCallback()
261 injectEvent( kc, (int)GetEventTime(theEvent), MAC_KEYUP ); in _keyUpCallback()
266 void MacKeyboard::_modChangeCallback( EventRef theEvent ) in _modChangeCallback() argument
271 status = GetEventParameter( theEvent, kEventParamKeyModifiers, in _modChangeCallback()
[all …]
DCocoaKeyboard.mm333 - (void)keyDown:(NSEvent *)theEvent
335 unsigned short virtualKey = [theEvent keyCode];
336 unsigned int time = (unsigned int)[theEvent timestamp];
345 NSUInteger stringsize = [[theEvent charactersIgnoringModifiers] length];
346 … [[theEvent charactersIgnoringModifiers] getCharacters:text range:NSMakeRange(0, stringsize)];
361 macChar = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
370 - (void)keyUp:(NSEvent *)theEvent
372 unsigned short virtualKey = [theEvent keyCode];
375 [self injectEvent:kc eventTime:[theEvent timestamp] eventType:MAC_KEYUP];
378 - (void)flagsChanged:(NSEvent *)theEvent
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/mac/
DMacHelpers.h38 OSStatus KeyDownWrapper( EventHandlerCallRef nextHandler, EventRef theEvent, void* callClass );
40 OSStatus KeyUpWrapper( EventHandlerCallRef nextHandler, EventRef theEvent, void* callClass );
42 OSStatus KeyModWrapper( EventHandlerCallRef nextHandler, EventRef theEvent, void* callClass );
44 OSStatus MouseWrapper( EventHandlerCallRef nextHandler, EventRef theEvent, void* callClass );
DMacKeyboard.h63 void _keyDownCallback( EventRef theEvent );
64 void _keyUpCallback( EventRef theEvent );
65 void _modChangeCallback( EventRef theEvent );
DMacMouse.h54 void _mouseCallback( EventRef theEvent );
/external/opencv3/modules/highgui/src/
Dwindow_carbon.cpp127 OSStatus keyHandler(EventHandlerCallRef hcr, EventRef theEvent, void* inUserData);
128 static pascal OSStatus windowEventHandler(EventHandlerCallRef nextHandler, EventRef theEvent, void …
955 static pascal OSStatus windowEventHandler(EventHandlerCallRef nextHandler, EventRef theEvent, void … in windowEventHandler() argument
973 eventKind = GetEventKind(theEvent); in windowEventHandler()
974 eventClass = GetEventClass(theEvent); in windowEventHandler()
983 err = CallNextEventHandler(nextHandler, theEvent); in windowEventHandler()
986 …err = GetEventParameter(theEvent, kEventParamMouseButton, typeMouseButton, NULL, sizeof(eventMouse… in windowEventHandler()
987 …err = GetEventParameter(theEvent, kEventParamKeyModifiers, typeUInt32, NULL, sizeof(modifiers), NU… in windowEventHandler()
988 …err = GetEventParameter(theEvent,kEventParamClickCount,typeUInt32,NULL,sizeof(UInt32),NULL,&count); in windowEventHandler()
1002 …err = GetEventParameter(theEvent, kEventParamWindowMouseLocation, typeHIPoint, NULL, sizeof(point)… in windowEventHandler()
[all …]
Dwindow_cocoa.mm715 - (void)keyDown:(NSEvent *)theEvent {
717 [super keyDown:theEvent];
719 - (void)rightMouseDragged:(NSEvent *)theEvent {
721 [self cvMouseEvent:theEvent];
723 - (void)rightMouseUp:(NSEvent *)theEvent {
725 [self cvMouseEvent:theEvent];
727 - (void)rightMouseDown:(NSEvent *)theEvent {
730 [self cvMouseEvent:theEvent];
732 - (void)mouseMoved:(NSEvent *)theEvent {
733 [self cvMouseEvent:theEvent];
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/
Dcocoa.diff1017 //status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, 0, &stringsize, NULL);
1018 …//status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar)*10, NULL, &…
1019 …status = GetEventParameter( theEvent, 'kuni', typeUnicodeText, NULL, sizeof(UniChar) * 10, &string…
1206 +- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
1257 +- (void)mouseDown:(NSEvent *)theEvent
1260 + NSEventType type = [theEvent type];
1266 + if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSAlternateKeyMask))
1270 + else if((type == NSLeftMouseDown) && ([theEvent modifierFlags] & NSControlKeyMask))
1283 +- (void)mouseUp:(NSEvent *)theEvent {
1285 + NSEventType type = [theEvent type];
[all …]
/external/skia/src/views/mac/
DSkTextFieldCell.m45 event:(NSEvent *)theEvent {
52 event:theEvent];
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.h136 EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);
138 EventHandlerCallRef nextHandler, EventRef theEvent, void* userData);
Dvideo_render_agl.cc424 EventRef theEvent, in sHandleWindowResized() argument
429 int eventType = GetEventKind(theEvent); in sHandleWindowResized()
432 GetEventParameter (theEvent, in sHandleWindowResized()
583 …enderAGL::sHandleHiViewResized (EventHandlerCallRef nextHandler, EventRef theEvent, void* userData) in sHandleHiViewResized() argument
589 int eventType = GetEventKind(theEvent); in sHandleHiViewResized()
591 status = GetEventParameter (theEvent, in sHandleHiViewResized()