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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java246 /*package*/ static void nativeDestructor(int nativeBitmap) { argument
247 sManager.removeJavaReferenceFor(nativeBitmap);
251 /*package*/ static void nativeRecycle(int nativeBitmap) { argument
252 sManager.removeJavaReferenceFor(nativeBitmap);
256 /*package*/ static boolean nativeCompress(int nativeBitmap, int format, int quality, argument
264 /*package*/ static void nativeErase(int nativeBitmap, int color) { argument
266 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
284 /*package*/ static int nativeWidth(int nativeBitmap) { argument
286 Bitmap_Delegate delegate = sManager.getDelegate(nativeBitmap);
295 /*package*/ static int nativeHeight(int nativeBitmap) { argument
306 nativeRowBytes(int nativeBitmap) argument
317 nativeConfig(int nativeBitmap) argument
328 nativeHasAlpha(int nativeBitmap) argument
339 nativeGetPixel(int nativeBitmap, int x, int y) argument
350 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
362 nativeSetPixel(int nativeBitmap, int x, int y, int color) argument
372 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
383 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
397 nativeGenerationId(int nativeBitmap) argument
417 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
428 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
456 nativePrepareToDraw(int nativeBitmap) argument
461 nativeSetHasAlpha(int nativeBitmap, boolean hasAlpha) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java97 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, argument
99 this(nativeBitmap, buffer, isMutable, ninePatchChunk, null, density);
110 Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, argument
112 if (nativeBitmap == 0) {
118 mNativeBitmap = nativeBitmap;
119 mFinalizer = new BitmapFinalizer(nativeBitmap);
1375 BitmapFinalizer(int nativeBitmap) { argument
1376 mNativeBitmap = nativeBitmap;
1398 private static native void nativeDestructor(int nativeBitmap); argument
1399 private static native boolean nativeRecycle(int nativeBitmap); argument
1401 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
1404 nativeErase(int nativeBitmap, int color) argument
1405 nativeWidth(int nativeBitmap) argument
1406 nativeHeight(int nativeBitmap) argument
1407 nativeRowBytes(int nativeBitmap) argument
1408 nativeConfig(int nativeBitmap) argument
1410 nativeGetPixel(int nativeBitmap, int x, int y) argument
1411 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1415 nativeSetPixel(int nativeBitmap, int x, int y, int color) argument
1417 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
1420 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
1423 nativeGenerationId(int nativeBitmap) argument
1427 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
1432 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
1436 nativePrepareToDraw(int nativeBitmap) argument
1437 nativeHasAlpha(int nativeBitmap) argument
1439 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.cpp279 SkBitmap const * nativeBitmap = local
282 SkPixelRef* ref = nativeBitmap ? nativeBitmap->pixelRef() : 0;
293 pixmap.width = nativeBitmap->width();
294 pixmap.height = nativeBitmap->height();
295 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel();
296 pixmap.format = convertPixelFormat(nativeBitmap->config());
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h123 JavaHeapBitmapRef(JNIEnv *env, SkBitmap* nativeBitmap, jbyteArray buffer);
H A DGraphics.cpp528 JavaHeapBitmapRef::JavaHeapBitmapRef(JNIEnv* env, SkBitmap* nativeBitmap, jbyteArray buffer) { argument
530 fNativeBitmap = nativeBitmap;
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp528 SkBitmap const * nativeBitmap = local
530 const SkBitmap& bitmap(*nativeBitmap);
544 SkBitmap const * nativeBitmap = local
546 const SkBitmap& bitmap(*nativeBitmap);
560 SkBitmap const * nativeBitmap = local
562 const SkBitmap& bitmap(*nativeBitmap);
577 SkBitmap const * nativeBitmap = local
579 const SkBitmap& bitmap(*nativeBitmap);
590 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp; local
591 nativeBitmap
[all...]

Completed in 256 milliseconds