Home
last modified time | relevance | path

Searched refs:getPixels (Results 1 – 24 of 24) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DLightNavigationBarVerifier.java129 private static int[] getPixels(@NonNull Bitmap bitmap) { in getPixels() method in LightNavigationBarVerifier
133 bitmap.getPixels(pixels, 0 /* offset */, width /* stride */, 0 /* x */, 0 /* y */, in getPixels()
141 final int[] darkNavBarPixels = getPixels( in verify()
143 final int[] lightNavBarPixels = getPixels( in verify()
DNavigationBarColorVerifier.java46 bitmap.getPixels(mPixels, 0 /* offset */, width /* stride */, 0 /* x */, 0 /* y */, in ScreenShot()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DBitmapUtils.java76 a.getPixels(aPixels, /*offset*/0, /*stride*/a.getWidth(), /*x*/0, /*y*/0, a.getWidth(), in calcDifferenceMetric()
78 b.getPixels(bPixels, /*offset*/0, /*stride*/b.getWidth(), /*x*/0, /*y*/0, b.getWidth(), in calcDifferenceMetric()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapAsserter.java61 bitmap1.getPixels(pixels1, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar()
62 bitmap2.getPixels(pixels2, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar()
DBitmapDumper.java82 idealBitmap.getPixels(testedArray, 0, width, 0, 0, width, height); in dumpBitmaps()
83 testedBitmap.getPixels(idealArray, 0, width, 0, 0, width, height); in dumpBitmaps()
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java74 bitmap.getPixels(rowPixels, 0, viewWidth, 0, row, viewWidth, 1); in assertAllPixelsOfColor()
75 goldenBitmap.getPixels(rowGoldenPixels, 0, viewWidth, 0, row, viewWidth, 1); in assertAllPixelsOfColor()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DBitmapVerifier.java34 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in verify()
DGoldenImageVerifier.java31 goldenBitmap.getPixels(mGoldenBitmapArray, 0, ActivityTestBase.TEST_WIDTH, 0, 0, in GoldenImageVerifier()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java116 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testClamp()
138 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testRepeat()
160 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testMirror()
DMediaVulkanGpuTest.java40 bitmap.getPixels(framePixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), in getFramePixels()
DYuvImageTest.java196 mTestBitmaps[0].getPixels(argb, 0, stride, 0, 0, width, height); in testGetYuvData()
233 bitmap.getPixels(argb, 0, stride, 0, 0, width, height); in generateYuvImage()
350 expected.getPixels(expColors, 0, width, 0, 0, width, height); in compareBitmaps()
353 actual.getPixels(actualColors, 0, width, 0, 0, width, height); in compareBitmaps()
392 mTestBitmaps[0].getPixels(argb, 0, WIDTH, 0, 0, WIDTH, HEIGHT); in verifyParameters()
DBitmapRegionDecoderTest.java736 expected.getPixels(expectedColors, 0, width, 0, 0, width, height); in compareBitmaps()
737 actual.getPixels(actualColors, 0, width, 0, 0, width, height); in compareBitmaps()
DBitmapColorSpaceTest.java308 public void getPixels() { in getPixels() method in BitmapColorSpaceTest
334 b.getPixels(pixels, 0, b.getWidth(), 0, 0, b.getWidth(), b.getHeight()); in verifyGetPixels()
DBitmapFactoryTest.java949 expected.getPixels(expectedColors, 0, width, 0, 0, width, height); in compareBitmaps()
950 actual.getPixels(actualColors, 0, width, 0, 0, width, height); in compareBitmaps()
DBitmapTest.java981 mBitmap.getPixels(ret, 0, 100, 0, 0, 100, 100); in testSetPixels()
1024 bitmap.getPixels(testArray, 0, 1, 0, 0, 1, 1); in testSetPremultipliedData()
1309 bitmap.getPixels(new int[5], 0, 5, 0, 0, 5, 1); in testHardwareGetPixels()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRGBZ.java166 orig.getPixels(orig_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
167 depth.getPixels(depth_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWidgetTestUtils.java77 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals()
78 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DUtils.java214 a.getPixels(aPx, 0, a.getWidth(), 0, 0, a.getWidth(), a.getHeight()); in getNonMatching()
215 b.getPixels(bPx, 0, b.getWidth(), 0, 0, b.getWidth(), b.getHeight()); in getNonMatching()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java374 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
375 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
392 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
393 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java121 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in checkNavigationBarDivider()
DLightBarTests.java234 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in evaluateLightBarBitmap()
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSession.java178 screenshot.getPixels(pixels, 0, size.x, 0, 0, size.x, size.y); in compareScreenshot()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java224 bitmap.getPixels(rowPixels, 0, bitmapWidth, 0, row, bitmapWidth, 1); in assertAllPixelsOfColor()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java1809 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in convertRgbToCieLab()
1941 input.getPixels(inputPixels, 0, width, 0, 0, width, height); in shrinkAndScaleBilinear()