Home
last modified time | relevance | path

Searched refs:bitmapObj (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp58 ScopedLocalRef<jobject> bitmapObj( in android_view_PointerIcon_toNative() local
60 if (bitmapObj.get()) { in android_view_PointerIcon_toNative()
61 icon.bitmap = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_toNative()
72 … ScopedLocalRef<jobject> bitmapObj(env, env->GetObjectArrayElement(bitmapFramesObj.get(), i)); in android_view_PointerIcon_toNative() local
73 icon.bitmapFrames[i] = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_toNative()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dbitmap.h41 ANDROID_API AndroidBitmapInfo ABitmap_getInfoFromJava(JNIEnv* env, jobject bitmapObj);
48 ANDROID_API ABitmap* ABitmap_acquireBitmapFromJava(JNIEnv* env, jobject bitmapObj);
89 Bitmap(JNIEnv* env, jobject bitmapObj) : in Bitmap() argument
90 mBitmap(ABitmap_acquireBitmapFromJava(env, bitmapObj)) {} in Bitmap()
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp34 ABitmap* ABitmap_acquireBitmapFromJava(JNIEnv* env, jobject bitmapObj) { in ABitmap_acquireBitmapFromJava() argument
35 Bitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj); in ABitmap_acquireBitmapFromJava()
148 AndroidBitmapInfo ABitmap_getInfoFromJava(JNIEnv* env, jobject bitmapObj) { in ABitmap_getInfoFromJava() argument
151 SkImageInfo imageInfo = GraphicsJNI::getBitmapInfo(env, bitmapObj, &rowBytes, &isHardware); in ABitmap_getInfoFromJava()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp626 static jint util_getInternalFormat(JNIEnv *env, jclass clazz, jobject bitmapObj) in util_getInternalFormat() argument
628 graphics::Bitmap bitmap(env, bitmapObj); in util_getInternalFormat()
632 static jint util_getType(JNIEnv *env, jclass clazz, jobject bitmapObj) in util_getType() argument
634 graphics::Bitmap bitmap(env, bitmapObj); in util_getType()
639 jint internalformat, jobject bitmapObj, jint type, jint border) in util_texImage2D() argument
641 graphics::Bitmap bitmap(env, bitmapObj); in util_texImage2D()
663 jint xoffset, jint yoffset, jobject bitmapObj, jint format, jint type) in util_texSubImage2D() argument
665 graphics::Bitmap bitmap(env, bitmapObj); in util_texSubImage2D()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp533 jobject bitmapObj = getBitmapFromVideoFrame(env, videoFrame, -1, -1, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtIndex() local
534 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()
535 env->DeleteLocalRef(bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()