Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DDrawingTestHelper.java83 public int[] getPixels() { in getPixels() method in DrawingTestHelper
85 mBitmap.getPixels(out, 0, mWidth, 0, 0, mWidth, mHeight); in getPixels()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/items/
DButtonItemDrawingTest.java54 int accentPixelCount = countPixelsWithColor(drawingTestHelper.getPixels(), GLIF_ACCENT_COLOR); in drawButton_glif_shouldHaveAccentColoredButton()
68 countPixelsWithColor(drawingTestHelper.getPixels(), GLIF_V3_ACCENT_COLOR); in drawButton_glifV3_shouldHaveAccentColoredButton()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java245 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
246 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
263 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
264 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
DIconTest.java368 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
369 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
386 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
387 b.getPixels(bPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DRGBZ.java199 orig.getPixels(orig_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
200 depth.getPixels(depth_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
/frameworks/base/libs/input/
DSpriteIcon.h41 bitmap.readPixels(bitmapCopy.info(), bitmapCopy.getPixels(), bitmapCopy.rowBytes(), in copy()
DSpriteController.cpp365 icon.bitmap.readPixels(bitmapCopy->info(), bitmapCopy->getPixels(), in setIcon()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java80 bitmap.getPixels(pixels, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), in testFaceSquareFilter()
159 outputBitmap.getPixels(outputPixels, 0, outputBitmap.getWidth(), 0, 0, in testFaceSquareFilter()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp778 memcpy(bitmap->getPixels(), blob.data(), size); in Bitmap_createFromParcel()
862 const void* pSrc = bitmap.getPixels(); in Bitmap_writeToParcel()
886 if (dst.getPixels() == NULL && src.getPixels() != NULL) { in Bitmap_extractAlpha()
1009 const void* src = bitmap.getPixels(); in Bitmap_copyPixelsToBuffer()
1023 void* dst = bitmap.getPixels(); in Bitmap_copyPixelsFromBuffer()
1058 if (NULL == bm0.getPixels() || NULL == bm1.getPixels()) { in Bitmap_sameAs()
DBitmapFactory.cpp391 SkCodec::Result result = codec->getAndroidPixels(decodeInfo, decodingBitmap.getPixels(), in doDecode()
DImageDecoder.cpp308 auto result = codec->getAndroidPixels(decodeInfo, bm.getPixels(), bm.rowBytes(), &options); in ImageDecoder_nDecodeBitmap()
/frameworks/base/core/jni/android/graphics/pdf/
DPdfRenderer.cpp86 FPDFBitmap_BGRA, skBitmap.getPixels(), stride); in nativeRenderPage()
/frameworks/base/libs/hwui/hwui/
DBitmap.h120 return computePalette(bitmap.info(), bitmap.getPixels(), bitmap.rowBytes()); in computePalette()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt35 bitmap8bpp.getPixels(data, 0, width, 0, 0, width, height) in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java96 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height); in isGrayscale()
/frameworks/base/libs/hwui/
DReadback.cpp199 !tmpBitmap.readPixels(bitmap->info(), bitmap->getPixels(), in copyLayerInto()
DHardwareBitmapUploader.cpp197 format.format, format.type, bitmap.getPixels()); in onUploadHardwareBitmap()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java96 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithAlpha()
121 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithoutAlpha()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp313 rotate((uint16_t*)bitmap.getPixels(), in getBitmapFromVideoFrame()
319 rotate((uint32_t*)bitmap.getPixels(), in getBitmapFromVideoFrame()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DFindRegion.java65 img.getPixels(mPaste, 0, mRoiBounds.width(), in FindRegion()
/frameworks/base/core/java/android/app/
DWallpaperColors.java383 source.getPixels(pixels, 0 /* offset */, source.getWidth(), 0 /* x */, 0 /* y */, in calculateDarkHints()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp739 const void* p = bitmap.getPixels(); in util_texImage2D()
767 const void* p = bitmap.getPixels(); in util_texSubImage2D()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java618 argbBitmap.getPixels(pixelRow, /*offset*/0, /*stride*/width, /*x*/0, /*y*/i, in convertToRGB()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp182 const void* p = bitmap.getPixels(); in initTexture()
236 const void* p = bitmap.getPixels(); in initTexture()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1329 const void* ptr = bitmap.getPixels(); in nAllocationCreateFromBitmap()
1343 const void* ptr = bitmap.getPixels(); in nAllocationCreateBitmapBackedAllocation()
1357 const void* ptr = bitmap.getPixels(); in nAllocationCubeCreateFromBitmap()
1372 const void* ptr = bitmap.getPixels(); in nAllocationCopyFromBitmap()
1384 void* ptr = bitmap.getPixels(); in nAllocationCopyToBitmap()

12