Home
last modified time | relevance | path

Searched refs:jconfig (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/jni/
DGraphics.cpp393 AndroidBitmapFormat GraphicsJNI::getFormatFromConfig(JNIEnv* env, jobject jconfig) { in getFormatFromConfig() argument
395 if (NULL == jconfig) { in getFormatFromConfig()
398 ALOG_ASSERT(env->IsInstanceOf(jconfig, gBitmapConfig_class)); in getFormatFromConfig()
399 jint javaConfigId = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in getFormatFromConfig()
441 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType() argument
443 if (NULL == jconfig) { in getNativeBitmapColorType()
446 ALOG_ASSERT(env->IsInstanceOf(jconfig, gBitmapConfig_class)); in getNativeBitmapColorType()
447 int c = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in getNativeBitmapColorType()
451 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig() argument
453 if (NULL == jconfig) { in isHardwareConfig()
[all …]
DBitmapRegionDecoder.cpp110 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in nativeDecodeRegion() local
111 colorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in nativeDecodeRegion()
112 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in nativeDecodeRegion()
DGraphicsJNI.h112 static SkColorType getNativeBitmapColorType(JNIEnv*, jobject jconfig);
113 static AndroidBitmapFormat getFormatFromConfig(JNIEnv* env, jobject jconfig);
116 static bool isHardwareConfig(JNIEnv* env, jobject jconfig);
DBitmapFactory.cpp210 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in doDecode() local
211 prefColorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in doDecode()
212 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in doDecode()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1284 jobject jconfig, jobject joperation) { in android_media_AudioTrack_apply_volume_shaper() argument
1295 if (jconfig != nullptr) { in android_media_AudioTrack_apply_volume_shaper()
1297 env, gVolumeShaperFields, jconfig); in android_media_AudioTrack_apply_volume_shaper()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1123 jobject jconfig, jobject joperation) { in android_media_MediaPlayer_applyVolumeShaper() argument
1134 if (jconfig != nullptr) { in android_media_MediaPlayer_applyVolumeShaper()
1136 env, gVolumeShaperFields, jconfig); in android_media_MediaPlayer_applyVolumeShaper()