Home
last modified time | relevance | path

Searched refs:get_modifiers (Results 1 – 3 of 3) sorted by relevance

/external/skia/tools/viewer/sk_app/mac/
DWindow_mac.cpp126 static uint32_t get_modifiers(const SDL_Event& event) { in get_modifiers() function
188 Window::kDown_InputState, get_modifiers(event)); in handleEvent()
195 Window::kUp_InputState, get_modifiers(event)); in handleEvent()
201 Window::kMove_InputState, get_modifiers(event)); in handleEvent()
205 this->onMouseWheel(event.wheel.y, get_modifiers(event)); in handleEvent()
211 if (!this->onKey(key, Window::kDown_InputState, get_modifiers(event))) { in handleEvent()
223 get_modifiers(event)); in handleEvent()
230 (void) this->onChar(c, get_modifiers(event)); in handleEvent()
/external/skia/tools/viewer/sk_app/unix/
DWindow_unix.cpp227 static uint32_t get_modifiers(const XEvent& event) { in get_modifiers() function
265 Window::kDown_InputState, get_modifiers(event)); in handleEvent()
268 this->onMouseWheel(1.0f, get_modifiers(event)); in handleEvent()
271 this->onMouseWheel(-1.0f, get_modifiers(event)); in handleEvent()
279 Window::kUp_InputState, get_modifiers(event)); in handleEvent()
285 Window::kMove_InputState, get_modifiers(event)); in handleEvent()
293 if (!this->onKey(key, Window::kDown_InputState, get_modifiers(event))) { in handleEvent()
302 (void) this->onChar((SkUnichar) uni, get_modifiers(event)); in handleEvent()
312 get_modifiers(event)); in handleEvent()
/external/skia/tools/viewer/sk_app/win/
DWindow_win.cpp159 static uint32_t get_modifiers(UINT message, WPARAM wParam, LPARAM lParam) { in get_modifiers() function
239 get_modifiers(message, wParam, lParam)); in WndProc()
245 get_modifiers(message, wParam, lParam)); in WndProc()
251 get_modifiers(message, wParam, lParam)); in WndProc()
257 get_modifiers(message, wParam, lParam)); in WndProc()
277 get_modifiers(message, wParam, lParam)); in WndProc()
293 get_modifiers(message, wParam, lParam)); in WndProc()
298 get_modifiers(message, wParam, lParam)); in WndProc()