Home
last modified time | relevance | path

Searched refs:InputState (Results 1 – 25 of 40) sorted by relevance

12

/external/skqp/tools/sk_app/
DWindow.h128 enum InputState { enum
146 virtual bool onKey(Key key, InputState state, uint32_t modifiers) { return false; } in onKey()
147 virtual bool onMouse(int x, int y, InputState state, uint32_t modifiers) { return false; } in onMouse()
149 virtual bool onTouch(intptr_t owner, InputState state, float x, float y) { return false; } in onTouch()
167 bool onKey(Key key, InputState state, uint32_t modifiers);
168 bool onMouse(int x, int y, InputState state, uint32_t modifiers);
170 bool onTouch(intptr_t owner, InputState state, float x, float y); // multi-owner = multi-touch
DWindow.cpp48 bool Window::onKey(Key key, InputState state, uint32_t modifiers) { in onKey()
52 bool Window::onMouse(int x, int y, InputState state, uint32_t modifiers) { in onMouse()
60 bool Window::onTouch(intptr_t owner, InputState state, float x, float y) { in onTouch()
DCommandSet.h44 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
/external/skia/tools/sk_app/
DWindow.h131 enum InputState { enum
149 virtual bool onKey(Key key, InputState state, uint32_t modifiers) { return false; } in onKey()
150 virtual bool onMouse(int x, int y, InputState state, uint32_t modifiers) { return false; } in onMouse()
152 virtual bool onTouch(intptr_t owner, InputState state, float x, float y) { return false; } in onTouch()
170 bool onKey(Key key, InputState state, uint32_t modifiers);
171 bool onMouse(int x, int y, InputState state, uint32_t modifiers);
173 bool onTouch(intptr_t owner, InputState state, float x, float y); // multi-owner = multi-touch
DWindow.cpp48 bool Window::onKey(Key key, InputState state, uint32_t modifiers) { in onKey()
52 bool Window::onMouse(int x, int y, InputState state, uint32_t modifiers) { in onMouse()
60 bool Window::onTouch(intptr_t owner, InputState state, float x, float y) { in onTouch()
DCommandSet.h44 bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers);
/external/skia/tools/viewer/
DViewer.h35 bool onTouch(intptr_t owner, sk_app::Window::InputState state, float x, float y) override;
36 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
38 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
DImGuiLayer.h126 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
128 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
DSlide.h33 virtual bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state, in onMouse()
DNIMASlide.h30 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state,
DSampleSlide.h32 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state,
DParticlesSlide.h32 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state,
DSkottieSlide.h32 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState, uint32_t modifiers) override;
DSlideDir.h39 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState, uint32_t modifiers) override;
DImGuiLayer.cpp73 bool ImGuiLayer::onMouse(int x, int y, Window::InputState state, uint32_t modifiers) { in onMouse()
187 bool ImGuiLayer::onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifier… in onKey()
DSampleSlide.cpp53 bool SampleSlide::onMouse(SkScalar x, SkScalar y, Window::InputState state, in onMouse()
/external/skqp/tools/viewer/
DViewer.h35 bool onTouch(intptr_t owner, sk_app::Window::InputState state, float x, float y) override;
36 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
38 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
DImGuiLayer.h28 bool onMouse(int x, int y, sk_app::Window::InputState state, uint32_t modifiers) override;
30 …bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers) override;
DNIMASlide.h30 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state,
DSlide.h33 virtual bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state, in onMouse()
DSampleSlide.h32 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState state,
DSkottieSlide.h32 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState, uint32_t modifiers) override;
DSlideDir.h39 bool onMouse(SkScalar x, SkScalar y, sk_app::Window::InputState, uint32_t modifiers) override;
DImGuiLayer.cpp71 bool ImGuiLayer::onMouse(int x, int y, Window::InputState state, uint32_t modifiers) { in onMouse()
178 bool ImGuiLayer::onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifier… in onKey()
DSampleSlide.cpp53 bool SampleSlide::onMouse(SkScalar x, SkScalar y, Window::InputState state, in onMouse()

12