/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
D | InputSystemJme.java | 95 private void onTouchEventQueued(TouchEvent evt, NiftyInputConsumer nic) { in onTouchEventQueued() argument 98 x = (int) evt.getX(); in onTouchEventQueued() 99 y = (int) (height - evt.getY()); in onTouchEventQueued() 102 switch (evt.getType()) { in onTouchEventQueued() 108 evt.setConsumed(); in onTouchEventQueued() 117 evt.setConsumed(); in onTouchEventQueued() 133 private void onMouseMotionEventQueued(MouseMotionEvent evt, NiftyInputConsumer nic) { in onMouseMotionEventQueued() argument 134 x = evt.getX(); in onMouseMotionEventQueued() 135 y = height - evt.getY(); in onMouseMotionEventQueued() 136 nic.processMouseEvent(x, y, evt.getDeltaWheel(), buttonIndex, pressed); in onMouseMotionEventQueued() [all …]
|
/external/skia/src/views/ |
D | SkOSMenu.cpp | 93 const char slotName[], SkEvent* evt) { in Item() argument 97 fEvent = evt; in Item() 137 SkEvent* evt) { in appendItem() argument 138 SkOSMenu::Item* item = new Item(label, type, slotName, evt); in appendItem() 144 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendAction() local 146 evt->setString(label, label); in appendAction() 147 return appendItem(label, SkOSMenu::kAction_Type, "", evt); in appendAction() 152 SkEvent* evt = new SkEvent(gMenuEventType, target); in appendList() local 164 evt->setString(gList_Items_Str, str); in appendList() 165 evt->setS32(gList_ItemCount_S32, count); in appendList() [all …]
|
D | SkWidgetViews.cpp | 149 SkEvent evt(fEvent); // make a copy since onPrepareWidgetEvent may edit the event in postWidgetEvent() local 151 if (this->onPrepareWidgetEvent(&evt)) in postWidgetEvent() 153 SkDEBUGCODE(evt.dump("SkWidgetView::postWidgetEvent");) in postWidgetEvent() 155 this->postToListeners(evt); // wonder if this should return true if there are > 0 listeners... in postWidgetEvent() 181 /*virtual*/ bool SkWidgetView::onPrepareWidgetEvent(SkEvent* evt) in onPrepareWidgetEvent() argument 183 evt->setS32(gWidgetEventSinkIDSlotName, this->getSinkID()); in onPrepareWidgetEvent() 187 SkEventSinkID SkWidgetView::GetWidgetEventSinkID(const SkEvent& evt) in GetWidgetEventSinkID() argument 191 return evt.findS32(gWidgetEventSinkIDSlotName, &sinkID) ? (SkEventSinkID)sinkID : 0; in GetWidgetEventSinkID() 196 /*virtual*/ bool SkButtonView::onEvent(const SkEvent& evt) in onEvent() argument 198 if (evt.isType(SK_EventType_Key) && evt.getFast32() == kOK_SkKey) in onEvent() [all …]
|
D | SkEvent.cpp | 335 bool SkEvent::Enqueue(SkEvent* evt) { in Enqueue() argument 339 SkASSERT(evt); in Enqueue() 344 globals.fEventQTail->fNextEvent = evt; in Enqueue() 345 globals.fEventQTail = evt; in Enqueue() 347 globals.fEventQHead = evt; in Enqueue() 348 evt->fNextEvent = NULL; in Enqueue() 359 SkEvent* evt = globals.fEventQHead; in Dequeue() local 360 if (evt) { in Dequeue() 363 globals.fEventQHead = evt->fNextEvent; in Dequeue() 370 return evt; in Dequeue() [all …]
|
D | SkBorderView.cpp | 42 SkEvent evt("user"); in onSizeChange() local 43 evt.setString("id", "setDim"); in onSizeChange() 44 evt.setScalar("dimX", this->width()); in onSizeChange() 45 evt.setScalar("dimY", this->height()); in onSizeChange() 46 fAnim.doUserEvent(evt); in onSizeChange() 64 /*virtual*/ bool SkBorderView::onEvent(const SkEvent& evt) in onEvent() argument 66 if (evt.isType(SK_EventType_Inval)) in onEvent() 71 if (evt.isType("recommendDim")) in onEvent() 73 evt.findScalar("leftMargin", &fLeft); in onEvent() 74 evt.findScalar("rightMargin", &fRight); in onEvent() [all …]
|
D | SkProgressBarView.cpp | 47 /*virtual*/ bool SkProgressBarView::onEvent(const SkEvent& evt) in onEvent() argument 49 if (evt.isType(SK_EventType_Inval)) in onEvent() 54 if (evt.isType("recommendDim")) in onEvent() 58 if (evt.findScalar("y", &height)) in onEvent() 62 return this->INHERITED::onEvent(evt); in onEvent() 78 SkEvent evt("user"); in onSizeChange() local 79 evt.setString("id", "setDim"); in onSizeChange() 80 evt.setScalar("dimX", this->width()); in onSizeChange() 81 evt.setScalar("dimY", this->height()); in onSizeChange() 82 fAnim.doUserEvent(evt); in onSizeChange()
|
D | SkListView.cpp | 80 SkEvent* evt = new SkEvent(); 84 evt->setString("name", label.c_str()); 91 evt->setString("path", label.c_str()); 92 evt->setS32("index", index); 93 evt->setS32("duration", 22); 94 evt->setType(fTarget); 95 return evt; 185 SkEvent* evt = new SkEvent(); 186 evt->setType(fList[index].fTarget); 187 evt->setFast32(index); [all …]
|
D | SkScrollBarView.cpp | 79 SkEvent evt("user"); in onSizeChange() local 80 evt.setString("id", "setDim"); in onSizeChange() 81 evt.setScalar("dimX", this->width()); in onSizeChange() 82 evt.setScalar("dimY", this->height()); in onSizeChange() 83 fAnim.doUserEvent(evt); in onSizeChange() 101 /*virtual*/ bool SkScrollBarView::onEvent(const SkEvent& evt) in onEvent() argument 103 if (evt.isType(SK_EventType_Inval)) in onEvent() 108 if (evt.isType("recommendDim")) in onEvent() 112 if (evt.findScalar("x", &width)) in onEvent() 117 return this->INHERITED::onEvent(evt); in onEvent()
|
/external/webkit/Source/WebKit/android/plugins/ |
D | PluginDebugAndroid.cpp | 63 void anp_logPluginEvent(void* npp, const ANPEvent* evt, int16_t returnVal, int elapsedTime) { in anp_logPluginEvent() argument 65 switch(evt->eventType) { in anp_logPluginEvent() 72 if(evt->data.key.action < ARRAY_COUNT(inputActions)) { in anp_logPluginEvent() 74 npp, returnVal, elapsedTime, inputActions[evt->data.key.action], in anp_logPluginEvent() 75 evt->data.key.nativeCode, evt->data.key.virtualCode, in anp_logPluginEvent() 76 evt->data.key.unichar, evt->data.key.repeatCount, in anp_logPluginEvent() 77 evt->data.key.modifiers); in anp_logPluginEvent() 84 if(evt->data.mouse.action < ARRAY_COUNT(inputActions)) { in anp_logPluginEvent() 86 returnVal, elapsedTime, inputActions[evt->data.mouse.action], in anp_logPluginEvent() 87 evt->data.touch.x, evt->data.touch.y); in anp_logPluginEvent() [all …]
|
/external/skia/src/animator/ |
D | SkDisplayEvents.cpp | 54 SkDisplayEvent* evt = fEvents[index]; in doEvent() local 55 if (evt->disable) in doEvent() 57 if (evt->kind != kind) in doEvent() 59 if (evt->code != (SkKey) -1) { in doEvent() 60 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in doEvent() 62 evt->fLastCode = (SkKey) keyCode; in doEvent() 64 if (evt->fTarget != NULL && evt->fTarget != displayable) in doEvent() 68 evt->x = state->fX; in doEvent() 69 evt->y = state->fY; in doEvent() 71 if (evt->enableEvent(maker)) in doEvent() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/picogui/ |
D | SDL_pgevents.c | 33 int PG_HandleClose(struct pgEvent *evt) in PG_HandleClose() argument 39 int PG_HandleResize(struct pgEvent *evt) in PG_HandleResize() argument 41 SDL_PrivateResize(evt->e.size.w, evt->e.size.h); in PG_HandleResize() 45 int PG_HandleKey(struct pgEvent *evt) in PG_HandleKey() argument 49 sym.sym = evt->e.kbd.key; in PG_HandleKey() 50 sym.mod = evt->e.kbd.mods; in PG_HandleKey() 51 SDL_PrivateKeyboard(evt->type == PG_WE_KBD_KEYDOWN, &sym); in PG_HandleKey() 55 int PG_HandleChar(struct pgEvent *evt) in PG_HandleChar() argument 59 sym.unicode = evt->e.kbd.key; in PG_HandleChar() 60 sym.mod = evt->e.kbd.mods; in PG_HandleChar() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
D | InputManager.java | 298 private void onJoyAxisEventQueued(JoyAxisEvent evt) { in onJoyAxisEventQueued() argument 303 int joyId = evt.getJoyIndex(); in onJoyAxisEventQueued() 304 int axis = evt.getAxisIndex(); in onJoyAxisEventQueued() 305 float value = evt.getValue(); in onJoyAxisEventQueued() 341 public void onJoyAxisEvent(JoyAxisEvent evt) { in onJoyAxisEvent() argument 346 inputQueue.add(evt); in onJoyAxisEvent() 349 private void onJoyButtonEventQueued(JoyButtonEvent evt) { in onJoyButtonEventQueued() argument 354 int hash = JoyButtonTrigger.joyButtonHash(evt.getJoyIndex(), evt.getButtonIndex()); in onJoyButtonEventQueued() 355 invokeActions(hash, evt.isPressed()); in onJoyButtonEventQueued() 356 invokeTimedActions(hash, evt.getTime(), evt.isPressed()); in onJoyButtonEventQueued() [all …]
|
/external/bluetooth/hcidump/parser/ |
D | hci.c | 2688 evt_cmd_complete *evt = frm->ptr; in cmd_complete_dump() local 2689 uint16_t opcode = btohs(evt->opcode); in cmd_complete_dump() 2698 opcode2str(opcode), ogf, ocf, evt->ncmd); in cmd_complete_dump() 2969 evt_cmd_status *evt = frm->ptr; in cmd_status_dump() local 2970 uint16_t opcode = btohs(evt->opcode); in cmd_status_dump() 2979 opcode2str(opcode), ogf, ocf, evt->status, evt->ncmd); in cmd_status_dump() 2981 if (evt->status > 0) { in cmd_status_dump() 2983 printf("Error: %s\n", status2str(evt->status)); in cmd_status_dump() 2989 evt_hardware_error *evt = frm->ptr; in hardware_error_dump() local 2992 printf("code %d\n", evt->code); in hardware_error_dump() [all …]
|
/external/webkit/Source/WebCore/plugins/android/ |
D | PluginViewAndroid.cpp | 216 ANPEvent evt; in handleTouchEvent() local 217 SkANP::InitEvent(&evt, kMultiTouch_ANPEventType); in handleTouchEvent() 221 evt.data.multiTouch.action = kDown_ANPTouchAction; in handleTouchEvent() 223 evt.data.multiTouch.action = kUp_ANPTouchAction; in handleTouchEvent() 225 evt.data.multiTouch.action = kMove_ANPTouchAction; in handleTouchEvent() 227 evt.data.multiTouch.action = kCancel_ANPTouchAction; in handleTouchEvent() 229 evt.data.multiTouch.action = kLongPress_ANPTouchAction; in handleTouchEvent() 231 evt.data.multiTouch.action = kDoubleTap_ANPTouchAction; in handleTouchEvent() 236 evt.data.multiTouch.id = 0; // TODO in handleTouchEvent() 237 evt.data.multiTouch.timestamp = 0; // TODO in handleTouchEvent() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | evt.c | 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 *evt; in evt_pop() local 129 if ((evt = TAILQ_FIRST(&evtlist)) == NULL) in evt_pop() 132 evtdump = evt->dump; in evt_pop() 133 TAILQ_REMOVE(&evtlist, evt, next); in evt_pop() 134 racoon_free(evt); in evt_pop()
|
/external/skia/src/utils/unix/ |
D | SkOSWindow_Unix.cpp | 103 XEvent evt; in loop() local 105 XNextEvent(dsp, &evt); in loop() 106 switch (evt.type) { in loop() 108 if (evt.xexpose.count == 0) in loop() 112 this->resize(evt.xconfigure.width, evt.xconfigure.height); in loop() 115 if (evt.xbutton.button == Button1) in loop() 116 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kDown_State); in loop() 119 if (evt.xbutton.button == Button1) in loop() 120 this->handleClick(evt.xbutton.x, evt.xbutton.y, SkView::Click::kUp_State); in loop() 123 this->handleClick(evt.xmotion.x, evt.xmotion.y, SkView::Click::kMoved_State); in loop() [all …]
|
/external/skia/src/gpu/ |
D | app-android.cpp | 110 bool SampleCode::CharQ(const SkEvent& evt, SkUnichar* outUni) { in CharQ() argument 111 if (evt.isType(gCharEvtName, sizeof(gCharEvtName) - 1)) { in CharQ() 113 *outUni = evt.getFast32(); in CharQ() 120 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ() argument 121 if (evt.isType(gKeyEvtName, sizeof(gKeyEvtName) - 1)) { in KeyQ() 123 *outKey = (SkKey)evt.getFast32(); in KeyQ() 130 bool SampleCode::TitleQ(const SkEvent& evt) { in TitleQ() argument 131 return evt.isType(gTitleEvtName, sizeof(gTitleEvtName) - 1); in TitleQ() 134 void SampleCode::TitleR(SkEvent* evt, const char title[]) { in TitleR() argument 135 GrAssert(evt && TitleQ(*evt)); in TitleR() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
D | TestMusicPlayer.java | 93 public void windowClosing(java.awt.event.WindowEvent evt) { in initComponents() 94 formWindowClosing(evt); in initComponents() 105 public void stateChanged(javax.swing.event.ChangeEvent evt) { in initComponents() 106 sldVolumeStateChanged(evt); in initComponents() 116 public void actionPerformed(java.awt.event.ActionEvent evt) { in initComponents() 117 btnStopActionPerformed(evt); in initComponents() 124 public void actionPerformed(java.awt.event.ActionEvent evt) { in initComponents() 125 btnPlayActionPerformed(evt); in initComponents() 132 public void actionPerformed(java.awt.event.ActionEvent evt) { in initComponents() 133 btnFFActionPerformed(evt); in initComponents() [all …]
|
/external/skia/include/views/ |
D | SkOSMenu.h | 57 SkEvent* evt); 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[]); 167 static bool FindListIndex(const SkEvent& evt, const char slotName[], int* value); 168 static bool FindSliderValue(const SkEvent& evt, const char slotName[], SkScalar* value); 169 static bool FindSwitchState(const SkEvent& evt, const char slotName[], bool* value); [all …]
|
/external/skia/samplecode/ |
D | OverView.cpp | 36 virtual bool onQuery(SkEvent* evt) { in onQuery() argument 37 if (SampleCode::TitleQ(*evt)) { in onQuery() 38 SampleCode::TitleR(evt, "Overview"); in onQuery() 41 if (evt->isType(gIsOverview)) { in onQuery() 44 return this->INHERITED::onQuery(evt); in onQuery() 55 SkEvent evt("set-curr-index"); in onFindClickHandler() local 56 evt.setFast32(iy * N + ix); in onFindClickHandler() 57 this->sendEventToParents(evt); in onFindClickHandler() 81 bool OverView::onEvent(const SkEvent& evt) { in onEvent() argument 82 return this->INHERITED::onEvent(evt); in onEvent()
|
D | TransitionView.cpp | 58 virtual bool onQuery(SkEvent* evt) { in onQuery() argument 59 if (SampleCode::TitleQ(*evt)) { in onQuery() 62 SampleCode::TitleR(evt, title.c_str()); in onQuery() 67 if (evt->isType(gIsTransitionQuery)) { in onQuery() 70 return this->INHERITED::onQuery(evt); in onQuery() 72 virtual bool onEvent(const SkEvent& evt) { in onEvent() argument 73 if (evt.isType(gReplaceTransitionEvt)) { in onEvent() 75 fPrev = (SkView*)SkEventSink::FindSink(evt.getFast32()); in onEvent() 82 if (evt.isType("transition-done")) { in onEvent() 85 SkEvent* evt = new SkEvent(gReplaceTransitionEvt, in onEvent() local [all …]
|
/external/webkit/LayoutTests/dom/xhtml/level2/events/ |
D | dispatchEvent13.js | 101 EventListenerN1003B.prototype.handleEvent = function(evt) { argument 109 events[events.length] = evt; 110 target = evt.currentTarget; 144 EventListenerN10074.prototype.handleEvent = function(evt) { argument 152 events[events.length] = evt; 153 target = evt.currentTarget; 177 var evt; 197 evt = doc.createEvent("Events"); 198 evt.initEvent("foo",true,false); 199 preventDefault = doc.dispatchEvent(evt);
|
/external/webkit/LayoutTests/dom/html/level2/events/ |
D | dispatchEvent13.js | 101 EventListenerN1003B.prototype.handleEvent = function(evt) { argument 109 events[events.length] = evt; 110 target = evt.currentTarget; 144 EventListenerN10074.prototype.handleEvent = function(evt) { argument 152 events[events.length] = evt; 153 target = evt.currentTarget; 177 var evt; 197 evt = doc.createEvent("Events"); 198 evt.initEvent("foo",true,false); 199 preventDefault = doc.dispatchEvent(evt);
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetDebug.py | 25 def DumpEvent(evt): argument 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/webkit/Source/WebCore/wml/ |
D | WMLInputElement.cpp | 274 void WMLInputElement::defaultEventHandler(Event* evt) in defaultEventHandler() argument 278 if (evt->type() == eventNames().textInputEvent && evt->isTextEvent()) { in defaultEventHandler() 279 TextEvent* textEvent = static_cast<TextEvent*>(evt); in defaultEventHandler() 287 …if (evt->type() == eventNames().keydownEvent && evt->isKeyboardEvent() && focused() && document()-… in defaultEventHandler() 288 …cument()->frame()->editor()->doTextFieldCommandFromEvent(this, static_cast<KeyboardEvent*>(evt))) { in defaultEventHandler() 289 evt->setDefaultHandled(); in defaultEventHandler() 295 WMLElement::defaultEventHandler(evt); in defaultEventHandler() 296 if (evt->defaultHandled()) in defaultEventHandler() 302 if (evt->type() == eventNames().keypressEvent && evt->isKeyboardEvent()) { in defaultEventHandler() 304 if (static_cast<KeyboardEvent*>(evt)->charCode() == '\r') in defaultEventHandler() [all …]
|