Home
last modified time | relevance | path

Searched refs:SkEvent (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/external/chromium_org/third_party/skia/src/views/
DSkEvent.cpp12 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 …]
DSkOSMenu.cpp93 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 …]
DSkEventSink.cpp74 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/src/views/
DSkEvent.cpp12 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 …]
DSkOSMenu.cpp93 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 …]
DSkEventSink.cpp74 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/chromium_org/third_party/skia/include/views/
DSkOSMenu.h57 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 …]
DSkEvent.h29 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 …]
DSkEventSink.h39 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*);
/external/skia/include/views/
DSkOSMenu.h57 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 …]
DSkEvent.h29 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 …]
DSkEventSink.h39 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*);
/external/skia/samplecode/
DSampleCode.h22 static bool KeyQ(const SkEvent&, SkKey* outKey);
23 static bool CharQ(const SkEvent&, SkUnichar* outUni);
25 static bool TitleQ(const SkEvent&);
26 static void TitleR(SkEvent*, const char title[]);
29 static bool PrefSizeQ(const SkEvent&);
30 static void PrefSizeR(SkEvent*, SkScalar width, SkScalar height);
32 static bool FastTextQ(const SkEvent&);
136 virtual bool onEvent(const SkEvent& evt);
137 virtual bool onQuery(SkEvent* evt);
DGMSampleView.h29 static SkEvent* NewShowSizeEvt(bool doShowSize) { in NewShowSizeEvt()
30 SkEvent* evt = SkNEW_ARGS(SkEvent, ("GMSampleView::showSize")); in NewShowSizeEvt()
36 virtual bool onQuery(SkEvent* evt) { in onQuery()
46 virtual bool onEvent(const SkEvent& evt) SK_OVERRIDE { in onEvent()
/external/chromium_org/third_party/skia/samplecode/
DSampleCode.h22 static bool KeyQ(const SkEvent&, SkKey* outKey);
23 static bool CharQ(const SkEvent&, SkUnichar* outUni);
25 static bool TitleQ(const SkEvent&);
26 static void TitleR(SkEvent*, const char title[]);
29 static bool PrefSizeQ(const SkEvent&);
30 static void PrefSizeR(SkEvent*, SkScalar width, SkScalar height);
32 static bool FastTextQ(const SkEvent&);
136 virtual bool onEvent(const SkEvent& evt);
137 virtual bool onQuery(SkEvent* evt);
DGMSampleView.h29 static SkEvent* NewShowSizeEvt(bool doShowSize) { in NewShowSizeEvt()
30 SkEvent* evt = SkNEW_ARGS(SkEvent, ("GMSampleView::showSize")); in NewShowSizeEvt()
36 virtual bool onQuery(SkEvent* evt) { in onQuery()
46 virtual bool onEvent(const SkEvent& evt) SK_OVERRIDE { in onEvent()
DOverView.cpp27 virtual bool onEvent(const SkEvent&) SK_OVERRIDE;
28 virtual bool onQuery(SkEvent* evt) SK_OVERRIDE { in onQuery()
56 SkEvent evt("set-curr-index"); in onFindClickHandler()
75 SkEvent isOverview(gIsOverview); in is_overview()
87 bool OverView::onEvent(const SkEvent& evt) { in onEvent()
/external/skia/include/views/animated/
DSkWidgetViews.h70 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/chromium_org/third_party/skia/include/views/animated/
DSkWidgetViews.h70 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/
DSkEventNotifier.mm10 #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) {
/external/chromium_org/third_party/skia/src/views/mac/
DSkEventNotifier.mm10 #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) {
/external/skia/src/views/animated/
DSkWidgetViews.cpp135 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 …]
DSkProgressBarView.cpp47 /*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()
/external/chromium_org/third_party/skia/src/views/animated/
DSkWidgetViews.cpp135 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 …]
DSkProgressBarView.cpp47 /*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()

12345678910>>...14