You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
GskCanavas: draw default content when custom View calls super.onDraw()
This commit is contained in:
@@ -31,6 +31,14 @@ JNIEXPORT jlong JNICALL Java_android_graphics_drawable_Drawable_native_1construc
|
||||
JNIEXPORT void JNICALL Java_android_graphics_drawable_Drawable_native_1invalidate
|
||||
(JNIEnv *, jobject, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_graphics_drawable_Drawable
|
||||
* Method: native_draw
|
||||
* Signature: (JJII)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_graphics_drawable_Drawable_native_1draw
|
||||
(JNIEnv *, jobject, jlong, jlong, jint, jint);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -199,6 +199,14 @@ extern "C" {
|
||||
#define android_view_View_TEXT_DIRECTION_LTR 3L
|
||||
#undef android_view_View_TEXT_DIRECTION_RTL
|
||||
#define android_view_View_TEXT_DIRECTION_RTL 4L
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: native_onDraw
|
||||
* Signature: (JJ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_view_View_native_1onDraw
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: setOnTouchListener
|
||||
|
||||
Reference in New Issue
Block a user