/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 323 /*package*/ static boolean nativeRecycle(long nativeBitmap) { argument 329 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, argument 336 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument 344 /*package*/ static void nativeErase(long nativeBitmap, int color) { argument 346 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 364 /*package*/ static int nativeRowBytes(long nativeBitmap) { argument 366 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 375 /*package*/ static int nativeConfig(long nativeBitmap) { argument 377 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 386 /*package*/ static boolean nativeHasAlpha(long nativeBitmap) { argument 394 nativeHasMipMap(long nativeBitmap) argument 402 nativeGetPixel(long nativeBitmap, int x, int y) argument 413 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 425 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument 435 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument 446 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument 460 nativeGenerationId(long nativeBitmap) argument 480 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument 491 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument 519 nativeIsPremultiplied(long nativeBitmap) argument 527 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument 538 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean isPremul) argument 550 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument 606 nativeRefPixelRef(long nativeBitmap) argument [all...] |
H A D | Canvas_Delegate.java | 768 long nativeBitmap, long ninePatch, final float dstLeft, final float dstTop, 773 final Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(nativeBitmap); 767 native_drawNinePatch(Canvas thisCanvas, long nativeCanvas, long nativeBitmap, long ninePatch, final float dstLeft, final float dstTop, final float dstRight, final float dstBottom, long nativePaintOrZero, final int screenDensity, final int bitmapDensity) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, argument 114 if (nativeBitmap == 0) { 130 mNativePtr = nativeBitmap; 137 registry.registerNativeAllocation(this, nativeBitmap); 1696 private static native boolean nativeRecycle(long nativeBitmap); argument 1697 private static native void nativeReconfigure(long nativeBitmap, int width, int height, argument 1701 private static native boolean nativeCompress(long nativeBitmap, int format, argument 1704 private static native void nativeErase(long nativeBitmap, int color); argument 1705 private static native int nativeRowBytes(long nativeBitmap); argument 1706 private static native int nativeConfig(long nativeBitmap); argument 1708 nativeGetPixel(long nativeBitmap, int x, int y) argument 1709 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1713 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument 1714 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument 1717 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument 1719 nativeCopyPixelsFromBuffer(long nativeBitmap, Buffer src) argument 1720 nativeGenerationId(long nativeBitmap) argument 1724 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument 1729 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument 1733 nativeHasAlpha(long nativeBitmap) argument 1734 nativeIsPremultiplied(long nativeBitmap) argument 1735 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument 1737 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean requestPremul) argument 1740 nativeHasMipMap(long nativeBitmap) argument 1741 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument 1743 nativeRefPixelRef(long nativeBitmap) argument [all...] |
H A D | Canvas.java | 2085 private native void native_drawNinePatch(long nativeCanvas, long nativeBitmap, argument
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 280 SkBitmap nativeBitmap; local 281 GraphicsJNI::getSkBitmap(_env, native_pixmap, &nativeBitmap); 282 SkPixelRef* ref = nativeBitmap.pixelRef(); 293 pixmap.width = nativeBitmap.width(); 294 pixmap.height = nativeBitmap.height(); 295 pixmap.stride = nativeBitmap.rowBytes() / nativeBitmap.bytesPerPixel(); 296 pixmap.format = convertPixelFormat(nativeBitmap.colorType());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 725 Bitmap* nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL); local 726 if (!nativeBitmap) { 735 return GraphicsJNI::createBitmap(env, nativeBitmap, 1007 Bitmap* nativeBitmap; local 1028 nativeBitmap = GraphicsJNI::mapAshmemPixelRef(env, bitmap.get(), 1031 if (!nativeBitmap) { 1055 nativeBitmap = GraphicsJNI::allocateJavaPixelRef(env, bitmap.get(), ctable); 1057 if (!nativeBitmap) { 1070 return GraphicsJNI::createBitmap(env, nativeBitmap,
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 713 SkBitmap nativeBitmap; local 714 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); 715 return getInternalFormat(nativeBitmap.colorType()); 721 SkBitmap nativeBitmap; local 722 GraphicsJNI::getSkBitmap(env, jbitmap, &nativeBitmap); 723 return getType(nativeBitmap.colorType());
|