/frameworks/base/core/java/android/util/ |
D | ContainerHelpers.java | 31 final int mid = (lo + hi) >>> 1; in binarySearch() local 32 final int midVal = array[mid]; in binarySearch() 35 lo = mid + 1; in binarySearch() 37 hi = mid - 1; in binarySearch() 39 return mid; // value found in binarySearch() 50 final int mid = (lo + hi) >>> 1; in binarySearch() local 51 final long midVal = array[mid]; in binarySearch() 54 lo = mid + 1; in binarySearch() 56 hi = mid - 1; in binarySearch() 58 return mid; // value found in binarySearch()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | ContainerHelpers.java | 50 int mid = (lo + hi) >>> 1; in binarySearch() local 51 int midVal = array[mid]; in binarySearch() 54 lo = mid + 1; in binarySearch() 56 hi = mid - 1; in binarySearch() 58 return mid; // value found in binarySearch() 69 final int mid = (lo + hi) >>> 1; in binarySearch() local 70 final long midVal = array[mid]; in binarySearch() 73 lo = mid + 1; in binarySearch() 75 hi = mid - 1; in binarySearch() 77 return mid; // value found in binarySearch()
|
/frameworks/base/libs/hwui/utils/ |
D | SortedListImpl.cpp | 55 ssize_t mid; in _indexOrderOf() local 59 mid = l + (h - l) / 2; in _indexOrderOf() 60 const void* const curr = reinterpret_cast<const char *> (a) + (mid * s); in _indexOrderOf() 63 err = l = mid; in _indexOrderOf() 66 l = mid + 1; in _indexOrderOf() 68 h = mid - 1; in _indexOrderOf()
|
/frameworks/base/core/jni/ |
D | android_animation_PropertyValuesHolder.cpp | 36 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(I)V"); in android_animation_PropertyValuesHolder_getIntMethod() local 38 return mid; in android_animation_PropertyValuesHolder_getIntMethod() 45 jmethodID mid = env->GetMethodID(targetClass, nativeString, "(F)V"); in android_animation_PropertyValuesHolder_getFloatMethod() local 47 return mid; in android_animation_PropertyValuesHolder_getFloatMethod()
|
D | android_opengl_EGLExt.cpp | 104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { in fromEGLHandle() argument 110 return (void*) (_env->CallIntMethod(obj, mid)); in fromEGLHandle()
|
D | android_opengl_EGL14.cpp | 103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { in fromEGLHandle() argument 109 return (void*) (_env->CallIntMethod(obj, mid)); in fromEGLHandle()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | SortingCursorWrapper.java | 179 int mid = (left + right) >>> 1; in binarySort() local 182 final String rhs = value[mid]; in binarySort() 193 right = mid; in binarySort() 195 left = mid + 1; in binarySort() 232 int mid = (left + right) >>> 1; in binarySort() local 235 final long rhs = value[mid]; in binarySort() 238 right = mid; in binarySort() 240 left = mid + 1; in binarySort()
|
/frameworks/native/opengl/libagl/ |
D | Tokenizer.cpp | 108 ssize_t mid; in _indexOrderOf() local 111 mid = l + (h - l)/2; in _indexOrderOf() 112 const run_t* const curr = a + mid; in _indexOrderOf() 117 err = l = mid; in _indexOrderOf() 120 l = mid + 1; in _indexOrderOf() 122 h = mid - 1; in _indexOrderOf()
|
D | egl.cpp | 1116 int mid = (first + last) / 2; in binarySearch() local 1117 if (key > sortedArray[mid].key) { in binarySearch() 1118 first = mid + 1; in binarySearch() 1119 } else if (key < sortedArray[mid].key) { in binarySearch() 1120 last = mid - 1; in binarySearch() 1122 return mid; in binarySearch()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | Sorter.java | 21 String mid= (String)values.elementAt((left + right) / 2); in sortStrings() local 23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings() 25 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextSRTSource.cpp | 233 size_t mid = 0; in getText() local 236 mid = low + (high - low)/2; in getText() 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); in getText() 241 low = mid + 1; in getText() 243 high = mid - 1; in getText() 246 mIndex = mid; in getText()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 103 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { in fromEGLHandle() argument 109 return (void*) (_env->CallIntMethod(obj, mid)); in fromEGLHandle()
|
D | EGLExtcHeader.cpp | 104 fromEGLHandle(JNIEnv *_env, jmethodID mid, jobject obj) { in fromEGLHandle() argument 110 return (void*) (_env->CallIntMethod(obj, mid)); in fromEGLHandle()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraPairwiseTest.java | 465 int mid = (int) Math.floor(supportedPictureSizes.size() / 2); in genericPairwiseTestCase() local 473 params.setPictureSize(supportedPictureSizes.get(mid).width, in genericPairwiseTestCase() 474 supportedPictureSizes.get(mid).height); in genericPairwiseTestCase() 478 supportedPictureSizes.get(mid).height); in genericPairwiseTestCase()
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | touch.jd | 68 // reverse direction of rotation above the mid-line 73 // reverse direction of rotation to left of the mid-line
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 1128 double mid = (double) best in scHScale() local 1130 Rational::double2Rational(mid, in scHScale() 1227 double mid = (double) best in scVScale() local 1229 Rational::double2Rational(mid, in scVScale()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 730 ssize_t mid; in indexOfString() local 732 mid = l + (h - l)/2; in indexOfString() 733 const uint8_t* s = (const uint8_t*)string8At(mid, &len); in indexOfString() 743 (const char*)s, c, (int)l, (int)mid, (int)h)); in indexOfString() 747 return mid; in indexOfString() 749 l = mid + 1; in indexOfString() 751 h = mid - 1; in indexOfString() 782 ssize_t mid; in indexOfString() local 784 mid = l + (h - l)/2; in indexOfString() 785 const char16_t* s = stringAt(mid, &len); in indexOfString() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ProcessStats.java | 1616 int mid = (lo + hi) >>> 1; in binarySearch() local 1617 int midVal = (array[mid] >> OFFSET_TYPE_SHIFT) & OFFSET_TYPE_MASK; in binarySearch() 1620 lo = mid + 1; in binarySearch() 1622 hi = mid - 1; in binarySearch() 1624 return mid; // value found in binarySearch()
|
/frameworks/base/docs/html/training/animation/ |
D | zoom.jd | 130 // so that it can be canceled mid-way.
|
/frameworks/base/docs/html/guide/appendix/ |
D | media-formats.jd | 156 • Type 0 and 1 (.mid, .xmf, .mxmf)<br>
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorMain.cpp | 2279 jmethodID mid = env->GetMethodID(cls, "onThumbnail", "(I)V"); in videoEditor_getPixelsList() local 2290 env->CallVoidMethod(callback, mid, (jint)k); in videoEditor_getPixelsList()
|
/frameworks/base/docs/html/distribute/googleplay/quality/ |
D | tablet.jd | 938 could include mid-size tablets, tablets with more or fewer hardware/software
|
/frameworks/base/docs/html/guide/topics/media/jet/ |
D | jetcreator_manual.jd | 366 <p>.mid File. This is the standard MIDI
|
/frameworks/base/api/ |
D | current.txt | 21476 field public static final java.lang.String MSG_ID = "mid";
|