Searched refs:dist (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/native/opengl/tests/angeles/
H A Dcams.h42 unsigned char dist; // if >0, cam rotates around eye xy on dist * 0.1 member in struct:__anon1796
/frameworks/support/jetifier/jetifier/standalone/
H A Dbuild.gradle29 task dist(type: Copy) {
34 rootProject.tasks["createArchive"].dependsOn(dist)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dgpclip.c63 Word16 dist, dist_min; local
70 dist = vo_sub(isf[i], isf[i - 1]);
71 if(dist < dist_min)
73 dist_min = dist;
77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min));
79 if (dist > DIST_ISF_MAX)
81 dist = DIST_ISF_MAX;
83 mem[0] = dist;
H A Dqpisf_2s.c453 Word32 dist_min, dist; local
461 dist = 0;
466 dist += (temp * temp)<<1;
469 if(dist < dist_min)
471 dist_min = dist;
500 Word32 dist_min[N_SURV_MAX], dist; local
515 dist = 0;
519 dist += (temp * temp)<<1;
524 if(dist < dist_min[k])
531 dist_min[k] = dist;
[all...]
/frameworks/opt/setupwizard/tools/gradle/
H A Ddist-library-instrumentation-tests.gradle2 * This script plugin is used to build and dist the test APK outputs of a library with multiple
5 * Compared to the defaults of the 'dist' plugin, it does two additional things:
6 * 1. It builds the "debug" test APKs when the 'dist' task is run.
7 * 2. It dist the test APKs using the original output file name instead of hard coding
12 apply plugin: 'dist'
14 // Set the dist files to empty map, and to tell DistExtension to not include the default files,
16 dist.files = [:]
19 tasks.dist.dependsOn variant.assemble
25 dist.file output.outputFile.canonicalPath, output.outputFile.name
31 dist
[all...]
H A Ddist-unit-tests.gradle2 * This script plugin is used to bundle the host test (e.g. Robolectric) results and dist it in
5 * - If a non-dist build is run with test, it will run the normal unit tests, failing the build if
7 * - If a dist build is run with test (e.g. ./gradlew dist test), the build will ignore any test
9 * dist/host-test-reports for consumption by TradeFed.
12 apply plugin: 'dist'
15 // If unit tests are run as part of the build, dist the test XML reports to host-test-reports/*.zip
20 // running with 'dist'. (Usually as part of a build server build)
21 task.ignoreFailures = taskGraph.hasTask(tasks.dist)
34 // Copy the test reports to dist/hos
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dton_stab.cpp440 Word16 i, dist, dist_min1, dist_min2, dist_th;
448 dist = sub(lsp[i], lsp[i+1]);
450 if (sub(dist, dist_min1) < 0)
452 dist_min1 = dist;
459 dist = sub(lsp[i], lsp[i+1]);
461 if (sub(dist, dist_min2) < 0)
463 dist_min2 = dist;
531 Word16 dist; local
545 dist = *(p_lsp++) - *(p_lsp_1++);
547 if (dist < dist_min
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DStroke.java43 mLength += mPoints.get(mPoints.size() - 1).dist(point);
57 return mPoints.get(0).dist(mPoints.get(mPoints.size() - 1));
H A DPoint.java40 public float dist(Point a) { method in class:Point
67 float dist1 = dist(a);
68 float dist2 = dist(b);
/frameworks/layoutlib/bridge/
H A DAndroid.mk35 $(call dist-for-goals, layoutlib, $(LOCAL_INSTALLED_MODULE))
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_3.cpp210 Word32 dist_min, dist;
219 dist = L_mult (temp, temp);
223 dist = L_mac (dist, temp, temp);
227 dist = L_mac (dist, temp, temp);
231 dist = L_mac (dist, temp, temp);
234 if (L_sub (dist, dist_min) < (Word32) 0)
236 dist_min = dist;
289 Word32 dist; local
619 Word32 dist; local
[all...]
H A Dq_plsf_5.cpp220 Word32 dist; local
248 dist = ((Word32)temp * temp);
250 if (dist >= dist_min)
257 dist += ((Word32)temp * temp);
259 if (dist >= dist_min)
266 dist += ((Word32)temp * temp);
268 if (dist >= dist_min)
275 dist += ((Word32)temp * temp);
278 if (dist < dist_min)
280 dist_min = dist;
[all...]
/frameworks/rs/tests/java_api/
H A DAndroid.mk25 $(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip)
39 $(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip)
59 $(call dist-for-goals,RSTests,$(my_package_zip):$(my_package_name).zip)
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dartistic1.rs50 float dist = dot(xyDist, xyDist) * 1.4f;
51 float pdist = native_powr(dist, 2.7f * 0.5f);
52 //float pdist = powr(dist, 2.7f * 0.5f);
55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dartistic1.rs50 float dist = dot(xyDist, xyDist) * 1.4f;
51 float pdist = native_powr(dist, 2.7f * 0.5f);
52 //float pdist = powr(dist, 2.7f * 0.5f);
55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dartistic1.rs50 float dist = dot(xyDist, xyDist) * 1.4f;
51 float pdist = native_powr(dist, 2.7f * 0.5f);
52 //float pdist = powr(dist, 2.7f * 0.5f);
55 v1 = mix(v1, v2, dist * 2.f);
/frameworks/base/test-legacy/
H A DAndroid.mk60 $(call dist-for-goals,sdk win_sdk,$(full_classes_jar):android.test.legacy.jar)
/frameworks/av/services/camera/libcameraservice/tests/
H A DDistortionMapperComp.py17 dist = np.array([0.1, -0.003, 0.02, 0.01, 0.004]) variable
29 expCoords = cv2.undistortPoints(rawCoords2, K, dist, P = K)
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_agree.rs75 int dist = float_dist(actual, expected);
81 rsDebug("ULP difference", dist);
85 int2 dist;
86 dist.x = float_dist(actual.x, expected.x);
87 dist.y = float_dist(actual.y, expected.y);
97 rsDebug("ULP difference .x", dist.x);
98 rsDebug("ULP difference .y", dist.y);
102 int3 dist;
103 dist.x = float_dist(actual.x, expected.x);
104 dist
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp93 static jboolean getPosTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray pos, jfloatArray tan) { argument
99 if (!pair->fMeasure.getPosTan(dist, (SkPoint*)posPtr, (SkVector*)tanPtr)) {
112 static jboolean getMatrix(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, argument
116 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags);
/frameworks/multidex/
H A Dbuild.gradle62 project.ext.distDir = file('../../out/dist')
69 task dist(type: Zip) {
92 dist.dependsOn project.tasks.uploadArchives
/frameworks/minikin/tests/stresstest/
H A DMultithreadTest.cpp46 std::uniform_int_distribution<uint16_t> dist('A', 'Z');
55 text.emplace_back(dist(*mt));
/frameworks/base/tools/preload2/
H A DAndroid.mk21 $(call dist-for-goals,dist_files,$(LOCAL_BUILT_MODULE):$(LOCAL_MODULE).jar)
/frameworks/base/core/java/android/text/
H A DLayout.java1519 float dist = Math.abs(horizontal.get(low) - horiz);
1523 if (other < dist) {
1524 dist = other;
1529 if (dist < bestdist) {
1530 bestdist = dist;
1536 float dist = Math.abs(horizontal.get(here) - horiz);
1538 if (dist < bestdist) {
1539 bestdist = dist;
1544 float dist = Math.abs(horizontal.get(max) - horiz);
1546 if (dist <
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java89 float dist = (float) Math.sqrt(dx * dx + dy * dy);
90 mDist[i] = mDist[i - 1] + dist;
95 // Scale down dist to 0-1.

Completed in 455 milliseconds

123