/frameworks/base/core/java/com/android/internal/ml/clustering/ |
D | KMeans.java | 101 Mean mean = means.get(i); in score() local 104 if (mean == compareTo) { in score() 107 double distance = Math.sqrt(sqDistance(mean.mCentroid, compareTo.mCentroid)); in score() 145 final Mean mean = means.get(i); in step() local 146 mean.mClosestItems.clear(); in step() 157 final Mean mean = means.get(i); in step() local 158 if (mean.mClosestItems.size() == 0) { in step() 165 final float[] oldCentroid = mean.mCentroid; in step() 166 mean.mCentroid = new float[oldCentroid.length]; in step() 167 for (int j = 0; j < mean.mClosestItems.size(); j++) { in step() [all …]
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | isf_extrapolation.cpp | 122 int16 coeff, mean, tmp, tmp2, tmp3; in isf_extrapolation() local 141 mean = amr_wb_round(L_tmp); in isf_extrapolation() 158 mean = shl_int16(mean, exp); in isf_extrapolation() 161 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation() 162 tmp3 = sub_int16(IsfDiff[i - 2], mean); in isf_extrapolation() 171 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation() 172 tmp3 = sub_int16(IsfDiff[i - 3], mean); in isf_extrapolation() 181 tmp2 = sub_int16(IsfDiff[i], mean); in isf_extrapolation() 182 tmp3 = sub_int16(IsfDiff[i - 4], mean); in isf_extrapolation()
|
/frameworks/av/drm/libmediadrm/tests/ |
D | EventMetric_test.cpp | 61 EXPECT_EQ(4, values[7].mean); in TEST() 67 EXPECT_NEAR(5.5, values[8].mean, 0.2); in TEST() 90 EXPECT_EQ(1, values["a"].mean); in TEST() 95 EXPECT_NEAR(2.5, values["b"].mean, 0.2); in TEST() 131 EXPECT_GT(values[0].mean, values[0].min); in TEST() 132 EXPECT_LE(values[0].mean, values[0].max); in TEST() 137 EXPECT_GT(values[1].mean, values[1].min); in TEST() 138 EXPECT_LE(values[1].mean, values[1].max); in TEST()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResults.java | 36 stats.putDouble("Mean (ms)", mean()); in getStatsToReport() 42 stats.putDouble("Mean (ms)", mean()); in getStatsToLog() 74 private double mean() { in mean() method in BenchmarkResults 102 final double mean = mean(); in standardDeviation() local 105 double diff = mResults.get(i) - mean; in standardDeviation()
|
/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 34 double mean; member 90 double deviation = value - stats->mean; in Record() 91 stats->mean = stats->mean + (deviation / stats->count); in Record() 93 stats->sum_squared_deviation + (deviation * (value - stats->mean)); in Record() 104 stats->mean = value; in Record()
|
/frameworks/base/startop/apps/test/src/ |
D | InteractiveMicrobenchmarkActivity.java | 71 TextView mean = new TextView(context); in addBenchmark() local 75 mean.setText(""); in addBenchmark() 79 mean.setText("Running..."); in addBenchmark() 83 mean.setText(String.format("%.3f", resultMean / 1e6)); in addBenchmark() 89 mBenchmarkList.addView(mean); in addBenchmark()
|
D | NonInteractiveMicrobenchmarkActivity.java | 65 (mean, stdev) -> { in runBenchmarks() 66 out.printf("%s,%.0f,%.0f\n", benchmarkNames.get(i), mean, stdev); in runBenchmarks()
|
/frameworks/base/startop/scripts/app_startup/ |
D | analyze_metrics.py | 184 mean = col_2d.mean() 187 ci = sc.norm.interval(percent, loc=mean, scale=sigma / np.sqrt(len(col_2d))) 209 print("Mean: ", np_data_2d.mean(axis=0)) 216 mean = np_data_2d.mean(axis=0)[_PLOT_DATA_INDEX] 218 ci = (mean - sem, mean + sem) 220 … csv_writer.writerow(label_list + [mean, np_data_2d.std(axis=0)[_PLOT_DATA_INDEX], ci[0], ci[1]]) 300 a_mean = a.mean(axis=axis) 301 b_mean = b.mean(axis=axis) 371 mean_diff = baseline_np_data_2d.mean(axis=0) - rest_np_data_2d.mean(axis=0) 398 …write_out_values(baseline_label_list, baseline_np_data_2d.mean(axis=0), [0], base_sem, [None], [No… [all …]
|
/frameworks/base/tests/JankBench/scripts/ |
D | collect.py | 135 mean = round_to_2(numpy.mean(res.durations)) 138 score = stddev * mean * pj 143 means.append(mean) 147 …print "\t%s: Score = %f x %f x %f = %f (%d samples)" % (iteration, stddev, mean, pj, score, len(re… 155 geo_run = numpy.mean(scores) 188 …print "\t%s:\t%0.2f%% (%0.2f avg sample count)" % (test, variation, numpy.mean(per_test_sample_cou…
|
D | itr_collect.py | 94 mean = numpy.mean(res.durations) 97 score = stddev * mean *pj 102 … print "\tScore = %f x %f x %f = %f (%d samples)" % (stddev, mean, pj, score, len(res.durations)) 129 …count)" % (test, 100 * scipy.stats.variation(per_test_score[test]), numpy.mean(per_test_sample_cou…
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | VariationalKMeansQuantizer.java | 114 for (KMeans.Mean mean : optimalMeans) { in quantize() 115 if (mean.getItems().size() == 0) { in quantize() 118 float[] centroid = mean.getCentroid(); in quantize() 124 mQuantizedColors.add(new Palette.Swatch(color, mean.getItems().size())); in quantize()
|
/frameworks/base/tests/Internal/src/com/android/internal/ml/clustering/ |
D | KMeansTest.java | 144 for (KMeans.Mean mean : means) { in predictTest() 145 if (Arrays.equals(mean.getCentroid(), expectedCentroid1)) { in predictTest() 147 } else if (Arrays.equals(mean.getCentroid(), expectedCentroid2)) { in predictTest() 150 throw new AssertionError("Unexpected mean: " + mean); in predictTest()
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | dtx.c | 570 Word16 tmp, mean, CN_dith, gain_diff; in dithering_control() local 588 mean = 0; in dithering_control() 591 mean = add(mean, st->log_en_hist[i]); in dithering_control() 593 mean = (mean >> 3); in dithering_control() 597 tmp = abs_s(sub(st->log_en_hist[i], mean)); in dithering_control()
|
/frameworks/av/media/libstagefright/foundation/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/drm/libdrmframework/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/base/cmds/appwidget/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/libstagefright/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/base/cmds/pm/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/libstagefright/id3/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/codec2/components/g711/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/base/data/fonts/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/libeffects/loudness/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/codecs/amrwb/enc/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|
/frameworks/av/media/libstagefright/codecs/common/ |
D | NOTICE | 22 "License" shall mean the terms and conditions for use, reproduction, 25 "Licensor" shall mean the copyright owner or entity authorized by 28 "Legal Entity" shall mean the union of the acting entity and all 36 "You" (or "Your") shall mean an individual or Legal Entity 39 "Source" form shall mean the preferred form for making modifications, 43 "Object" form shall mean any form resulting from mechanical 48 "Work" shall mean the work of authorship, whether in Source or 53 "Derivative Works" shall mean any work, whether in Source or Object 61 "Contribution" shall mean any work of authorship, including 75 "Contributor" shall mean Licensor and any individual or Legal Entity
|