/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
bosch_bmp280.c | 217 struct SingleAxisDataEvent *ev; local 221 ev = *evPtr; 222 if (!ev) { 227 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); 228 ev->referenceTime = time; 229 ev->samples[0].firstSample.numSamples = 1; 230 ev->samples[0].fdata = sample;
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
lps22hb.c | 191 struct SingleAxisDataEvent *ev; local 193 ev = *evPtr = slabAllocatorAlloc(mTask.baroSlab); 194 if (!ev) { 199 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); 200 ev->referenceTime = time; 201 ev->samples[0].firstSample.numSamples = 1; 202 ev->samples[0].fdata = sample;
|
/external/pdfium/xfa/fwl/ |
cfwl_datetimepicker.cpp | 171 CFWL_Event ev(CFWL_Event::Type::EditChanged); 172 DispatchEvent(&ev); 317 CFWL_EventSelectChanged ev(this); 318 ev.iYear = m_iYear; 319 ev.iMonth = m_iMonth; 320 ev.iDay = m_iDay; 321 DispatchEvent(&ev);
|
/external/valgrind/lackey/ |
lk_main.c | 485 Event* ev; local 489 ev = &events[i]; 492 switch (ev->ekind) { 509 argv = mkIRExprVec_2( ev->addr, mkIRExpr_HWord( ev->size ) ); 513 if (ev->guard) { 514 di->guard = ev->guard; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TwoPaneLayout.java | 555 public boolean onInterceptTouchEvent(MotionEvent ev) { 560 switch (ev.getAction()) { 562 final float x = ev.getX(); 606 mDragHelper.processTouchEvent(ev, mCurrentDragMode, mXThreshold); 610 public boolean onTouchEvent(@NonNull MotionEvent ev) { 612 mDragHelper.processTouchEvent(ev, mCurrentDragMode, mXThreshold); 615 return super.onTouchEvent(ev); [all...] |
/system/core/healthd/ |
healthd_mode_charger.cpp | 409 static void update_input_state(charger* charger, input_event* ev) { 410 if (ev->type != EV_KEY) return; 411 set_key_callback(charger, ev->code, ev->value); 556 input_event ev; local 559 ret = ev_get_input(fd, epevents, &ev); 561 update_input_state(charger, &ev);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 279 public boolean onInterceptTouchEvent(MotionEvent ev) { 280 mVelocityTracker.addMovement(ev); 281 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK; 286 mLastTouchY = ev.getY(); 287 mActivePointerId = MotionEventCompat.getPointerId(ev, 0); 297 final int index = MotionEventCompat.findPointerIndex(ev, mActivePointerId); 304 final float y = MotionEventCompat.getY(ev, index); 320 public boolean onTouchEvent(MotionEvent ev) { 321 mVelocityTracker.addMovement(ev); 322 final int action = ev.getAction() & MotionEventCompat.ACTION_MASK [all...] |
/external/ltp/testcases/kernel/syscalls/epoll2/examples/ |
epoll-test.c | 122 struct epoll_event ev; local 140 ev.events = 0; 141 ev.data.ptr = conn; 142 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, sfd, &ev) < 0) { 160 struct epoll_event ev; local 162 if (epoll_ctl(kdpfd, EPOLL_CTL_DEL, conn->sfd, &ev) < 0) { 192 struct epoll_event ev; local 194 ev.events = events; 195 ev.data.ptr = conn; 196 if (epoll_ctl(kdpfd, EPOLL_CTL_MOD, conn->sfd, &ev) < 0) [all...] |
/frameworks/base/core/java/android/widget/ |
AbsListView.java | [all...] |
AdapterViewAnimator.java | 617 public boolean onTouchEvent(MotionEvent ev) { 618 int action = ev.getAction(); 624 if (isTransformedTouchPointInView(ev.getX(), ev.getY(), v, null)) { 641 if (isTransformedTouchPointInView(ev.getX(), ev.getY(), v, null)) { [all...] |
VideoView.java | 710 public boolean onTouchEvent(MotionEvent ev) { 711 if (ev.getAction() == MotionEvent.ACTION_DOWN 715 return super.onTouchEvent(ev); 719 public boolean onTrackballEvent(MotionEvent ev) { 720 if (ev.getAction() == MotionEvent.ACTION_DOWN 724 return super.onTrackballEvent(ev); [all...] |
FastScroller.java | [all...] |
/build/kati/ |
shellutil.go | 85 func (f *funcShellAndroidRot13) Eval(w evalWriter, ev *Evaluator) error { 87 fargs, err := ev.args(abuf, f.v) 135 func (f *funcShellDate) Eval(w evalWriter, ev *Evaluator) error {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 395 ATSParser::SyncEvent ev(0); 412 err = parser->feedTSPacket(packet, kTSPacketSize, &ev); 417 if (ev.hasReturnedData()) { 418 int64_t durationUs = ev.getTimeUs(); 419 ATSParser::SourceType type = ev.getType(); 420 ev.reset();
|
/device/asus/fugu/original-kernel-headers/linux/ |
kct.h | 102 extern int kct_add_attchmt(struct ct_event **ev, 106 extern void kct_free_event(struct ct_event *ev) __weak; 107 extern int kct_log_event(struct ct_event *ev, gfp_t flags) __weak;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
SupportPreferencesUtil.java | 243 int ev = super.next(); 244 if (ev == XmlPullParser.START_TAG) { 248 return ev;
|
/frameworks/ml/nn/runtime/include/ |
NeuralNetworksWrapper.h | 315 ANeuralNetworksEvent* ev = nullptr; local 316 Result result = static_cast<Result>(ANeuralNetworksExecution_startCompute(mExecution, &ev)); 317 event->set(ev);
|
/packages/apps/Camera2/src/com/android/camera/ |
PhotoUI.java | 76 public boolean onSingleTapUp(MotionEvent ev) { 77 mController.onSingleTapUp(null, (int) ev.getX(), (int) ev.getY());
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/ |
UninstallAppProgress.java | 355 public boolean dispatchKeyEvent(KeyEvent ev) { 356 if (ev.getKeyCode() == KeyEvent.KEYCODE_BACK) { 365 return super.dispatchKeyEvent(ev);
|
/external/libnl/lib/ |
utils.c | 412 const char *ev; local 423 if ((ev = getenv("HZ"))) { 424 long hz = strtol(ev, NULL, 0); 437 if ((ev = getenv("TICKS_PER_USEC"))) { 438 double t = strtod(ev, NULL); 442 if ((ev = getenv("PROC_NET_PSCHED"))) 443 snprintf(name, sizeof(name), "%s", ev); 444 else if ((ev = getenv("PROC_ROOT"))) 445 snprintf(name, sizeof(name), "%s/net/psched", ev);
|
/external/clang/test/Sema/ |
ext_vector_components.c | 73 float2 ev(float3 x) { return x.even; } function
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ToolbarActionBar.java | 474 public boolean onKeyShortcut(int keyCode, KeyEvent ev) { 478 ev != null ? ev.getDeviceId() : KeyCharacterMap.VIRTUAL_KEYBOARD); 480 return menu.performShortcut(keyCode, ev, 0);
|
/hardware/interfaces/usb/1.0/default/ |
Usb.cpp | 354 struct epoll_event ev; local 372 ev.events = EPOLLIN; 373 ev.data.ptr = (void *)uevent_event; 381 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, uevent_fd, &ev) == -1) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeTransitionView.java | 97 public boolean onDown(MotionEvent ev) { 300 public boolean onTouchEvent(MotionEvent ev) { 301 boolean touchHandled = mGestureDetector.onTouchEvent(ev); 302 if (ev.getActionMasked() == MotionEvent.ACTION_UP) {
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
FilmstripLayout.java | 230 public boolean onTouchEvent(MotionEvent ev) { 231 return mGestureRecognizer.onTouchEvent(ev); 235 public boolean onInterceptTouchEvent(MotionEvent ev) { 236 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) {
|