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

123456789

/external/jmonkeyengine/engine/src/core/com/jme3/input/
H A DRawInputListener.java60 * @param evt
62 public void onJoyAxisEvent(JoyAxisEvent evt); argument
67 * @param evt
69 public void onJoyButtonEvent(JoyButtonEvent evt); argument
74 * @param evt
76 public void onMouseMotionEvent(MouseMotionEvent evt); argument
81 * @param evt
83 public void onMouseButtonEvent(MouseButtonEvent evt); argument
88 * @param evt
90 public void onKeyEvent(KeyInputEvent evt); argument
98 onTouchEvent(TouchEvent evt) argument
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
H A Dkeycodes.js63 function keyEventToString(evt) {
65 if (evt.ctrlKey) {
68 if (evt.altKey) {
71 if (evt.metaKey) {
74 if (evt.shiftKey) {
77 if (evt.keyCode >= 48 && evt.keyCode <= 90) {
78 tokens.push(String.fromCharCode(evt.keyCode));
79 } else if (KEY_MAP[evt.keyCode]) {
80 tokens.push(KEY_MAP[evt
[all...]
H A Doptions.js22 function listener(evt) {
38 defaultsButton.addEventListener('click', function(evt) {
78 testButton.addEventListener('click', function(evt) {
89 hotKeyElement.addEventListener('keydown', function(evt) {
90 switch (evt.keyCode) {
92 evt.stopPropagation();
93 evt.preventDefault();
98 evt.stopPropagation();
99 evt.preventDefault();
111 evt
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayEvents.cpp54 SkDisplayEvent* evt = fEvents[index]; local
55 if (evt->disable)
57 if (evt->kind != kind)
59 if (evt->code != (SkKey) -1) {
60 if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode)
62 evt->fLastCode = (SkKey) keyCode;
64 if (evt
90 SkDisplayEvent* evt = fEvents[index]; local
101 SkDisplayEvent* evt = *evtPtr; local
[all...]
/external/skia/src/animator/
H A DSkDisplayEvents.cpp54 SkDisplayEvent* evt = fEvents[index]; local
55 if (evt->disable)
57 if (evt->kind != kind)
59 if (evt->code != (SkKey) -1) {
60 if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode)
62 evt->fLastCode = (SkKey) keyCode;
64 if (evt
90 SkDisplayEvent* evt = fEvents[index]; local
101 SkDisplayEvent* evt = *evtPtr; local
[all...]
/external/chromium_org/content/test/data/workers/
H A Dworker_common.js19 onmessage = function(evt) {
20 if (evt.data == "ping")
22 else if (evt.data == "auth")
24 else if (evt.data == "close")
26 else if (/eval.+/.test(evt.data)) {
28 postMessage(eval(evt.data.substr(5)));
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgevents.c33 int PG_HandleClose(struct pgEvent *evt) argument
39 int PG_HandleResize(struct pgEvent *evt) argument
41 SDL_PrivateResize(evt->e.size.w, evt->e.size.h);
45 int PG_HandleKey(struct pgEvent *evt) argument
49 sym.sym = evt->e.kbd.key;
50 sym.mod = evt->e.kbd.mods;
51 SDL_PrivateKeyboard(evt->type == PG_WE_KBD_KEYDOWN, &sym);
55 int PG_HandleChar(struct pgEvent *evt) argument
59 sym.unicode = evt
65 PG_HandleMouseButton(struct pgEvent *evt) argument
77 PG_HandleMouseMotion(struct pgEvent *evt) argument
[all...]
/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/bluetooth/bluedroid/bta/include/
H A Dbta_hl_ci.h55 ** evt - evt from the call-out function
62 UINT16 evt );
74 ** evt - evt from the call-out function
81 UINT16 evt );
95 ** evt - evt from the call-out function
102 UINT16 evt );
115 ** evt
[all...]
H A Dbta_fs_ci.h110 ** evt - Used Internally by BTA -> MUST be same value passed
116 BTA_API extern void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt);
135 ** evt - Used Internally by BTA -> MUST be same value passed
142 tBTA_FS_CO_STATUS status, UINT16 evt);
159 ** evt - Used Internally by BTA -> MUST be same value passed
166 UINT32 file_size, UINT16 evt);
178 ** evt - Used Internally by BTA -> MUST be same value passed
184 BTA_API extern void bta_fs_ci_direntry(tBTA_FS_CO_STATUS status, UINT16 evt);
198 ** evt - Used Internally by BTA -> MUST be same value passed
206 tBTA_FS_CO_STATUS status, UINT16 evt);
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/
H A DAndroidTouchInputListener.java17 public void onTouchEvent(TouchEvent evt); argument
19 public void onMotionEvent(MotionEvent evt); argument
21 public void onAndroidKeyEvent(KeyEvent evt); argument
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DInputSystemJme.java95 private void onTouchEventQueued(TouchEvent evt, NiftyInputConsumer nic) { argument
98 x = (int) evt.getX();
99 y = (int) (height - evt.getY());
102 switch (evt.getType()) {
108 evt.setConsumed();
117 evt.setConsumed();
133 private void onMouseMotionEventQueued(MouseMotionEvent evt, NiftyInputConsumer nic) { argument
134 x = evt.getX();
135 y = height - evt.getY();
136 nic.processMouseEvent(x, y, evt
143 onMouseButtonEventQueued(MouseButtonEvent evt, NiftyInputConsumer nic) argument
179 onKeyEventQueued(KeyInputEvent evt, NiftyInputConsumer nic) argument
199 onMouseMotionEvent(MouseMotionEvent evt) argument
208 onMouseButtonEvent(MouseButtonEvent evt) argument
214 onJoyAxisEvent(JoyAxisEvent evt) argument
217 onJoyButtonEvent(JoyButtonEvent evt) argument
220 onKeyEvent(KeyInputEvent evt) argument
224 onTouchEvent(TouchEvent evt) argument
[all...]
/external/chromium_org/third_party/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...]
/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...]
/external/chromium_org/third_party/skia/src/views/animated/
H A DSkBorderView.cpp42 SkEvent evt("user");
43 evt.setString("id", "setDim");
44 evt.setScalar("dimX", this->width());
45 evt.setScalar("dimY", this->height());
46 fAnim.doUserEvent(evt);
64 /*virtual*/ bool SkBorderView::onEvent(const SkEvent& evt) argument
66 if (evt.isType(SK_EventType_Inval))
71 if (evt.isType("recommendDim"))
73 evt.findScalar("leftMargin", &fLeft);
74 evt
[all...]
H A DSkWidgetViews.cpp137 SkEvent evt(fEvent); // make a copy since onPrepareWidgetEvent may edit the event
139 if (this->onPrepareWidgetEvent(&evt))
141 SkDEBUGCODE(evt.dump("SkWidgetView::postWidgetEvent");)
143 this->postToListeners(evt); // wonder if this should return true if there are > 0 listeners...
169 /*virtual*/ bool SkWidgetView::onPrepareWidgetEvent(SkEvent* evt) argument
171 evt->setS32(gWidgetEventSinkIDSlotName, this->getSinkID());
175 SkEventSinkID SkWidgetView::GetWidgetEventSinkID(const SkEvent& evt) argument
179 return evt.findS32(gWidgetEventSinkIDSlotName, &sinkID) ? (SkEventSinkID)sinkID : 0;
184 /*virtual*/ bool SkButtonView::onEvent(const SkEvent& evt) argument
186 if (evt
227 onPrepareWidgetEvent(SkEvent* evt) argument
235 GetWidgetEventCheckState(const SkEvent& evt, CheckState* state) argument
310 onEvent(const SkEvent& evt) argument
328 onPrepareWidgetEvent(SkEvent* evt) argument
[all...]
H A DSkProgressBarView.cpp47 /*virtual*/ bool SkProgressBarView::onEvent(const SkEvent& evt) argument
49 if (evt.isType(SK_EventType_Inval))
54 if (evt.isType("recommendDim"))
58 if (evt.findScalar("y", &height))
62 return this->INHERITED::onEvent(evt);
78 SkEvent evt("user");
79 evt.setString("id", "setDim");
80 evt.setScalar("dimX", this->width());
81 evt.setScalar("dimY", this->height());
82 fAnim.doUserEvent(evt);
[all...]
/external/skia/src/views/animated/
H A DSkBorderView.cpp42 SkEvent evt("user");
43 evt.setString("id", "setDim");
44 evt.setScalar("dimX", this->width());
45 evt.setScalar("dimY", this->height());
46 fAnim.doUserEvent(evt);
64 /*virtual*/ bool SkBorderView::onEvent(const SkEvent& evt) argument
66 if (evt.isType(SK_EventType_Inval))
71 if (evt.isType("recommendDim"))
73 evt.findScalar("leftMargin", &fLeft);
74 evt
[all...]
H A DSkWidgetViews.cpp137 SkEvent evt(fEvent); // make a copy since onPrepareWidgetEvent may edit the event
139 if (this->onPrepareWidgetEvent(&evt))
141 SkDEBUGCODE(evt.dump("SkWidgetView::postWidgetEvent");)
143 this->postToListeners(evt); // wonder if this should return true if there are > 0 listeners...
169 /*virtual*/ bool SkWidgetView::onPrepareWidgetEvent(SkEvent* evt) argument
171 evt->setS32(gWidgetEventSinkIDSlotName, this->getSinkID());
175 SkEventSinkID SkWidgetView::GetWidgetEventSinkID(const SkEvent& evt) argument
179 return evt.findS32(gWidgetEventSinkIDSlotName, &sinkID) ? (SkEventSinkID)sinkID : 0;
184 /*virtual*/ bool SkButtonView::onEvent(const SkEvent& evt) argument
186 if (evt
227 onPrepareWidgetEvent(SkEvent* evt) argument
235 GetWidgetEventCheckState(const SkEvent& evt, CheckState* state) argument
310 onEvent(const SkEvent& evt) argument
328 onPrepareWidgetEvent(SkEvent* evt) argument
[all...]
H A DSkProgressBarView.cpp47 /*virtual*/ bool SkProgressBarView::onEvent(const SkEvent& evt) argument
49 if (evt.isType(SK_EventType_Inval))
54 if (evt.isType("recommendDim"))
58 if (evt.findScalar("y", &height))
62 return this->INHERITED::onEvent(evt);
78 SkEvent evt("user");
79 evt.setString("id", "setDim");
80 evt.setScalar("dimX", this->width());
81 evt.setScalar("dimY", this->height());
82 fAnim.doUserEvent(evt);
[all...]
/external/bluetooth/bluedroid/btif/co/
H A Dbta_gattc_co.c40 ** evt: call in event to be passed in when cache open is done.
47 void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt, UINT16 conn_id, BOOLEAN to_save) argument
52 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id);
63 ** evt: call in event to be passed in when cache save is done.
70 void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 start_index, UINT16 conn_id) argument
76 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id);
86 ** evt: call in event to be passed in when cache save is done.
94 void bta_gattc_co_cache_save (BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, argument
99 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id);
/external/bluetooth/bluedroid/bta/hl/
H A Dbta_hl_ci.c42 ** evt - evt from the call-out function
49 UINT16 evt )
54 APPL_TRACE_DEBUG3("bta_hl_ci_get_tx_data mdl_handle=%d status=%d evt=%d\n",
55 mdl_handle, status, evt);
60 p_evt->hdr.event = evt;
77 ** evt - evt from the call-out function
84 UINT16 evt )
88 APPL_TRACE_DEBUG3("bta_hl_ci_put_rx_data mdl_handle=%d status=%d evt
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdebug/
H A Dttsdebug.js18 function isErrorEvent(evt) {
19 return (evt.type == 'error' ||
20 evt.type == 'interrupted' ||
21 evt.type == 'cancelled');
24 function logEvent(callTime, testRunName, evt) {
29 console.log(elapsed + ' ' + testRunName + ': ' + JSON.stringify(evt));
63 onEvent: function(evt) {
64 logEvent(callTime, testRunName, evt);
65 if (isErrorEvent(evt)) {
67 } else if (evt
[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;
/external/jmonkeyengine/engine/src/test/jme3test/gui/
H A DTestSoftwareMouse.java56 public void onJoyAxisEvent(JoyAxisEvent evt) {
58 public void onJoyButtonEvent(JoyButtonEvent evt) {
60 public void onMouseMotionEvent(MouseMotionEvent evt) {
61 x += evt.getDX();
62 y += evt.getDY();
72 public void onMouseButtonEvent(MouseButtonEvent evt) {
74 public void onKeyEvent(KeyInputEvent evt) {
76 public void onTouchEvent(TouchEvent evt) {

Completed in 1985 milliseconds

123456789