Home
last modified time | relevance | path

Searched refs:extractAverageColor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Video_ThumbnailsTest.java22 import static android.provider.cts.media.MediaProviderTestUtils.extractAverageColor;
233 final int beforeColor = extractAverageColor(beforeThumb); in testInsertUpdateDelete()
257 final int afterColor = extractAverageColor(afterThumb); in testInsertUpdateDelete()
DMediaStore_Images_ThumbnailsTest.java20 import static android.provider.cts.media.MediaProviderTestUtils.extractAverageColor;
448 assertColorMostlyEquals(Color.RED, extractAverageColor(thumb)); in testInsertUpdateDelete()
466 assertColorMostlyEquals(Color.RED, extractAverageColor(thumb)); in testInsertUpdateDelete()
482 assertColorMostlyEquals(Color.BLUE, extractAverageColor(thumb)); in testInsertUpdateDelete()
DMediaProviderTestUtils.java265 public static int extractAverageColor(Bitmap bitmap) { in extractAverageColor() method