Lines Matching defs:evt
36 SkEvent evt;
37 this->onPrepareWidEvent(&evt);
38 this->postToListeners(evt, 0);
59 void onPrepareWidEvent(SkEvent* evt) override {
60 evt->setType("push-button");
61 evt->setFast32(fFast32);
62 evt->setString("label", fLabel.c_str());
186 bool onEvent(const SkEvent& evt) override {
187 if (evt.isType("push-button")) {
189 fSelected->fMode = (SkBlendMode)evt.getFast32();
194 return this->INHERITED::onEvent(evt);
197 bool onQuery(SkEvent* evt) override {
198 if (SampleCode::TitleQ(*evt)) {
199 SampleCode::TitleR(evt, "XferDemo");
202 return this->INHERITED::onQuery(evt);