Home
last modified time | relevance | path

Searched refs:bitmapHandle (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp365 static void Bitmap_destructor(JNIEnv* env, jobject, jlong bitmapHandle) { in Bitmap_destructor() argument
366 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in Bitmap_destructor()
376 static jboolean Bitmap_recycle(JNIEnv* env, jobject, jlong bitmapHandle) { in Bitmap_recycle() argument
377 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in Bitmap_recycle()
389 static void Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, in Bitmap_reconfigure() argument
392 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in Bitmap_reconfigure()
442 static jboolean Bitmap_compress(JNIEnv* env, jobject clazz, jlong bitmapHandle, in Bitmap_compress() argument
445 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in Bitmap_compress()
485 static void Bitmap_erase(JNIEnv* env, jobject, jlong bitmapHandle, jint color) { in Bitmap_erase() argument
486 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in Bitmap_erase()
[all …]
DNinePatch.cpp122 jlong bitmapHandle, jlong chunkHandle, jlong paintHandle, in drawF() argument
125 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in drawF()
141 jlong bitmapHandle, jlong chunkHandle, jlong paintHandle, in drawI() argument
144 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in drawI()
158 static jlong getTransparentRegion(JNIEnv* env, jobject, jlong bitmapHandle, in getTransparentRegion() argument
160 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in getTransparentRegion()
DShader.cpp75 static jlong BitmapShader_constructor(JNIEnv* env, jobject o, jlong bitmapHandle, in BitmapShader_constructor() argument
78 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in BitmapShader_constructor()
DGraphics.cpp347 jlong bitmapHandle = env->GetLongField(bitmap, gBitmap_nativeInstanceID); in getNativeBitmap() local
348 SkBitmap* b = reinterpret_cast<SkBitmap*>(bitmapHandle); in getNativeBitmap()
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp72 jobject canvas, jlong bitmapHandle) { in com_android_server_AssetAtlasService_releaseCanvas() argument
74 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in com_android_server_AssetAtlasService_releaseCanvas()
92 jobject graphicBuffer, jlong bitmapHandle) { in com_android_server_AssetAtlasService_upload() argument
94 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in com_android_server_AssetAtlasService_upload()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp43 static jlong initRaster(JNIEnv* env, jobject, jlong bitmapHandle) { in initRaster() argument
44 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in initRaster()
50 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in setBitmap() argument
52 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in setBitmap()
311 static void drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jlong bitmapHandle, in drawBitmap() argument
315 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in drawBitmap()
346 static void drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawBitmapMatrix() argument
348 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in drawBitmapMatrix()
354 static void drawBitmapRect(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in drawBitmapRect() argument
359 const SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(bitmapHandle); in drawBitmapRect()
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java228 private void setNativeBitmap(long bitmapHandle) { in setNativeBitmap() argument
229 native_setBitmap(mNativeCanvasWrapper, bitmapHandle, false); in setNativeBitmap()
1965 long bitmapHandle, in native_setBitmap() argument