Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dgpclip.c63 Word16 dist, dist_min; in Gp_clip_test_isf() local
70 dist = vo_sub(isf[i], isf[i - 1]); in Gp_clip_test_isf()
71 if(dist < dist_min) in Gp_clip_test_isf()
73 dist_min = dist; in Gp_clip_test_isf()
77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min)); in Gp_clip_test_isf()
79 if (dist > DIST_ISF_MAX) in Gp_clip_test_isf()
81 dist = DIST_ISF_MAX; in Gp_clip_test_isf()
83 mem[0] = dist; in Gp_clip_test_isf()
Dqpisf_2s.c453 Word32 dist_min, dist; in Sub_VQ() local
461 dist = 0; in Sub_VQ()
466 dist += (temp * temp)<<1; in Sub_VQ()
469 if(dist < dist_min) in Sub_VQ()
471 dist_min = dist; in Sub_VQ()
500 Word32 dist_min[N_SURV_MAX], dist; in VQ_stage1() local
515 dist = 0; in VQ_stage1()
519 dist += (temp * temp)<<1; in VQ_stage1()
524 if(dist < dist_min[k]) in VQ_stage1()
531 dist_min[k] = dist; in VQ_stage1()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dton_stab.cpp531 Word16 dist; in check_lsp() local
545 dist = *(p_lsp++) - *(p_lsp_1++); in check_lsp()
547 if (dist < dist_min1) in check_lsp()
549 dist_min1 = dist; in check_lsp()
559 dist = *(p_lsp++) - *(p_lsp_1++); in check_lsp()
561 if (dist < dist_min2) in check_lsp()
563 dist_min2 = dist; in check_lsp()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_3.cpp289 Word32 dist; in Vq_subvec4() local
320 dist = ((Word32) temp) * temp; in Vq_subvec4()
324 dist += ((Word32) temp) * temp; in Vq_subvec4()
328 dist += ((Word32) temp) * temp; in Vq_subvec4()
332 dist += ((Word32) temp) * temp; in Vq_subvec4()
334 if (dist < dist_min) in Vq_subvec4()
336 dist_min = dist; in Vq_subvec4()
619 Word32 dist; in Vq_subvec3() local
651 dist = ((Word32) temp) * temp; in Vq_subvec3()
655 dist += ((Word32) temp) * temp; in Vq_subvec3()
[all …]
Dq_plsf_5.cpp220 Word32 dist; in Vq_subvec() local
248 dist = ((Word32)temp * temp); in Vq_subvec()
250 if (dist >= dist_min) in Vq_subvec()
257 dist += ((Word32)temp * temp); in Vq_subvec()
259 if (dist >= dist_min) in Vq_subvec()
266 dist += ((Word32)temp * temp); in Vq_subvec()
268 if (dist >= dist_min) in Vq_subvec()
275 dist += ((Word32)temp * temp); in Vq_subvec()
278 if (dist < dist_min) in Vq_subvec()
280 dist_min = dist; in Vq_subvec()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_agree.rs59 int dist = float_dist(actual, expected);
65 rsDebug("ULP difference", dist);
69 int2 dist;
70 dist.x = float_dist(actual.x, expected.x);
71 dist.y = float_dist(actual.y, expected.y);
81 rsDebug("ULP difference .x", dist.x);
82 rsDebug("ULP difference .y", dist.y);
86 int3 dist;
87 dist.x = float_dist(actual.x, expected.x);
88 dist.y = float_dist(actual.y, expected.y);
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dmath_agree.rs59 int dist = float_dist(actual, expected);
65 rsDebug("ULP difference", dist);
69 int2 dist;
70 dist.x = float_dist(actual.x, expected.x);
71 dist.y = float_dist(actual.y, expected.y);
81 rsDebug("ULP difference .x", dist.x);
82 rsDebug("ULP difference .y", dist.y);
86 int3 dist;
87 dist.x = float_dist(actual.x, expected.x);
88 dist.y = float_dist(actual.y, expected.y);
[all …]
/frameworks/base/core/java/android/text/
DLayout.java1091 float dist = Math.abs(getPrimaryHorizontal(low) - horiz); in getOffsetForHorizontal() local
1097 if (other < dist) { in getOffsetForHorizontal()
1098 dist = other; in getOffsetForHorizontal()
1103 if (dist < bestdist) { in getOffsetForHorizontal()
1104 bestdist = dist; in getOffsetForHorizontal()
1109 float dist = Math.abs(getPrimaryHorizontal(here) - horiz); in getOffsetForHorizontal() local
1111 if (dist < bestdist) { in getOffsetForHorizontal()
1112 bestdist = dist; in getOffsetForHorizontal()
1117 float dist = Math.abs(getPrimaryHorizontal(max) - horiz); in getOffsetForHorizontal() local
1119 if (dist <= bestdist) { in getOffsetForHorizontal()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dquantize.c332 Word32 dist; in calcSfbDist() local
342 dist = 0; in calcSfbDist()
391 dist = L_add(dist, distSingle); in calcSfbDist()
439 dist = L_add(dist, distSingle); in calcSfbDist()
444 return dist; in calcSfbDist()
Dsf_estim.c149 Word32 *dist, in improveScf() argument
198 *dist = sfbDistBest; in improveScf()
220 *dist = sfbDistBest; in improveScf()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dartistic1.rs50 float dist = dot(xyDist, xyDist) * 1.4f;
51 float pdist = native_powr(dist, 2.7f * 0.5f);
55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dartistic1.rs50 float dist = dot(xyDist, xyDist) * 1.4f;
51 float pdist = native_powr(dist, 2.7f * 0.5f);
55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/base/core/jni/android/graphics/
DPathMeasure.cpp93 …static jboolean getPosTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray p… in getPosTan() argument
99 if (!pair->fMeasure.getPosTan(dist, (SkPoint*)posPtr, (SkVector*)tanPtr)) { in getPosTan()
112 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, in getMatrix() argument
116 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags); in getMatrix()
/frameworks/native/opengl/tests/angeles/
Dcams.h42 unsigned char dist; // if >0, cam rotates around eye xy on dist * 0.1 member
Ddemo.c726 if (cam->dist) in camTrack()
728 float dist = cam->dist * 0.1f; in camTrack() local
732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()
733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
/frameworks/base/tools/layoutlib/create/tests/
DAndroid.mk32 $(call dist-for-goals, sdk win_sdk, $(LOCAL_INSTALLED_MODULE))
/frameworks/base/tools/layoutlib/bridge/tests/
DAndroid.mk38 $(call dist-for-goals, sdk win_sdk, $(LOCAL_INSTALLED_MODULE))
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Dtorus_test.rs98 float dist = 3.2f;
103 rsMatrixLoadTranslate(matrix, startX + dist * h, startY + dist * v, startZ);
/frameworks/base/core/java/android/util/
DMathUtils.java94 public static float dist(float x1, float y1, float x2, float y2) { in dist() method in MathUtils
100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() method in MathUtils
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java766 int dist = 0; in getKeyIndices() local
773 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()
778 if (dist < closestKeyDist) { in getKeyIndices()
779 closestKeyDist = dist; in getKeyIndices()
786 if (mDistances[j] > dist) { in getKeyIndices()
794 mDistances[j + c] = dist; in getKeyIndices()
1542 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local
1543 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1547 dist = pastY[i] - oldestY; in computeCurrentVelocity()
1548 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DEnableAccessibilityController.java186 final float firstPointerMove = MathUtils.dist(event.getX(0), in onTouchEvent()
191 final float secondPointerMove = MathUtils.dist(event.getX(1), in onTouchEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGestureUtils.java39 return MathUtils.dist(first.getX(pointerIndex), first.getY(pointerIndex), in computeDistance()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java682 int dist = Math.abs(i-pos); in getFarthestPositionFrom() local
683 if (dist > maxDistNotVisible && !visibleWindow.contains(i)) { in getFarthestPositionFrom()
687 maxDistNotVisible = dist; in getFarthestPositionFrom()
689 if (dist >= maxDist) { in getFarthestPositionFrom()
693 maxDist = dist; in getFarthestPositionFrom()
DCalendarViewLegacyDelegate.java970 int dist = child.getBottom() - mListScrollTopOffset; in run() local
971 if (dist > mListScrollTopOffset) { in run()
973 mView.smoothScrollBy(dist - child.getHeight(), in run()
976 mView.smoothScrollBy(dist, ADJUSTMENT_SCROLL_DURATION); in run()
/frameworks/support/
Dbuild.gradle29 …e build server does not pass the build number so we infer it from the last folder of the dist path.
33 project.ext.distDir = file('../../out/dist')

12