Lines Matching refs:InputState
1663 bool Viewer::onTouch(intptr_t owner, skui::InputState state, float x, float y) {
1676 case skui::InputState::kUp: {
1697 case skui::InputState::kDown: {
1701 case skui::InputState::kMove: {
1716 bool Viewer::onMouse(int x, int y, skui::InputState state, skui::ModifierKey modifiers) {
1728 case skui::InputState::kUp: {
1732 case skui::InputState::kDown: {
1736 case skui::InputState::kMove: {
1747 if (state != skui::InputState::kMove || fGesture.isBeingTouched()) {
1753 bool Viewer::onFling(skui::InputState state) {
1754 if (skui::InputState::kRight == state) {
1757 } else if (skui::InputState::kLeft == state) {
1764 bool Viewer::onPinch(skui::InputState state, float scale, float x, float y) {
1766 case skui::InputState::kDown:
1770 case skui::InputState::kMove:
1774 case skui::InputState::kUp:
3048 bool Viewer::onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers) {