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.java96 /*package*/ Bitmap(int nativeBitmap, byte[] buffer, boolean isMutable, byte[] ninePatchChunk, argument
98 if (nativeBitmap == 0) {
104 mNativeBitmap = nativeBitmap;
105 mFinalizer = new BitmapFinalizer(nativeBitmap);
1156 BitmapFinalizer(int nativeBitmap) { argument
1157 mNativeBitmap = nativeBitmap;
1179 private static native void nativeDestructor(int nativeBitmap); argument
1180 private static native void nativeRecycle(int nativeBitmap); argument
1182 private static native boolean nativeCompress(int nativeBitmap, int format, argument
1185 private static native void nativeErase(int nativeBitmap, in argument
1186 nativeWidth(int nativeBitmap) argument
1187 nativeHeight(int nativeBitmap) argument
1188 nativeRowBytes(int nativeBitmap) argument
1189 nativeConfig(int nativeBitmap) argument
1190 nativeHasAlpha(int nativeBitmap) argument
1192 nativeGetPixel(int nativeBitmap, int x, int y) argument
1193 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1197 nativeSetPixel(int nativeBitmap, int x, int y, int color) argument
1199 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
1202 nativeCopyPixelsToBuffer(int nativeBitmap, Buffer dst) argument
1205 nativeGenerationId(int nativeBitmap) argument
1209 nativeWriteToParcel(int nativeBitmap, boolean isMutable, int density, Parcel p) argument
1214 nativeExtractAlpha(int nativeBitmap, int nativePaint, int[] offsetXY) argument
1218 nativePrepareToDraw(int nativeBitmap) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp39 jfieldID nativeBitmap; member in struct:fields_t
274 (SkBitmap *) env->GetIntField(jBitmap, fields.nativeBitmap);
416 fields.nativeBitmap = env->GetFieldID(fields.bitmapClazz, "mNativeBitmap", "I");
417 if (fields.nativeBitmap == NULL) {
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp626 SkBitmap const * nativeBitmap = local
628 const SkBitmap& bitmap(*nativeBitmap);
636 SkBitmap const * nativeBitmap = local
638 const SkBitmap& bitmap(*nativeBitmap);
647 SkBitmap const * nativeBitmap = local
649 const SkBitmap& bitmap(*nativeBitmap);
696 SkBitmap const * nativeBitmap = local
698 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.cpp456 SkBitmap const * nativeBitmap = local
458 const SkBitmap& bitmap(*nativeBitmap);
472 SkBitmap const * nativeBitmap = local
474 const SkBitmap& bitmap(*nativeBitmap);
488 SkBitmap const * nativeBitmap = local
490 const SkBitmap& bitmap(*nativeBitmap);
505 SkBitmap const * nativeBitmap = local
507 const SkBitmap& bitmap(*nativeBitmap);
518 SkBitmap const * nativeBitmap = (SkBitmap const *)bmp; local
519 nativeBitmap
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h122 JavaHeapBitmapRef(JNIEnv *env, SkBitmap* nativeBitmap, jbyteArray buffer);
H A DGraphics.cpp534 JavaHeapBitmapRef::JavaHeapBitmapRef(JNIEnv* env, SkBitmap* nativeBitmap, jbyteArray buffer) { argument
536 fNativeBitmap = nativeBitmap;

Completed in 144 milliseconds