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
View.draw(): draw background, content, children in same order as AOSP
This commit is contained in:
@@ -199,14 +199,6 @@ 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
|
||||
@@ -303,6 +295,22 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1setBackgroundDrawable
|
||||
JNIEXPORT void JNICALL Java_android_view_View_native_1queueAllocate
|
||||
(JNIEnv *, jobject, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: native_drawBackground
|
||||
* Signature: (JJ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_view_View_native_1drawBackground
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: native_drawContent
|
||||
* Signature: (JJ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_view_View_native_1drawContent
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: nativeInvalidate
|
||||
|
||||
Reference in New Issue
Block a user