Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java323 /*package*/ static boolean nativeRecycle(long nativeBitmap) { in nativeRecycle() argument
329 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument
336 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, in nativeCompress() argument
344 /*package*/ static void nativeErase(long nativeBitmap, int color) { in nativeErase() argument
346 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeErase()
364 /*package*/ static int nativeRowBytes(long nativeBitmap) { in nativeRowBytes() argument
366 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeRowBytes()
375 /*package*/ static int nativeConfig(long nativeBitmap) { in nativeConfig() argument
377 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeConfig()
386 /*package*/ static boolean nativeHasAlpha(long nativeBitmap) { in nativeHasAlpha() argument
[all …]
DCanvas_Delegate.java768 long nativeBitmap, long ninePatch, final float dstLeft, final float dstTop, in native_drawNinePatch() argument
773 final Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(nativeBitmap); in native_drawNinePatch()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, in Bitmap() argument
114 if (nativeBitmap == 0) { in Bitmap()
130 mNativePtr = nativeBitmap; in Bitmap()
137 registry.registerNativeAllocation(this, nativeBitmap); in Bitmap()
1696 private static native boolean nativeRecycle(long nativeBitmap); in nativeRecycle() argument
1697 private static native void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument
1701 private static native boolean nativeCompress(long nativeBitmap, int format, in nativeCompress() argument
1704 private static native void nativeErase(long nativeBitmap, int color); in nativeErase() argument
1705 private static native int nativeRowBytes(long nativeBitmap); in nativeRowBytes() argument
1706 private static native int nativeConfig(long nativeBitmap); in nativeConfig() argument
[all …]
DCanvas.java2085 private native void native_drawNinePatch(long nativeCanvas, long nativeBitmap, in native_drawNinePatch() argument
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp280 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/
DBitmap.cpp725 Bitmap* nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL); in Bitmap_creator() local
726 if (!nativeBitmap) { in Bitmap_creator()
735 return GraphicsJNI::createBitmap(env, nativeBitmap, in Bitmap_creator()
1007 Bitmap* nativeBitmap; in Bitmap_createFromParcel() local
1028 nativeBitmap = GraphicsJNI::mapAshmemPixelRef(env, bitmap.get(), in Bitmap_createFromParcel()
1031 if (!nativeBitmap) { in Bitmap_createFromParcel()
1055 nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, bitmap.get(), ctable); in Bitmap_createFromParcel()
1057 if (!nativeBitmap) { in Bitmap_createFromParcel()
1070 return GraphicsJNI::createBitmap(env, nativeBitmap, in Bitmap_createFromParcel()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp713 SkBitmap nativeBitmap; in util_getInternalFormat() local
714 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getInternalFormat()
715 return getInternalFormat(nativeBitmap.colorType()); in util_getInternalFormat()
721 SkBitmap nativeBitmap; in util_getType() local
722 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getType()
723 return getType(nativeBitmap.colorType()); in util_getType()