Lines Matching refs:evt
73 SkEvent* evt = new SkEvent();
77 evt->setString("name", label.c_str());
84 evt->setString("path", label.c_str());
85 evt->setS32("index", index);
86 evt->setS32("duration", 22);
87 evt->setType(fTarget);
88 return evt;
178 SkEvent* evt = new SkEvent();
179 evt->setType(fList[index].fTarget);
180 evt->setFast32(index);
181 return evt;
247 SkEvent evt;
248 evt.setType("listview-selection");
249 evt.setFast32(index);
250 this->sendEventToParents(evt);
433 bool SkListView::onEvent(const SkEvent& evt)
435 if (evt.isType(SK_EventType_Key))
437 switch (evt.getFast32()) {
448 SkEvent* evt = fSource->getEvent(fCurrIndex);
449 if (evt)
451 SkView* view = this->sendEventToParents(*evt);
452 delete evt;
464 return this->INHERITED::onEvent(evt);
592 SkEvent evt;
593 evt.setType("listview-selection");
594 evt.setFast32(index);
595 this->sendEventToParents(evt);
752 SkEvent* evt = fSource->getEvent(i);
753 SkASSERT(evt);
754 SkString path(evt->findString("path"));
755 delete evt;
824 bool SkGridView::onEvent(const SkEvent& evt)
826 if (evt.isType(SK_EventType_Key))
828 switch (evt.getFast32()) {
839 SkEvent* evt = fSource->getEvent(fCurrIndex);
840 if (evt)
843 (void)this->getCellRect(fCurrIndex, (SkRect*)evt->setScalars("local-rect", 4, NULL));
845 SkView* view = this->sendEventToParents(*evt);
846 delete evt;
853 return this->INHERITED::onEvent(evt);