/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
content.js | 6 function sendEvent(event, value) { 7 console.log("sendEvent: " + event + "," + value); 8 chrome.extension.sendRequest({eventName: event, eventValue: value}); 19 // Automatically coalesces repeating events into a start and a stop event. 20 // |validator| is a function which should return true if the event is 21 // considered to be a valid event of this type. 22 function handleEvent(event, type, validator) { 24 if (!validator(event)) { 40 target.addEventListener(type, function(event) { 41 handleEvent(event, type, validator) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/htmlfiles/ |
jquery.hotkeys.js | 44 handleObj.handler = function( event ) { 46 if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) || 47 event.target.type === "text") ) { 52 var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ], 53 character = String.fromCharCode( event.which ).toLowerCase(), 57 if ( event.altKey && special !== "alt" ) { 61 if ( event.ctrlKey && special !== "ctrl" ) { 66 if ( event.metaKey && !event.ctrlKey && special !== "meta" ) [all...] |
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/ |
brlapi_keycode_map.cc | 32 void MapModifierFlags(brlapi_keyCode_t code, KeyEvent* event) { 34 event->ctrl_key.reset(new bool(true)); 36 event->alt_key.reset(new bool(true)); 38 event->shift_key.reset(new bool(true)); 42 // provided event. 45 void MapKeySym(brlapi_keyCode_t code, KeyEvent* event) { 52 event->standard_key_char.reset(new std::string); 53 base::WriteUnicodeCharacter(code_point, event->standard_key_char.get()); 58 event->standard_key_code.reset( 109 event->standard_key_code.reset(new std::string(code_string)) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
dtmf_buffer.cc | 29 // | event |E|R| volume | duration | 33 // - event: The event field is a number between 0 and 255 identifying a 34 // specific telephony event. The buffer will not accept any event 37 // packet contains the end of the event. For long-lasting events 46 // - duration: The duration field indicates the duration of the event or segment 48 // integer in network byte order. For a non-zero value, the event 51 // The event may or may not have ended. If the event duratio [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTextTraversalTest.java | 68 // Move to the next character and wait for an event. 78 public boolean accept(AccessibilityEvent event) { 80 (event.getEventType() == 82 && event.getAction() == 84 && event.getPackageName().equals(getActivity().getPackageName()) 85 && event.getClassName().equals(View.class.getName()) 86 && event.getContentDescription().toString().equals( 88 && event.getFromIndex() == 0 89 && event.getToIndex() == 1 90 && event.getMovementGranularity() = [all...] |
/external/oprofile/events/ppc64/970MP/ |
event_mappings | 6 #Mapping of event groups to MMCR values 9 event:0X001 mmcr0:0X0400C51F mmcr1:0X000000000A46F18C mmcra:0X00002001 12 event:0X0010 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 13 event:0X0011 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 14 event:0X0012 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 15 event:0X0013 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 16 event:0X0014 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 17 event:0X0015 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 18 event:0X0016 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X00002000 19 event:0X0017 mmcr0:0X0000051F mmcr1:0X000000000A46F18C mmcra:0X0000200 [all...] |
/external/chromium_org/ash/wm/panels/ |
panel_window_event_handler.h | 20 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 21 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
|
/external/chromium_org/base/message_loop/ |
message_pump_observer.h | 24 virtual void WillProcessEvent(const NativeEvent& event) = 0; 27 virtual void DidProcessEvent(const NativeEvent& event) = 0;
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
nsmenuitem_additions.h | 13 // a menu and then |menu performKeyEquivalent:event| was called. 15 - (BOOL)cr_firesForKeyEvent:(NSEvent*)event; 19 - (BOOL)cr_firesForKeyEventIfEnabled:(NSEvent*)event;
|
/external/chromium_org/content/public/browser/ |
render_widget_host_view_mac_delegate.h | 29 // Handle an event. All incoming key and mouse events flow through this delegate 30 // method if implemented. Return YES if the event is fully handled, or NO if 32 - (BOOL)handleEvent:(NSEvent*)event; 42 - (void)beginGestureWithEvent:(NSEvent*)event; 43 - (void)endGestureWithEvent:(NSEvent*)event; 45 // This is a low level API which provides touches associated with an event. 48 - (void)touchesMovedWithEvent:(NSEvent*)event; 49 - (void)touchesBeganWithEvent:(NSEvent*)event; 50 - (void)touchesCancelledWithEvent:(NSEvent*)event; 51 - (void)touchesEndedWithEvent:(NSEvent*)event; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
UIEventWithKeyState.cpp | 26 UIEventWithKeyState* findEventWithKeyState(Event* event) 28 for (Event* e = event; e; e = e->underlyingEvent())
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
MouseEventWithHitTestResults.cpp | 29 MouseEventWithHitTestResults::MouseEventWithHitTestResults(const PlatformMouseEvent& event, const HitTestResult& hitTestResult) 30 : m_event(event)
|
/external/chromium_org/ui/base/cocoa/ |
cocoa_base_utils.h | 16 // represented by |event|. For example, a Cmd+Click would mean open the 19 WindowOpenDispositionFromNSEvent(NSEvent* event); 22 // represented by |event|, but instead use the modifier flags given by |flags|, 24 // substitution of the modifiers without having to create a new event from 27 WindowOpenDispositionFromNSEventWithFlags(NSEvent* event, NSUInteger flags);
|
/external/chromium_org/ui/events/ |
event_processor.h | 13 // EventProcessor receives an event from an EventSource and dispatches it to a 19 // Returns the root of the tree this event processor owns. 22 // Dispatches an event received from the EventSource to the tree of 26 virtual EventDispatchDetails OnEventFromSource(Event* event) 30 // Prepares the event so that it can be dispatched. This is invoked before 31 // an EventTargeter is used to find the target of the event. So this can be 32 // used to update the event so that the targeter can operate correctly (e.g. 33 // it can be used to updated the location of the event when disptaching from 35 virtual void PrepareEventForDispatch(Event* event) [all...] |
/external/chromium_org/ui/events/gestures/ |
gesture_types.h | 31 virtual void DispatchGestureEvent(GestureEvent* event) = 0; 32 virtual void DispatchCancelTouchEvent(TouchEvent* event) = 0;
|
/external/chromium_org/ui/events/ozone/evdev/ |
event_converter_evdev.cc | 7 #include "ui/events/event.h" 19 void EventConverterEvdev::DispatchEventToCallback(ui::Event* event) { 20 dispatch_callback_.Run(event);
|
/external/chromium_org/ui/events/platform/ |
platform_event_dispatcher.h | 26 // Returns whether this dispatcher wants to dispatch |event|. 27 virtual bool CanDispatchEvent(const PlatformEvent& event) = 0; 29 // Dispatches |event|. If this is not the default dispatcher, then the 31 // dispatch the event by setting POST_DISPATCH_PERFORM_DEFAULT to the return 32 // value. If the dispatcher has processed the event, and no other dispatcher 33 // should be allowed to dispatch the event, then the dispatcher should set 35 virtual uint32_t DispatchEvent(const PlatformEvent& event) = 0;
|
/external/chromium_org/ui/wm/core/ |
compound_event_filter.cc | 16 #include "ui/events/event.h" 30 bool ShouldHideCursorOnTouch(const ui::TouchEvent& event) { 35 int device_id = event.source_device_id(); 38 // If the touch event is coming from a mouse-device (i.e. not a real 103 ui::MouseEvent* event) { 115 gfx::NativeCursor cursor = target->GetCursor(event->location()); 116 if ((event->flags() & ui::EF_IS_NON_CLIENT)) { 119 target->delegate()->GetNonClientComponent(event->location()); 131 void CompoundEventFilter::FilterKeyEvent(ui::KeyEvent* event) { 135 while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL [all...] |
/external/lldb/include/lldb/Breakpoint/ |
StoppointCallbackContext.h | 35 StoppointCallbackContext(Event *event, const ExecutionContext &exe_ctx, bool synchronously = false); 40 /// Sets the event, process and thread to NULL, and the frame index to an 49 Event *event; // This is the event, the callback can modify this to indicate member in class:lldb_private::StoppointCallbackContext 53 // or asynchronously as the event is retrieved?
|
/external/lldb/source/Core/ |
History.cpp | 23 HistorySourceUInt::DumpHistoryEvent (Stream &strm, HistoryEvent event) 25 strm.Printf ("%s %" PRIu64, m_name.c_str(), (uint64_t)((uintptr_t)event));
|
/external/ltrace/sysdeps/linux-gnu/ |
events.h | 26 /* Declarations for event que functions. */ 31 * event. */ 32 ECB_DEQUE, /* Like ECB_STOP, but the event should be removed 36 struct Event *each_qd_event(enum ecb_status (*cb)(struct Event *event, 39 void enque_event(struct Event *event);
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
SDL_active.c | 30 /* These are static for our active event handling code */ 72 /* Post the event, if desired */ 75 SDL_Event event; local 76 SDL_memset(&event, 0, sizeof(event)); 77 event.type = SDL_ACTIVEEVENT; 78 event.active.gain = gain; 79 event.active.state = state; 80 if ( (SDL_EventOK == NULL) || (*SDL_EventOK)(&event) ) { 82 SDL_PushEvent(&event); [all...] |
/frameworks/base/core/java/android/hardware/display/ |
IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event);
|
/external/chromium_org/extensions/common/ |
one_shot_event_unittest.cc | 19 OneShotEvent event; local 20 EXPECT_FALSE(event.is_signaled()); 21 event.Signal(); 22 EXPECT_TRUE(event.is_signaled()); 26 OneShotEvent event; local 30 event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); 31 event.Post(FROM_HERE, base::Bind(&Increment, &i), runner); 33 event.Signal(); 44 OneShotEvent event; local 49 event.Signal() 58 OneShotEvent event; local 86 OneShotEvent event; local [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
TapGestureDetector.java | 23 * Notified when a tap event occurs. 26 * @return True if the event is consumed. 31 * Notified when a long-touch event occurs. 55 * than this distance, the gesture is still eligible to be a tap event. 78 /** Analyzes the touch event to determine whether to notify the listener. */ 79 public boolean onTouchEvent(MotionEvent event) { 81 switch (event.getActionMasked()) { 86 trackDownEvent(event); 91 trackDownEvent(event); 92 mPointerCount = Math.max(mPointerCount, event.getPointerCount()) [all...] |