Searched defs:event (Results 301 - 325 of 1893) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/skia/tools/skpdiff/
H A DSkDifferentPixelsMetric_opencl.cpp86 cl_event event; local
90 NULL, 0, NULL, &event);
97 clWaitForEvents(1, &event);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Ddtmf_tone_generator.cc20 // Each key on the telephone keypad corresponds to an "event", 0-15. Each event
105 // 48000), event (0-15) and attenuation (0-36 dB).
107 int DtmfToneGenerator::Init(int fs, int event, int attenuation) { argument
123 if (event < 0 || event > 15) {
124 return kParameterError; // Invalid event number.
132 coeff1_ = kCoeff1[fs_index][event];
133 coeff2_ = kCoeff2[fs_index][event];
137 sample_history1_[0] = kInitValue1[fs_index][event];
[all...]
/external/chromium_org/ui/app_list/views/
H A Dcontents_switcher_view.cc60 const ui::Event& event) {
59 ButtonPressed(views::Button* sender, const ui::Event& event) argument
/external/chromium_org/ui/aura/test/
H A Daura_test_base.cc117 bool AuraTestBase::DispatchEventUsingWindowDispatcher(ui::Event* event) { argument
119 event_processor()->OnEventFromSource(event);
121 return event->handled();
/external/chromium_org/ui/base/ime/
H A Dinput_method_minimal.cc8 #include "ui/events/event.h"
21 const base::NativeEvent& event,
26 bool InputMethodMinimal::DispatchKeyEvent(const ui::KeyEvent& event) { argument
27 DCHECK(event.type() == ET_KEY_PRESSED || event.type() == ET_KEY_RELEASED);
31 return DispatchKeyEventPostIME(event);
34 const bool handled = DispatchKeyEventPostIME(event);
35 if (event.type() == ET_KEY_PRESSED && GetTextInputClient()) {
36 const uint16 ch = event.GetCharacter();
38 GetTextInputClient()->InsertChar(ch, event
20 OnUntranslatedIMEMessage( const base::NativeEvent& event, NativeEventResult* result) argument
[all...]
/external/chromium_org/ui/compositor/test/
H A Dtest_compositor_host_x11.cc73 XEvent event; local
74 XNextEvent(display, &event);
75 if (event.type == MapNotify && event.xmap.window == window_)
/external/chromium_org/ui/events/
H A Devent_source.cc32 EventDispatchDetails EventSource::SendEventToProcessor(Event* event) { argument
38 status = (*it)->RewriteEvent(*event, &rewritten_event);
51 DeliverEventToProcessor(rewritten_event ? rewritten_event.get() : event);
70 EventDispatchDetails EventSource::DeliverEventToProcessor(Event* event) { argument
73 return processor->OnEventFromSource(event);
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/ui/events/gesture_detection/
H A Dgesture_event_data_packet.cc14 const ui::MotionEvent& event) {
15 switch (event.GetAction()) {
29 NOTREACHED() << "Invalid ui::MotionEvent action: " << event.GetAction();
13 ToGestureSource( const ui::MotionEvent& event) argument
H A Dsnap_scroll_controller.cc69 const MotionEvent& event,
71 switch (event.GetAction()) {
74 first_touch_x_ = event.GetX();
75 first_touch_y_ = event.GetY();
85 int x_diff = static_cast<int>(std::abs(event.GetX() - first_touch_x_));
86 int y_diff = static_cast<int>(std::abs(event.GetY() - first_touch_y_));
68 SetSnapScrollingMode( const MotionEvent& event, bool is_scale_gesture_detection_in_progress) argument
/external/chromium_org/ui/views/controls/button/
H A Dbutton.cc70 void Button::NotifyClick(const ui::Event& event) { argument
74 listener_->ButtonPressed(this, event);
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_message_loop_mac.cc25 void MenuMessageLoopMac::RepostEventToWindow(const ui::LocatedEvent& event, argument
/external/chromium_org/ui/views/controls/
H A Dresize_area.cc33 gfx::NativeCursor ResizeArea::GetCursor(const ui::MouseEvent& event) { argument
38 bool ResizeArea::OnMousePressed(const ui::MouseEvent& event) { argument
39 if (!event.IsOnlyLeftMouseButton())
45 gfx::Point point(event.x(), 0);
52 bool ResizeArea::OnMouseDragged(const ui::MouseEvent& event) { argument
53 if (!event.IsLeftMouseButton())
56 ReportResizeAmount(event.x(), false);
60 void ResizeArea::OnMouseReleased(const ui::MouseEvent& event) { argument
61 ReportResizeAmount(event.x(), true);
H A Dslide_out_view.cc16 // OnSlideOut event but does not render any visible changes.
24 void SlideOutView::OnGestureEvent(ui::GestureEvent* event) { argument
25 if (event->type() == ui::ET_SCROLL_FLING_START) {
29 if (fabsf(event->details().velocity_x()) > kFlingThresholdForClose) {
30 SlideOutAndClose(event->details().velocity_x() < 0 ? SLIDE_LEFT :
32 event->StopPropagation();
39 if (!event->IsScrollGestureEvent())
42 if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN) {
44 } else if (event->type() == ui::ET_GESTURE_SCROLL_UPDATE) {
46 gesture_scroll_amount_ += event
[all...]
/external/chromium_org/ui/views/controls/scrollbar/
H A Dscroll_bar.cc38 void ScrollBar::OnMouseEnteredScrollView(const ui::MouseEvent& event) { argument
41 void ScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) { argument
/external/chromium_org/ui/views/examples/
H A Dbubble_example.cc88 void BubbleExample::ButtonPressed(Button* sender, const ui::Event& event) { argument
91 arrow_index = (arrow_index + count + (event.IsShiftDown() ? -1 : 1)) % count;
93 if (event.IsControlDown())
95 else if (event.IsAltDown())
H A Dbutton_example.cc81 void ButtonExample::TextButtonPressed(const ui::Event& event) { argument
83 if (event.IsControlDown()) {
84 if (event.IsShiftDown()) {
85 if (event.IsAltDown()) {
102 } else if (event.IsAltDown()) {
121 } else if (event.IsShiftDown()) {
122 if (event.IsAltDown()) {
135 } else if (event.IsAltDown()) {
143 void ButtonExample::LabelButtonPressed(const ui::Event& event) { argument
145 if (event
180 ButtonPressed(Button* sender, const ui::Event& event) argument
[all...]
H A Dtabbed_pane_example.cc58 void TabbedPaneExample::ButtonPressed(Button* sender, const ui::Event& event) { argument
H A Dtextfield_example.cc8 #include "ui/events/event.h"
105 void TextfieldExample::ButtonPressed(Button* sender, const ui::Event& event) { argument
/external/chromium_org/ui/views/
H A Dview_targeter.cc16 gfx::RectF ViewTargeter::BoundsForEvent(const ui::LocatedEvent& event) const {
17 gfx::RectF event_bounds(event.location_f(), gfx::SizeF(1, 1));
18 if (event.IsGestureEvent()) {
20 static_cast<const ui::GestureEvent&>(event);
28 ui::Event* event) {
30 if (event->IsKeyEvent())
31 return FindTargetForKeyEvent(view, *static_cast<ui::KeyEvent*>(event));
32 else if (event->IsScrollEvent())
33 return EventTargeter::FindTargetForEvent(root, event);
35 NOTREACHED() << "ViewTargeter does not yet support this event typ
27 FindTargetForEvent(ui::EventTarget* root, ui::Event* event) argument
39 FindNextBestTarget( ui::EventTarget* previous_target, ui::Event* event) argument
[all...]
/external/chromium_org/ui/web_dialogs/
H A Dweb_dialog_web_contents_delegate.cc61 const blink::WebGestureEvent& event) {
63 return event.type == blink::WebGestureEvent::GesturePinchBegin ||
64 event.type == blink::WebGestureEvent::GesturePinchUpdate ||
65 event.type == blink::WebGestureEvent::GesturePinchEnd;
59 PreHandleGestureEvent( WebContents* source, const blink::WebGestureEvent& event) argument
/external/fio/engines/
H A Dskeleton_external.c24 * The ->event() hook is called to match an event number with an io_u.
26 * the ->event() hook must return the 3 events that have completed for
27 * subsequent calls to ->event() with [0-2]. Required.
29 static struct io_u *fio_skeleton_event(struct thread_data *td, int event) argument
37 * which may then be retrieved by calling the ->event() hook with the event
139 .event = fio_skeleton_event,
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DReentrantEventsTest.java51 public void listenForStrings(String event) { argument
52 eventsReceived.add(event);
62 public void listenForDoubles(Double event) { argument
63 assertTrue("I received an event when I wasn't ready!", ready);
64 eventsReceived.add(event);
82 @Subscribe public void listenForStrings(String event) { argument
89 @Subscribe public void listenForEverything(Object event) { argument
90 eventsReceived.add(event);
/external/libnfc-nci/src/nfa/ce/
H A Dnfa_ce_main.c65 static char *nfa_ce_evt_2_str (UINT16 event);
171 ** Description nfa rw main event handling function.
182 NFA_TRACE_EVENT3 ("nfa_ce_handle_event event: %s (0x%02x), flags: %08x", nfa_ce_evt_2_str (p_msg->event), p_msg->event, nfa_ce_cb.flags);
184 NFA_TRACE_EVENT2 ("nfa_ce_handle_event event: 0x%x, flags: %08x",p_msg->event, nfa_ce_cb.flags);
187 /* Get NFA_RW sub-event */
188 if ((act_idx = (p_msg->event & 0x00FF)) < NFA_CE_ACTION_TBL_SIZE)
193 /* if vendor specific event handle
210 nfa_ce_evt_2_str(UINT16 event) argument
[all...]
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_task.c69 /* post event to start timer in NFC task */
72 p_msg->event = BT_EVT_TO_START_TIMER;
85 p_tle->event = type;
109 ** Description Process nfc GKI timer event
125 switch (p_tle->event)
136 NFC_TRACE_DEBUG2 ("nfc_process_timer_evt: timer:0x%x event (0x%04x)", p_tle, p_tle->event);
137 NFC_TRACE_DEBUG1 ("nfc_process_timer_evt: unhandled timer event (0x%04x)", p_tle->event);
191 /* post event t
358 UINT16 event; local
[all...]

Completed in 423 milliseconds

<<11121314151617181920>>