/hardware/qcom/media/mm-video/vidc/venc/test/ |
venc_util.c | 44 struct timeval tv; local 46 gettimeofday(&tv, NULL); 47 microsec = (tv.tv_sec * 1000000) + (tv.tv_usec);
|
/bionic/libc/bionic/ |
utime.c | 45 struct timeval tv[2], *tvp; local 48 tv[0].tv_sec = times->actime; 49 tv[1].tv_sec = times->modtime; 50 tv[0].tv_usec = tv[1].tv_usec = 0; 51 tvp = tv;
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
LinkifyTest.java | 31 TextView tv; local 33 tv = new TextView(getContext()); 34 tv.setText("Hey, foo@google.com, call 415-555-1212."); 36 assertFalse(tv.getMovementMethod() instanceof LinkMovementMethod); 37 assertTrue(tv.getUrls().length == 0); 42 TextView tv; local 44 tv = new TextView(getContext()); 45 tv.setAutoLinkMask(Linkify.ALL); 46 tv.setText("Hey, foo@google.com, call 415-555-1212."); 48 assertTrue(tv.getMovementMethod() instanceof LinkMovementMethod) 54 TextView tv; local [all...] |
/frameworks/av/media/libstagefright/ |
TimeSource.cpp | 34 struct timeval tv; local 35 gettimeofday(&tv, NULL); 37 return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
/sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 23 TextView tv = (TextView) findViewById(R.id.app); local 24 tv.setText("App: " + App.getContent()); 26 tv = (TextView) findViewById(R.id.lib1); 27 tv.setText("Lib1: " + Lib1.getContent()); 29 tv = (TextView) findViewById(R.id.lib2); 30 tv.setText("Lib2: " + Lib2.getContent()); 32 tv = (TextView) findViewById(R.id.javaProject1); 33 tv.setText("JavaProject: " + JavaProject.getContent()); 35 tv = (TextView) findViewById(R.id.javaProject2); 36 tv.setText("JavaProject2: " + JavaProject2.getContent()) [all...] |
/external/qemu/slirp/ |
tcp_timer.h | 117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 118 (tv) = (value); \ 119 if ((tv) < (tvmin)) \ 120 (tv) = (tvmin); \ 121 else if ((tv) > (tvmax)) \ 122 (tv) = (tvmax); \
|
/external/qemu/slirp-android/ |
tcp_timer.h | 117 #define TCPT_RANGESET(tv, value, tvmin, tvmax) { \ 118 (tv) = (value); \ 119 if ((tv) < (tvmin)) \ 120 (tv) = (tvmin); \ 121 else if ((tv) > (tvmax)) \ 122 (tv) = (tvmax); \
|
/bionic/libc/unistd/ |
ftime.c | 32 struct timeval tv; local 35 if (gettimeofday (&tv, &tz) < 0) 38 tb->time = tv.tv_sec; 39 tb->millitm = (tv.tv_usec + 500) / 1000;
|
pselect.c | 38 struct timeval tv, *tv_timeout = NULL; local 44 tv_timeout = &tv; 45 tv.tv_sec = timeout->tv_sec; 46 tv.tv_usec = (timeout->tv_nsec + 999)/1000; // round up 47 if (tv.tv_usec >= 1000000) { 48 tv.tv_sec += 1; 49 tv.tv_usec -= 1000000;
|
/cts/tests/src/android/app/cts/ |
ActivityManagerStubCrashActivity.java | 28 final TextView tv = new TextView(this); local 29 tv.setText("Hello, Android but crash"); 30 setContentView(tv);
|
ActivityManagerStubFooActivity.java | 28 final TextView tv = new TextView(this); local 29 tv.setText("Hello, Android"); 30 setContentView(tv);
|
/development/ndk/samples/hello-neon/src/com/example/neon/ |
HelloNeon.java | 18 TextView tv = new TextView(this); local 19 tv.setText( stringFromJNI() ); 20 setContentView(tv);
|
/frameworks/base/core/jni/ |
android_os_SystemClock.cpp | 75 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, NULL) [all...] |
/frameworks/base/tests/SmokeTestApps/src/com/android/smoketest/triggers/ |
CrashyApp2.java | 28 TextView tv = new TextView(this); local 29 tv.setText("Hello, Other Crashy Android"); 30 setContentView(tv);
|
/gdk/samples/hello-llvm/src/com/example/hellollvm/ |
HelloLLVM.java | 15 TextView tv = new TextView(this); local 17 tv.setText("HelloLLVM!"); 18 setContentView(tv);
|
/external/llvm/test/CodeGen/CellSPU/useful-harnesses/ |
vecoperations.c | 14 } tv; local 15 tv.vec = v; 19 str, tv.elts[0], tv.elts[1], tv.elts[2], tv.elts[3], tv.elts[4], tv.elts[5], 20 tv.elts[6], tv.elts[7], tv.elts[8], tv.elts[9], tv.elts[10], tv.elts[11] 28 } tv; local 42 } tv; local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/ |
timeval.h | 44 struct timeval *pa_gettimeofday(struct timeval *tv); 54 pa_usec_t pa_timeval_age(const struct timeval *tv); 57 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v) PA_GCC_PURE; 60 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v); 62 /** Load the specified tv value and return it in usec. \since 0.9.7 */ 63 pa_usec_t pa_timeval_load(const struct timeval *tv);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 52 final TextView tv = new TextView(mActivity); local 55 mActivity.setContentView(tv); 56 tv.setSingleLine(true); 57 tv.setLines(2); 61 TextPaint paint = tv.getPaint(); 62 final Layout layout = tv.getLayout(); 66 tv.setText(LONG_TEXT); 76 Touch.scrollTo(tv, layout, width - tv.getWidth() - 1, 0); 80 assertEquals(width - tv.getWidth() - 1, tv.getScrollX()) 104 final TextView tv = new TextView(mActivity); local [all...] |
/sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/ |
Main.java | 19 TextView tv = (TextView) findViewById(R.id.app); local 20 tv.setText("App: " + App.getContent()); 22 tv = (TextView) findViewById(R.id.lib1); 23 tv.setText("Lib1: " + Lib1.getContent()); 25 tv = (TextView) findViewById(R.id.lib2); 26 tv.setText("Lib2: " + Lib2.getContent()); 28 tv = (TextView) findViewById(R.id.basicJar); 29 tv.setText("BasicJar: " + BasicJar.getContent()); 31 tv = (TextView) findViewById(R.id.basicJar2); 32 tv.setText("BasicJar2: " + BasicJar2.getContent()) [all...] |
/development/ndk/samples/hello-jni/src/com/example/hellojni/ |
HelloJni.java | 35 TextView tv = new TextView(this); local 36 tv.setText( stringFromJNI() ); 37 setContentView(tv);
|
/development/ndk/samples/two-libs/src/com/example/twolibs/ |
TwoLibs.java | 30 TextView tv = new TextView(this); local 41 tv.setText( "The sum of " + x + " and " + y + " is " + z ); 42 setContentView(tv);
|
/development/samples/SimpleJNI/src/com/example/android/simplejni/ |
SimpleJNI.java | 28 TextView tv = new TextView(this); local 30 tv.setText("2 + 3 = " + Integer.toString(sum)); 31 setContentView(tv);
|
/device/sample/apps/client/src/com/example/android/platform_library/client/ |
Client.java | 38 TextView tv = new TextView(this); local 39 tv.setText("Got from lib: " + res); 40 setContentView(tv);
|