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

/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/
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/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 void nativeReconfigure(int nativeBitmap, int width, int height, argument
324 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
332 /*package*/ static void nativeErase(int nativeBitmap, int color) { argument
334 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
352 /*package*/ static int nativeRowBytes(int nativeBitmap) { argument
354 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
363 nativeConfig(int nativeBitmap) argument
374 nativeHasAlpha(int nativeBitmap) argument
385 nativeHasMipMap(int nativeBitmap) argument
396 nativeGetPixel(int nativeBitmap, int x, int y, boolean isPremultiplied) argument
409 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
421 nativeSetPixel(int nativeBitmap, int x, int y, int color, boolean isPremultiplied) argument
432 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
443 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
457 nativeGenerationId(int nativeBitmap) argument
477 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
488 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
516 nativePrepareToDraw(int nativeBitmap) argument
521 nativeSetHasAlpha(int nativeBitmap, boolean hasAlpha) argument
532 nativeSetHasMipMap(int nativeBitmap, boolean hasMipMap) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp610 JavaHeapBitmapRef::JavaHeapBitmapRef(JNIEnv* env, SkBitmap* nativeBitmap, jbyteArray buffer) { argument
612 fNativeBitmap = nativeBitmap;
/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/graphics/java/android/graphics/
H A DBitmap.java107 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, argument
110 if (nativeBitmap == 0) {
120 mNativeBitmap = nativeBitmap;
121 mFinalizer = new BitmapFinalizer(nativeBitmap);
1563 BitmapFinalizer(int nativeBitmap) { argument
1564 mNativeBitmap = nativeBitmap;
1586 private static native void nativeDestructor(int nativeBitmap); argument
1587 private static native boolean nativeRecycle(int nativeBitmap); argument
1588 private static native void nativeReconfigure(int nativeBitmap, int width, int height, argument
1591 private static native boolean nativeCompress(int nativeBitmap, in argument
1594 nativeErase(int nativeBitmap, int color) argument
1595 nativeRowBytes(int nativeBitmap) argument
1596 nativeConfig(int nativeBitmap) argument
1598 nativeGetPixel(int nativeBitmap, int x, int y, boolean isPremultiplied) argument
1600 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1604 nativeSetPixel(int nativeBitmap, int x, int y, int color, boolean isPremultiplied) argument
1606 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1609 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
1612 nativeGenerationId(int nativeBitmap) argument
1616 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
1621 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
1625 nativePrepareToDraw(int nativeBitmap) argument
1626 nativeHasAlpha(int nativeBitmap) argument
1629 nativeHasMipMap(int nativeBitmap) argument
[all...]
/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...]

Completed in 957 milliseconds