/external/skia/src/views/ |
D | SkEvent.cpp | 12 void SkEvent::initialize(const char* type, size_t typeLen, in initialize() 25 SkEvent::SkEvent() in SkEvent() function in SkEvent 30 SkEvent::SkEvent(const SkEvent& src) in SkEvent() function in SkEvent 37 SkEvent::SkEvent(const SkString& type, SkEventSinkID targetID) in SkEvent() function in SkEvent 42 SkEvent::SkEvent(const char type[], SkEventSinkID targetID) in SkEvent() function in SkEvent 48 SkEvent::~SkEvent() in ~SkEvent() 62 void SkEvent::getType(SkString* str) const in getType() 77 bool SkEvent::isType(const SkString& str) const in isType() 82 bool SkEvent::isType(const char type[], size_t typeLen) const in isType() 94 void SkEvent::setType(const char type[], size_t typeLen) in setType() [all …]
|
D | SkOSMenu.cpp | 93 const char slotName[], SkEvent* evt) { in Item() 137 SkEvent* evt) { in appendItem() 144 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendAction() 152 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendList() 174 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendSlider() 183 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendSwitch() 190 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendTriState() 197 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendTextField() 202 bool SkOSMenu::FindListItemCount(const SkEvent& evt, int* count) { in FindListItemCount() 206 bool SkOSMenu::FindListItems(const SkEvent& evt, SkString items[]) { in FindListItems() [all …]
|
D | SkEventSink.cpp | 74 bool SkEventSink::doEvent(const SkEvent& evt) { in doEvent() 78 bool SkEventSink::doQuery(SkEvent* evt) { in doQuery() 83 bool SkEventSink::onEvent(const SkEvent&) { in onEvent() argument 87 bool SkEventSink::onQuery(SkEvent*) { in onQuery() argument 207 void SkEventSink::postToListeners(const SkEvent& evt, SkMSec delay) { in postToListeners() 214 SkEvent* copy = SkNEW_ARGS(SkEvent, (evt)); in postToListeners() 222 SkEventSink::EventResult SkEventSink::DoEvent(const SkEvent& evt) { in DoEvent() 223 SkEvent::Proc proc = evt.getTargetProc(); in DoEvent()
|
/external/skia/include/views/ |
D | SkOSMenu.h | 57 SkEvent* evt); 60 SkEvent* getEvent() const { return fEvent; } in getEvent() 81 void postEvent() const { (new SkEvent(*(fEvent)))->post(); } in postEvent() 85 SkEvent* fEvent; 122 SkEvent* evt); 148 static bool FindListItemCount(const SkEvent& evt, int* count); 153 static bool FindListItems(const SkEvent& evt, SkString items[]); 154 static bool FindSliderMin(const SkEvent& evt, SkScalar* min); 155 static bool FindSliderMax(const SkEvent& evt, SkScalar* max); 160 static bool FindAction(const SkEvent& evt, const char label[]); [all …]
|
D | SkEvent.h | 29 class SkEvent { 34 typedef bool (*Proc)(const SkEvent& evt); 36 SkEvent(); 37 explicit SkEvent(const SkString& type, SkEventSinkID = 0); 38 explicit SkEvent(const char type[], SkEventSinkID = 0); 39 SkEvent(const SkEvent& src); 40 ~SkEvent(); 78 SkEvent* setTargetID(SkEventSinkID targetID) { in setTargetID() 101 SkEvent* setTargetProc(Proc proc) { in setTargetProc() 274 SkEvent* fNextEvent; // either in the delay or normal event queue [all …]
|
D | SkEventSink.h | 39 bool doEvent(const SkEvent&); 44 bool doQuery(SkEvent* query); 73 void postToListeners(const SkEvent& evt, SkMSec delay = 0); 84 static EventResult DoEvent(const SkEvent&); 95 virtual bool onEvent(const SkEvent&); 96 virtual bool onQuery(SkEvent*);
|
D | SkWidget.h | 19 class SkEvent; variable 36 virtual void prepareWidgetEvent(SkEvent*); 43 SkEvent fEvent; 104 bool onEvent(const SkEvent&) override; 120 virtual bool onEvent(const SkEvent&); 280 virtual SkEvent* getEvent(int index); 330 void setActionEvent(Action, SkEvent* event); 336 virtual bool onEvent(const SkEvent&); 392 virtual bool onEvent(const SkEvent&);
|
/external/skia/include/views/animated/ |
D | SkWidgetViews.h | 70 SkEvent& event() { return fEvent; } in event() 71 const SkEvent& event() const { return fEvent; } in event() 79 static SkEventSinkID GetWidgetEventSinkID(const SkEvent&); 92 virtual bool onPrepareWidgetEvent(SkEvent* evt); 99 SkEvent fEvent; 112 virtual bool onEvent(const SkEvent&); 138 static bool GetWidgetEventCheckState(const SkEvent&, CheckState* state); 146 virtual bool onPrepareWidgetEvent(SkEvent* evt); 245 static int GetWidgetEventListIndex(const SkEvent&); 251 virtual bool onEvent(const SkEvent&); [all …]
|
/external/skia/samplecode/ |
D | SampleCode.h | 27 static bool KeyQ(const SkEvent&, SkKey* outKey); 28 static bool CharQ(const SkEvent&, SkUnichar* outUni); 30 static bool TitleQ(const SkEvent&); 31 static void TitleR(SkEvent*, const char title[]); 34 static bool PrefSizeQ(const SkEvent&); 35 static void PrefSizeR(SkEvent*, SkScalar width, SkScalar height); 37 static bool FastTextQ(const SkEvent&); 138 virtual bool onEvent(const SkEvent& evt); 139 virtual bool onQuery(SkEvent* evt);
|
D | GMSampleView.cpp | 16 SkEvent* GMSampleView::NewShowSizeEvt(bool doShowSize) { in NewShowSizeEvt() 17 SkEvent* evt = SkNEW_ARGS(SkEvent, ("GMSampleView::showSize")); in NewShowSizeEvt() 22 bool GMSampleView::onQuery(SkEvent* evt) { in onQuery() 32 bool GMSampleView::onEvent(const SkEvent& evt) { in onEvent()
|
D | GMSampleView.h | 23 static SkEvent* NewShowSizeEvt(bool doShowSize); 26 bool onQuery(SkEvent*) override; 27 bool onEvent(const SkEvent&) override;
|
D | OverView.cpp | 51 bool onEvent(const SkEvent&) override; 52 bool onQuery(SkEvent* evt) override { in onQuery() 81 SkEvent evt("set-curr-index"); in onFindClickHandler() 126 SkEvent isOverview(gIsOverview); in is_overview() 155 bool OverView::onEvent(const SkEvent& evt) { in onEvent()
|
D | SampleApp.cpp | 101 static void post_event_to_sink(SkEvent* evt, SkEventSink* sink) { in post_event_to_sink() 352 (new SkEvent(view_inval_msg, this->getSinkID()))->postDelay(1); in postInvalDelay() 355 static bool isInvalEvent(const SkEvent& evt) { in isInvalEvent() 518 bool SampleCode::CharQ(const SkEvent& evt, SkUnichar* outUni) { in CharQ() 528 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ() 538 bool SampleCode::TitleQ(const SkEvent& evt) { in TitleQ() 542 void SampleCode::TitleR(SkEvent* evt, const char title[]) { in TitleR() 548 SkEvent evt(gTitleEvtName); in RequestTitle() 556 bool SampleCode::PrefSizeQ(const SkEvent& evt) { in PrefSizeQ() 560 void SampleCode::PrefSizeR(SkEvent* evt, SkScalar width, SkScalar height) { in PrefSizeR() [all …]
|
D | SamplePicture.cpp | 98 bool onQuery(SkEvent* evt) override { in onQuery() 159 (new SkEvent(INVAL_ALL_TYPE, this->getSinkID()))->postDelay(delay); in delayInval() 162 bool onEvent(const SkEvent& evt) override { in onEvent()
|
/external/skia/src/views/mac/ |
D | SkEventNotifier.mm | 10 #include "SkEvent.h" 35 //SkEvent Handers 37 if(SkEvent::ProcessEvent()) 38 SkEvent::SignalNonEmptyQueue(); 48 SkEvent::ServiceQueueTimer(); 53 void SkEvent::SignalNonEmptyQueue() { 62 void SkEvent::SignalQueueTimer(SkMSec delay) {
|
D | SkOSWindow_Mac.cpp | 207 (new SkEvent("inval-imageview", this->getSinkID()))->post(); in onHandleInval() 210 bool SkOSWindow::onEvent(const SkEvent& evt) { in onEvent() 214 SkEvent query("ignore-window-bitmap"); in onEvent() 410 if (SkEvent::ProcessEvent()) { in EventHandler() 414 SkEvent* evt; in EventHandler() 433 void SkEvent::SignalNonEmptyQueue() in SignalNonEmptyQueue() 444 SkEvent::ServiceQueueTimer(); in sk_timer_proc() 448 void SkEvent::SignalQueueTimer(SkMSec delay) in SignalQueueTimer()
|
D | SkNSView.h | 12 class SkEvent; variable 47 - (BOOL)onHandleEvent:(const SkEvent&)event;
|
/external/skia/src/views/animated/ |
D | SkWidgetViews.cpp | 135 SkEvent evt(fEvent); // make a copy since onPrepareWidgetEvent may edit the event in postWidgetEvent() 167 /*virtual*/ bool SkWidgetView::onPrepareWidgetEvent(SkEvent* evt) in onPrepareWidgetEvent() 173 SkEventSinkID SkWidgetView::GetWidgetEventSinkID(const SkEvent& evt) in GetWidgetEventSinkID() 182 /*virtual*/ bool SkButtonView::onEvent(const SkEvent& evt) in onEvent() 225 /*virtual*/ bool SkCheckButtonView::onPrepareWidgetEvent(SkEvent* evt) in onPrepareWidgetEvent() 233 bool SkCheckButtonView::GetWidgetEventCheckState(const SkEvent& evt, CheckState* state) in GetWidgetEventCheckState() 266 SkEvent evt("user"); in onLabelChange() 276 SkEvent evt("user"); in onFocusChange() 286 SkEvent evt("user"); in onSizeChange() 308 virtual bool onEvent(const SkEvent& evt) in onEvent() [all …]
|
D | SkProgressBarView.cpp | 47 /*virtual*/ bool SkProgressBarView::onEvent(const SkEvent& evt) in onEvent() 78 SkEvent evt("user"); in onSizeChange() 88 SkEvent e("user"); in reset() 96 SkEvent e("user"); in setMax() 105 SkEvent e("user"); in setProgress()
|
D | SkScrollBarView.cpp | 79 SkEvent evt("user"); in onSizeChange() 101 /*virtual*/ bool SkScrollBarView::onEvent(const SkEvent& evt) in onEvent() 138 SkEvent e("user"); in adjust()
|
/external/skia/include/animator/ |
D | SkAnimator.h | 20 class SkEvent; variable 165 bool doUserEvent(const SkEvent& evt); 470 virtual void eventDone(const SkEvent& evt); 477 virtual void onEventPost(SkEvent*, SkEventSinkID); 478 virtual void onEventPostTime(SkEvent*, SkEventSinkID, SkMSec time); 488 virtual bool onEvent(const SkEvent&);
|
/external/skia/src/views/sdl/ |
D | SkOSWindow_SDL.cpp | 188 if (SkEvent::ProcessEvent()) { in handleSDLEvent() 210 void SkEvent::SignalNonEmptyQueue() { in SignalNonEmptyQueue() 217 SkEvent::ServiceQueueTimer(); in timer_callback() 221 void SkEvent::SignalQueueTimer(SkMSec delay) in SignalQueueTimer()
|
/external/skia/src/animator/ |
D | SkAnimateMaker.cpp | 130 (new SkEvent(SK_EventType_Delay, fAnimator->getSinkID()))->postTime(time); in delayEnable() 175 bool SkAnimateMaker::doEvent(const SkEvent& event) { in doEvent() 247 fAnimator->onEventPost(new SkEvent(SK_EventType_Inval), fHostEventSinkID); in notifyInval() 252 fAnimator->onEventPostTime(new SkEvent(SK_EventType_Inval), fHostEventSinkID, time); in notifyInvalTime() 256 SkEvent evt; in postOnEnd() 261 fAnimator->onEventPost(new SkEvent(evt), sinkID); in postOnEnd()
|
D | SkDisplayEvent.h | 18 class SkEvent; variable 46 void populateInput(SkAnimateMaker& , const SkEvent& fEvent);
|
/external/skia/platform_tools/android/app/jni/ |
D | com_skia_SkiaSampleRenderer.cpp | 135 void SkEvent::SignalQueueTimer(SkMSec ms) in SignalQueueTimer() 149 void SkEvent::SignalNonEmptyQueue() in SignalNonEmptyQueue() 345 if (SkEvent::ProcessEvent()) { in Java_com_skia_SkiaSampleRenderer_processSkEvent() 346 SkEvent::SignalNonEmptyQueue(); in Java_com_skia_SkiaSampleRenderer_processSkEvent() 353 SkEvent::ServiceQueueTimer(); in Java_com_skia_SkiaSampleRenderer_serviceQueueTimer()
|