| 494 | } |
| 495 | |
| 496 | void OnscreenKeyboard_Open(struct OpenKeyboardArgs* kArgs) { |
| 497 | JNIEnv* env; |
| 498 | jvalue args[2]; |
| 499 | Java_GetCurrentEnv(env); |
| 500 | DisplayInfo.ShowingSoftKeyboard = true; |
| 501 | |
| 502 | args[0].l = Java_AllocString(env, kArgs->text); |
| 503 | args[1].i = kArgs->type; |
| 504 | Java_ICall_Void(env, JAVA_openKeyboard, args); |
| 505 | Java_DeleteLocalRef(env, args[0].l); |
| 506 | } |
| 507 | |
| 508 | void OnscreenKeyboard_SetText(const cc_string* text) { |
| 509 | JNIEnv* env; |
nothing calls this directly
no test coverage detected