Searched defs:mid (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tools/incident_report/
H A Dformatter.cpp76 size_t mid = (low + high) >> 1; local
77 ProtoMessageFormat const* msg = get_message(mid);
81 low = mid + 1;
83 high = mid - 1;
85 return mid;
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h46 size_t mid = size / 2; local
48 std::advance(mid_iter, mid);
54 sort(xs, mid, is_less_than);
55 sort(ys, size - mid, is_less_than);
/frameworks/base/cmds/incident/
H A Dmain.cpp104 size_t mid = (low + high) >> 1; local
105 IncidentSection const* section = INCIDENT_SECTIONS + mid;
109 low = mid + 1;
111 high = mid - 1;
/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp36 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(I)V"); local
38 return reinterpret_cast<jlong>(mid);
45 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(F)V"); local
47 return reinterpret_cast<jlong>(mid);
58 jmethodID mid = env->GetMethodID(targetClass, nativeString, signature); local
61 return reinterpret_cast<jlong>(mid);
H A Dandroid_opengl_EGLExt.cpp104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
110 return reinterpret_cast<void*>(_env->CallLongMethod(obj, mid));
H A Dandroid_opengl_EGL14.cpp107 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
113 jlong handle = _env->CallLongMethod(obj, mid);
/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.cpp1153 int mid = (first + last) / 2; local
1154 if (key > sortedArray[mid].key) {
1155 first = mid + 1;
1156 } else if (key < sortedArray[mid].key) {
1157 last = mid - 1;
1159 return mid;
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp107 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
113 jlong handle = _env->CallLongMethod(obj, mid);
H A DEGLExtcHeader.cpp104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { argument
110 return reinterpret_cast<void*>(_env->CallLongMethod(obj, mid));
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp453 int mid = (start+end)/2; local
456 if(c == values[mid]) {
458 } else if (c > values[mid]) {
459 start = mid + 1;
461 end = mid - 1;
464 mid = (start + end) / 2;
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java316 public PointF mid() { method in class:OctopusDrawable.Link
377 pathQuadTo(p, link2.start(), link2.mid());
431 canvas.drawCircle(link2.mid().x, link2.mid().y, 2f, dpt);
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp319 const char* mid = local
326 stream << "Removed from " << mid << info.maxVersion + 1 << " and higher";
331 stream << "Added in " << mid << info.minVersion;
333 stream << mid << info.minVersion << " - " << info.maxVersion;
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp189 const size_t mid = lo + (hi - lo) / 2; local
190 const mkvparser::CuePoint* const midCp = mCuePoints.itemAt(mid);
193 lo = mid + 1;
195 hi = mid;
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp1087 // each pass of the binary search the mid-point between the greatest
1089 // has failed is calculated. This mid-point is then passed to a function
1091 // just below and above the mid-point. By default the lower rational
1125 double mid = (double) best local
1127 Rational::double2Rational(mid,
1186 // each pass of the binary search the mid-point between the greatest
1188 // has failed is calculated. This mid-point is then passed to a function
1190 // just below and above the mid-point. By default the lower rational
1224 double mid = (double) best local
1226 Rational::double2Rational(mid,
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp891 ssize_t mid; local
893 mid = l + (h - l)/2;
894 const uint8_t* s = (const uint8_t*)string8At(mid, &len);
903 ALOGI("Looking at %s, cmp=%d, l/mid/h=%d/%d/%d\n",
904 (const char*)s, c, (int)l, (int)mid, (int)h);
911 return mid;
913 l = mid + 1;
915 h = mid - 1;
950 ssize_t mid; local
952 mid
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 601 milliseconds