Searched refs:event (Results 1 - 25 of 4459) sorted by relevance

1234567891011>>

/external/chromium_org/content/test/data/service_worker/
H A Dworker.js5 this.oninstall = function(event) {};
H A Dworker_install_fulfilled.js5 this.oninstall = function(event) {
6 event.waitUntil(new Promise(function(r) { setTimeout(r, 5); }));
7 event.waitUntil(1);
H A Dworker_activate_rejected.js5 this.onactivate = function(event) {
6 event.waitUntil(new Promise(function(resolve, reject) {
H A Dworker_install_rejected.js5 this.oninstall = function(event) {
6 event.waitUntil(new Promise(function(resolve, reject) {
H A Dfetch_event_reload.js5 this.onfetch = function(event) {
8 var blob = new Blob(['<title>reload='+ event.isReload + '</title>']);
10 event.respondWith(response);
H A Dsync.js7 this.onfetch = function(event) {
13 event.respondWith(new Promise(function(r) {
18 this.onsync = function(event) {
/external/chromium_org/chrome/browser/android/banners/
H A Dapp_banner_utilities.h11 void TrackDisplayEvent(int event);
12 void TrackDismissEvent(int event);
13 void TrackInstallEvent(int event);
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/
H A Deasy_unlock_metrics.cc12 void RecordEasyUnlockLoginEvent(EasyUnlockLoginEvent event) { argument
13 DCHECK_LT(event, EASY_SIGN_IN_LOGIN_EVENT_COUNT);
16 event,
/external/chromium_org/chrome/browser/resources/chromeos/keyboard/
H A Dkeyboard_utils.js12 * @param {Event} event Raised event.
15 keyboard.onKeyIgnore_ = function(event) {
16 event = /** @type {KeyboardEvent} */(event);
18 if (event.ctrlKey || event.shiftKey || event.altKey || event.metaKey)
21 if (event
[all...]
/external/chromium_org/content/test/data/workers/
H A Dincognito_worker.js3 onconnect = function(event) {
4 event.ports[0].postMessage(++count);
/external/chromium_org/third_party/webrtc/base/
H A Devent_unittest.cc11 #include "webrtc/base/event.h"
17 Event event(false, true);
18 ASSERT_TRUE(event.Wait(0));
22 Event event(true, false);
23 ASSERT_FALSE(event.Wait(0));
25 event.Set();
26 ASSERT_TRUE(event.Wait(0));
27 ASSERT_TRUE(event.Wait(0));
29 event.Reset();
30 ASSERT_FALSE(event
[all...]
/external/chromium_org/ui/events/
H A Devent_handler.cc7 #include "ui/events/event.h"
23 void EventHandler::OnEvent(Event* event) { argument
25 // event types.
26 if (event->IsKeyEvent())
27 OnKeyEvent(static_cast<KeyEvent*>(event));
28 else if (event->IsMouseEvent())
29 OnMouseEvent(static_cast<MouseEvent*>(event));
30 else if (event->IsScrollEvent())
31 OnScrollEvent(static_cast<ScrollEvent*>(event));
32 else if (event
40 OnKeyEvent(KeyEvent* event) argument
43 OnMouseEvent(MouseEvent* event) argument
46 OnScrollEvent(ScrollEvent* event) argument
49 OnTouchEvent(TouchEvent* event) argument
52 OnGestureEvent(GestureEvent* event) argument
55 OnCancelMode(CancelModeEvent* event) argument
[all...]
H A Devent_targeter.cc7 #include "ui/events/event.h"
17 Event* event) {
18 if (event->IsMouseEvent() ||
19 event->IsScrollEvent() ||
20 event->IsTouchEvent() ||
21 event->IsGestureEvent()) {
23 static_cast<LocatedEvent*>(event));
29 LocatedEvent* event) {
38 if (!targeter->SubtreeShouldBeExploredForEvent(child, *event))
40 target->ConvertEventToTarget(child, event);
16 FindTargetForEvent(EventTarget* root, Event* event) argument
28 FindTargetForLocatedEvent(EventTarget* root, LocatedEvent* event) argument
53 SubtreeShouldBeExploredForEvent(EventTarget* target, const LocatedEvent& event) argument
59 FindNextBestTarget(EventTarget* previous_target, Event* event) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Devent_utils.cc7 #include "ui/events/event.h"
11 bool IsPossibleDispositionEvent(const ui::Event& event) { argument
12 return event.IsMouseEvent() && (event.flags() &
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
H A DKeyNavigationUtil.java21 * Checks whether the given event is any of DPAD down or NUMPAD down.
22 * @param event Event to be checked.
23 * @return Whether the event should be processed as a navigation down.
25 public static boolean isGoDown(KeyEvent event) { argument
26 return isActionDown(event) && (event.getKeyCode() == KeyEvent.KEYCODE_DPAD_DOWN
27 || (!event.isNumLockOn() && event.getKeyCode() == KeyEvent.KEYCODE_NUMPAD_2));
31 * Checks whether the given event is any of DPAD up or NUMPAD up.
32 * @param event Even
35 isGoUp(KeyEvent event) argument
45 isGoRight(KeyEvent event) argument
55 isGoUpOrDown(KeyEvent event) argument
64 isEnter(KeyEvent event) argument
74 isActionDown(KeyEvent event) argument
83 isActionUp(KeyEvent event) argument
[all...]
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_events.cc46 const char* NameFromPrerenderEvent(PrerenderEvent event) { argument
47 DCHECK(static_cast<int>(event) >= 0 &&
48 event <= PRERENDER_EVENT_MAX);
49 return kEventNames[event];
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DEventListener.idl22 void handleEvent(Event event);
/external/chromium_org/ui/events/test/
H A Devents_test_utils.cc11 EventTestApi::EventTestApi(Event* event) : event_(event) {} argument
14 LocatedEventTestApi::LocatedEventTestApi(LocatedEvent* event) argument
15 : EventTestApi(event),
16 located_event_(event) {}
19 KeyEventTestApi::KeyEventTestApi(KeyEvent* event) argument
20 : EventTestApi(event),
21 key_event_(event) {}
32 EventDispatchDetails EventSourceTestApi::SendEventToProcessor(Event* event) { argument
33 return event_source_->SendEventToProcessor(event);
[all...]
/external/chromium_org/ui/keyboard/resources/elements/
H A Dkb-altkey.js7 * inside a node, the event should be filter out.
8 * @param {Node} node The accent key node which receives event.
9 * @param {event} event A pointer move event.
10 * @return {boolean} True if event is external to node.
12 function isRelevantEvent(node, event) {
13 return !(node.compareDocumentPosition(event.relatedTarget)
17 over: function(event) {
18 if (isRelevantEvent(this, event)) {
[all...]
/external/ltrace/sysdeps/linux-gnu/
H A Devents.c43 static Event event; variable
57 enque_event(Event * event) argument
59 debug(DEBUG_FUNCTION, "%d: queuing event %d for later",
60 event->proc->pid, event->type);
63 fprintf(stderr, "event will be missed: %s\n", strerror(errno));
67 *ne = *event;
83 Event * event; local
84 for (event = prev; event !
118 event_process_not_reenabling(Event * event, void * data) argument
342 event_for_proc(struct Event *event, void *data) argument
353 struct Event *event; local
[all...]
/external/guava/guava/src/com/google/common/eventbus/
H A DDeadEvent.java22 * Wraps an event that was posted, but which had no subscribers and thus could
26 * can detect misconfigurations in a system's event distribution.
35 private final Object event; field in class:DeadEvent
42 * @param event the event that could not be delivered.
44 public DeadEvent(Object source, Object event) { argument
46 this.event = event;
50 * Returns the object that originated this event (<em>not</em> the object that
51 * originated the wrapped event)
[all...]
/external/chromium_org/remoting/protocol/
H A Dinput_event_tracker.cc8 #include "remoting/proto/event.pb.h"
31 KeyEvent event; local
32 event.set_pressed(false);
33 event.set_usb_keycode(*i);
34 input_stub_->InjectKeyEvent(event);
56 void InputEventTracker::InjectKeyEvent(const KeyEvent& event) { argument
61 if (event.has_pressed()) {
62 if (event.has_usb_keycode()) {
63 if (event.pressed()) {
64 pressed_keys_.insert(event
73 InjectTextEvent(const TextEvent& event) argument
77 InjectMouseEvent(const MouseEvent& event) argument
[all...]
/external/chromium_org/ui/wm/core/
H A Duser_activity_detector.cc10 #include "ui/events/event.h"
17 // Returns a string describing |event|.
18 std::string GetEventDebugString(const ui::Event* event) { argument
21 event->type(), event->name().c_str(), event->flags(),
22 event->time_stamp().InMilliseconds());
24 if (event->IsKeyEvent()) {
26 static_cast<const ui::KeyEvent*>(event)->key_code());
27 } else if (event
69 OnKeyEvent(ui::KeyEvent* event) argument
73 OnMouseEvent(ui::MouseEvent* event) argument
83 OnScrollEvent(ui::ScrollEvent* event) argument
87 OnTouchEvent(ui::TouchEvent* event) argument
91 OnGestureEvent(ui::GestureEvent* event) argument
99 HandleActivity(const ui::Event* event) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBEventDispatcher.cpp37 bool IDBEventDispatcher::dispatch(Event* event, WillBeHeapVector<RefPtrWillBeMember<EventTarget> >& eventTargets) argument
42 event->setEventPhase(Event::CAPTURING_PHASE);
44 event->setCurrentTarget(eventTargets[i].get());
45 eventTargets[i]->fireEventListeners(event);
46 if (event->propagationStopped())
50 event->setEventPhase(Event::AT_TARGET);
51 event->setCurrentTarget(eventTargets[0].get());
52 eventTargets[0]->fireEventListeners(event);
53 if (event->propagationStopped() || !event
[all...]
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dlocation_bar_decoration_view.cc7 #include "ui/events/event.h"
16 bool LocationBarDecorationView::OnMousePressed(const ui::MouseEvent& event) { argument
17 if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location())) {
26 void LocationBarDecorationView::OnMouseReleased(const ui::MouseEvent& event) { argument
27 if (event.IsOnlyLeftMouseButton() && HitTestPoint(event.location()) &&
33 bool LocationBarDecorationView::OnKeyPressed(const ui::KeyEvent& event) { argument
34 if (event.key_code() == ui::VKEY_SPACE ||
35 event
43 OnGestureEvent(ui::GestureEvent* event) argument
[all...]

Completed in 576 milliseconds

1234567891011>>