Searched refs:InputState (Results 1 – 8 of 8) sorted by relevance
/external/skia/tools/viewer/sk_app/ |
D | Window.h | 123 enum InputState { enum 132 typedef bool(*OnKeyFunc)(Key key, InputState state, uint32_t modifiers, void* userData); 133 typedef bool(*OnMouseFunc)(int x, int y, InputState state, uint32_t modifiers, void* userData); 135 typedef bool(*OnTouchFunc)(intptr_t owner, InputState state, float x, float y, void* userData); 182 bool onKey(Key key, InputState state, uint32_t modifiers); 183 bool onMouse(int x, int y, InputState state, uint32_t modifiers); 185 bool onTouch(intptr_t owner, InputState state, float x, float y); // multi-owner = multi-touch
|
D | Window.cpp | 22 static bool default_key_func(Window::Key key, Window::InputState state, uint32_t modifiers, in default_key_func() 27 static bool default_mouse_func(int x, int y, Window::InputState state, uint32_t modifiers, in default_mouse_func() 36 static bool default_touch_func(intptr_t owner, Window::InputState state, float x, float y, in default_touch_func() 69 bool Window::onKey(Key key, InputState state, uint32_t modifiers) { in onKey() 73 bool Window::onMouse(int x, int y, InputState state, uint32_t modifiers) { in onMouse() 81 bool Window::onTouch(intptr_t owner, InputState state, float x, float y) { in onTouch()
|
D | CommandSet.h | 44 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
|
D | CommandSet.cpp | 37 bool CommandSet::onKey(Window::Key key, Window::InputState state, uint32_t modifiers) { in onKey()
|
/external/skia/tools/viewer/ |
D | Viewer.h | 29 bool onTouch(intptr_t owner, sk_app::Window::InputState state, float x, float y); 30 bool onMouse(float x, float y, sk_app::Window::InputState state, uint32_t modifiers); 32 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
|
D | Viewer.cpp | 66 static bool on_touch_handler(intptr_t owner, Window::InputState state, float x, float y, void* user… in on_touch_handler() 79 static bool on_mouse_handler(int x, int y, Window::InputState state, uint32_t modifiers, in on_mouse_handler() 103 static bool on_key_handler(Window::Key key, Window::InputState state, uint32_t modifiers, in on_key_handler() 832 bool Viewer::onTouch(intptr_t owner, Window::InputState state, float x, float y) { in onTouch() 856 bool Viewer::onMouse(float x, float y, Window::InputState state, uint32_t modifiers) { in onMouse() 1447 bool Viewer::onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) { in onKey()
|
/external/skia/tools/viewer/sk_app/win/ |
D | Window_win.cpp | 273 Window::InputState istate = ((wParam & MK_LBUTTON) != 0) ? Window::kDown_InputState in WndProc() 310 Window::InputState state; in WndProc()
|
/external/skia/tools/viewer/sk_app/android/ |
D | surface_glue_android.cpp | 35 static const std::unordered_map<int, Window::InputState> ANDROID_TO_WINDOW_STATEMAP({
|