ImageView: handle setScaleType where it maps trivially to Gtk

This commit is contained in:
Mis012
2024-04-10 23:48:07 +02:00
parent b12cebe66a
commit fefd2f108b
3 changed files with 57 additions and 6 deletions

View File

@@ -223,6 +223,14 @@ JNIEXPORT void JNICALL Java_android_widget_ImageView_native_1setPixbuf
JNIEXPORT void JNICALL Java_android_widget_ImageView_native_1setDrawable
(JNIEnv *, jobject, jlong, jlong);
/*
* Class: android_widget_ImageView
* Method: native_setScaleType
* Signature: (JI)V
*/
JNIEXPORT void JNICALL Java_android_widget_ImageView_native_1setScaleType
(JNIEnv *, jobject, jlong, jint);
#ifdef __cplusplus
}
#endif