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: implement requestFocus() and isFocused()
This commit is contained in:
@@ -343,6 +343,14 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1drawBackground
|
||||
JNIEXPORT void JNICALL Java_android_view_View_native_1drawContent
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: nativeRequestFocus
|
||||
* Signature: (JI)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_view_View_nativeRequestFocus
|
||||
(JNIEnv *, jobject, jlong, jint);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: nativeSetFullscreen
|
||||
@@ -391,6 +399,14 @@ JNIEXPORT void JNICALL Java_android_view_View_native_1setPadding
|
||||
JNIEXPORT void JNICALL Java_android_view_View_nativeSetOnLongClickListener
|
||||
(JNIEnv *, jobject, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: nativeIsFocused
|
||||
* Signature: (J)Z
|
||||
*/
|
||||
JNIEXPORT jboolean JNICALL Java_android_view_View_nativeIsFocused
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_view_View
|
||||
* Method: native_getMatrix
|
||||
|
||||
Reference in New Issue
Block a user