Searched refs:mid (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java21 String mid= (String)values.elementAt((left + right) / 2);
23 while (((String)(values.elementAt(left))).compareTo(mid) < 0)
25 while (mid.compareTo((String)(values.elementAt(right))) < 0)
/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp36 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(I)V"); local
38 return mid;
45 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(F)V"); local
47 return mid;
H A Dandroid_opengl_EGL14.cpp104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
110 return (void*) (_env->CallIntMethod(obj, mid));
/frameworks/base/libs/hwui/utils/
H A DSortedListImpl.cpp55 ssize_t mid; local
59 mid = l + (h - l) / 2;
60 const void* const curr = reinterpret_cast<const char *> (a) + (mid * s);
63 err = l = mid;
66 l = mid + 1;
68 h = mid - 1;
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp108 ssize_t mid; local
111 mid = l + (h - l)/2;
112 const run_t* const curr = a + mid;
117 err = l = mid;
120 l = mid + 1;
122 h = mid - 1;
H A Degl.cpp1116 int mid = (first + last) / 2; local
1117 if (key > sortedArray[mid].key) {
1118 first = mid + 1;
1119 } else if (key < sortedArray[mid].key) {
1120 last = mid - 1;
1122 return mid;
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp234 size_t mid = 0; local
237 mid = low + (high - low)/2;
238 int diff = compareExtendedRangeAndTime(mid, seekTimeUs);
242 low = mid + 1;
244 high = mid - 1;
247 mIndex = mid;
/frameworks/native/libs/utils/
H A DVectorImpl.cpp545 ssize_t mid;
549 mid = l + (h - l)/2;
550 const void* const curr = reinterpret_cast<const char *>(a) + (mid*s);
553 err = l = mid;
556 l = mid + 1;
558 h = mid - 1;
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c212 jmethodID mid; local
228 mid = (*env)->GetMethodID(env, cls, "available", "()I");
231 if (NULL == mid)
234 if (0 > (*env)->CallIntMethod(env, *pInputStream, mid))
247 jmethodID mid; local
265 mid = (*env)->GetMethodID(env, cls, "read", "([BII)I");
267 bufLen = (*env)->CallIntMethod(env, *pInputStream, mid, tmp, 0, bufLen);
657 jmethodID mid; local
911 jmethodID mid; local
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
109 return (void*) (_env->CallIntMethod(obj, mid));
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp1090 // each pass of the binary search the mid-point between the greatest
1092 // has failed is calculated. This mid-point is then passed to a function
1094 // just below and above the mid-point. By default the lower rational
1128 double mid = (double) best local
1130 Rational::double2Rational(mid,
1189 // each pass of the binary search the mid-point between the greatest
1191 // has failed is calculated. This mid-point is then passed to a function
1193 // just below and above the mid-point. By default the lower rational
1227 double mid = (double) best local
1229 Rational::double2Rational(mid,
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp708 ssize_t mid; local
710 mid = l + (h - l)/2;
711 const char16_t* s = stringAt(mid, &len);
713 POOL_NOISY(printf("Looking for %s, at %s, cmp=%d, l/mid/h=%d/%d/%d\n",
716 c, (int)l, (int)mid, (int)h));
718 return mid;
720 l = mid + 1;
722 h = mid - 1;
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp2323 jmethodID mid = env->GetMethodID(cls, "onThumbnail", "(I)V"); local
2334 env->CallVoidMethod(callback, mid, (jint)k);
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css3540 .morehover .mid {
3546 .morehover .mid .header {
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css3540 .morehover .mid {
3546 .morehover .mid .header {

Completed in 348 milliseconds