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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java306 /*package*/ static void nativeDestructor(int nativeBitmap) { argument
307 sManager.removeJavaReferenceFor(nativeBitmap);
311 /*package*/ static boolean nativeRecycle(int nativeBitmap) { argument
312 sManager.removeJavaReferenceFor(nativeBitmap);
317 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
325 /*package*/ static void nativeErase(int nativeBitmap, int color) { argument
327 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
345 /*package*/ static int nativeWidth(int nativeBitmap) { argument
347 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
356 /*package*/ static int nativeHeight(int nativeBitmap) { argument
367 nativeRowBytes(int nativeBitmap) argument
378 nativeConfig(int nativeBitmap) argument
389 nativeHasAlpha(int nativeBitmap) argument
400 nativeHasMipMap(int nativeBitmap) argument
411 nativeGetPixel(int nativeBitmap, int x, int y) argument
422 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
434 nativeSetPixel(int nativeBitmap, int x, int y, int color) argument
444 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
455 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
469 nativeGenerationId(int nativeBitmap) argument
489 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
500 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
528 nativePrepareToDraw(int nativeBitmap) argument
533 nativeSetHasAlpha(int nativeBitmap, boolean hasAlpha) argument
544 nativeSetHasMipMap(int nativeBitmap, boolean hasMipMap) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java106 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, argument
109 if (nativeBitmap == 0) {
119 mNativeBitmap = nativeBitmap;
120 mFinalizer = new BitmapFinalizer(nativeBitmap);
1550 BitmapFinalizer(int nativeBitmap) { argument
1551 mNativeBitmap = nativeBitmap;
1573 private static native void nativeDestructor(int nativeBitmap); argument
1574 private static native boolean nativeRecycle(int nativeBitmap); argument
1575 private static native void nativeReconfigure(int nativeBitmap, int width, int height, argument
1578 private static native boolean nativeCompress(int nativeBitmap, in argument
1581 nativeErase(int nativeBitmap, int color) argument
1582 nativeRowBytes(int nativeBitmap) argument
1583 nativeConfig(int nativeBitmap) argument
1585 nativeGetPixel(int nativeBitmap, int x, int y, boolean isPremultiplied) argument
1587 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1591 nativeSetPixel(int nativeBitmap, int x, int y, int color, boolean isPremultiplied) argument
1593 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1596 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
1599 nativeGenerationId(int nativeBitmap) argument
1603 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
1608 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
1612 nativePrepareToDraw(int nativeBitmap) argument
1613 nativeHasAlpha(int nativeBitmap) argument
1615 nativeHasMipMap(int nativeBitmap) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp39 jfieldID nativeBitmap; member in struct:fields_t
267 (SkBitmap *) env->GetIntField(jBitmap, fields.nativeBitmap);
409 fields.nativeBitmap = env->GetFieldID(fields.bitmapClazz, "mNativeBitmap", "I");
410 if (fields.nativeBitmap == NULL) {
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp632 SkBitmap const * nativeBitmap = local
634 const SkBitmap& bitmap(*nativeBitmap);
642 SkBitmap const * nativeBitmap = local
644 const SkBitmap& bitmap(*nativeBitmap);
653 SkBitmap const * nativeBitmap = local
655 const SkBitmap& bitmap(*nativeBitmap);
702 SkBitmap const * nativeBitmap = local
704 const SkBitmap& bitmap(*nativeBitmap);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp278 SkBitmap const * nativeBitmap = local
281 SkPixelRef* ref = nativeBitmap ? nativeBitmap->pixelRef() : 0;
292 pixmap.width = nativeBitmap->width();
293 pixmap.height = nativeBitmap->height();
294 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
295 pixmap.format = convertPixelFormat(nativeBitmap->config());
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp524 SkBitmap const * nativeBitmap = local
526 const SkBitmap& bitmap(*nativeBitmap);
540 SkBitmap const * nativeBitmap = local
542 const SkBitmap& bitmap(*nativeBitmap);
556 SkBitmap const * nativeBitmap = local
558 const SkBitmap& bitmap(*nativeBitmap);
572 SkBitmap const * nativeBitmap = local
574 const SkBitmap& bitmap(*nativeBitmap);
589 SkBitmap const * nativeBitmap = local
591 const SkBitmap& bitmap(*nativeBitmap);
602 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp; local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h142 JavaHeapBitmapRef(JNIEnv *env, SkBitmap* nativeBitmap, jbyteArray buffer);
H A DGraphics.cpp581 JavaHeapBitmapRef::JavaHeapBitmapRef(JNIEnv* env, SkBitmap* nativeBitmap, jbyteArray buffer) { argument
583 fNativeBitmap = nativeBitmap;

Completed in 168 milliseconds