start implementing Drawable using underlying GdkPaintable

This commit is contained in:
Julian Winkler
2023-12-29 16:55:11 +01:00
parent 1b03fa6e1a
commit 8c7dbf6ceb
11 changed files with 148 additions and 14 deletions

View File

@@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_graphics_drawable_Drawable */
#ifndef _Included_android_graphics_drawable_Drawable
#define _Included_android_graphics_drawable_Drawable
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_graphics_drawable_Drawable
* Method: native_paintable_from_path
* Signature: (Ljava/lang/String;)J
*/
JNIEXPORT jlong JNICALL Java_android_graphics_drawable_Drawable_native_1paintable_1from_1path
(JNIEnv *, jclass, jstring);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -279,6 +279,14 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1layout
JNIEXPORT void JNICALL Java_android_view_View_native_1requestLayout
(JNIEnv *, jobject, jlong);
/*
* Class: android_view_View
* Method: native_setBackgroundDrawable
* Signature: (JJ)V
*/
JNIEXPORT void JNICALL Java_android_view_View_native_1setBackgroundDrawable
(JNIEnv *, jobject, jlong, jlong);
/*
* Class: android_view_View
* Method: nativeInvalidate