HomeSort by relevance Sort by last modified time
    Searched refs:ev (Results 1 - 25 of 335) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
seqmid.h 44 * \param ev event record pointer
48 #define snd_seq_ev_clear(ev) \
49 memset(ev, 0, sizeof(snd_seq_event_t))
53 * \param ev event record
58 #define snd_seq_ev_set_tag(ev,t) \
59 ((ev)->tag = (t))
63 * \param ev event record
71 #define snd_seq_ev_set_dest(ev,c,p) \
72 ((ev)->dest.client = (c), (ev)->dest.port = (p)
    [all...]
seq_midi_event.h 53 long snd_midi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev);
54 int snd_midi_event_encode_byte(snd_midi_event_t *dev, int c, snd_seq_event_t *ev);
56 long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev);
  /external/webkit/Source/WebCore/platform/efl/
PlatformWheelEventEfl.cpp 45 PlatformWheelEvent::PlatformWheelEvent(const Evas_Event_Mouse_Wheel* ev)
46 : m_position(IntPoint(ev->canvas.x, ev->canvas.y))
47 , m_globalPosition(IntPoint(ev->canvas.x, ev->canvas.y))
50 , m_shiftKey(evas_key_modifier_is_set(ev->modifiers, "Shift"))
51 , m_ctrlKey(evas_key_modifier_is_set(ev->modifiers, "Control"))
52 , m_altKey(evas_key_modifier_is_set(ev->modifiers, "Alt"))
53 , m_metaKey(evas_key_modifier_is_set(ev->modifiers, "Meta"))
57 if (ev->direction == VerticalScrollDirection)
    [all...]
  /external/oprofile/libop/tests/
