/frameworks/base/core/java/com/android/internal/ml/clustering/ |
D | KMeans.java | 67 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/ |
D | KMeansTest.java | 97 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/ |
D | Material.java | 100 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/ |
D | VariationalKMeansQuantizer.java | 136 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/ |
D | collect.py | 126 means = [] 143 means.append(mean) 151 print "\tMean Variation: %0.2f%%" % (100 * scipy.stats.variation(means))
|
/frameworks/proto_logging/stats/atoms/kernel/ |
D | kernel_extension_atoms.proto | 38 // The uid if available. -1 means not available. 41 // The pid if available. -1 means not available.
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | types.hal | 132 * 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/ |
D | color_grading_lut.agsl | 33 * 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/ |
D | networkcapabilities.proto | 76 // 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/ |
D | README | 8 won't help with linearalloc at execution time. This means that
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 28 call (which means it is called before every draw), the program runs correctly.
|
/frameworks/av/ |
D | MainlineFiles.cfg | 19 # means everything under foo/ is part of mainline EXCEPT foo/nope.
|
/frameworks/av/media/libnbaio/ |
D | README.txt | 5 Note: as used here, "short transfer count" means the return value for
|
/frameworks/base/mime/java-res/ |
D | vendor.mime.types | 35 # By default, this file contains no mappings (which means that the platform
|
/frameworks/av/media/module/codecs/amrwb/enc/inc/ |
D | qisf_ns.tab | 36 /* means of ISFs */
|
D | qpisf_2s.tab | 41 /* means of ISFs */
|
/frameworks/opt/telephony/flags/ |
D | subscription.aconfig | 18 …description: "Enabled flag means subscriptions enforce filtering result base on calling user handl…
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | test_external.proto | 229 // 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
|
D | test.proto | 229 // 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/ |
D | atom_field_options.proto | 36 // 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/ |
D | BLASTSync.md | 21 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/ |
D | vignette_approx_f.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
D | vignette_f.rsh | 38 // 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/ |
D | vignette.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
/frameworks/proto_logging/stats/atoms/locale/ |
D | locale_atoms.proto | 48 // Whether the new override LocaleConfig is the same as the previously effective one. This means
|