/external/libvncserver/webclients/novnc/include/ |
D | keyboard.js | 99 function sync(evt, keysym) { argument 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.altGraphKey; 117 if (evt.shiftKey !== undefined && evt.shiftKey !== state[shift] && keysym !== shift) { 118 state[shift] = evt.shiftKey; 121 if (evt.metaKey !== undefined && evt.metaKey !== state[meta] && keysym !== meta) { [all …]
|
/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 | 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 = nullptr; 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 …]
|
/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 != nullptr && 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/skia/src/views/animated/ |
D | SkWidgetViews.cpp | 135 SkEvent evt(fEvent); // make a copy since onPrepareWidgetEvent may edit the event in postWidgetEvent() local 137 if (this->onPrepareWidgetEvent(&evt)) in postWidgetEvent() 139 SkDEBUGCODE(evt.dump("SkWidgetView::postWidgetEvent");) in postWidgetEvent() 141 … this->postToListeners(evt); // wonder if this should return true if there are > 0 listeners... in postWidgetEvent() 167 /*virtual*/ bool SkWidgetView::onPrepareWidgetEvent(SkEvent* evt) in onPrepareWidgetEvent() argument 169 evt->setS32(gWidgetEventSinkIDSlotName, this->getSinkID()); in onPrepareWidgetEvent() 173 SkEventSinkID SkWidgetView::GetWidgetEventSinkID(const SkEvent& evt) in GetWidgetEventSinkID() argument 177 return evt.findS32(gWidgetEventSinkIDSlotName, &sinkID) ? (SkEventSinkID)sinkID : 0; in GetWidgetEventSinkID() 182 /*virtual*/ bool SkButtonView::onEvent(const SkEvent& evt) in onEvent() argument 184 if (evt.isType(SK_EventType_Key) && evt.getFast32() == kOK_SkKey) in onEvent() [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 | 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/skia/src/views/unix/ |
D | SkOSWindow_Unix.cpp | 152 static unsigned getModi(const XEvent& evt) { in getModi() argument 165 if (evt.xkey.state & gModi[i].fXMask) { in getModi() 174 static bool MyXNextEventWithDelay(Display* dsp, XEvent* evt) { in MyXNextEventWithDelay() argument 178 XNextEvent(dsp, evt); in MyXNextEventWithDelay() 199 XNextEvent(dsp, evt); in MyXNextEventWithDelay() 206 XEvent evt; in nextXEvent() local 209 if (!MyXNextEventWithDelay(dsp, &evt)) { in nextXEvent() 213 switch (evt.type) { in nextXEvent() 215 if (0 == evt.xexpose.count) { in nextXEvent() 220 this->resize(evt.xconfigure.width, evt.xconfigure.height); in nextXEvent() [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 …]
|
D | RawInputListener.java | 62 public void onJoyAxisEvent(JoyAxisEvent evt); in onJoyAxisEvent() argument 69 public void onJoyButtonEvent(JoyButtonEvent evt); in onJoyButtonEvent() argument 76 public void onMouseMotionEvent(MouseMotionEvent evt); in onMouseMotionEvent() argument 83 public void onMouseButtonEvent(MouseButtonEvent evt); in onMouseButtonEvent() argument 90 public void onKeyEvent(KeyInputEvent evt); in onKeyEvent() argument 98 public void onTouchEvent(TouchEvent evt); in onTouchEvent() argument
|
/external/skia/samplecode/ |
D | GMSampleView.cpp | 17 SkEvent* evt = new SkEvent("GMSampleView::showSize"); in NewShowSizeEvt() local 18 evt->setFast32(doShowSize); in NewShowSizeEvt() 19 return evt; in NewShowSizeEvt() 22 bool GMSampleView::onQuery(SkEvent* evt) { in onQuery() argument 23 if (SampleCode::TitleQ(*evt)) { in onQuery() 26 SampleCode::TitleR(evt, name.c_str()); in onQuery() 29 return this->INHERITED::onQuery(evt); in onQuery() 32 bool GMSampleView::onEvent(const SkEvent& evt) { in onEvent() argument 33 if (evt.isType("GMSampleView::showSize")) { in onEvent() 34 fShowSize = SkToBool(evt.getFast32()); in onEvent() [all …]
|
D | SampleXfer.cpp | 39 SkEvent evt; in postWidgetEvent() local 40 this->onPrepareWidEvent(&evt); in postWidgetEvent() 41 this->postToListeners(evt, 0); in postWidgetEvent() 62 void onPrepareWidEvent(SkEvent* evt) override { in onPrepareWidEvent() argument 63 evt->setType("push-button"); in onPrepareWidEvent() 64 evt->setFast32(fFast32); in onPrepareWidEvent() 65 evt->setString("label", fLabel.c_str()); in onPrepareWidEvent() 190 bool onEvent(const SkEvent& evt) override { in onEvent() argument 191 if (evt.isType("push-button")) { in onEvent() 193 fSelected->fMode = (SkXfermode::Mode)evt.getFast32(); in onEvent() [all …]
|
D | OverView.cpp | 52 bool onQuery(SkEvent* evt) override { in onQuery() argument 53 if (SampleCode::TitleQ(*evt)) { in onQuery() 54 SampleCode::TitleR(evt, "Overview"); in onQuery() 57 if (evt->isType(gIsOverview)) { in onQuery() 61 if (SampleCode::CharQ(*evt, &uni)) { in onQuery() 66 return this->INHERITED::onQuery(evt); in onQuery() 81 SkEvent evt("set-curr-index"); in onFindClickHandler() local 82 evt.setFast32(i); in onFindClickHandler() 83 this->sendEventToParents(evt); in onFindClickHandler() 155 bool OverView::onEvent(const SkEvent& evt) { in onEvent() argument [all …]
|
D | SampleApp.cpp | 113 static void post_event_to_sink(SkEvent* evt, SkEventSink* sink) { in post_event_to_sink() argument 114 evt->setTargetID(sink->getSinkID())->post(); in post_event_to_sink() 372 static bool isInvalEvent(const SkEvent& evt) { in isInvalEvent() argument 373 return evt.isType(view_inval_msg); in isInvalEvent() 542 bool SampleCode::CharQ(const SkEvent& evt, SkUnichar* outUni) { in CharQ() argument 543 if (evt.isType(gCharEvtName, sizeof(gCharEvtName) - 1)) { in CharQ() 545 *outUni = evt.getFast32(); in CharQ() 552 bool SampleCode::KeyQ(const SkEvent& evt, SkKey* outKey) { in KeyQ() argument 553 if (evt.isType(gKeyEvtName, sizeof(gKeyEvtName) - 1)) { in KeyQ() 555 *outKey = (SkKey)evt.getFast32(); in KeyQ() [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/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/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/jmonkeyengine/engine/src/test/jme3test/gui/ |
D | TestBitmapFont.java | 101 public void onMouseMotionEvent(MouseMotionEvent evt) { } 104 public void onMouseButtonEvent(MouseButtonEvent evt) { } 107 public void onKeyEvent(KeyInputEvent evt) { 108 if (evt.isReleased()) 110 if (evt.getKeyChar() == '\n' || evt.getKeyChar() == '\r') { 114 str.append(evt.getKeyChar()); 119 public void onJoyButtonEvent(JoyButtonEvent evt) { } 122 public void onJoyAxisEvent(JoyAxisEvent evt) { } 131 public void onTouchEvent(TouchEvent evt) { }
|
D | TestSoftwareMouse.java | 56 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) {
|
/external/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/resources/html/war/ |
D | index | 18 function handleMouseDown(evt) { 19 evt.preventDefault(); 20 evt.stopPropagation(); 21 evt.target.style.cursor = 'default'; 24 function handleMouseUp(evt) { 25 evt.preventDefault(); 26 evt.stopPropagation(); 27 evt.target.style.cursor = '';
|
/external/skia/experimental/DrawingBoard/ |
D | SampleDrawingClient.cpp | 96 bool onQuery(SkEvent* evt) { in onQuery() argument 97 if (SampleCode::TitleQ(*evt)) { in onQuery() 98 SampleCode::TitleR(evt, "Drawing Client"); in onQuery() 102 return this->INHERITED::onQuery(evt); in onQuery() 105 bool onEvent(const SkEvent& evt) {; in onEvent() argument 106 if (SkOSMenu::FindSliderValue(evt, "Brush Size", &fBrushSize)) in onEvent() 110 if (SkOSMenu::FindText(evt, "Server IP", &s)) { in onEvent() 123 if (SkOSMenu::FindSwitchState(evt, "AA", &fAA) || in onEvent() 124 SkOSMenu::FindSwitchState(evt, "Sync", &fSync)) in onEvent() 126 if (SkOSMenu::FindSwitchState(evt, "Vector", &fVector)) { in onEvent() [all …]
|
/external/skia/experimental/Networking/ |
D | SampleNetPipeReader.cpp | 56 bool onQuery(SkEvent* evt) { in onQuery() argument 57 if (SampleCode::TitleQ(*evt)) { in onQuery() 58 SampleCode::TitleR(evt, "Net Pipe Reader"); in onQuery() 61 return this->INHERITED::onQuery(evt); in onQuery() 64 bool onEvent(const SkEvent& evt) { in onEvent() argument 66 if (SkOSMenu::FindText(evt, "Server IP", &s)) { in onEvent() 75 if (SkOSMenu::FindSwitchState(evt, "Sync", &fSync)) in onEvent() 77 return this->INHERITED::onEvent(evt); in onEvent()
|