/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 | 135 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/ |
D | collect.py | 126 means = [] 143 means.append(mean) 151 print "\tMean Variation: %0.2f%%" % (100 * scipy.stats.variation(means))
|
/frameworks/base/tools/stats_log_api_gen/ |
D | test.proto | 163 // 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/ |
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/base/packages/SystemUI/res/raw/ |
D | image_wallpaper_fragment_shader.glsl | 43 * 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/ |
D | GPBObjectiveCPlusPlusTest.mm | 40 // 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/ |
D | README | 8 won't help with linearalloc at execution time. This means that
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 91 // 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/ |
D | README | 28 call (which means it is called before every draw), the program runs correctly.
|
/frameworks/base/tests/net/smoketest/ |
D | Android.bp | 4 // listed in jni_libs. This means that whenever any of the dependencies changes the test
|
/frameworks/ml/nn/runtime/ |
D | NOTICE | 30 "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/ |
D | README.txt | 5 Note: as used here, "short transfer count" means the return value for
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | qisf_ns.tab | 36 /* means of ISFs */
|
D | qpisf_2s.tab | 41 /* means of ISFs */
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | vignette_f.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
D | vignette_approx_f.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
/frameworks/base/core/proto/android/ |
D | privacy.proto | 37 // automatic means, without per-sending user consent. The user
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | vignette_approx.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
D | vignette.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_approx.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | vignette_approx.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|
D | vignette.rsh | 38 // 1.3 which means no vignette at all because the luminousity difference is
|