/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 20 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap, in AndroidBitmap_getInfo() argument 22 if (NULL == env || NULL == jbitmap) { in AndroidBitmap_getInfo() 27 android::bitmap::imageInfo(env, jbitmap, info); in AndroidBitmap_getInfo() 32 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr) { in AndroidBitmap_lockPixels() argument 33 if (NULL == env || NULL == jbitmap) { in AndroidBitmap_lockPixels() 37 void* addr = android::bitmap::lockPixels(env, jbitmap); in AndroidBitmap_lockPixels() 48 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap) { in AndroidBitmap_unlockPixels() argument 49 if (NULL == env || NULL == jbitmap) { in AndroidBitmap_unlockPixels() 53 bool unlocked = android::bitmap::unlockPixels(env, jbitmap); in AndroidBitmap_unlockPixels()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 89 static void readBitmapPixels(JNIEnv* env, jclass /* clazz */, jobject jbitmap, jint fd) { in readBitmapPixels() argument 100 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); in readBitmapPixels() 116 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels); in readBitmapPixels() 131 result = AndroidBitmap_unlockPixels(env, jbitmap); in readBitmapPixels() 137 static void writeBitmapPixels(JNIEnv* env, jclass /* clazz */, jobject jbitmap, jint fd) { in writeBitmapPixels() argument 140 int result = AndroidBitmap_getInfo(env, jbitmap, &info); in writeBitmapPixels() 155 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels); in writeBitmapPixels() 170 result = AndroidBitmap_unlockPixels(env, jbitmap); in writeBitmapPixels()
|
/frameworks/native/include/android/ |
D | bitmap.h | 83 int AndroidBitmap_getInfo(JNIEnv* env, jobject jbitmap, 99 int AndroidBitmap_lockPixels(JNIEnv* env, jobject jbitmap, void** addrPtr); 104 int AndroidBitmap_unlockPixels(JNIEnv* env, jobject jbitmap);
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 55 static jlong initRaster(JNIEnv* env, jobject, jobject jbitmap) { in initRaster() argument 57 if (jbitmap != NULL) { in initRaster() 58 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in initRaster() 65 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { in setBitmap() argument 67 if (jbitmap != NULL) { in setBitmap() 68 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in setBitmap() 380 static void drawBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, in drawBitmap() argument 384 Bitmap& bitmap = android::bitmap::toBitmap(env, jbitmap); in drawBitmap() 415 static void drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, in drawBitmapMatrix() argument 419 Bitmap& bitmap = android::bitmap::toBitmap(env, jbitmap); in drawBitmapMatrix() [all …]
|
D | android_view_ThreadedRenderer.cpp | 799 jlong proxyPtr, jlong layerPtr, jobject jbitmap) { in android_view_ThreadedRenderer_copyLayerInto() argument 803 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in android_view_ThreadedRenderer_copyLayerInto() 959 jint right, jint bottom, jobject jbitmap) { in android_view_ThreadedRenderer_copySurfaceInto() argument 961 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in android_view_ThreadedRenderer_copySurfaceInto()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfRenderer.cpp | 76 jobject jbitmap, jint clipLeft, jint clipTop, jint clipRight, jint clipBottom, in nativeRenderPage() argument 81 GraphicsJNI::getSkBitmap(env, jbitmap, &skBitmap); in nativeRenderPage()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatch.cpp | 94 static jlong getTransparentRegion(JNIEnv* env, jobject, jobject jbitmap, in getTransparentRegion() argument 100 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in getTransparentRegion()
|
D | Shader.cpp | 64 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong matrixPtr, jobject jbitmap, in BitmapShader_constructor() argument 69 if (jbitmap) { in BitmapShader_constructor() 72 image = android::bitmap::toBitmap(env, jbitmap).makeImage(&colorFilter); in BitmapShader_constructor()
|
D | Graphics.cpp | 361 SkPixelRef* GraphicsJNI::refSkPixelRef(JNIEnv* env, jobject jbitmap) { in refSkPixelRef() argument 362 android::Bitmap& bitmap = android::bitmap::toBitmap(env, jbitmap); in refSkPixelRef()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 701 jobject jbitmap) in util_getInternalFormat() argument 704 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getInternalFormat() 709 jobject jbitmap) in util_getType() argument 712 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getType() 718 jobject jbitmap, jint type, jint border) in util_texImage2D() argument 721 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in util_texImage2D() 746 jobject jbitmap, jint format, jint type) in util_texSubImage2D() argument 749 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); in util_texSubImage2D()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 1064 static size_t GetBitmapSize(JNIEnv *env, jobject jbitmap) { in GetBitmapSize() argument 1067 AndroidBitmap_getInfo(env, jbitmap, &info); in GetBitmapSize() 1079 jobject jbitmap, jint usage) in nAllocationCreateFromBitmap() argument 1083 AndroidBitmap_lockPixels(_env, jbitmap, &pixels); in nAllocationCreateFromBitmap() 1090 GetBitmapSize(_env, jbitmap), in nAllocationCreateFromBitmap() 1092 AndroidBitmap_unlockPixels(_env, jbitmap); in nAllocationCreateFromBitmap() 1099 jint mip, jobject jbitmap, jint usage) in nAllocationCreateBitmapBackedAllocation() argument 1103 AndroidBitmap_lockPixels(_env, jbitmap, &pixels); in nAllocationCreateBitmapBackedAllocation() 1111 AndroidBitmap_unlockPixels(_env, jbitmap); in nAllocationCreateBitmapBackedAllocation() 1118 jint mip, jobject jbitmap, jint usage) in nAllocationCubeCreateFromBitmap() argument [all …]
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1324 jobject jbitmap, jint usage) in nAllocationCreateFromBitmap() argument 1327 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap); in nAllocationCreateFromBitmap() 1338 jint mip, jobject jbitmap, jint usage) in nAllocationCreateBitmapBackedAllocation() argument 1341 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap); in nAllocationCreateBitmapBackedAllocation() 1352 jobject jbitmap, jint usage) in nAllocationCubeCreateFromBitmap() argument 1355 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap); in nAllocationCubeCreateFromBitmap() 1365 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyFromBitmap() argument 1368 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap); in nAllocationCopyFromBitmap() 1379 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jobject jbitmap) in nAllocationCopyToBitmap() argument 1382 GraphicsJNI::getSkBitmap(_env, jbitmap, &bitmap); in nAllocationCopyToBitmap()
|