Searched refs:sinkID (Results 1 - 8 of 8) sorted by relevance

/external/skia/src/views/
H A DSkEventSink.cpp239 SkEventSink::EventResult SkEventSink::DoEvent(const SkEvent& evt, SkEventSinkID sinkID) argument
241 SkEventSink* sink = SkEventSink::FindSink(sinkID);
250 SkDebugf("SkEventTrace: dispatching event <%s> to 0x%x", etype.c_str(), sinkID);
262 if (sinkID)
263 SkDebugf("DoEvent: Can't find sink for ID(%x)\n", sinkID);
265 SkDebugf("Event sent to 0 sinkID\n");
271 SkDebugf("SkEventTrace: eventsink not found <%s> for 0x%x\n", etype.c_str(), sinkID);
278 SkEventSink* SkEventSink::FindSink(SkEventSinkID sinkID) argument
280 if (sinkID == 0)
289 if (sink->getSinkID() == sinkID)
[all...]
H A DSkEvent.cpp313 bool SkEvent::Post(SkEvent* evt, SkEventSinkID sinkID, SkMSec delay) argument
316 return SkEvent::PostTime(evt, sinkID, SkTime::GetMSecs() + delay);
320 evt->fTargetID = sinkID;
327 str.appendHex(sinkID);
349 bool SkEvent::PostTime(SkEvent* evt, SkEventSinkID sinkID, SkMSec time) argument
356 evt->fTargetID = sinkID;
363 str.appendHex(sinkID);
403 SkEvent* SkEvent::Dequeue(SkEventSinkID* sinkID) argument
413 if (sinkID)
414 *sinkID
483 SkEventSinkID sinkID; local
[all...]
H A DSkWidgetViews.cpp182 int32_t sinkID; local
184 return evt.findS32(gWidgetEventSinkIDSlotName, &sinkID) ? (SkEventSinkID)sinkID : 0;
/external/skia/include/views/
H A DSkEvent.h27 posted, they are posted to a specific sinkID. When it is time to dispatch the
28 event, the sinkID is used to find the specific SkEventSink object. If it is found,
166 bool post(SkEventSinkID sinkID, SkMSec delay = 0) argument
168 return SkEvent::Post(this, sinkID, delay);
171 void postTime(SkEventSinkID sinkID, SkMSec time) argument
173 SkEvent::PostTime(this, sinkID, time);
H A DSkEventSink.h48 /** Add sinkID to the list of listeners, to receive events from calls to sendToListeners()
49 and postToListeners(). If sinkID already exists in the listener list, no change is made.
51 void addListenerID(SkEventSinkID sinkID);
56 /** Remove sinkID from the list of listeners. If sinkID does not appear in the list,
H A DSkView.h167 /** Depricated helper function. Just call event->post(sinkID, delay);
169 bool postEvent(SkEvent* evt, SkEventSinkID sinkID, SkMSec delay) { return evt->post(sinkID, delay); } argument
/external/skia/src/animator/
H A DSkAnimator.cpp479 void SkAnimator::onEventPost(SkEvent* evt, SkEventSinkID sinkID) argument
484 root->onEventPost(evt, sinkID);
488 SkASSERT(sinkID == this->getSinkID() || this->getHostEventSinkID() == sinkID);
490 SkEvent::Post(evt, sinkID);
493 void SkAnimator::onEventPostTime(SkEvent* evt, SkEventSinkID sinkID, SkMSec time) argument
498 root->onEventPostTime(evt, sinkID, time);
502 SkASSERT(sinkID == this->getSinkID() || this->getHostEventSinkID() == sinkID);
504 SkEvent::PostTime(evt, sinkID, tim
[all...]
H A DSkAnimateMaker.cpp264 SkEventSinkID sinkID = fAnimator->getSinkID(); local
265 fAnimator->onEventPost(new SkEvent(evt), sinkID);

Completed in 503 milliseconds