Lines Matching refs:state
444 fCommands.addCommand('Z', "GUI", "Toggle zoom window state", [this]() {
1663 bool Viewer::onTouch(intptr_t owner, skui::InputState state, float x, float y) {
1669 if (fSlides[fCurrentSlide]->onMouse(slidePt.x(), slidePt.y(), state, skui::ModifierKey::kNone)) {
1675 switch (state) {
1716 bool Viewer::onMouse(int x, int y, skui::InputState state, skui::ModifierKey modifiers) {
1722 if (fSlides[fCurrentSlide]->onMouse(slidePt.x(), slidePt.y(), state, modifiers)) {
1727 switch (state) {
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) {
1765 switch (state) {
2456 bool isPaused = AnimTimer::kPaused_State == fAnimTimer.state();
2901 // Slide state
2909 // Backend state
2917 // MSAA state
2932 // Path renderer state
2962 // Softkey state
2983 // For those who will add more features to handle the state change in this function:
3040 // This state is actually NOT in the UI state.
3048 bool Viewer::onKey(skui::Key key, skui::InputState state, skui::ModifierKey modifiers) {
3049 return fCommands.onKey(key, state, modifiers);