Home
last modified time | relevance | path

Searched refs:getPixels (Results 1 – 25 of 34) 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/com/android/internal/policy/
DDecorViewTest.java75 resultBitmap.getPixels(resPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground()
76 expectedBitmap.getPixels(expPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java239 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
240 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
257 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
258 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/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/native/graphics/jni/
Dbitmap.cpp53 void* addr = bitmap.isValid() ? bitmap.getPixels() : nullptr; in AndroidBitmap_lockPixels()
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/accessibility/
DAtfBufferedImage.java88 public int[] getPixels() { in getPixels() method in AtfBufferedImage
/frameworks/base/libs/hwui/jni/
DBitmap.cpp925 status = writeBlob(p.get(), size, bitmap.getPixels(), bitmap.isImmutable()); in Bitmap_writeToParcel()
950 if (dst.getPixels() == NULL && src.getPixels() != NULL) { in Bitmap_extractAlpha()
1073 const void* src = bitmap.getPixels(); in Bitmap_copyPixelsToBuffer()
1087 void* dst = bitmap.getPixels(); in Bitmap_copyPixelsFromBuffer()
1122 if (NULL == bm0.getPixels() || NULL == bm1.getPixels()) { in Bitmap_sameAs()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dbitmap.h132 void* getPixels() const { return ABitmap_getPixels(mBitmap); } in getPixels() function
/frameworks/base/libs/hwui/jni/pdf/
DPdfRenderer.cpp83 FPDFBitmap_BGRA, skBitmap.getPixels(), stride); in nativeRenderPage()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceTracingTestBase.kt94 screenshot.getPixels(pixels, 0, screenshot.width, 0, 0, screenshot.width, screenshot.height) in <lambda>()
/frameworks/base/libs/hwui/
DReadback.cpp199 !tmpBitmap.readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { in copySurfaceInto()
372 !tmpBitmap.readPixels(bitmap->info(), bitmap->getPixels(), in copyLayerInto()
DHardwareBitmapUploader.cpp194 format.format, format.type, bitmap.getPixels()); in onUploadHardwareBitmap()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java96 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height); in isGrayscale()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt35 bitmap8bpp.getPixels(data, 0, width, 0, 0, width, height) in <lambda>()
/frameworks/base/libs/hwui/hwui/
DBitmap.h139 return computePalette(bitmap.info(), bitmap.getPixels(), bitmap.rowBytes()); in computePalette()
DImageDecoder.cpp434 decodePixels = tmp.getPixels(); in decode()
/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.cpp304 rotate((uint16_t*)bitmap.getPixels(), in getBitmapFromVideoFrame()
310 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/com/android/internal/graphics/palette/
DPalette.java404 bitmap.getPixels(pixels, 0, bitmapWidth, 0, 0, bitmapWidth, bitmapHeight);
/frameworks/base/core/jni/android/opengl/
Dutil.cpp728 getPixelFormatFromInternalFormat(internalformat), type, bitmap.getPixels()); in util_texImage2D()
749 format, type, 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()

12