Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/statsdatom/apps/expressloghelperapp/src/com/android/server/cts/device/expresslog/
DAtomTests.java45 final Histogram histogram = in testHistogramUniformMetric() local
52 histogram.logSample(0.f); in testHistogramUniformMetric()
54 histogram.logSample(1.f); in testHistogramUniformMetric()
56 histogram.logSample(100.f); in testHistogramUniformMetric()
58 histogram.logSample(2000000.f); in testHistogramUniformMetric()
63 final Histogram histogram = in testHistogramScaledMetric() local
71 histogram.logSample(0.f); in testHistogramScaledMetric()
73 histogram.logSample(1.f); in testHistogramScaledMetric()
75 histogram.logSample(100.f); in testHistogramScaledMetric()
77 histogram.logSample(2000000.f); in testHistogramScaledMetric()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewDarkModeLightThemeTest.java74 Map<Integer, Integer> histogram; in testSimplifedDarkMode_rendersLight() local
86 histogram = getBitmapHistogram(getOnUiThread().captureBitmap(), 0, 0, 64, 64); in testSimplifedDarkMode_rendersLight()
87 assertEquals("Bitmap should have a single colour", histogram.size(), 1); in testSimplifedDarkMode_rendersLight()
88 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
100 histogram = getBitmapHistogram(getOnUiThread().captureBitmap(), 0, 0, 64, 64); in testSimplifedDarkMode_rendersLight()
101 assertEquals("Bitmap should have a single colour", histogram.size(), 1); in testSimplifedDarkMode_rendersLight()
102 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
DWebViewDarkModeDarkThemeTest.java75 Map<Integer, Integer> histogram; in testSimplifiedDarkMode_rendersDark() local
88 histogram = getBitmapHistogram(getOnUiThread().captureBitmap(), 0, 0, 64, 64); in testSimplifiedDarkMode_rendersDark()
89 assertEquals("Bitmap should have a single colour", histogram.size(), 1); in testSimplifiedDarkMode_rendersDark()
90 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark()
103 histogram = getBitmapHistogram(getOnUiThread().captureBitmap(), 0, 0, 64, 64); in testSimplifiedDarkMode_rendersDark()
104 assertEquals("Bitmap should have a single colour", histogram.size(), 1); in testSimplifiedDarkMode_rendersDark()
105 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark()
DWebViewDarkModeTestBase.java77 HashMap<Integer, Integer> histogram = new HashMap(); in getBitmapHistogram() local
79 histogram.put(pixel, histogram.getOrDefault(pixel, 0) + 1); in getBitmapHistogram()
81 return histogram; in getBitmapHistogram()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DLightNavigationBarVerifier.java203 final SparseIntArray histogram = new SparseIntArray(); in dumpDiffStreams() local
205 diff -> histogram.put(diff, histogram.get(diff, 0) + 1)); in dumpDiffStreams()
206 sb.append(channelNames[i]).append(": ").append(histogram); in dumpDiffStreams()
/cts/apps/CameraITS/tests/
Dtutorial.py191 hist, _ = numpy.histogram(yimg*255, 256, (0, 256))
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DReduceTest.java435 private long[] histogram(final byte[] inputArray) { in histogram() method in ReduceTest
461 final long[] javaRslt = histogram(inputArray); in testHistogram()
474 long[] hsg = histogram(inputArray); in mode()
Dreduce.rscript383 #pragma rs reduce(histogram) \
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt3933 name: "histogram"