Home
last modified time | relevance | path

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

12

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DLightNavigationBarVerifier.java130 private static int[] getPixels(@NonNull Bitmap bitmap) { in getPixels() method in LightNavigationBarVerifier
134 bitmap.getPixels(pixels, 0 /* offset */, width /* stride */, 0 /* x */, 0 /* y */, in getPixels()
142 final int[] darkNavBarPixels = getPixels( in verify()
144 final int[] lightNavBarPixels = getPixels( in verify()
DNavigationBarColorVerifier.java47 bitmap.getPixels(mPixels, 0 /* offset */, width /* stride */, 0 /* x */, 0 /* y */, in ScreenShot()
/cts/tests/tests/uirendering27/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.java81 idealBitmap.getPixels(testedArray, 0, width, 0, 0, width, height); in dumpBitmaps()
82 testedBitmap.getPixels(idealArray, 0, width, 0, 0, width, height); in dumpBitmaps()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapAsserter.java55 bitmap1.getPixels(pixels1, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar()
56 bitmap2.getPixels(pixels2, 0, width, 0, 0, width, height); in assertBitmapsAreSimilar()
DBitmapDumper.java114 idealBitmap.getPixels(testedArray, 0, width, 0, 0, width, height); in dumpBitmaps()
115 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/graphics/src/android/graphics/cts/
DBitmapShaderTest.java117 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testClamp()
139 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testRepeat()
161 dstBitmap.getPixels(pixels, 0, 4, 0, 0, 4, 1); in testMirror()
DMediaVulkanGpuTest.java41 bitmap.getPixels(framePixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), in getFramePixels()
DYuvImageTest.java198 mTestBitmaps[0].getPixels(argb, 0, stride, 0, 0, width, height); in testGetYuvData()
235 bitmap.getPixels(argb, 0, stride, 0, 0, width, height); in generateYuvImage()
350 mTestBitmaps[0].getPixels(argb, 0, WIDTH, 0, 0, WIDTH, HEIGHT); in verifyParameters()
/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/tests/framework/base/windowmanager/src/android/server/wm/
DEnsureBarContrastTest.java168 int[] ps = getPixels(actual);
188 private static int[] getPixels(Bitmap bitmap) {
190 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight());
195 final int[] ps = getPixels(bitmap);
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DBitmapUtils.java85 a.getPixels(aPixels, /*offset*/0, /*stride*/a.getWidth(), /*x*/0, /*y*/0, a.getWidth(), in compareBitmap()
87 b.getPixels(bPixels, /*offset*/0, /*stride*/b.getWidth(), /*x*/0, /*y*/0, b.getWidth(), in compareBitmap()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java108 private static void getPixels(Image image, int[] dest, Rect bounds) { in getPixels() method in SurfacePixelValidator2
112 swBitmap.getPixels(dest, 0, bounds.width(), in getPixels()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/
DBitmapVerifier.java34 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in verify()
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DBitmapVerifier.java34 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in verify()
DGoldenImageVerifier.java34 goldenBitmap.getPixels(mGoldenBitmapArray, 0, mWidth, 0, 0, mWidth, mHeight); in GoldenImageVerifier()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-1988/
Dpoc.cpp46 codec->getAndroidPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &options); in decode()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java80 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals()
81 b2.getPixels(pixels2, 0, w, 0, 0, w, h); in assertEquals()
DBitmapUtils.java205 expected.getPixels(expColors, 0, width, 0, 0, width, height); in compareBitmapsMse()
208 actual.getPixels(actualColors, 0, width, 0, 0, width, height); in compareBitmapsMse()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java388 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
389 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
406 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
407 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DBitmapImage.java59 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in createFromBitmap()
/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/inputmethod/mockime/src/com/android/cts/mockime/
DWatermark.java63 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in createFromBitmap()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java101 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); in checkNavigationBarDivider()

12