Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp139 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in nativeDecodeRegion() local
140 colorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in nativeDecodeRegion()
143 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in nativeDecodeRegion()
DGraphics.cpp366 SkColorType GraphicsJNI::getNativeBitmapColorType(JNIEnv* env, jobject jconfig) { in getNativeBitmapColorType() argument
368 if (NULL == jconfig) { in getNativeBitmapColorType()
371 SkASSERT(env->IsInstanceOf(jconfig, gBitmapConfig_class)); in getNativeBitmapColorType()
372 int c = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in getNativeBitmapColorType()
376 bool GraphicsJNI::isHardwareConfig(JNIEnv* env, jobject jconfig) { in isHardwareConfig() argument
378 if (NULL == jconfig) { in isHardwareConfig()
381 int c = env->GetIntField(jconfig, gBitmapConfig_nativeInstanceID); in isHardwareConfig()
DGraphicsJNI.h84 static SkColorType getNativeBitmapColorType(JNIEnv*, jobject jconfig);
86 static bool isHardwareConfig(JNIEnv* env, jobject jconfig);
DBitmapFactory.cpp257 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID); in doDecode() local
258 prefColorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig); in doDecode()
261 isHardware = GraphicsJNI::isHardwareConfig(env, jconfig); in doDecode()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1184 jobject jconfig, jobject joperation) { in android_media_AudioTrack_apply_volume_shaper() argument
1195 if (jconfig != nullptr) { in android_media_AudioTrack_apply_volume_shaper()
1197 env, gVolumeShaperFields, jconfig); in android_media_AudioTrack_apply_volume_shaper()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1165 jobject jconfig, jobject joperation) { in android_media_MediaPlayer_applyVolumeShaper() argument
1176 if (jconfig != nullptr) { in android_media_MediaPlayer_applyVolumeShaper()
1178 env, gVolumeShaperFields, jconfig); in android_media_MediaPlayer_applyVolumeShaper()