Searched defs:tv (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Clock.c58 struct timeval tv; local
76 if(gettimeofday(&tv, &tz) == 0)
78 u32_time_lo = (tv.tv_sec & 0xFFFF) * timescale;
79 u32_time_hi = (((tv.tv_sec >> 16) & 0xFFFF) * timescale) + ((u32_time_lo >> 16) & 0xFFFF);
81 u32_time_lo += tv.tv_usec / factor;
/frameworks/wilhelm/tests/sandbox/
H A Dgetch.c37 struct timeval tv = { 0L, 0L }; local
41 return select(1, &fds, NULL, NULL, &tv);
/frameworks/base/core/jni/
H A Dandroid_os_SystemClock.cpp75 struct timeval tv;
77 gettimeofday(&tv, NULL);
78 return tv.tv_sec * 1000LL + tv.tv_usec / 1000;
95 struct timeval tv;
97 gettimeofday(&tv, NULL);
98 return tv.tv_sec * 1000000LL + tv.tv_nsec / 1000;
108 struct timeval tv; local
110 gettimeofday(&tv, NUL
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.cpp31 struct timeval tv; local
33 gettimeofday(&tv, 0);
35 basesec = tv.tv_sec;
37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
38 (uint64_t)tv.tv_usec;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp29 struct timeval tv; local
31 gettimeofday(&tv, 0);
33 basesec = tv.tv_sec;
35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
36 (uint64_t)tv.tv_usec;
/frameworks/base/media/tests/omxjpegdecoder/
H A Djpeg_decoder_bench.cpp46 struct timeval tv; local
47 gettimeofday(&tv, NULL);
49 return tv.tv_usec + (int64_t) tv.tv_sec * 1000000;
H A Domx_jpeg_decoder.cpp84 struct timeval tv; local
85 gettimeofday(&tv, NULL);
87 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DNumPadKey.java111 public void setTextView(TextView tv) { argument
112 mTextView = tv;
/frameworks/base/core/jni/android/opengl/
H A Dpoly_clip.cpp66 float t, tu, tv; local
73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) {
75 /* tv is negative if vertex v is in */
76 tv = sign*COORD(v, index) - v->sw*k;
77 if ((tu <= 0.0f) ^ (tv <= 0.0f)) {
79 t = tu/(tu-tv);
88 if (tv<=0.0f) /* vertex v is in, copy it to q */
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java17 package com.android.systemui.statusbar.tv;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp248 struct timeval tv; local
249 tv.tv_sec = 0;
250 tv.tv_usec = kSelectTimeoutUs;
277 int res = select(maxSocket + 1, &rs, NULL, NULL, &tv);
H A DARTSPConnection.cpp355 struct timeval tv; local
356 tv.tv_sec = 0;
357 tv.tv_usec = kSelectTimeoutUs;
363 int res = select(mSocket + 1, NULL, &ws, NULL, &tv);
475 struct timeval tv; local
476 tv.tv_sec = 0;
477 tv.tv_usec = kSelectTimeoutUs;
483 int res = select(mSocket + 1, &rs, NULL, NULL, &tv);
H A DMyTransmitter.h138 struct timeval tv; local
139 gettimeofday(&tv, NULL);
141 uint64_t nowUs = tv.tv_sec * 1000000ll + tv.tv_usec;
429 struct timeval tv;
430 tv.tv_sec = 0;
431 tv.tv_usec = 0;
433 int res = select(mRTCPSocket + 1, &rs, NULL, NULL, &tv);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp74 struct timeval tv; local
75 gettimeofday(&tv, NULL);
77 return (int64_t)tv.tv_usec + tv.tv_sec * 1000000ll;
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp601 timeval tv; local
602 tv.tv_sec = 0;
603 tv.tv_usec = 1000 * sampleCount / sampleRate * 500;
604 if (setsockopt(pair[0], SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) {
/frameworks/base/core/java/android/widget/
H A DEditor.java285 TextView tv = (TextView) mErrorPopup.getContentView();
286 chooseSize(mErrorPopup, mError, tv);
287 tv.setText(mError);
543 private void chooseSize(PopupWindow pop, CharSequence text, TextView tv) { argument
544 int wid = tv.getPaddingLeft() + tv.getPaddingRight();
545 int ht = tv.getPaddingTop() + tv.getPaddingBottom();
549 Layout l = new StaticLayout(text, tv.getPaint(), defaultWidthInPixels,
566 TextView tv
3842 waitForUserDictionaryAdded( TextView tv, String originalWord, int spanStart, int spanEnd) argument
[all...]
H A DTextView.java358 public void setErrorDrawable(Drawable dr, TextView tv) { argument
365 int[] state = tv.getDrawableState();
370 mDrawableError.setCallback(tv);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp3611 struct timeval tv; local
3612 gettimeofday(&tv, NULL);
3614 localtime_r(&tv.tv_sec, &tm);

Completed in 5257 milliseconds