Home
last modified time | relevance | path

Searched refs:means (Results 1 – 25 of 208) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java67 final ArrayList<Mean> means = new ArrayList<>(); in predict() local
73 means.add(m); in predict()
79 converged = step(means, inputData); in predict()
87 return means; in predict()
97 public static double score(@NonNull List<Mean> means) { in score() argument
99 final int meansSize = means.size(); in score()
101 Mean mean = means.get(i); in score()
103 Mean compareTo = means.get(j); in score()
140 private boolean step(final ArrayList<Mean> means, final float[][] inputData) { in step() argument
144 for (int i = means.size() - 1; i >= 0; i--) { in step()
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/ml/clustering/
DKMeansTest.java97 List<KMeans.Mean> means = Arrays.asList(meanA, meanB); in nearestMeanTest() local
99 KMeans.Mean nearest = mKMeans.nearestMean(new float[] {1, 1}, means); in nearestMeanTest()
139 List<KMeans.Mean> means = mKMeans.predict(numClusters, X); in predictTest() local
141 assertEquals("Expected number of clusters is invalid", numClusters, means.size()); in predictTest()
144 for (KMeans.Mean mean : means) { in predictTest()
153 assertTrue("Expected means were not predicted, got: " + means, in predictTest()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMaterial.java100 public void setup(int[] means, int start, int end) { in setup() argument
101 int[] pos = new int[means.length - 1]; in setup()
102 int[] red = new int[means.length - 1]; in setup()
103 int[] green = new int[means.length - 1]; in setup()
104 int[] blue = new int[means.length - 1]; in setup()
107 pos[i] = (means[i] + means[i + 1]) / 2; in setup()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DVariationalKMeansQuantizer.java135 List<KMeans.Mean> means = mKMeans.predict(k, inputData); in getOptimalKMeans() local
136 double score = KMeans.score(means); in getOptimalKMeans()
142 optimal = means; in getOptimalKMeans()
/frameworks/base/tests/JankBench/scripts/
Dcollect.py126 means = []
143 means.append(mean)
151 print "\tMean Variation: %0.2f%%" % (100 * scipy.stats.variation(means))
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto163 // Having 2 exclusive state field in the atom means the atom is badly designed.
181 // Atoms can have exclusive state field, but no primary field. That means
189 // We can have more than one primary fields. That means their combination is a
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal132 * means that high frame rate is given priority over the highest-quality
139 * means prioritizing image quality over frame rate
144 * Create a request suitable for video recording. Specifically, this means
152 * video. Specifically, this means maximizing image quality without
158 * Create a request suitable for zero shutter lag still capture. This means
159 * means maximizing image quality without compromising preview frame rate.
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl43 * That means that remaps black and white image pixel
48 * That means that remaps each image pixel color (rgb)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBObjectiveCPlusPlusTest.mm40 // the fact that these imports all work without errors/warning means things
53 // If this trips, it means the Xcode default might have change (or someone
/frameworks/multidex/library/
DREADME8 won't help with linearalloc at execution time. This means that
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto91 // enforcement is handled via other means. Set by default.
94 // This generally means it's a sim-selected carrier, a plugged in
104 // it means that Internet connectivity was successfully detected.
/frameworks/native/opengl/tests/testViewport/
DREADME28 call (which means it is called before every draw), the program runs correctly.
/frameworks/base/tests/net/smoketest/
DAndroid.bp4 // listed in jni_libs. This means that whenever any of the dependencies changes the test
/frameworks/ml/nn/runtime/
DNOTICE30 "control" means (i) the power, direct or indirect, to cause the
66 means any form of electronic, verbal, or written communication sent
212 "control" means (i) the power, direct or indirect, to cause the
248 means any form of electronic, verbal, or written communication sent
408 means each individual or legal entity that creates, contributes to
412 means the combination of the Contributions of others (if any) used
416 means Covered Software of a particular Contributor.
419 means Source Code Form to which the initial Contributor has attached
425 means
435 means any form of the work other than Source Code Form.
[all …]
/frameworks/av/media/libnbaio/
DREADME.txt5 Note: as used here, "short transfer count" means the return value for
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dqisf_ns.tab36 /* means of ISFs */
Dqpisf_2s.tab41 /* means of ISFs */
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_f.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette_approx_f.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/base/core/proto/android/
Dprivacy.proto37 // automatic means, without per-sending user consent. The user
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dvignette_approx.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette.rsh38 // 1.3 which means no vignette at all because the luminousity difference is

123456789