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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java305 /*package*/ static void nativeDestructor(long nativeBitmap) { argument
306 sManager.removeJavaReferenceFor(nativeBitmap);
310 /*package*/ static boolean nativeRecycle(long nativeBitmap) { argument
311 sManager.removeJavaReferenceFor(nativeBitmap);
316 /*package*/ static void nativeReconfigure(long nativeBitmap, int width, int height, argument
323 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument
331 /*package*/ static void nativeErase(long nativeBitmap, int color) { argument
333 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
351 /*package*/ static int nativeRowBytes(long nativeBitmap) { argument
353 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
362 nativeConfig(long nativeBitmap) argument
373 nativeHasAlpha(long nativeBitmap) argument
384 nativeHasMipMap(long nativeBitmap) argument
395 nativeGetPixel(long nativeBitmap, int x, int y) argument
406 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
418 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument
428 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
439 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument
453 nativeGenerationId(long nativeBitmap) argument
473 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument
484 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument
512 nativePrepareToDraw(long nativeBitmap) argument
517 nativeIsPremultiplied(long nativeBitmap) argument
525 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument
536 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean isPremul) argument
548 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java109 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, argument
112 if (nativeBitmap == 0) {
123 mNativeBitmap = nativeBitmap;
132 mFinalizer = new BitmapFinalizer(nativeBitmap, nativeAllocationByteCount);
1580 BitmapFinalizer(long nativeBitmap, int nativeAllocationByteCount) { argument
1581 mNativeBitmap = nativeBitmap;
1612 private static native void nativeDestructor(long nativeBitmap); argument
1613 private static native boolean nativeRecycle(long nativeBitmap); argument
1614 private static native void nativeReconfigure(long nativeBitmap, int width, int height, argument
1618 private static native boolean nativeCompress(long nativeBitmap, in argument
1621 nativeErase(long nativeBitmap, int color) argument
1622 nativeRowBytes(long nativeBitmap) argument
1623 nativeConfig(long nativeBitmap) argument
1625 nativeGetPixel(long nativeBitmap, int x, int y) argument
1626 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1630 nativeSetPixel(long nativeBitmap, int x, int y, int color) argument
1631 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
1634 nativeCopyPixelsToBuffer(long nativeBitmap, Buffer dst) argument
1636 nativeCopyPixelsFromBuffer(long nativeBitmap, Buffer src) argument
1637 nativeGenerationId(long nativeBitmap) argument
1641 nativeWriteToParcel(long nativeBitmap, boolean isMutable, int density, Parcel p) argument
1646 nativeExtractAlpha(long nativeBitmap, long nativePaint, int[] offsetXY) argument
1650 nativePrepareToDraw(long nativeBitmap) argument
1651 nativeHasAlpha(long nativeBitmap) argument
1652 nativeIsPremultiplied(long nativeBitmap) argument
1653 nativeSetPremultiplied(long nativeBitmap, boolean isPremul) argument
1655 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean requestPremul) argument
1658 nativeHasMipMap(long nativeBitmap) argument
1659 nativeSetHasMipMap(long nativeBitmap, boolean hasMipMap) argument
[all...]
H A DCanvas.java2050 private native void native_drawBitmap(long nativeCanvas, long nativeBitmap, argument
2056 private native void native_drawBitmap(long nativeCanvas, long nativeBitmap, argument
2066 long nativeBitmap,
2070 long nativeBitmap,
2065 nativeDrawBitmapMatrix(long nativeCanvas, long nativeBitmap, long nativeMatrix, long nativePaint) argument
2069 nativeDrawBitmapMesh(long nativeCanvas, long nativeBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp42 jfieldID nativeBitmap; member in struct:fields_t
286 (SkBitmap *) env->GetLongField(jBitmap, fields.nativeBitmap);
424 fields.nativeBitmap = env->GetFieldID(fields.bitmapClazz, "mNativeBitmap", "J");
425 if (fields.nativeBitmap == NULL) {
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp632 SkBitmap const * nativeBitmap = local
634 return getInternalFormat(nativeBitmap->colorType());
640 SkBitmap const * nativeBitmap = local
642 return getType(nativeBitmap->colorType());
649 SkBitmap const * nativeBitmap = local
651 const SkBitmap& bitmap(*nativeBitmap);
698 SkBitmap const * nativeBitmap = local
700 const SkBitmap& bitmap(*nativeBitmap);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp283 SkBitmap const * nativeBitmap = local
286 SkPixelRef* ref = nativeBitmap ? nativeBitmap->pixelRef() : 0;
297 pixmap.width = nativeBitmap->width();
298 pixmap.height = nativeBitmap->height();
299 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
300 pixmap.format = convertPixelFormat(nativeBitmap->colorType());
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp597 SkBitmap const * nativeBitmap = local
599 const SkBitmap& bitmap(*nativeBitmap);
613 SkBitmap const * nativeBitmap = local
615 const SkBitmap& bitmap(*nativeBitmap);
629 SkBitmap const * nativeBitmap = local
631 const SkBitmap& bitmap(*nativeBitmap);
645 SkBitmap const * nativeBitmap = local
647 const SkBitmap& bitmap(*nativeBitmap);
662 SkBitmap const * nativeBitmap = local
664 const SkBitmap& bitmap(*nativeBitmap);
675 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp; local
[all...]

Completed in 8232 milliseconds