Searched refs:getPixels (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/items/
H A DButtonItemDrawingTest.java58 countPixelsWithColor(drawingTestHelper.getPixels(), GLIF_ACCENT_COLOR);
73 countPixelsWithColor(drawingTestHelper.getPixels(), GLIF_V3_ACCENT_COLOR);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
H A DDrawingTestHelper.java82 public int[] getPixels() { method in class:DrawingTestHelper
84 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight);
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java85 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height);
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp86 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java228 a.getPixels(aPix, 0, w, 0, 0, w, h);
229 b.getPixels(bPix, 0, w, 0, 0, w, h);
246 a.getPixels(aPix, 0, w, 0, 0, w, h);
247 b.getPixels(bPix, 0, w, 0, 0, w, h);
H A DIconTest.java367 a.getPixels(aPix, 0, w, 0, 0, w, h);
368 b.getPixels(bPix, 0, w, 0, 0, w, h);
385 a.getPixels(aPix, 0, w, 0, 0, w, h);
386 b.getPixels(bPix, 0, w, 0, 0, w, h);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp160 if (tmpImage->readPixels(surfaceInfo, bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) {
171 tmpImage->readPixels(bitmapInfo, tmpBitmap.getPixels(),
378 bitmap.getPixels(), bitmap.rowBytes(), 0, 0);
419 bitmap.getPixels());
H A DSkiaOpenGLReadback.cpp130 if (image->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) {
/frameworks/support/compat/src/androidTest/java/android/support/v4/testutils/
H A DTestUtils.java75 bitmap.getPixels(rowPixels, 0, drawableWidth, 0, row, drawableWidth, 1);
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/
H A DTestUtils.java75 bitmap.getPixels(rowPixels, 0, drawableWidth, 0, row, drawableWidth, 1);
/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.cpp108 android_memset32((uint32_t*)bmp->getPixels(), SK_ColorRED,
143 success = nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0,
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(),
159 outputBitmap.getPixels(outputPixels, 0, outputBitmap.getWidth(), 0, 0,
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DRGBZ.java199 orig.getPixels(orig_data, 0, w, 0, 0, w, h);
200 depth.getPixels(depth_data, 0, w, 0, 0, w, h);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp439 void* dst = dstBitmap.getPixels();
939 if (!xform->apply(SkColorSpaceXform::kRGBA_8888_ColorFormat, p3.getPixels(),
940 SkColorSpaceXform::kRGBA_F16_ColorFormat, skbitmap.getPixels(),
1139 memcpy(bitmap->getPixels(), blob.data(), size);
1223 const void* pSrc = bitmap.getPixels();
1247 if (dst.getPixels() == NULL && src.getPixels() != NULL) {
1405 if (NULL == bitmap.getPixels()) {
1441 const void* src = bitmap.getPixels();
1455 void* dst = bitmap.getPixels();
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapTest.java91 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
94 assertEquals("getPixels", p, pixels[i]);
116 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10);
119 assertEquals("getPixels", p, pixels[i]);
/frameworks/base/libs/hwui/
H A DTexture.cpp257 rgbaBitmap.getPixels(), rgbaBitmap.rowBytes(), 0, 0);
359 rgbaBitmap.getPixels());
H A DOpenGLReadback.cpp229 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format, type, bitmap->getPixels());
/frameworks/base/libs/input/
H A DSpriteController.h69 bitmap.readPixels(bitmapCopy.info(), bitmapCopy.getPixels(), bitmapCopy.rowBytes(),
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp312 rotate((uint16_t*)bitmap.getPixels(),
318 rotate((uint32_t*)bitmap.getPixels(),
/frameworks/base/core/java/android/app/
H A DWallpaperColors.java373 source.getPixels(pixels, 0 /* offset */, source.getWidth(), 0 /* x */, 0 /* y */,
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java65 img.getPixels(mPaste, 0, mRoiBounds.width(),
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/
H A DTestUtils.java155 bitmap.getPixels(rowPixels, 0, bitmapWidth, 0, row, bitmapWidth, 1);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java618 argbBitmap.getPixels(pixelRow, /*offset*/0, /*stride*/width, /*x*/0, /*y*/i,
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.cpp362 bitmap.getPixels());
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp734 const void* p = bitmap.getPixels();
762 const void* p = bitmap.getPixels();

Completed in 401 milliseconds

12