/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 | 72 bool SkEventSink::doEvent(const SkEvent& evt) { in doEvent() 76 bool SkEventSink::doQuery(SkEvent* evt) { in doQuery() 81 bool SkEventSink::onEvent(const SkEvent&) { in onEvent() argument 85 bool SkEventSink::onQuery(SkEvent*) { in onQuery() argument 205 void SkEventSink::postToListeners(const SkEvent& evt, SkMSec delay) { in postToListeners() 212 SkEvent* copy = new SkEvent(evt); in postToListeners() 220 SkEventSink::EventResult SkEventSink::DoEvent(const SkEvent& evt) { in DoEvent() 221 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 | 18 class SkEvent; variable 35 virtual void prepareWidgetEvent(SkEvent*); 42 SkEvent fEvent; 103 bool onEvent(const SkEvent&) override; 119 virtual bool onEvent(const SkEvent&); 279 virtual SkEvent* getEvent(int index); 329 void setActionEvent(Action, SkEvent* event); 335 virtual bool onEvent(const SkEvent&); 391 virtual bool onEvent(const SkEvent&);
|
/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 = new 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 | 113 static void post_event_to_sink(SkEvent* evt, SkEventSink* sink) { in post_event_to_sink() 369 (new SkEvent(view_inval_msg, this->getSinkID()))->postDelay(1); in postInvalDelay() 372 static bool isInvalEvent(const SkEvent& evt) { in isInvalEvent() 542 bool SampleCode::CharQ(const SkEvent& evt, SkUnichar* outUni) { in CharQ() 552 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ() 562 bool SampleCode::TitleQ(const SkEvent& evt) { in TitleQ() 566 void SampleCode::TitleR(SkEvent* evt, const char title[]) { in TitleR() 572 SkEvent evt(gTitleEvtName); in RequestTitle() 580 bool SampleCode::PrefSizeQ(const SkEvent& evt) { in PrefSizeQ() 584 void SampleCode::PrefSizeR(SkEvent* evt, SkScalar width, SkScalar height) { in PrefSizeR() [all …]
|
D | SampleXfer.cpp | 39 SkEvent evt; in postWidgetEvent() 45 virtual void onPrepareWidEvent(SkEvent*) {} in onPrepareWidEvent() argument 62 void onPrepareWidEvent(SkEvent* evt) override { in onPrepareWidEvent() 190 bool onEvent(const SkEvent& evt) override { in onEvent() 201 bool onQuery(SkEvent* evt) override { in onQuery()
|
/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/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 | 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 | 319 SkEvent::ServiceQueueTimer(); in RunEventLoop() 320 bool hasMoreSkEvents = SkEvent::ProcessEvent(); in RunEventLoop() 361 void SkEvent::SignalNonEmptyQueue() { in SignalNonEmptyQueue() 365 void SkEvent::SignalQueueTimer(SkMSec delay) { in SignalQueueTimer() 390 while (SkEvent::ProcessEvent());
|
/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/apps/sample_app/src/main/jni/ |
D | com_skia_SkiaSampleRenderer.cpp | 127 void SkEvent::SignalQueueTimer(SkMSec ms) in SignalQueueTimer() 141 void SkEvent::SignalNonEmptyQueue() in SignalNonEmptyQueue() 335 if (SkEvent::ProcessEvent()) { in Java_com_skia_SkiaSampleRenderer_processSkEvent() 336 SkEvent::SignalNonEmptyQueue(); in Java_com_skia_SkiaSampleRenderer_processSkEvent() 343 SkEvent::ServiceQueueTimer(); in Java_com_skia_SkiaSampleRenderer_serviceQueueTimer()
|
/external/skia/experimental/iOSSampleApp/Shared/ |
D | SkUIView.h | 16 class SkEvent; variable 45 - (BOOL)onHandleEvent:(const SkEvent&)event;
|