parse_event_tests.c 31 static void do_test(struct events_test const * ev)
35 parse_events(&parsed, 1, ev->tests);
37 if (strcmp(ev->expected.name, parsed.name) ||
38 ev->expected.count != parsed.count ||
39 ev->expected.unit_mask != parsed.unit_mask ||
40 ev->expected.kernel != parsed.kernel ||
41 ev->expected.user != parsed.user) {
44 ev->tests[0], ev->expected.name, ev->expected.count
54 struct events_test const * ev; local
    [all...]
  /external/llvm/lib/Object/
Error.cpp 24 virtual std::string message(int ev) const;
25 virtual error_condition default_error_condition(int ev) const;
33 std::string _object_error_category::message(int ev) const {
34 switch (ev) {
48 error_condition _object_error_category::default_error_condition(int ev) const {
49 if (ev == object_error::success)
  /hardware/ril/libril/
ril_event.h 39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);
42 void ril_event_add(struct ril_event * ev);
45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
48 void ril_event_del(struct ril_event * ev);
ril_event.cpp 79 static void dump_event(struct ril_event * ev)
81 dlog("~~~~ Event %x ~~~~", (unsigned int)ev);
82 dlog(" next = %x", (unsigned int)ev->next);
83 dlog(" prev = %x", (unsigned int)ev->prev);
84 dlog(" fd = %d", ev->fd);
85 dlog(" pers = %d", ev->persist);
86 dlog(" timeout = %ds + %dus", (int)ev->timeout.tv_sec, (int)ev->timeout.tv_usec);
87 dlog(" func = %x", (unsigned int)ev->func);
88 dlog(" param = %x", (unsigned int)ev->param)
206 struct ril_event * ev = pending_list.next; local
    [all...]
  /development/samples/CrossCompatibility/src/com/example/android/touchexample/
VersionedGestureDetector.java 47 public abstract boolean onTouchEvent(MotionEvent ev);
58 float getActiveX(MotionEvent ev) {
59 return ev.getX();
62 float getActiveY(MotionEvent ev) {
63 return ev.getY();
71 public boolean onTouchEvent(MotionEvent ev) {
72 switch (ev.getAction()) {
74 mLastTouchX = getActiveX(ev);
75 mLastTouchY = getActiveY(ev);
79 final float x = getActiveX(ev);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
LinearLayoutWithDefaultTouchRecepient.java 52 public boolean dispatchTouchEvent(MotionEvent ev) {
54 return super.dispatchTouchEvent(ev);
57 if (super.dispatchTouchEvent(ev)) {
62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
63 return mDefaultTouchRecepient.dispatchTouchEvent(ev);
  /external/chromium/base/synchronization/
waitable_event_unittest.cc 52 WaitableEvent* ev[5]; local
54 ev[i] = new WaitableEvent(false, false);
56 ev[3]->Signal();
57 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u);
59 ev[3]->Signal();
60 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u);
62 ev[4]->Signal();
63 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u);
65 ev[0]->Signal();
66 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u)
90 WaitableEvent* ev[5]; local
    [all...]
  /external/llvm/lib/Support/
system_error.cpp 30 error_category::default_error_condition(int ev) const {
31 return error_condition(ev, *this);
45 _do_message::message(int ev) const {
46 return std::string(sys::StrError(ev));
52 virtual std::string message(int ev) const;
61 _generic_error_category::message(int ev) const {
63 if (ev > ELAST)
66 return _do_message::message(ev);
78 virtual std::string message(int ev) const;
79 virtual error_condition default_error_condition(int ev) const
    [all...]
  /external/chromium/third_party/libevent/
event.c 210 struct event *ev; local
220 for (ev = TAILQ_FIRST(&base->eventqueue); ev; ) {
221 struct event *next = TAILQ_NEXT(ev, ev_next);
222 if (!(ev->ev_flags & EVLIST_INTERNAL)) {
223 event_del(ev);
226 ev = next;
228 while ((ev = min_heap_top(&base->timeheap)) != NULL) {
229 event_del(ev);
234 for (ev = TAILQ_FIRST(base->activequeues[i]); ev; )
273 struct event *ev; local
359 struct event *ev; local
542 struct event ev; member in struct:event_once
836 struct event *ev; local
907 struct event *ev; local
    [all...]
event.h 240 #define EVENT_SIGNAL(ev) (int)(ev)->ev_fd
241 #define EVENT_FD(ev) (int)(ev)->ev_fd
357 @param ev the event
459 @param ev the event struct
462 #define evtimer_add(ev, tv) event_add(ev, tv)
468 @param ev event struct to be modified
472 #define evtimer_set(ev, cb, arg) event_set(ev, -1, 0, cb, arg
    [all...]
kqueue.c 223 struct event *ev; local
284 TAILQ_FOREACH(ev, head, ev_signal_next) {
285 event_active(ev, which, events[i].data);
288 ev = (struct event *)events[i].udata;
290 if (!(ev->ev_events & EV_PERSIST))
291 ev->ev_flags &= ~EVLIST_X_KQINKERNEL;
293 event_active(ev, which, 1);
302 kq_add(void *arg, struct event *ev)
307 if (ev->ev_events & EV_SIGNAL) {
308 int nsignal = EVENT_SIGNAL(ev);
    [all...]
  /external/webkit/Source/WebKit/qt/Api/
qgraphicswebview.cpp 439 QGraphicsSceneContextMenuEvent* ev = static_cast<QGraphicsSceneContextMenuEvent*>(event);
440 QContextMenuEvent fakeEvent(QContextMenuEvent::Reason(ev->reason()), ev->pos().toPoint());
933 void QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* ev)
936 const bool accepted = ev->isAccepted();
938 ev->pos().toPoint(), Qt::NoButton,
941 ev->setAccepted(accepted);
944 if (!ev->isAccepted())
945 QGraphicsItem::hoverMoveEvent(ev);
950 void QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* ev)
    [all...]
  /development/samples/RenderScript/Balls/src/com/example/android/rs/balls/
BallsView.java 74 public boolean onTouchEvent(MotionEvent ev)
76 int act = ev.getActionMasked();
77 if (act == ev.ACTION_UP) {
78 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0));
82 int pointerIndex = ev.getActionIndex();
83 int pointerId = ev.getPointerId(pointerIndex);
87 int count = ev.getHistorySize();
88 int pcount = ev.getPointerCount();
91 int id = ev.getPointerId(p);
92 mRender.newTouchPosition(ev.getX(p)
    [all...]
  /development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/
FountainView.java 76 public boolean onTouchEvent(MotionEvent ev)
78 int act = ev.getActionMasked();
79 if (act == ev.ACTION_UP) {
80 mRender.newTouchPosition(0, 0, 0, ev.getPointerId(0));
84 int pointerIndex = ev.getActionIndex();
85 int pointerId = ev.getPointerId(pointerIndex);
88 int count = ev.getHistorySize();
89 int pcount = ev.getPointerCount();
92 int id = ev.getPointerId(p);
93 mRender.newTouchPosition(ev.getX(p)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java 67 private void handleTouchEvent(MotionEvent ev) {
68 final int action = ev.getAction();
76 determineDraggingStart(ev);
83 public boolean onInterceptTouchEvent(MotionEvent ev) {
84 handleTouchEvent(ev);
85 return super.onInterceptTouchEvent(ev);
89 public boolean onTouchEvent(MotionEvent ev) {
90 handleTouchEvent(ev);
91 return super.onTouchEvent(ev);
118 protected void determineScrollingStart(MotionEvent ev) {
    [all...]
  /packages/apps/Email/src/com/android/email/view/
NonLockingScrollView.java 52 public boolean onInterceptTouchEvent(MotionEvent ev) {
53 final int action = ev.getActionMasked();
60 onTouchEvent(ev);
66 mInDrag = super.onInterceptTouchEvent(ev);
68 onTouchEvent(ev);
  /system/core/sh/
mkinit.sh 102 ev="${nl} /* from $src: */${nl} {${nl}"
128 ev="$ev "
134 ev="$ev "
137 ev="${ev}${line}${nl}"
139 ev="${ev} }${nl}"
140 eval event_$event=\"\$event_$event\$ev\"
    [all...]
  /external/chromium/third_party/libevent/test/
test-time.c 33 struct event *ev[NEVENT]; variable in typeref:struct:event
59 evtimer_add(ev[j], &tv);
61 evtimer_del(ev[j]);
76 ev[i] = malloc(sizeof(struct event));
79 evtimer_set(ev[i], time_cb, ev[i]);
82 evtimer_add(ev[i], &tv);
  /external/javassist/sample/duplicate/
Viewer.java 34 public void mouseClicked(MouseEvent ev) {
35 ball.move(ev.getX(), ev.getY());
39 public void mouseEntered(MouseEvent ev) {}
41 public void mouseExited(MouseEvent ev) {}
43 public void mousePressed(MouseEvent ev) {}
45 public void mouseReleased(MouseEvent ev) {}
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
PlatformVideoWindowQt.cpp 60 void FullScreenVideoWindow::keyPressEvent(QKeyEvent* ev)
62 if (m_mediaElement && ev->key() == Qt::Key_Space) {
67 } else if (ev->key() == Qt::Key_Escape)
69 QWidget::keyPressEvent(ev);
72 bool FullScreenVideoWindow::event(QEvent* ev)
74 switch (ev->type()) {
77 ev->accept();
81 ev->accept();
84 return QWidget::event(ev);
  /development/tools/emulator/opengl/tests/emulator_test_renderer/
main.cpp 115 SDL_Event ev; local
121 while (SDL_PollEvent(&ev)) {
122 switch (ev.type) {
125 injector->sendMouseDown(ev.button.x, ev.button.y);
131 injector->sendMouseUp(ev.button.x,ev.button.y);
137 injector->sendMouseMotion(ev.button.x,ev.button.y);
143 if (ev.key.keysym.sym == SDLK_q &
    [all...]
  /development/samples/RenderScript/HelloWorld/src/com/example/android/rs/helloworld/
HelloWorldView.java 65 public boolean onTouchEvent(MotionEvent ev) {
67 if (ev.getAction() == MotionEvent.ACTION_DOWN) {
68 mRender.onActionDown((int)ev.getX(), (int)ev.getY());

Completed in 2236 milliseconds

1 2 3 4 5 6 7 8 91011>>