/external/strace/ |
util.c | 119 tv_float(tv) 120 struct timeval *tv; 122 return tv->tv_sec + tv->tv_usec/1000000.0; 126 tv_add(tv, a, b) 127 struct timeval *tv, *a, *b; 129 tv->tv_sec = a->tv_sec + b->tv_sec; 130 tv->tv_usec = a->tv_usec + b->tv_usec; 131 if (tv->tv_usec >= 1000000) { 132 tv->tv_sec++ [all...] |
/external/v8/src/ |
platform-posix.cc | 180 struct timeval tv; local 181 if (gettimeofday(&tv, NULL) < 0) return 0.0; 182 return (static_cast<double>(tv.tv_sec) * 1000) + 183 (static_cast<double>(tv.tv_usec) / 1000); 189 struct timeval tv; local 190 if (gettimeofday(&tv, NULL) < 0) 192 return (static_cast<int64_t>(tv.tv_sec) * 1000000) + tv.tv_usec; 198 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); 199 struct tm* t = localtime(&tv); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 305 final TextView tv = mIcons[index]; local 306 tv.setText(title); 308 tv.setCompoundDrawables(null, icon, null, null); 312 tv.setTag(tag); 313 tv.setVisibility(View.VISIBLE); 314 tv.setPressed(false); 315 tv.clearFocus();
|
/frameworks/base/services/java/com/android/server/wm/ |
TaskStack.java | 166 TypedValue tv = new TypedValue(); local 168 com.android.internal.R.fraction.config_dimBehindFadeDuration, tv, true); 169 if (tv.type == TypedValue.TYPE_FRACTION) { 170 duration = (long)tv.getFraction(duration, duration); 171 } else if (tv.type >= TypedValue.TYPE_FIRST_INT && tv.type <= TypedValue.TYPE_LAST_INT) { 172 duration = tv.data;
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_uart.c | 300 struct timeval tv; local 321 ptv = &tv; 325 ptv = &tv; 335 tv = timeval_remaining(timeout); 336 ptv = &tv;
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
OMX_AacEnc_CompThread.c | 78 struct timespec tv; local 108 tv.tv_sec = 1; 109 tv.tv_nsec = 0; 115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
|
/external/chromium/third_party/libevent/ |
evutil.h | 169 #define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz)) 172 int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);
|
/external/chromium_org/third_party/libevent/ |
evutil.h | 169 #define evutil_gettimeofday(tv, tz) gettimeofday((tv), (tz)) 172 int evutil_gettimeofday(struct timeval *tv, struct timezone *tz);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 110 static int gettimeofday(struct timeval *tv, void *tz) { 121 tv->tv_sec = static_cast<long>(micros / kNumMicrosecsPerSec); // NOLINT 122 tv->tv_usec = static_cast<long>(micros % kNumMicrosecsPerSec); // NOLINT
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TabSpecTest.java | 74 TextView tv = new TextView(null); 75 tv.setText("The Text of " + tag); 76 return tv;
|
/frameworks/base/core/java/com/android/internal/widget/ |
EditableInputConnection.java | 50 TextView tv = mTextView; local 51 if (tv != null) { 52 return tv.getEditableText();
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 102 final TextView tv = new TextView(context); 103 tv.setText(text); 104 return tv;
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEnc_Thread.c | 96 struct timeval tv; local 137 tv.tv_sec = 1; 138 tv.tv_usec = 0;
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP_CompThread.c | 100 struct timeval tv; local 143 tv.tv_sec = 0; 144 tv.tv_usec = VPP_THREAD_TIMEOUT * 1000;
|
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 58 TypedValue tv = a.peekValue(attrDefaultValue); local 59 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ListPreference.java | 58 TypedValue tv = a.peekValue(attrDefaultValue); local 59 if (tv != null && tv.type == TypedValue.TYPE_REFERENCE) {
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
TapAgainDialog.java | 77 TextView tv = (TextView) ap.mView.findViewById(com.android.nfc.R.id.textview); local 89 tv.setText(String.format(formatString, description)); 92 tv.setText(String.format(formatString, description));
|
/external/iptables/libipq/ |
libipq.c | 139 struct timeval tv; local 144 tv.tv_sec = 0; 145 tv.tv_usec = 0; 147 tv.tv_sec = timeout / 1000000; 148 tv.tv_usec = timeout % 1000000; 153 ret = select(h->fd+1, &read_fds, NULL, NULL, &tv);
|
/external/libnfc-nci/src/adaptation/ |
bte_logmsg.c | 54 struct timeval tv; local 60 gettimeofday(&tv, &tz); 65 tv.tv_usec / 1000); 89 struct timeval tv; local 94 gettimeofday(&tv, &tz); 99 tv.tv_usec / 1000);
|
/frameworks/base/core/java/android/preference/ |
PreferenceActivity.java | 802 TypedValue tv = sa.peekValue( local 804 if (tv != null && tv.type == TypedValue.TYPE_STRING) { 805 if (tv.resourceId != 0) { 806 header.titleRes = tv.resourceId; 808 header.title = tv.string; 811 tv = sa.peekValue( 813 if (tv != null && tv.type == TypedValue.TYPE_STRING) { 814 if (tv.resourceId != 0) [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaPickerActivity.java | 250 TextView tv = (TextView) v.findViewById(R.id.duration); local 251 tv.setVisibility(View.GONE); 261 TextView tv = (TextView) view.findViewById(R.id.line1); local 263 tv.setText(name); 265 tv = (TextView) view.findViewById(R.id.line2); 280 tv.setText(builder.toString());
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
TutorialEN.java | 137 private int chooseSize(PopupWindow pop, View parentView, CharSequence text, TextView tv) { 138 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); 139 int ht = tv.getPaddingTop() + tv.getPaddingBottom(); 147 Layout l = new StaticLayout(text, tv.getPaint(), cap,
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 115 TextView tv = (TextView) convertView.getTag(); local 116 tv.setText(mItems.get(position).name);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SharingReceiverSupport.java | 60 TextView tv = (TextView) findViewById(R.id.text); local 88 tv.setText(txt.toString());
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 115 TextView tv = (TextView) convertView.getTag(); local 116 tv.setText(mItems.get(position).name);
|