api-impl: add ATLKeyboardViewer to support launching IMEs

This commit is contained in:
Mis012
2025-03-28 19:51:23 +01:00
parent bb7eb461c8
commit bce91cc527
19 changed files with 792 additions and 8 deletions

View File

@@ -0,0 +1,77 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_inputmethodservice_InputMethodService_ATLInputConnection */
#ifndef _Included_android_inputmethodservice_InputMethodService_ATLInputConnection
#define _Included_android_inputmethodservice_InputMethodService_ATLInputConnection
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeInit
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeInit
(JNIEnv *, jobject);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeSetCompositingText
* Signature: (JLjava/lang/String;I)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeSetCompositingText
(JNIEnv *, jobject, jlong, jstring, jint);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeSetCompositingRegion
* Signature: (JII)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeSetCompositingRegion
(JNIEnv *, jobject, jlong, jint, jint);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeFinishComposingText
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeFinishComposingText
(JNIEnv *, jobject, jlong);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeCommitText
* Signature: (JLjava/lang/String;I)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeCommitText
(JNIEnv *, jobject, jlong, jstring, jint);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeDeleteSurroundingText
* Signature: (JII)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeDeleteSurroundingText
(JNIEnv *, jobject, jlong, jint, jint);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeSetSelection
* Signature: (JII)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeSetSelection
(JNIEnv *, jobject, jlong, jint, jint);
/*
* Class: android_inputmethodservice_InputMethodService_ATLInputConnection
* Method: nativeSendKeyEvent
* Signature: (JJJJ)Z
*/
JNIEXPORT jboolean JNICALL Java_android_inputmethodservice_InputMethodService_00024ATLInputConnection_nativeSendKeyEvent
(JNIEnv *, jobject, jlong, jlong, jlong, jlong);
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -453,6 +453,14 @@ JNIEXPORT void JNICALL Java_android_view_MotionEvent_nativeGetPointerProperties
JNIEXPORT void JNICALL Java_android_view_MotionEvent_nativeScale
(JNIEnv *, jclass, jint, jfloat);
/*
* Class: android_view_MotionEvent
* Method: nativeTransform
* Signature: (ILandroid/graphics/Matrix;)V
*/
JNIEXPORT void JNICALL Java_android_view_MotionEvent_nativeTransform
(JNIEnv *, jclass, jint, jobject);
#ifdef __cplusplus
}
#endif