Searched refs:nativeBitmap (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 284 /*package*/ static void nativeDestructor(long nativeBitmap) { in nativeDestructor() argument 285 sManager.removeJavaReferenceFor(nativeBitmap); in nativeDestructor() 289 /*package*/ static boolean nativeRecycle(long nativeBitmap) { in nativeRecycle() argument 290 sManager.removeJavaReferenceFor(nativeBitmap); in nativeRecycle() 295 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument 302 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, in nativeCompress() argument 310 /*package*/ static void nativeErase(long nativeBitmap, int color) { in nativeErase() argument 312 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeErase() 330 /*package*/ static int nativeRowBytes(long nativeBitmap) { in nativeRowBytes() argument 332 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeRowBytes() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 108 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, in Bitmap() argument 111 if (nativeBitmap == 0) { in Bitmap() 127 mNativePtr = nativeBitmap; in Bitmap() 128 mFinalizer = new BitmapFinalizer(nativeBitmap); in Bitmap() 1645 BitmapFinalizer(long nativeBitmap) { in BitmapFinalizer() argument 1646 mNativeBitmap = nativeBitmap; in BitmapFinalizer() 1681 private static native void nativeDestructor(long nativeBitmap); in nativeDestructor() argument 1682 private static native boolean nativeRecycle(long nativeBitmap); in nativeRecycle() argument 1683 private static native void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument 1687 private static native boolean nativeCompress(long nativeBitmap, int format, in nativeCompress() argument [all …]
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 280 SkBitmap nativeBitmap; in jni_eglCreatePixmapSurface() local 281 GraphicsJNI::getSkBitmap(_env, native_pixmap, &nativeBitmap); in jni_eglCreatePixmapSurface() 282 SkPixelRef* ref = nativeBitmap.pixelRef(); in jni_eglCreatePixmapSurface() 293 pixmap.width = nativeBitmap.width(); in jni_eglCreatePixmapSurface() 294 pixmap.height = nativeBitmap.height(); in jni_eglCreatePixmapSurface() 295 pixmap.stride = nativeBitmap.rowBytes() / nativeBitmap.bytesPerPixel(); in jni_eglCreatePixmapSurface() 296 pixmap.format = convertPixelFormat(nativeBitmap.colorType()); in jni_eglCreatePixmapSurface()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 731 Bitmap* nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL); in Bitmap_creator() local 732 if (!nativeBitmap) { in Bitmap_creator() 741 return GraphicsJNI::createBitmap(env, nativeBitmap, in Bitmap_creator() 995 Bitmap* nativeBitmap; in Bitmap_createFromParcel() local 1015 nativeBitmap = GraphicsJNI::mapAshmemPixelRef(env, bitmap.get(), in Bitmap_createFromParcel() 1018 if (!nativeBitmap) { in Bitmap_createFromParcel() 1042 nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, bitmap.get(), ctable); in Bitmap_createFromParcel() 1044 if (!nativeBitmap) { in Bitmap_createFromParcel() 1057 return GraphicsJNI::createBitmap(env, nativeBitmap, in Bitmap_createFromParcel()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 719 SkBitmap nativeBitmap; in util_getInternalFormat() local 720 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getInternalFormat() 721 return getInternalFormat(nativeBitmap.colorType()); in util_getInternalFormat() 727 SkBitmap nativeBitmap; in util_getType() local 728 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getType() 729 return getType(nativeBitmap.colorType()); in util_getType()
|