/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_mouse.c | 265 …SDLTest_AssertPass("Call to SDL_ShowCursor(%s)", (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISAB… in _changeCursorVisibility() 267 (state == SDL_ENABLE) ? "SDL_ENABLE" : "SDL_DISABLE", oldState, result); in _changeCursorVisibility() 288 SDLTest_AssertCheck(currentState == SDL_DISABLE || currentState == SDL_ENABLE, in mouse_showCursor() 289 "Validate result is %i or %i, got: %i", SDL_DISABLE, SDL_ENABLE, currentState); in mouse_showCursor() 292 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor() 294 } else if (currentState == SDL_ENABLE) { in mouse_showCursor() 297 _changeCursorVisibility(SDL_ENABLE); in mouse_showCursor()
|
A D | testwm2.c | 138 SDL_EventState(SDL_DROPFILE, SDL_ENABLE); in main() 139 SDL_EventState(SDL_DROPTEXT, SDL_ENABLE); in main()
|
A D | testdropfile.c | 71 SDL_EventState(SDL_DROPFILE, SDL_ENABLE); in main()
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenevents.c | 383 return SDL_GetEventState(sdl_event_type) == SDL_ENABLE; in Emscripten_HandleMouseButton() 405 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleMouseFocus() 413 return SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE; in Emscripten_HandleWheel() 428 return SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE; in Emscripten_HandleFocus() 461 if (!preventDefault && SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in Emscripten_HandleTouch() 569 …= SDL_GetEventState(eventType == EMSCRIPTEN_EVENT_KEYDOWN ? SDL_KEYDOWN : SDL_KEYUP) == SDL_ENABLE; in Emscripten_HandleKey() 581 …if (eventType == EMSCRIPTEN_EVENT_KEYDOWN && SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE && !is… in Emscripten_HandleKey() 594 return SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; in Emscripten_HandleKeyPress()
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_clipboardevents.c | 37 if (SDL_GetEventState(SDL_CLIPBOARDUPDATE) == SDL_ENABLE) { in SDL_SendClipboardUpdate()
|
A D | SDL_displayevents.c | 48 if (SDL_GetEventState(SDL_DISPLAYEVENT) == SDL_ENABLE) { in SDL_SendDisplayEvent()
|
A D | SDL_dropevents.c | 39 if (SDL_GetEventState(evtype) == SDL_ENABLE) { in SDL_SendDrop()
|
A D | SDL_touch.c | 315 if (SDL_GetEventState(SDL_FINGERDOWN) == SDL_ENABLE) { in SDL_SendTouch() 335 if (SDL_GetEventState(SDL_FINGERUP) == SDL_ENABLE) { in SDL_SendTouch() 424 if (SDL_GetEventState(SDL_FINGERMOTION) == SDL_ENABLE) { in SDL_SendTouchMotion()
|
A D | SDL_events.c | 915 const SDL_bool isdnd = ((state == SDL_DISABLE) || (state == SDL_ENABLE)) && in SDL_EventState() 925 current_state = SDL_ENABLE; in SDL_EventState() 943 case SDL_ENABLE: in SDL_EventState() 981 if (SDL_GetEventState(eventType) == SDL_ENABLE) { in SDL_SendAppEvent() 995 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in SDL_SendSysWMEvent()
|
A D | SDL_keyboard.c | 792 if (SDL_GetEventState(type) == SDL_ENABLE) { in SDL_SendKeyboardKeyInternal() 861 if (SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE) { in SDL_SendKeyboardText() 879 if (SDL_GetEventState(SDL_TEXTEDITING) == SDL_ENABLE) { in SDL_SendEditingText()
|
A D | SDL_windowevents.c | 180 if (SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE) { in SDL_SendWindowEvent()
|
A D | SDL_gesture.c | 507 if (SDL_GetEventState(SDL_MULTIGESTURE) == SDL_ENABLE) { in SDL_SendGestureMulti() 524 if (SDL_GetEventState(SDL_DOLLARGESTURE) == SDL_ENABLE) { in SDL_SendGestureDollar() 540 if (SDL_GetEventState(SDL_DOLLARRECORD) == SDL_ENABLE) { in SDL_SendDollarRecord()
|
A D | SDL_mouse.c | 439 if (SDL_GetEventState(SDL_MOUSEMOTION) == SDL_ENABLE) { 565 if (SDL_GetEventState(type) == SDL_ENABLE) { 636 if (SDL_GetEventState(SDL_MOUSEWHEEL) == SDL_ENABLE) {
|
/AliOS-Things-master/components/SDL2/src/joystick/ |
A D | SDL_joystick.c | 1065 if (SDL_GetEventState(event.type) == SDL_ENABLE) { in SDL_PrivateJoystickAdded() 1146 if (SDL_GetEventState(event.type) == SDL_ENABLE) { in SDL_PrivateJoystickRemoved() 1212 if (SDL_GetEventState(SDL_JOYAXISMOTION) == SDL_ENABLE) { in SDL_PrivateJoystickAxis() 1252 if (SDL_GetEventState(SDL_JOYHATMOTION) == SDL_ENABLE) { in SDL_PrivateJoystickHat() 1287 if (SDL_GetEventState(SDL_JOYBALLMOTION) == SDL_ENABLE) { in SDL_PrivateJoystickBall() 1342 if (SDL_GetEventState(event.type) == SDL_ENABLE) { in SDL_PrivateJoystickButton() 1442 if (state == SDL_ENABLE) { in SDL_JoystickEventState()
|
A D | SDL_gamecontroller.c | 2215 if (SDL_GetEventState(SDL_CONTROLLERAXISMOTION) == SDL_ENABLE) { in SDL_PrivateGameControllerAxis() 2275 if (SDL_GetEventState(event.type) == SDL_ENABLE) { in SDL_PrivateGameControllerButton() 2305 if (state == SDL_ENABLE) { in SDL_GameControllerEventState()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11events.c | 317 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in X11_HandleGenericEvent() 709 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in X11_DispatchEvent() 916 if(SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE){ in X11_DispatchEvent() 993 if(SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE){ in X11_DispatchEvent() 1469 if(SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE){ in X11_PumpEvents()
|
/AliOS-Things-master/components/SDL2/src/sensor/ |
A D | SDL_sensor.c | 492 if (SDL_GetEventState(SDL_SENSORUPDATE) == SDL_ENABLE) { in SDL_PrivateSensorUpdate()
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-macosx.md | 58 if (SDL_GetEventState(SDL_QUIT) == SDL_ENABLE) { 69 if (SDL_GetEventState(SDL_DROPFILE) == SDL_ENABLE) {
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_events.h | 762 #define SDL_ENABLE 1 macro
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_events.c | 424 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in DirectFB_PumpEventsWindow() 440 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in DirectFB_PumpEventsWindow()
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_video.c | 1377 if ((SDL_GetEventState(SDL_DROPFILE) == SDL_ENABLE) || in IsAcceptingDragAndDrop() 1378 (SDL_GetEventState(SDL_DROPTEXT) == SDL_ENABLE)) { in IsAcceptingDragAndDrop() 3828 SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE); in SDL_StartTextInput() 3829 SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE); in SDL_StartTextInput() 3846 return (SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE); in SDL_IsTextInputActive()
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audio.c | 477 if (SDL_GetEventState(SDL_AUDIODEVICEADDED) == SDL_ENABLE) { in SDL_AddAudioDevice() 508 if (SDL_GetEventState(SDL_AUDIODEVICEREMOVED) == SDL_ENABLE) { in SDL_OpenedAudioDeviceDisconnected()
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsevents.c | 409 if (SDL_GetEventState(SDL_SYSWMEVENT) == SDL_ENABLE) { in WIN_WindowProc()
|