/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 305 /*package*/ static void nativeDestructor(long nativeBitmap) { in nativeDestructor() argument 306 sManager.removeJavaReferenceFor(nativeBitmap); in nativeDestructor() 310 /*package*/ static boolean nativeRecycle(long nativeBitmap) { in nativeRecycle() argument 311 sManager.removeJavaReferenceFor(nativeBitmap); in nativeRecycle() 316 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument 323 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, in nativeCompress() argument 331 /*package*/ static void nativeErase(long nativeBitmap, int color) { in nativeErase() argument 333 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeErase() 351 /*package*/ static int nativeRowBytes(long nativeBitmap) { in nativeRowBytes() argument 353 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); in nativeRowBytes() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 109 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, in Bitmap() argument 112 if (nativeBitmap == 0) { in Bitmap() 123 mNativeBitmap = nativeBitmap; in Bitmap() 132 mFinalizer = new BitmapFinalizer(nativeBitmap, nativeAllocationByteCount); in Bitmap() 1580 BitmapFinalizer(long nativeBitmap, int nativeAllocationByteCount) { in BitmapFinalizer() argument 1581 mNativeBitmap = nativeBitmap; in BitmapFinalizer() 1612 private static native void nativeDestructor(long nativeBitmap); in nativeDestructor() argument 1613 private static native boolean nativeRecycle(long nativeBitmap); in nativeRecycle() argument 1614 private static native void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument 1618 private static native boolean nativeCompress(long nativeBitmap, int format, in nativeCompress() argument [all …]
|
D | Canvas.java | 2050 private native void native_drawBitmap(long nativeCanvas, long nativeBitmap, in native_drawBitmap() argument 2056 private native void native_drawBitmap(long nativeCanvas, long nativeBitmap, in native_drawBitmap() argument 2066 long nativeBitmap, in nativeDrawBitmapMatrix() argument 2070 long nativeBitmap, in nativeDrawBitmapMesh() argument
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 283 SkBitmap const * nativeBitmap = in jni_eglCreatePixmapSurface() local 286 SkPixelRef* ref = nativeBitmap ? nativeBitmap->pixelRef() : 0; in jni_eglCreatePixmapSurface() 297 pixmap.width = nativeBitmap->width(); in jni_eglCreatePixmapSurface() 298 pixmap.height = nativeBitmap->height(); in jni_eglCreatePixmapSurface() 299 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface() 300 pixmap.format = convertPixelFormat(nativeBitmap->colorType()); in jni_eglCreatePixmapSurface()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 42 jfieldID nativeBitmap; member 286 (SkBitmap *) env->GetLongField(jBitmap, fields.nativeBitmap); in android_media_MediaMetadataRetriever_getFrameAtTime() 424 fields.nativeBitmap = env->GetFieldID(fields.bitmapClazz, "mNativeBitmap", "J"); in android_media_MediaMetadataRetriever_native_init() 425 if (fields.nativeBitmap == NULL) { in android_media_MediaMetadataRetriever_native_init()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 632 SkBitmap const * nativeBitmap = in util_getInternalFormat() local 634 return getInternalFormat(nativeBitmap->colorType()); in util_getInternalFormat() 640 SkBitmap const * nativeBitmap = in util_getType() local 642 return getType(nativeBitmap->colorType()); in util_getType() 649 SkBitmap const * nativeBitmap = in util_texImage2D() local 651 const SkBitmap& bitmap(*nativeBitmap); in util_texImage2D() 698 SkBitmap const * nativeBitmap = in util_texSubImage2D() local 700 const SkBitmap& bitmap(*nativeBitmap); in util_texSubImage2D()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 597 SkBitmap const * nativeBitmap = in nAllocationCreateFromBitmap() local 599 const SkBitmap& bitmap(*nativeBitmap); in nAllocationCreateFromBitmap() 613 SkBitmap const * nativeBitmap = in nAllocationCreateBitmapBackedAllocation() local 615 const SkBitmap& bitmap(*nativeBitmap); in nAllocationCreateBitmapBackedAllocation() 629 SkBitmap const * nativeBitmap = in nAllocationCubeCreateFromBitmap() local 631 const SkBitmap& bitmap(*nativeBitmap); in nAllocationCubeCreateFromBitmap() 645 SkBitmap const * nativeBitmap = in nAllocationCopyFromBitmap() local 647 const SkBitmap& bitmap(*nativeBitmap); in nAllocationCopyFromBitmap() 662 SkBitmap const * nativeBitmap = in nAllocationCopyToBitmap() local 664 const SkBitmap& bitmap(*nativeBitmap); in nAllocationCopyToBitmap() [all …]
|