axmol/cocos/platform/android/jni
andyque a35e89225e Re-implement Editbox on Android platform.
This PR also fixed issue:

https://github.com/cocos2d/cocos2d-x/issues/9572

For the new EditBox:

1. Added a ResizeLayout for updating layout when soft keyboard is shown.
This is because some Android devices won't refresh the view and when
the view is panned, the native EditText will turn black. This is really
a hack, but it works for many Android devices from 2.3 to 5.0.

When keyboard is beginning to show, the ResizeLayout's doLayout
method will be called 24 frames per second. Once the keyboard is closed,
or the user begins to input, the doLayout method will be disabled.

2. EditText is working in a different UI thread, so all the data
are passed to GL thread via callbacks in UI thead.

3. It also overrides onKeyDown method in Cocos2dxEditBox.
When the EditText got the focus, users could press back key to exit
the game. This behavior is not allowed. We give developer the choice to
handle back key event manually.
2015-08-07 17:27:15 +08:00
..
CocosPlayClient.cpp fix android compile error 2015-05-07 10:37:19 +08:00
CocosPlayClient.h Integrate CocosPlayClient 2015-01-13 17:30:07 +08:00
DPIJni.cpp Add new line at the end of a file to *.cpp 2014-06-19 20:45:24 +09:00
DPIJni.h Squashed commit of the following: 2014-05-16 14:36:00 -07:00
IMEJni.cpp Squashed commit of the following: 2014-05-16 14:36:00 -07:00
IMEJni.h coding style fix 2014-05-28 17:41:34 +08:00
Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp Squashed commit of the following: 2014-05-16 14:36:00 -07:00
Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp improve getUTFCharsFromJavaEnv api to getStringUTFCharsJNI and add newStringUTFJNI 2015-08-05 16:10:14 +08:00
Java_org_cocos2dx_lib_Cocos2dxBitmap.h coding style fix 2014-05-28 17:41:34 +08:00
Java_org_cocos2dx_lib_Cocos2dxHelper.cpp Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
Java_org_cocos2dx_lib_Cocos2dxHelper.h Re-implement Editbox on Android platform. 2015-08-07 17:27:15 +08:00
Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp fix textfield and editbox can not input emoticon 2015-08-05 17:03:06 +08:00
JniHelper.cpp improve getUTFCharsFromJavaEnv api to getStringUTFCharsJNI and add newStringUTFJNI 2015-08-05 16:10:14 +08:00
JniHelper.h Compiles on Android 2014-09-09 17:53:08 -07:00
TouchesJni.cpp Fixed EventListenerKeyboard.onKeyPressed not firing for back button on Android. 2015-07-02 16:19:33 +08:00