/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 322 /*package*/ static boolean nativeRecycle(long nativeBitmap) { argument 328 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, argument 335 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument 343 /*package*/ static void nativeErase(long nativeBitmap, int color) { argument 345 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 363 /*package*/ static int nativeRowBytes(long nativeBitmap) { argument 365 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 374 /*package*/ static int nativeConfig(long nativeBitmap) { argument 376 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap); 385 /*package*/ static boolean nativeHasAlpha(long nativeBitmap) { argument 393 nativeHasMipMap(long nativeBitmap) argument 401 nativeGetPixel(long nativeBitmap, int x, int y) argument 412 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 424 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument 434 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument 445 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument 459 nativeGenerationId(long nativeBitmap) argument 479 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument 490 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument 518 nativeIsPremultiplied(long nativeBitmap) argument 526 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument 537 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean isPremul) argument 549 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument 604 nativeGetAllocationByteCount(long nativeBitmap) argument 615 nativePrepareToDraw(long nativeBitmap) argument 620 nativeCopyPreserveInternalConfig(long nativeBitmap) argument 647 nativeCreateGraphicBufferHandle(long nativeBitmap) argument 654 nativeIsSRGB(long nativeBitmap) argument [all...] |
H A D | BaseCanvas_Delegate.java | 375 /*package*/ static void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, argument 380 final Bitmap_Delegate bitmapDelegate = Bitmap_Delegate.getDelegate(nativeBitmap);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 108 Bitmap(long nativeBitmap, int width, int height, int density, argument 111 if (nativeBitmap == 0) { 126 mNativePtr = nativeBitmap; 130 registry.registerNativeAllocation(this, nativeBitmap); 1927 private static native boolean nativeRecycle(long nativeBitmap); argument 1928 private static native void nativeReconfigure(long nativeBitmap, int width, int height, argument 1931 private static native boolean nativeCompress(long nativeBitmap, int format, argument 1934 private static native void nativeErase(long nativeBitmap, int color); argument 1935 private static native int nativeRowBytes(long nativeBitmap); argument 1936 private static native int nativeConfig(long nativeBitmap); argument 1938 nativeGetPixel(long nativeBitmap, int x, int y) argument 1939 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1943 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument 1944 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument 1947 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument 1949 nativeCopyPixelsFromBuffer(long nativeBitmap, Buffer src) argument 1950 nativeGenerationId(long nativeBitmap) argument 1954 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument 1959 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument 1963 nativeHasAlpha(long nativeBitmap) argument 1964 nativeIsPremultiplied(long nativeBitmap) argument 1965 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument 1967 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean requestPremul) argument 1970 nativeHasMipMap(long nativeBitmap) argument 1971 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument 1973 nativePrepareToDraw(long nativeBitmap) argument 1974 nativeGetAllocationByteCount(long nativeBitmap) argument 1975 nativeCopyPreserveInternalConfig(long nativeBitmap) argument 1977 nativeCreateGraphicBufferHandle(long nativeBitmap) argument [all...] |
H A D | BaseCanvas.java | 601 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, argument
|
/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());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 744 sk_sp<Bitmap> nativeBitmap = Bitmap::allocateHeapBitmap(&bitmap, NULL); local 745 if (!nativeBitmap) { 753 return createBitmap(env, nativeBitmap.release(), getPremulBitmapCreateFlags(isMutable)); 1106 sk_sp<Bitmap> nativeBitmap; local 1127 nativeBitmap = sk_sp<Bitmap>(GraphicsJNI::mapAshmemBitmap(env, bitmap.get(), 1130 if (!nativeBitmap) { 1154 nativeBitmap = Bitmap::allocateHeapBitmap(bitmap.get(), ctable); 1156 if (!nativeBitmap) { 1169 return createBitmap(env, nativeBitmap.release(),
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 597 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, argument
|