Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DGraphics.cpp394 AndroidBitmapFormat GraphicsJNI::getFormatFromConfig(JNIEnv* env, jobject jconfig) { in getFormatFromConfig() argument
396 if (NULL == jconfig) { in getFormatFromConfig()
399 ALOG_ASSERT(env->IsInstanceOf(jconfig, gBitmapConfig_class)); in getFormatFromConfig()
400 jint javaConfigId = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in getFormatFromConfig()
442 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType() argument
444 if (NULL == jconfig) { in getNativeBitmapColorType()
447 ALOG_ASSERT(env->IsInstanceOf(jconfig, gBitmapConfig_class)); in getNativeBitmapColorType()
448 int c = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in getNativeBitmapColorType()
452 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig() argument
454 if (NULL == jconfig) { in isHardwareConfig()
[all …]
DGraphicsJNI.h118 static SkColorType getNativeBitmapColorType(JNIEnv*, jobject jconfig);
119 static AndroidBitmapFormat getFormatFromConfig(JNIEnv* env, jobject jconfig);
122 static bool isHardwareConfig(JNIEnv* env, jobject jconfig);
DBitmapRegionDecoder.cpp237 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in nativeDecodeRegion() local
238 colorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in nativeDecodeRegion()
239 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in nativeDecodeRegion()
DBitmapFactory.cpp337 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in doDecode() local
338 prefColorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in doDecode()
339 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in doDecode()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1242 jobject jconfig, jobject joperation) { in android_media_AudioTrack_apply_volume_shaper() argument
1253 if (jconfig != nullptr) { in android_media_AudioTrack_apply_volume_shaper()
1255 env, gVolumeShaperFields, jconfig); in android_media_AudioTrack_apply_volume_shaper()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1143 jobject jconfig, jobject joperation) { in android_media_MediaPlayer_applyVolumeShaper() argument
1154 if (jconfig != nullptr) { in android_media_MediaPlayer_applyVolumeShaper()
1156 env, gVolumeShaperFields, jconfig); in android_media_MediaPlayer_applyVolumeShaper()