Home
last modified time | relevance | path

Searched refs:mean (Results 1 – 25 of 139) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java101 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/libstagefright/codecs/amrwb/src/
Disf_extrapolation.cpp122 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/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResults.java33 stats.putDouble("Mean (ms)", mean()); in getStatsToReport()
39 stats.putDouble("Mean (ms)", mean()); in getStatsToLog()
49 private double mean() { in mean() method in BenchmarkResults
75 final double mean = mean(); in standardDeviation() local
78 double diff = mResults.get(i) - mean; in standardDeviation()
/frameworks/av/services/audioflinger/
DFastMixerDumpState.cpp127 wall.mean()*1e-6, wall.minimum()*1e-6, wall.maximum()*1e-6, in dump()
131 loadNs.mean()*1e-3, loadNs.minimum()*1e-3, loadNs.maximum()*1e-3, in dump()
139 kHz.mean()*1e-3, kHz.minimum()*1e-3, kHz.maximum()*1e-3, kHz.stddev()*1e-3); in dump()
142 loadMHz.mean(), loadMHz.minimum(), loadMHz.maximum(), loadMHz.stddev()); in dump()
157 left.mean()*1e-6, left.minimum()*1e-6, left.maximum()*1e-6, left.stddev()*1e-6, in dump()
158 right.mean()*1e-6, right.minimum()*1e-6, right.maximum()*1e-6, in dump()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DVariationalKMeansQuantizer.java114 for (KMeans.Mean mean : optimalMeans) { in quantize()
115 if (mean.getItems().size() == 0) { in quantize()
118 float[] centroid = mean.getCentroid(); in quantize()
123 }, mean.getItems().size())); in quantize()
/frameworks/base/tests/Internal/src/com/android/internal/ml/clustering/
DKMeansTest.java143 for (KMeans.Mean mean : means) { in predictTest()
144 if (Arrays.equals(mean.getCentroid(), expectedCentroid1)) { in predictTest()
146 } else if (Arrays.equals(mean.getCentroid(), expectedCentroid2)) { in predictTest()
149 throw new AssertionError("Unexpected mean: " + mean); in predictTest()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddtx.c570 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/support/
DLICENSE.txt10 "License" shall mean the terms and conditions for use, reproduction,
13 "Licensor" shall mean the copyright owner or entity authorized by
16 "Legal Entity" shall mean the union of the acting entity and all
24 "You" (or "Your") shall mean an individual or Legal Entity
27 "Source" form shall mean the preferred form for making modifications,
31 "Object" form shall mean any form resulting from mechanical
36 "Work" shall mean the work of authorship, whether in Source or
41 "Derivative Works" shall mean any work, whether in Source or Object
49 "Contribution" shall mean any work of authorship, including
63 "Contributor" shall mean Licensor and any individual or Legal Entity
/frameworks/support/lifecycle/compiler/src/main/resources/
DNOTICE.txt15 "License" shall mean the terms and conditions for use, reproduction,
18 "Licensor" shall mean the copyright owner or entity authorized by
21 "Legal Entity" shall mean the union of the acting entity and all
29 "You" (or "Your") shall mean an individual or Legal Entity
32 "Source" form shall mean the preferred form for making modifications,
36 "Object" form shall mean any form resulting from mechanical
41 "Work" shall mean the work of authorship, whether in Source or
46 "Derivative Works" shall mean any work, whether in Source or Object
54 "Contribution" shall mean any work of authorship, including
68 "Contributor" shall mean Licensor and any individual or Legal Entity
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DNOTICE22 "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/
DNOTICE22 "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/
DNOTICE22 "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/packages/InputDevices/
DNOTICE22 "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/native/cmds/cmd/
DNOTICE22 "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/media/jni/
DNOTICE22 "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/common/
DNOTICE22 "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/amrnb/enc/
DNOTICE22 "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/mtp/
DNOTICE22 "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/amrwbenc/
DNOTICE22 "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/core/res/
DNOTICE22 "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/gsm/dec/
DNOTICE22 "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/lvm/wrapper/
DNOTICE22 "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/services/camera/libcameraservice/
DNOTICE22 "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/timedtext/
DNOTICE22 "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/native/cmds/rawbu/
DNOTICE22 "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

123456