Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp120 void* dst = dstBitmap.getPixels(); in SetPixels()
466 if (NULL == bitmap->getPixels()) { in Bitmap_compress()
612 memcpy(bitmap->getPixels(), blob.data(), size); in Bitmap_createFromParcel()
664 const void* pSrc = bitmap->getPixels(); in Bitmap_writeToParcel()
688 if (dst->getPixels() == NULL && src->getPixels() != NULL) { in Bitmap_extractAlpha()
758 if (NULL == bitmap->getPixels()) { in Bitmap_setPixel()
783 const void* src = bitmap->getPixels(); in Bitmap_copyPixelsToBuffer()
797 void* dst = bitmap->getPixels(); in Bitmap_copyPixelsFromBuffer()
821 if (NULL == bm0->getPixels() || NULL == bm1->getPixels()) { in Bitmap_sameAs()
DNinePatchImpl.cpp169 if (bitmap.getPixels() == NULL) in NinePatch_Draw()
/frameworks/base/libs/hwui/
DTextureCache.cpp306 texture->width, texture->height, GL_UNSIGNED_BYTE, bitmap->getPixels()); in generateTexture()
312 texture->width, texture->height, GL_UNSIGNED_SHORT_5_6_5, bitmap->getPixels()); in generateTexture()
318 texture->width, texture->height, GL_UNSIGNED_BYTE, bitmap->getPixels()); in generateTexture()
357 width, height, GL_UNSIGNED_BYTE, rgbaBitmap.getPixels()); in uploadLoFiTexture()
DLayerRenderer.cpp459 type, bitmap->getPixels()); in copyLayer()
DPathCache.cpp322 GL_ALPHA, GL_UNSIGNED_BYTE, bitmap.getPixels()); in generateTexture()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp69 void* addr = bm->getPixels(); in AndroidBitmap_lockPixels()
/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/java/com/android/internal/util/
DImageUtils.java82 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height); in isGrayscale()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DBitmapTest.java90 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithAlpha()
115 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithoutAlpha()
/frameworks/base/cmds/screencap/
Dscreencap.cpp145 base = screenshot.getPixels(); in main()
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp187 GL_RGBA, GL_UNSIGNED_BYTE, bitmap->getPixels()); in com_android_server_AssetAtlasService_upload()
/frameworks/native/include/gui/
DSurfaceComposerClient.h224 void const* getPixels() const;
/frameworks/base/core/jni/android/graphics/pdf/
DPdfRenderer.cpp250 FPDFBitmap_BGRA, skBitmap->getPixels(), stride); in nativeRenderPage()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp125 const void* p = bitmap.getPixels(); in initTexture()
189 const void* p = bitmap.getPixels(); in initTexture()
/frameworks/support/v7/palette/src/android/support/v7/graphics/
DColorCutQuantizer.java73 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); in fromBitmap()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp77 SkASSERT(addr == ((ScreenshotClient*) context)->getPixels()); in DeleteScreenshot()
179 (size_t) rowBytes, NULL, (void*) screenshot->getPixels(), &DeleteScreenshot, in nativeScreenshotBitmap()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp289 rotate((uint16_t*)bitmap->getPixels(), in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java574 argbBitmap.getPixels(pixelRow, /*offset*/0, /*stride*/width, /*x*/0, /*y*/i, in convertToRGB()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp665 const void* p = bitmap.getPixels(); in util_texImage2D()
713 const void* p = bitmap.getPixels(); in util_texSubImage2D()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp602 const void* ptr = bitmap.getPixels(); in nAllocationCreateFromBitmap()
618 const void* ptr = bitmap.getPixels(); in nAllocationCreateBitmapBackedAllocation()
634 const void* ptr = bitmap.getPixels(); in nAllocationCubeCreateFromBitmap()
652 const void* ptr = bitmap.getPixels(); in nAllocationCopyFromBitmap()
667 void* ptr = bitmap.getPixels(); in nAllocationCopyToBitmap()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1335 public void getPixels(int[] pixels, int offset, int stride, in getPixels() method in Bitmap
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp774 void const* ScreenshotClient::getPixels() const { in getPixels() function in android::ScreenshotClient
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java6285 bm.getPixels(buffer, 0, bm.getWidth(), 0, 0, bm.getWidth(), bm.getHeight()); in screenshotApplications()
/frameworks/base/api/
Dsystem-current.txt10758 method public void getPixels(int[], int, int, int, int, int, int);
Dcurrent.txt10452 method public void getPixels(int[], int, int, int, int, int, int);