Searched refs:evt (Results 1 - 25 of 189) sorted by relevance

12345678

/external/libvncserver/webclients/novnc/include/
H A Dkeyboard.js99 function sync(evt, keysym) {
105 if (evt.ctrlKey !== undefined && evt.ctrlKey !== state[ctrl] && keysym !== ctrl) {
106 state[ctrl] = evt.ctrlKey;
109 if (evt.altKey !== undefined && evt.altKey !== state[alt] && keysym !== alt) {
110 state[alt] = evt.altKey;
113 if (evt.altGraphKey !== undefined && evt.altGraphKey !== state[altGr] && keysym !== altGr) {
114 state[altGr] = evt
[all...]
/external/skia/samplecode/
H A DSampleCode.cpp19 bool SampleCode::CharQ(const SkEvent& evt, SkUnichar* outUni) { argument
20 if (evt.isType(gCharEvtName, sizeof(gCharEvtName) - 1)) {
22 *outUni = evt.getFast32();
29 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { argument
30 if (evt.isType(gKeyEvtName, sizeof(gKeyEvtName) - 1)) {
32 *outKey = (SkKey)evt.getFast32();
39 bool SampleCode::TitleQ(const SkEvent& evt) { argument
40 return evt.isType(gTitleEvtName, sizeof(gTitleEvtName) - 1);
43 void SampleCode::TitleR(SkEvent* evt, const char title[]) { argument
44 SkASSERT(evt
57 PrefSizeQ(const SkEvent& evt) argument
61 PrefSizeR(SkEvent* evt, SkScalar width, SkScalar height) argument
69 FastTextQ(const SkEvent& evt) argument
130 onEvent(const SkEvent& evt) argument
138 onQuery(SkEvent* evt) argument
[all...]
H A DGMSampleView.cpp17 SkEvent* evt = new SkEvent("GMSampleView::showSize"); local
18 evt->setFast32(doShowSize);
19 return evt;
22 bool GMSampleView::onQuery(SkEvent* evt) { argument
23 if (SampleCode::TitleQ(*evt)) {
26 SampleCode::TitleR(evt, name.c_str());
31 if (SampleCode::CharQ(*evt, &uni)) {
38 return this->INHERITED::onQuery(evt);
41 bool GMSampleView::onEvent(const SkEvent& evt) { argument
42 if (evt
[all...]
H A DSampleBigBlur.cpp20 virtual bool onQuery(SkEvent* evt) { argument
21 if (SampleCode::TitleQ(*evt)) {
22 SampleCode::TitleR(evt, "BigBlur");
25 return this->INHERITED::onQuery(evt);
H A DSample2PtRadial.cpp19 virtual bool onQuery(SkEvent* evt) { argument
20 if (SampleCode::TitleQ(*evt)) {
21 SampleCode::TitleR(evt, "2PtConical");
24 return this->INHERITED::onQuery(evt);
H A DSampleClamp.cpp31 virtual bool onQuery(SkEvent* evt) { argument
32 if (SampleCode::TitleQ(*evt)) {
33 SampleCode::TitleR(evt, "Clamp");
36 return this->INHERITED::onQuery(evt);
H A DSampleEmboss.cpp38 virtual bool onQuery(SkEvent* evt) { argument
39 if (SampleCode::TitleQ(*evt)) {
40 SampleCode::TitleR(evt, "Emboss");
43 return this->INHERITED::onQuery(evt);
H A DSamplePdfFileViewer.cpp61 virtual bool onQuery(SkEvent* evt) { argument
62 if (SampleCode::TitleQ(*evt)) {
66 SampleCode::TitleR(evt, name.c_str());
69 return this->INHERITED::onQuery(evt);
72 virtual bool onEvent(const SkEvent& evt) { argument
76 return this->INHERITED::onEvent(evt);
H A DSampleMegaStroke.cpp30 bool onQuery(SkEvent* evt) override {
31 if (SampleCode::TitleQ(*evt)) {
32 SampleCode::TitleR(evt, "MegaStroke");
37 if (SampleCode::CharQ(*evt, &uni)) {
41 evt->getType(&str);
45 return this->INHERITED::onQuery(evt);
H A DOverView.cpp52 bool onQuery(SkEvent* evt) override {
53 if (SampleCode::TitleQ(*evt)) {
54 SampleCode::TitleR(evt, "Overview");
57 if (evt->isType(gIsOverview)) {
61 if (SampleCode::CharQ(*evt, &uni)) {
68 return this->INHERITED::onQuery(evt);
83 SkEvent evt("set-curr-index");
84 evt.setFast32(i);
85 this->sendEventToParents(evt);
157 bool OverView::onEvent(const SkEvent& evt) { argument
[all...]
H A DSampleAnimBlur.cpp31 bool onQuery(SkEvent* evt) override {
32 if (SampleCode::TitleQ(*evt)) {
33 SampleCode::TitleR(evt, "AnimBlur");
36 return this->INHERITED::onQuery(evt);
H A DSampleIdentityScale.cpp39 bool onQuery(SkEvent* evt) override {
40 if (SampleCode::TitleQ(*evt)) {
41 SampleCode::TitleR(evt, "IdentityScale");
44 return this->INHERITED::onQuery(evt);
H A DSampleLCD.cpp19 virtual bool onQuery(SkEvent* evt) { argument
20 if (SampleCode::TitleQ(*evt)) {
21 SampleCode::TitleR(evt, "LCD Text");
24 return this->INHERITED::onQuery(evt);
/external/sonivox/jet_tools/JetCreator/
H A DJetDebug.py25 def DumpEvent(evt):
26 print("event_name: %s" % evt.event_name)
27 print("event_type: %s" % evt.event_type)
28 print("event_id: %d" % evt.event_id)
29 print("track_num: %d" % evt.track_num)
30 print("channel_num: %d" % evt.channel_num)
31 print("event_start: %s" % evt.event_start)
32 print("event_end: %s" % evt.event_end)
/external/skia/src/views/
H A DSkOSMenu.cpp93 const char slotName[], SkEvent* evt) {
97 fEvent = evt;
137 SkEvent* evt) {
138 SkOSMenu::Item* item = new Item(label, type, slotName, evt);
144 SkEvent* evt = new SkEvent(gMenuEventType, target); local
146 evt->setString(label, label);
147 return appendItem(label, SkOSMenu::kAction_Type, "", evt);
152 SkEvent* evt = new SkEvent(gMenuEventType, target); local
164 evt->setString(gList_Items_Str, str);
165 evt
92 Item(const char label[], SkOSMenu::Type type, const char slotName[], SkEvent* evt) argument
136 appendItem(const char label[], Type type, const char slotName[], SkEvent* evt) argument
174 SkEvent* evt = new SkEvent(gMenuEventType, target); local
183 SkEvent* evt = new SkEvent(gMenuEventType, target); local
190 SkEvent* evt = new SkEvent(gMenuEventType, target); local
197 SkEvent* evt = new SkEvent(gMenuEventType, target); local
202 FindListItemCount(const SkEvent& evt, int* count) argument
206 FindListItems(const SkEvent& evt, SkString items[]) argument
224 FindSliderMin(const SkEvent& evt, SkScalar* min) argument
228 FindSliderMax(const SkEvent& evt, SkScalar* max) argument
232 FindAction(const SkEvent& evt, const char label[]) argument
236 FindListIndex(const SkEvent& evt, const char slotName[], int* value) argument
240 FindSliderValue(const SkEvent& evt, const char slotName[], SkScalar* value) argument
244 FindSwitchState(const SkEvent& evt, const char slotName[], bool* value) argument
248 FindTriState(const SkEvent& evt, const char slotName[], SkOSMenu::TriState* value) argument
252 FindText(const SkEvent& evt, const char slotName[], SkString* value) argument
[all...]
H A DSkEvent.cpp335 bool SkEvent::Enqueue(SkEvent* evt) { argument
339 SkASSERT(evt);
344 globals.fEventQTail->fNextEvent = evt;
345 globals.fEventQTail = evt;
347 globals.fEventQHead = evt;
348 evt->fNextEvent = nullptr;
359 SkEvent* evt = globals.fEventQHead; local
360 if (evt) {
363 globals.fEventQHead = evt->fNextEvent;
370 return evt;
384 EnqueueTime(SkEvent* evt, SkMSec time) argument
439 SkEvent* evt = globals.fDelayQHead; local
477 const SkEvent* evt = globals.fEventQHead; local
499 SkEvent* evt = globals.fEventQHead; local
[all...]
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/beancontext/mock/
H A DMockPropertyChangeListener.java39 public void propertyChange(PropertyChangeEvent evt) { argument
40 lastEvent = evt;
H A DMockPropertyChangeListenerS.java43 public void propertyChange(PropertyChangeEvent evt) { argument
44 lastEvent = evt;
/external/skia/src/views/unix/
H A DSkOSWindow_Unix.cpp151 static unsigned getModi(const XEvent& evt) { argument
164 if (evt.xkey.state & gModi[i].fXMask) {
173 static bool MyXNextEventWithDelay(Display* dsp, XEvent* evt) { argument
177 XNextEvent(dsp, evt);
198 XNextEvent(dsp, evt);
205 XEvent evt; local
208 if (!MyXNextEventWithDelay(dsp, &evt)) {
212 switch (evt.type) {
214 if (0 == evt.xexpose.count) {
219 this->resize(evt
286 XEvent evt; local
321 XEvent evt; local
469 XEvent evt; local
497 XEvent evt; local
[all...]
/external/ipsec-tools/src/racoon/
H A Devt.c1 /* $NetBSD: evt.c,v 1.5 2006/09/09 16:22:09 manu Exp $ */
3 /* Id: evt.c,v 1.5 2006/06/22 20:11:35 manubsd Exp */
50 #include "evt.h"
64 struct evt *evt; local
98 if ((evt = racoon_malloc(sizeof(*evt))) == NULL) {
116 evt->dump = evtdump;
117 TAILQ_INSERT_TAIL(&evtlist, evt, next);
127 struct evt *ev local
[all...]
H A Devt.h1 /* $NetBSD: evt.h,v 1.4 2006/09/09 16:22:09 manu Exp $ */
3 /* Id: evt.h,v 1.5 2006/01/19 10:24:09 fredsen Exp */
67 struct evt { struct
69 TAILQ_ENTRY(evt) next;
72 TAILQ_HEAD(evtlist, evt);
/external/skia/include/views/
H A DSkOSMenu.h57 SkEvent* evt);
119 * NOTE: evt must be dynamically allocated
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[]);
162 * The following helper functions will return true if evt is generated from
167 static bool FindListIndex(const SkEvent& evt, cons
[all...]
/external/skia/tools/viewer/
H A DSampleSlide.cpp43 SkEvent evt(gCharEvtName);
44 evt.setFast32(c);
45 return fView->doQuery(&evt);
/external/skia/experimental/Networking/
H A DSampleNetPipeReader.cpp56 bool onQuery(SkEvent* evt) { argument
57 if (SampleCode::TitleQ(*evt)) {
58 SampleCode::TitleR(evt, "Net Pipe Reader");
61 return this->INHERITED::onQuery(evt);
64 bool onEvent(const SkEvent& evt) { argument
66 if (SkOSMenu::FindText(evt, "Server IP", &s)) {
75 if (SkOSMenu::FindSwitchState(evt, "Sync", &fSync))
77 return this->INHERITED::onEvent(evt);
/external/skia/src/views/ios/
H A DSkOSWindow_iOS.mm35 bool SkOSWindow::onEvent(const SkEvent& evt) {
36 if (evt.isType(kINVAL_UIVIEW_EventType)) {
42 if ([(SkUIView*)fHWND onHandleEvent:evt]) {
45 return this->INHERITED::onEvent(evt);

Completed in 1630 milliseconds

12345678