Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_PointerIcon.cpp88 ScopedLocalRef<jobject> bitmapObj( in android_view_PointerIcon_getLoadedIcon() local
90 if (bitmapObj.get()) { in android_view_PointerIcon_getLoadedIcon()
91 outPointerIcon->bitmap = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_getLoadedIcon()
102 … ScopedLocalRef<jobject> bitmapObj(env, env->GetObjectArrayElement(bitmapFramesObj.get(), i)); in android_view_PointerIcon_getLoadedIcon() local
103 outPointerIcon->bitmapFrames[i] = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_getLoadedIcon()
/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.cpp31 ABitmap* ABitmap_acquireBitmapFromJava(JNIEnv* env, jobject bitmapObj) { in ABitmap_acquireBitmapFromJava() argument
32 Bitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj); in ABitmap_acquireBitmapFromJava()
145 AndroidBitmapInfo ABitmap_getInfoFromJava(JNIEnv* env, jobject bitmapObj) { in ABitmap_getInfoFromJava() argument
148 SkImageInfo imageInfo = GraphicsJNI::getBitmapInfo(env, bitmapObj, &rowBytes, &isHardware); in ABitmap_getInfoFromJava()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp707 static jint util_getInternalFormat(JNIEnv *env, jclass clazz, jobject bitmapObj) in util_getInternalFormat() argument
709 graphics::Bitmap bitmap(env, bitmapObj); in util_getInternalFormat()
713 static jint util_getType(JNIEnv *env, jclass clazz, jobject bitmapObj) in util_getType() argument
715 graphics::Bitmap bitmap(env, bitmapObj); in util_getType()
720 jint internalformat, jobject bitmapObj, jint type, jint border) in util_texImage2D() argument
722 graphics::Bitmap bitmap(env, bitmapObj); in util_texImage2D()
741 jint xoffset, jint yoffset, jobject bitmapObj, jint format, jint type) in util_texSubImage2D() argument
743 graphics::Bitmap bitmap(env, bitmapObj); in util_texSubImage2D()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp528 jobject bitmapObj = getBitmapFromVideoFrame(env, videoFrame, -1, -1, colorFormat); in android_media_MediaMetadataRetriever_getFrameAtIndex() local
529 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()
530 env->DeleteLocalRef(bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()