Home
last modified time | relevance | path

Searched refs:means (Results 1 – 25 of 219) 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.java136 List<KMeans.Mean> means = mKMeans.predict(k, inputData); in getOptimalKMeans() local
137 double score = KMeans.score(means); in getOptimalKMeans()
143 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/proto_logging/stats/atoms/kernel/
Dkernel_extension_atoms.proto38 // The uid if available. -1 means not available.
41 // The pid if available. -1 means not available.
/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/libs/systemui/weathereffects/graphics/assets/shaders/
Dcolor_grading_lut.agsl33 * different blue value, and inside each slice, vertical direction means green color changes and
34 * horizontal direction means red color changes.
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto76 // enforcement is handled via other means. Set by default.
79 // This generally means it's a sim-selected carrier, a plugged in
89 // it means that Internet connectivity was successfully detected.
/frameworks/multidex/library/
DREADME8 won't help with linearalloc at execution time. This means that
/frameworks/native/opengl/tests/testViewport/
DREADME28 call (which means it is called before every draw), the program runs correctly.
/frameworks/av/
DMainlineFiles.cfg19 # means everything under foo/ is part of mainline EXCEPT foo/nope.
/frameworks/av/media/libnbaio/
DREADME.txt5 Note: as used here, "short transfer count" means the return value for
/frameworks/base/mime/java-res/
Dvendor.mime.types35 # By default, this file contains no mappings (which means that the platform
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dqisf_ns.tab36 /* means of ISFs */
Dqpisf_2s.tab41 /* means of ISFs */
/frameworks/opt/telephony/flags/
Dsubscription.aconfig18 …description: "Enabled flag means subscriptions enforce filtering result base on calling user handl…
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_external.proto229 // Having 2 exclusive state field in the atom means the atom is badly designed.
247 // Atoms can have exclusive state field, but no primary field. That means
254 // We can have more than one primary fields. That means their combination is a
Dtest.proto229 // Having 2 exclusive state field in the atom means the atom is badly designed.
247 // Atoms can have exclusive state field, but no primary field. That means
254 // We can have more than one primary fields. That means their combination is a
/frameworks/proto_logging/stats/
Datom_field_options.proto36 // If the atom has 2 or more primary fields, it means the combination of the
86 // A reset state signals all states go to default value. For example, BLE reset means all active
/frameworks/base/services/core/java/com/android/server/wm/
DBLASTSync.md21 Here "at the same time" means in the same critical section (while holding the WM lock)
22 For example this guarantee means that you can write code like:
61 not upheld. This means that either
76 after after changing and before emitting syncable state changes. This means it's guaranteed
177 and sync transactions. This means the pending transaction is only useful in
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
Dvignette_f.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.rsh38 // 1.3 which means no vignette at all because the luminousity difference is
/frameworks/proto_logging/stats/atoms/locale/
Dlocale_atoms.proto48 // Whether the new override LocaleConfig is the same as the previously effective one. This means

123456789