Searched refs:nativeBitmap (Results 1 – 7 of 7) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 323 /*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 …]
|
D | BaseCanvas_Delegate.java | 375 /*package*/ static void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument 380 final Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(nativeBitmap); in nDrawNinePatch()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 115 Bitmap(long nativeBitmap, int width, int height, int density, in Bitmap() argument 118 if (nativeBitmap == 0) { in Bitmap() 133 mNativePtr = nativeBitmap; in Bitmap() 137 registry.registerNativeAllocation(this, nativeBitmap); in Bitmap() 1939 private static native boolean nativeRecycle(long nativeBitmap); in nativeRecycle() argument 1940 private static native void nativeReconfigure(long nativeBitmap, int width, int height, in nativeReconfigure() argument 1943 private static native boolean nativeCompress(long nativeBitmap, int format, in nativeCompress() argument 1946 private static native void nativeErase(long nativeBitmap, int color); in nativeErase() argument 1947 private static native int nativeRowBytes(long nativeBitmap); in nativeRowBytes() argument 1948 private static native int nativeConfig(long nativeBitmap); in nativeConfig() argument [all …]
|
D | BaseCanvas.java | 601 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 683 SkBitmap nativeBitmap; in util_getInternalFormat() local 684 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getInternalFormat() 685 return getInternalFormat(nativeBitmap.colorType()); in util_getInternalFormat() 691 SkBitmap nativeBitmap; in util_getType() local 692 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); in util_getType() 693 return getType(nativeBitmap.colorType()); in util_getType()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 683 sk_sp<Bitmap> nativeBitmap = Bitmap::allocateHeapBitmap(&bitmap); in Bitmap_creator() local 684 if (!nativeBitmap) { in Bitmap_creator() 694 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); in Bitmap_creator() 1065 sk_sp<Bitmap> nativeBitmap; in Bitmap_createFromParcel() local 1085 nativeBitmap = sk_sp<Bitmap>(GraphicsJNI::mapAshmemBitmap(env, bitmap.get(), in Bitmap_createFromParcel() 1087 if (!nativeBitmap) { in Bitmap_createFromParcel() 1111 nativeBitmap = Bitmap::allocateHeapBitmap(bitmap.get()); in Bitmap_createFromParcel() 1112 if (!nativeBitmap) { in Bitmap_createFromParcel() 1123 return createBitmap(env, nativeBitmap.release(), in Bitmap_createFromParcel()
|
/frameworks/base/core/java/android/view/ |
D | RecordingCanvas.java | 597 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument
|