/external/guava/guava/src/com/google/common/eventbus/ |
AsyncEventBus.java | 44 * responsibility to shut down the executor after the last event has 45 * been posted to this event bus. 57 * responsibility to shut down the executor after the last event has 58 * been posted to this event bus. 65 protected void enqueueEvent(Object event, EventHandler handler) { 66 eventsToDispatch.offer(new EventWithHandler(event, handler)); 81 dispatch(eventWithHandler.event, eventWithHandler.handler); 86 * Calls the {@link #executor} to dispatch {@code event} to {@code handler}. 89 protected void dispatch(final Object event, final EventHandler handler) { 94 AsyncEventBus.super.dispatch(event, handler) [all...] |
/external/oprofile/daemon/ |
opd_events.c | 3 * Event details for each counter 86 struct opd_event * event = &opd_events[0]; local 87 event->name = xstrdup("TIMER"); 88 event->value = event->counter 89 = event->count = event->um = 0; 90 event->kernel = 1; 91 event->user = 1; 105 struct opd_event * event = &opd_events[cur] local 155 struct opd_event * event = find_counter_event(counter); local [all...] |
/external/oprofile/events/mips/25K/ |
events | 6 event:0x0 counters:0,1 um:zero minimum:500 name:CYCLES : CPU cycles 7 event:0x1 counters:0,1 um:zero minimum:500 name:INSN_ISSUED : Dispatched/issued instructions 8 event:0x2 counters:0,1 um:zero minimum:500 name:FP_INSNS_ISSUED : FPU instructions issued 9 event:0x3 counters:0,1 um:zero minimum:500 name:INT_INSNS_ISSUED : Integer instructions issued 10 event:0x4 counters:0,1 um:zero minimum:500 name:LOAD_INSNS_ISSUED : Load instructions issued 11 event:0x5 counters:0,1 um:zero minimum:500 name:STORE_INSNS_ISSUED : Store instructions issued 12 event:0x6 counters:0,1 um:zero minimum:500 name:BRANCHES_JUMPS_ISSUED : Branch/Jump instructions issued 13 event:0x7 counters:0,1 um:zero minimum:500 name:DUAL_ISSUED_PAIRS : Dual-issued pairs 14 event:0x8 counters:0,1 um:zero minimum:500 name:INSNS_COMPLETE : Instruction that completed execution (with or without exception) 15 event:0x9 counters:0,1 um:zero minimum:500 name:FETCH_GROUPS_IN_PIPE : Fetch groups entering CPU executi (…) [all...] |
/external/webkit/Source/WebCore/html/ |
BaseCheckableInputType.cpp | 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 62 void BaseCheckableInputType::handleKeydownEvent(KeyboardEvent* event) 64 const String& key = event->keyIdentifier(); 72 void BaseCheckableInputType::handleKeypressEvent(KeyboardEvent* event) 74 if (event->charCode() == ' ') { 76 event->setDefaultHandled();
|
CheckboxInputType.cpp | 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 62 void CheckboxInputType::handleKeyupEvent(KeyboardEvent* event) 64 const String& key = event->keyIdentifier(); 67 dispatchSimulatedClickIfActive(event); 72 // An event handler can use preventDefault or "return false" to reverse the checking we do here. 88 void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& state) 90 if (event->defaultPrevented() || event->defaultHandled()) { 96 event->setDefaultHandled() [all...] |
HTMLSummaryElement.cpp | 74 void HTMLSummaryElement::defaultEventHandler(Event* event) 76 HTMLElement::defaultEventHandler(event); 77 if (!isMainSummary() || !renderer() || !renderer()->isSummary() || !event->isMouseEvent() || event->type() != eventNames().clickEvent || event->defaultHandled()) 80 MouseEvent* mouseEvent = static_cast<MouseEvent*>(event); 86 event->setDefaultHandled();
|
/external/webkit/Source/WebCore/loader/ |
NavigationAction.cpp | 20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 32 #include "Event.h" 68 NavigationAction::NavigationAction(const KURL& url, NavigationType type, PassRefPtr<Event> event) 71 , m_event(event) 76 bool isFormSubmission, PassRefPtr<Event> event) 78 , m_type(navigationType(frameLoadType, isFormSubmission, event)) 79 , m_event(event)
|
/external/jmdns/src/javax/jmdns/impl/ |
ListenerStatus.java | 44 * <b>Note:</b>This event is only the service added event. The service info associated with this event does not include resolution information.<br/> 48 * ServiceInfo info = event.getDNS().getServiceInfo(event.getType(), event.getName()) 54 * @param event 57 void serviceAdded(ServiceEvent event) { 58 String qualifiedName = event.getName() + "." + event.getType() [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/ |
NetscapePluginMac.mm | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS 71 // The event model can only be set from NPP_New. 214 // The CA drawing model does not work with the Carbon event model. 218 // The Cocoa event model does not work with the QuickDraw drawing model. 253 // Start the null event timer. 274 // Stop the null event timer. 295 NPCocoaEvent event; 297 event.type = type; 298 event.version = 0; 300 return event; [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
TextControlInnerElements.cpp | 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 109 void TextControlInnerTextElement::defaultEventHandler(Event* event) 111 // FIXME: In the future, we should add a way to have default event listeners. 113 // Or possibly we could just use a normal event listener. 114 if (event->isBeforeTextInsertedEvent() || event->type() == eventNames().webkitEditableContentChangedEvent) { 118 // To prevent an infinite loop, we must check for this case before sending the event up the chain. 120 shadowAncestor->defaultEventHandler(event); 122 if (!event->defaultHandled() [all...] |
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
AndroidInput.java | 13 import com.jme3.input.event.MouseButtonEvent;
14 import com.jme3.input.event.MouseMotionEvent;
15 import com.jme3.input.event.TouchEvent;
16 import com.jme3.input.event.TouchEvent.Type;
169 * Fetches a touch event from the reuse pool
170 * @param wait if true waits for a reusable event to get available/released
223 public boolean onTouchEvent(MotionEvent event) {
226 // System.out.println("native : " + event.getAction());
227 int action = event.getAction() & MotionEvent.ACTION_MASK;
228 int pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) 389 TouchEvent event; local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
gtk_custom_menu.cc | 33 GdkEvent* event) { 34 GtkWidget* menu_item = gtk_get_event_widget(event); 45 // When processing a button event, abort processing if the cursor isn't in a 48 GdkEventButton* event) { 50 GTK_MENU_SHELL(widget), reinterpret_cast<GdkEvent*>(event)); 59 button_press_event(widget, event); 62 // When processing a button event, abort processing if the cursor isn't in a 64 // that event and abort having the normal GtkMenu code run. 66 GdkEventButton* event) { 68 GTK_MENU_SHELL(widget), reinterpret_cast<GdkEvent*>(event)); [all...] |
/external/webkit/Source/WebCore/dom/ |
EventQueue.cpp | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 32 #include "Event.h" 72 void EventQueue::enqueueEvent(PassRefPtr<Event> event) 74 ASSERT(event->target()); 75 bool wasAdded = m_queuedEvents.add(event).second; 86 RefPtr<Event> scrollEvent = Event::create(eventNames().scrollEvent, canBubble, false /* non cancelleable */); 100 bool EventQueue::cancelEvent(Event* event) 131 RefPtr<Event> event = *iter; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DelegateViewHelper.java | 50 public boolean onInterceptTouchEvent(MotionEvent event) { 61 switch (event.getAction()) { 64 mDownPoint[0] = event.getX(); 65 mDownPoint[1] = event.getY(); 74 if (!mPanelShowing && event.getAction() == MotionEvent.ACTION_MOVE) { 75 final int historySize = event.getHistorySize(); 77 float x = k < historySize ? event.getHistoricalX(k) : event.getX(); 78 float y = k < historySize ? event.getHistoricalY(k) : event.getY() [all...] |
/external/oprofile/events/i386/westmere/ |
events | 10 event:0x03 counters:0,1,2,3 um:x02 minimum:200000 name:LOAD_BLOCK : Loads that partially overlap an earlier store 11 event:0x04 counters:0,1,2,3 um:x07 minimum:200000 name:SB_DRAIN : All Store buffer stall cycles 12 event:0x05 counters:0,1,2,3 um:x02 minimum:200000 name:MISALIGN_MEM_REF : Misaligned store references 13 event:0x06 counters:0,1,2,3 um:store_blocks minimum:200000 name:STORE_BLOCKS : Loads delayed with at-Retirement block code 14 event:0x07 counters:0,1,2,3 um:x01 minimum:200000 name:PARTIAL_ADDRESS_ALIAS : False dependencies due to partial address aliasing 15 event:0x08 counters:0,1,2,3 um:dtlb_load_misses minimum:200000 name:DTLB_LOAD_MISSES : DTLB load misses 16 event:0x0b counters:0,1,2,3 um:mem_inst_retired minimum:2000000 name:MEM_INST_RETIRED : Memory instructions retired above 0 clocks (Precise Event) 17 event:0x0c counters:0,1,2,3 um:x01 minimum:200000 name:MEM_STORE_RETIRED : Retired stores that miss the DTLB (Precise Event) [all...] |
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 27 * callback will notify users when a particular gesture event has occurred. 60 * @param detector The detector reporting the event - use this to 61 * retrieve extended info about event state. 62 * @return Whether or not the detector should consider this event 63 * as handled. If an event was not handled, the detector 64 * will continue to accumulate movement until an event is 75 * @param detector The detector reporting the event - use this to 76 * retrieve extended info about event state. 93 * @param detector The detector reporting the event - use this to 94 * retrieve extended info about event state [all...] |
TouchDelegate.java | 55 * True if the delegate had been targeted on a down event (intersected mBounds). 100 * Will forward touch events to the delegate view if the event is within the bounds 103 * @param event The touch event to forward 104 * @return True if the event was forwarded to the delegate, false otherwise. 106 public boolean onTouchEvent(MotionEvent event) { 107 int x = (int)event.getX(); 108 int y = (int)event.getY(); 113 switch (event.getAction()) { 141 // Offset event coordinates to be inside the target vie [all...] |
InputEventReceiver.java | 53 * Creates an input event receiver bound to the specified input channel. 98 * Called when an input event is received. 99 * The recipient should process the input event and then call {@link #finishInputEvent} 100 * to indicate whether the event was handled. No new input events will be received 103 * @param event The input event that was received. 105 public void onInputEvent(InputEvent event) { 106 finishInputEvent(event, false); 110 * Called when a batched input event is pending. 112 * The batched input event will continue to accumulate additional movemen [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
SipWakeupTimer.java | 74 * Stops the timer. No event can be scheduled after this method is called. 124 // Determines the period and the trigger time of the new event and insert it 126 private void insertEvent(MyEvent event) { 129 event.mTriggerTime = now + event.mPeriod; 130 mEventQueue.add(event); 135 if (minPeriod <= event.mMaxPeriod) { 136 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod; 137 int interval = event.mMaxPeriod 166 MyEvent event = new MyEvent(period, callback, now); local 195 MyEvent event = iter.next(); local 225 MyEvent event = mEventQueue.first(); local [all...] |
/external/chromium/base/ |
message_pump_glib.h | 25 // Observer is notified prior to a GdkEvent event being dispatched. As 32 virtual void WillProcessEvent(GdkEvent* event) = 0; 35 virtual void DidProcessEvent(GdkEvent* event) = 0; 40 // dispatch events (or invoke gtk_main_do_event), rather every event is 42 // Dispatcher to dispatch, or not, the event. 49 // Dispatches the event. If true is returned processing continues as 51 virtual bool Dispatch(GdkEvent* event) = 0; 61 // that an event was handled. |block| indicates if it should wait if no event 84 virtual void DispatchEvents(GdkEvent* event); [all...] |
/external/guava/guava-tests/test/com/google/common/eventbus/ |
ReentrantEventsTest.java | 51 public void listenForStrings(String event) { 52 eventsReceived.add(event); 62 public void listenForDoubles(Double event) { 63 assertTrue("I received an event when I wasn't ready!", ready); 64 eventsReceived.add(event); 82 @Subscribe public void listenForStrings(String event) { 89 @Subscribe public void listenForEverything(Object event) { 90 eventsReceived.add(event);
|
/external/webkit/Source/WebCore/page/qt/ |
EventHandlerQt.cpp | 18 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 65 bool EventHandler::tabsToAllFormControls(KeyboardEvent* event) const 67 return (isKeyboardOptionTab(event) ? !qt_tab_all_widgets : qt_tab_all_widgets); 86 // Qt has an activation event which is sent independently 87 // of mouse event so this thing will be a snafu to implement 92 bool EventHandler::passWheelEventToWidget(PlatformWheelEvent& event, Widget* widget) 98 return static_cast<FrameView*>(widget)->frame()->eventHandler()->handleWheelEvent(event); 108 subframe->eventHandler()->handleMousePressEvent(mev.event()); 114 subframe->eventHandler()->handleMouseMoveEvent(mev.event(), hoveredNode); 120 subframe->eventHandler()->handleMouseReleaseEvent(mev.event()); [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 39 public int event; field in class:WifiP2pProvDiscEvent 43 /* Valid when event = SHOW_PIN */ 65 throw new IllegalArgumentException("Malformed event " + string); 68 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; 69 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; 70 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; 71 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; 72 else throw new IllegalArgumentException("Malformed event " + string); 78 if (event == SHOW_PIN) { 86 sbuf.append("\n event: ").append(event) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialerView.java | 67 public boolean dispatchKeyEvent(KeyEvent event) { 68 if (DBG) log("dispatchKeyEvent(" + event + ")..."); 70 int keyCode = event.getKeyCode(); 75 return event.isDown() ? mDialer.onKeyDown(keyCode, event) : 76 mDialer.onKeyUp(keyCode, event); 80 if (DBG) log("==> dispatchKeyEvent: forwarding event to the DTMFDialer"); 81 return super.dispatchKeyEvent(event);
|
/external/webkit/Source/WebCore/page/gtk/ |
EventHandlerGtk.cpp | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 47 bool EventHandler::tabsToAllFormControls(KeyboardEvent* event) const 59 bool EventHandler::passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults& event) 61 // Figure out which view to send the event to. 62 RenderObject* target = targetNode(event) ? targetNode(event)->renderer() : 0; 88 bool EventHandler::passWheelEventToWidget(PlatformWheelEvent& event, Widget* widget) 94 return static_cast<FrameView*>(widget)->frame()->eventHandler()->handleWheelEvent(event); 104 subframe->eventHandler()->handleMousePressEvent(mev.event()); 110 subframe->eventHandler()->handleMouseMoveEvent(mev.event(), hoveredNode) [all...] |